@duplicati/ngclient 0.0.24 → 0.0.25

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.
Files changed (63) hide show
  1. package/chunk-2TLPGRQA.js +1 -0
  2. package/chunk-2WWTJWN7.js +1 -0
  3. package/{chunk-NVZUM7FG.js → chunk-43IGTI7W.js} +1 -1
  4. package/{chunk-RHGRQONA.js → chunk-4X4FROQQ.js} +1 -1
  5. package/{chunk-GO7CLBZY.js → chunk-56SGMJT3.js} +1 -1
  6. package/{chunk-MJCUB3L3.js → chunk-647BVHNL.js} +1 -1
  7. package/{chunk-OSB5J6SK.js → chunk-67F45CIQ.js} +1 -1
  8. package/{chunk-SRW3NRX3.js → chunk-6SKK76PT.js} +1 -1
  9. package/{chunk-NYFN2CT6.js → chunk-7TGAK2FS.js} +1 -1
  10. package/{chunk-NAPR7ILQ.js → chunk-7UN5GSLX.js} +1 -1
  11. package/chunk-ANRVMVA2.js +7 -0
  12. package/{chunk-CESPRUJX.js → chunk-B7BKD6BW.js} +1 -1
  13. package/{chunk-T2ZGAXWS.js → chunk-CYXH6TL7.js} +1 -1
  14. package/chunk-D4OIIBBT.js +1 -0
  15. package/chunk-D5XBMU7U.js +1 -0
  16. package/{chunk-GTGXQQJJ.js → chunk-DC5NQO2Y.js} +1 -1
  17. package/{chunk-NAZLO3UY.js → chunk-E6PE2QMZ.js} +1 -1
  18. package/chunk-EF6PZOYI.js +1 -0
  19. package/chunk-EUKWBJHZ.js +1 -0
  20. package/{chunk-4C6SJEAP.js → chunk-JBKTYIJI.js} +1 -1
  21. package/{chunk-CUYURNCB.js → chunk-KJNFJK32.js} +1 -1
  22. package/{chunk-Z3RCJ5NZ.js → chunk-KM4HDQ4D.js} +1 -1
  23. package/chunk-KMTWZOSJ.js +1 -0
  24. package/chunk-KOPVATUY.js +1 -0
  25. package/{chunk-P6347OTT.js → chunk-KOXLMQOL.js} +1 -1
  26. package/{chunk-2653SOTQ.js → chunk-LKYD5PU5.js} +1 -1
  27. package/chunk-LSSI4MGJ.js +1 -0
  28. package/{chunk-637GTPYL.js → chunk-MW756ZMH.js} +1 -1
  29. package/{chunk-KJQLPHGM.js → chunk-ND2MJYUF.js} +1 -1
  30. package/chunk-NNYK7AHA.js +1 -0
  31. package/{chunk-JRKR54DW.js → chunk-OGV5E7WV.js} +1 -1
  32. package/{chunk-YBWO6L26.js → chunk-OLXQO3ZT.js} +1 -1
  33. package/{chunk-EOYIT7GV.js → chunk-OUZOHOAK.js} +1 -1
  34. package/{chunk-VJDUCP4Z.js → chunk-OYOFQEI3.js} +1 -1
  35. package/chunk-PBQATFTG.js +1 -0
  36. package/chunk-QM3Q3TUI.js +1 -0
  37. package/{chunk-3XQGPHYU.js → chunk-QQ7JWBVZ.js} +1 -1
  38. package/{chunk-AEQ7QJXE.js → chunk-RH4RL6FL.js} +1 -1
  39. package/{chunk-SRX3KYGO.js → chunk-RPNE5OZL.js} +1 -1
  40. package/{chunk-JE2I63Y6.js → chunk-TUN6QDZQ.js} +1 -1
  41. package/{chunk-KV674FA2.js → chunk-UAAHGB26.js} +1 -1
  42. package/{chunk-TNE7LVPH.js → chunk-UXD4TQLV.js} +1 -1
  43. package/{chunk-2MDIWOW5.js → chunk-WCMY57ZO.js} +1 -1
  44. package/{chunk-HJUBM7Q5.js → chunk-WVXHNI46.js} +1 -1
  45. package/{chunk-4JYRDCTW.js → chunk-XCCXG27R.js} +1 -1
  46. package/chunk-ZO7IMOR6.js +1 -0
  47. package/index.html +1 -1
  48. package/{main-WZ7WTPZS.js → main-B5HGTFQ3.js} +1 -1
  49. package/package.json +1 -1
  50. package/chunk-2EGLLTER.js +0 -1
  51. package/chunk-3UHRO33D.js +0 -1
  52. package/chunk-4HGECFGT.js +0 -1
  53. package/chunk-4NLCRQLQ.js +0 -1
  54. package/chunk-67JGZ4NF.js +0 -7
  55. package/chunk-BTF6XTSM.js +0 -1
  56. package/chunk-C3SI6ECZ.js +0 -1
  57. package/chunk-NILUA3YB.js +0 -1
  58. package/chunk-RNJMBZB7.js +0 -1
  59. package/chunk-SGZGAY7X.js +0 -1
  60. package/chunk-VA5L4XPW.js +0 -1
  61. package/chunk-VXKI3RQB.js +0 -1
  62. package/chunk-X2IPCPJN.js +0 -1
  63. package/chunk-ZLOKN5SO.js +0 -1
package/chunk-3UHRO33D.js DELETED
@@ -1 +0,0 @@
1
- import{$ as f,$a as P,Bb as v,Cb as m,Db as S,Eb as l,Lb as pe,Mb as F,Nb as B,Ob as de,Pb as _,Qb as ue,R as Q,Ra as D,Rb as z,Tb as G,Ub as K,Va as se,Vb as J,X as R,Xa as $,Xb as g,Ya as h,Yb as Z,Za as x,_a as re,ba as oe,eb as V,ja as d,jb as Y,jc as he,ka as u,kb as A,lb as W,mb as X,nb as U,ob as M,pb as ae,qb as le,qc as b,rb as ce,sb as r,sc as E,tb as a,tc as ee,ua as N,ub as H,va as j,wa as p,xa as L,yb as O}from"./chunk-67JGZ4NF.js";import{a as I,b as q,c as ne}from"./chunk-7CGTOI24.js";var w=["*"],Ce=[[["","icon",""]],[["","title",""]],"*",[["","content",""]]],_e=["[icon]","[title]","*","[content]"];function ye(n,C){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function ke(n,C){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function De(n,C){n&1&&(r(0,"spk-icon",3),_(1,"check-circle"),a())}function be(n,C){n&1&&(r(0,"spk-icon",3),_(1,"warning-octagon"),a())}function we(n,C){n&1&&(r(0,"spk-icon",3),_(1,"warning"),a())}function Oe(n,C){n&1&&(r(0,"spk-icon",3),_(1,"question"),a())}function Ee(n,C){if(n&1){let e=O();r(0,"spk-icon",7),v("click",function(){d(e);let i=m();return u(i.removeAlert())}),_(1,"plus"),a()}}var Te=["dialogRef"];function xe(n,C){if(n&1){let e=O();r(0,"div",4),v("click",function(){d(e);let i=m();return u(i.isOpen.set(!1))}),a()}}var Me=["spk-button",""];var Fe=["inputWrap"];var Ie=[[["label"]],[["","prefix",""]],[["","textPrefix",""]],[["input"]],[["textarea"]],[["","textSuffix",""]],[["","suffix",""]],[["","error",""]],[["","hint",""]]],Ve=["label","[prefix]","[textPrefix]","input","textarea","[textSuffix]","[suffix]","[error]","[hint]"],fe=["triggerRef"],Ae=["popoverRef"],Re=[[["","trigger",""]],"*"],Pe=["[trigger]","*"],He=["option"],Be=["*",[["","menu",""]]],je=["*","[menu]"],Le=()=>({closeOnButton:!1,closeOnEsc:!0});var We=["optionsRef"],qe=["formFieldWrapper"],Ue=[[["label"]],[["input"]],"*",[["","deselect-indicator",""]],[["","search-indicator",""]],[["","open-indicator",""]]],Qe=["label","input","*","[deselect-indicator]","[search-indicator]","[open-indicator]"],Ne=()=>({closeOnButton:!1,closeOnEsc:!1});function $e(n,C){if(n&1){let e=O();r(0,"spk-chip",12),v("click",function(i){let o=d(e).$implicit,s=m(3);return u(s.toggleOption(o,i))}),_(1),r(2,"spk-icon"),_(3,"x-circle"),a()()}if(n&2){let e,t=C.$implicit,i=m(3);U(i.chipClass()),D(),z(" ",(e=(e=i.displayFn())==null?null:e(t))!==null&&e!==void 0?e:t," ")}}function Ye(n,C){if(n&1&&le(0,$e,4,3,"spk-chip",11,ae),n&2){let e=m(2);ce(e.inputValue().split(","))}}function Xe(n,C){if(n&1&&(r(0,"div",6),V(1,Ye,2,0),a()),n&2){let e=m();D(),M(e.inputValue().length>0?1:-1)}}function ze(n,C){if(n&1&&(r(0,"div",6),_(1),a()),n&2){let e=m();D(),ue(e._displayValue())}}function Ge(n,C){if(n&1){let e=O();r(0,"div",13),v("click",function(i){d(e);let o=m();return u(o.deselect(i))}),l(1,3),r(2,"spk-icon",14),_(3,"x-circle"),a()()}}function Ke(n,C){n&1&&(r(0,"div",8),l(1,4),r(2,"spk-icon",14),_(3,"magnifying-glass"),a()())}function Je(n,C){if(n&1&&(r(0,"div",15),l(1,5),r(2,"spk-icon",14),_(3,"caret-down"),a()()),n&2){let e=m();W("open",e.isOpen())}}var Ze=["dragImageElement"],et=[[["","sidenav",""]],[["","sidenav-closed-topbar",""]],"*"],tt=["[sidenav]","[sidenav-closed-topbar]","*"];function it(n,C){n&1&&H(0,"div",1,0)}function nt(n,C){if(n&1){let e=O();r(0,"div",7),v("drop",function(i){d(e);let o=m();return u(o.drop(i))})("dragover",function(i){d(e);let o=m();return u(o.dragOver(i))})("dragenter",function(){d(e);let i=m();return u(i.dragEnter())})("dragleave",function(){d(e);let i=m();return u(i.dragLeave())}),a()}}function ot(n,C){if(n&1){let e=O();r(0,"div",8),v("dragstart",function(i){d(e);let o=m();return u(o.dragStart(i))})("dragend",function(i){d(e);let o=m();return u(o.dragEnd(i))})("drag",function(i){d(e);let o=m();return u(o.drag(i))})("touchstart",function(i){d(e);let o=m();return u(o.touchStart(i))})("touchmove",function(i){d(e);let o=m();return u(o.touchMove(i))})("touchend",function(i){d(e);let o=m();return u(o.touchEnd(i))})("touchcancel",function(i){d(e);let o=m();return u(o.touchCancel(i))}),a()}}var st=["tooltipRef"],te=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-icon"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Tt=(()=>{class n{constructor(){this._el=R(L),this.alertService=p(null),this.type=p("error"),this.id=p(null)}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-alert"]],hostVars:2,hostBindings:function(t,i){t&2&&U(i.type())},inputs:{alertService:[1,"alertService"],type:[1,"type"],id:[1,"id"]},standalone:!0,features:[g],ngContentSelectors:_e,decls:17,vars:4,consts:[["ref",""],[1,"alert"],[1,"icon"],[1,"state-icon"],[1,"title"],[1,"close-icon"],[1,"content"],[1,"close-icon",3,"click"]],template:function(t,i){if(t&1&&(S(Ce),r(0,"div",1)(1,"div",2,0),l(3),a(),r(4,"div",2),V(5,ye,2,0,"spk-icon",3)(6,ke,2,0,"spk-icon",3)(7,De,2,0,"spk-icon",3)(8,be,2,0,"spk-icon",3)(9,we,2,0,"spk-icon",3)(10,Oe,2,0,"spk-icon",3),a(),r(11,"div",4),l(12,1),l(13,2),a(),V(14,Ee,2,0,"spk-icon",5),r(15,"div",6),l(16,3),a()()),t&2){let o,s=de(2);D(),A("display",s.children.length?"block":"none"),D(4),M((o=i.type())==="primary"?5:o==="accent"?6:o==="success"?7:o==="error"?8:o==="warning"?9:10),D(9),M(i.id()?14:-1)}},dependencies:[te],encapsulation:2,changeDetection:0})}}return n})();var xt=(()=>{class n{constructor(){this.alertHistory=h([]),this.alertHistoryIsOpen=h(!1),this.alertHistoryIsHidden=h(!0)}error(e){this.addAlert({type:"error",title:e??"An error occured"})}success(e){this.addAlert({type:"success",title:e})}question(e){this.addAlert({type:"question",title:e})}warning(e){this.addAlert({type:"warning",title:e})}info(e){this.addAlert({type:"primary",title:e})}addAlert(e){let t=crypto.randomUUID();this.alertHistory.update(i=>[q(I({},e),{isOpen:!0,animateIn:!0,animateOut:!1,id:t}),...i]),setTimeout(()=>{this.alertHistory.update(i=>i.map(o=>q(I({},o),{animateIn:o.id===t?!1:o.animateIn})))},40),setTimeout(()=>{this.hideAlert(t)},2500)}removeAlert(e){this.alertHistory.update(t=>t.map(i=>q(I({},i),{animateOut:i.id===e?!1:i.animateOut}))),setTimeout(()=>{this.alertHistory.update(t=>t.filter(i=>i.id!==e))},300)}hideAlert(e){this.alertHistory.update(t=>t.map(i=>q(I({},i),{isOpen:i.id===e?!1:i.isOpen})))}setHidden(e){this.alertHistoryIsHidden.set(e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),rt={width:void 0,maxWidth:void 0,height:void 0,maxHeight:void 0,closeOnButton:!0,closeOnEsc:!0,closeOnOutsideClick:!0},at=(()=>{class n{constructor(){this.dialogRef=x("dialogRef"),this.isOpen=P(!1),this.options=p(),this.closed=j(),this.defaultOptionMerge=b(()=>I(I({},rt),this.options())),this.abortController=null,this.isOpenEffect=E(()=>{let e=this.dialogRef()?.nativeElement;this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isOpen()?(e?.showModal(),e?.addEventListener("close",()=>{this.isOpen.set(!1),this.closed.emit()},{signal:this.abortController?.signal}),document.addEventListener("keydown",t=>{t.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&t.preventDefault(),t.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{signal:this.abortController?.signal})):(this.closed.emit(),e?.close())},{allowSignalWrites:!0})}ngOnDestroy(){this.abortController?.abort()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-dialog"]],viewQuery:function(t,i){t&1&&F(i.dialogRef,Te,5),t&2&&B()},inputs:{isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:w,decls:5,vars:9,consts:[["dialogRef",""],["spkDialog",""],[1,"content"],[1,"closeable-overlay"],[1,"closeable-overlay",3,"click"]],template:function(t,i){if(t&1&&(S(),r(0,"dialog",1,0)(2,"div",2),l(3),a(),V(4,xe,1,0,"div",3),a()),t&2){let o,s,c,y;A("width",(o=i.defaultOptionMerge().width)!==null&&o!==void 0?o:"")("max-width",(s=i.defaultOptionMerge().maxWidth)!==null&&s!==void 0?s:"")("max-height",(c=i.defaultOptionMerge().maxHeight)!==null&&c!==void 0?c:"")("height",(y=i.defaultOptionMerge().height)!==null&&y!==void 0?y:""),D(4),M(i.defaultOptionMerge().closeOnOutsideClick?4:-1)}},encapsulation:2,changeDetection:0})}}return n})(),Mt=(()=>{class n{constructor(){this.#e=document.querySelector("body"),this.#n=R(he),this.compRef=null,this.insertedCompRef=null,this.closedFieldSub=null,this.compClosedSub=null}#e;#n;open(e,t){let i=this.#n.injector,o=this.#c(),ie=t||{},{data:s,closed:c}=ie,y=ne(ie,["data","closed"]);this.compRef&&this.#r(),this.insertedCompRef=ee(e,{environmentInjector:i}),this.compRef=ee(at,{hostElement:o,environmentInjector:i,projectableNodes:[[this.insertedCompRef.location.nativeElement]]});let T=this.insertedCompRef.instance?.data,k=this.insertedCompRef.instance?.closed;if(s){if($(T))this.insertedCompRef.setInput("data",s);else if(!$(T))throw new Error("data is not an input signal on the passed component")}k instanceof N&&(this.closedFieldSub=k.subscribe((...Se)=>{c?.(...Se),this.#r()})),this.#n.attachView(this.insertedCompRef.hostView),this.#n.attachView(this.compRef.hostView),this.insertedCompRef.changeDetectorRef.detectChanges(),this.compRef.changeDetectorRef.detectChanges(),this.compRef.instance.isOpen.set(!0),this.compRef.setInput("options",y),this.compRef.instance.closed.subscribe(()=>ve());let ge=this;function ve(){k&&k instanceof N?k.emit(!1):c?.(void 0),ge.#r()}return this.insertedCompRef.instance}#c(){let e=document.createElement("spk-dialog-ref");return e.id="spk-dialog-ref",document.getElementById("spk-dialog-ref")||this.#e.append(e),document.getElementById("spk-dialog-ref")}#r(){this.insertedCompRef&&(this.#n.detachView(this.insertedCompRef.hostView),this.closedFieldSub?.unsubscribe(),this.insertedCompRef.destroy()),this.compRef&&(this.#n.detachView(this.compRef.hostView),this.compClosedSub?.unsubscribe(),this.compRef.destroy())}ngOnDestroy(){this.#r()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=Q({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ft=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-button-group"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),lt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["","spk-button",""]],standalone:!0,features:[g],attrs:Me,ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),It=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-card"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Vt=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-checkbox"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:w,decls:6,vars:0,consts:[[1,"box"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"]],template:function(t,i){t&1&&(S(),r(0,"div",0)(1,"spk-icon",1),_(2,"check"),a(),r(3,"spk-icon",2),_(4,"minus"),a()(),l(5))},dependencies:[te],encapsulation:2,changeDetection:0})}}return n})(),ct=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-chip"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var pt=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus(),this.#e.nativeElement.querySelector("textarea")&&this.#e.nativeElement.querySelector("textarea").focus()}ngOnInit(){let e=CSS.supports("field-sizing","content"),t=this.#e.nativeElement.querySelector("textarea");if(!e&&t!==null){let c=function(){s.style.height="auto",s.style.height=s.scrollHeight+"px"},y=function(){window.setTimeout(c,0)};var i=c,o=y;let s=this.#e.nativeElement.querySelector("textarea");s.addEventListener("change",c),s.addEventListener("cut",y),s.addEventListener("paste",y),s.addEventListener("drop",y),s.addEventListener("keydown",y),s.focus(),s.select(),c()}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-form-field"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:Ve,decls:16,vars:0,consts:[[1,"input-wrap"],[1,"prefix"],[1,"prefix-space"],[1,"suffix-space"],[1,"helpers"],[1,"error"],[1,"hint"]],template:function(t,i){t&1&&(S(Ie),l(0),r(1,"div",0)(2,"div",1),l(3,1),l(4,2),a(),H(5,"div",2),l(6,3),l(7,4),l(8,5),H(9,"div",3),l(10,6),a(),r(11,"div",4)(12,"div",5),l(13,7),a(),r(14,"div",6),l(15,8),a()())},encapsulation:2,changeDetection:0})}}return n})(),At=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-list"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),dt={width:void 0,height:void 0,closeOnButton:!0,closeOnEsc:!0},me=(()=>{class n{constructor(){this.#e=4,this.SUPPORTS_ANCHOR=CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.above=p(!1),this.right=p(!1),this._above=h(this.above()),this._right=h(this.right()),this.disableOpenByClick=p(!1),this.isOpen=P(!1),this.options=p(),this.closed=j(),this.defaultOptionMerge=b(()=>I(I({},dt),this.options())),this.triggerRef=x.required("triggerRef"),this.popoverRef=x.required("popoverRef"),this.id=h("--"+crypto.randomUUID()),this.menuStyle=h(null),this.openAbort=null,this.isCalculatingPosition=b(()=>{let e=this.popoverRef()?.nativeElement;return this.isOpen()?(this.openAbort&&this.openAbort.abort(),this.openAbort=new AbortController,e?.showPopover(),document.addEventListener("keydown",i=>{i.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&i.preventDefault(),i.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{capture:!0,signal:this.abortController?.signal}),!0):(e.hidePopover(),this.abortController?.abort(),this.openAbort?.abort(),this.closed.emit(),!1)}),this.abortController=null,this.calcPositionEffect=E(()=>{if(!this.isCalculatingPosition())return;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;let t=this.abortController.signal;this.calculateMenuPosition(),this.#n(this.popoverRef()?.nativeElement).addEventListener("scroll",()=>this.calculateMenuPosition(),{signal:t}),document.addEventListener("resize",()=>this.calculateMenuPosition(),{signal:t})},{allowSignalWrites:!0}),this.scrollableStyles=["scroll","auto"]}#e;toggleIsOpen(e){e.preventDefault(),e.stopPropagation(),this.disableOpenByClick()||this.isOpen.set(!this.isOpen())}#n(e){let t=e.parentElement;for(;t;){if(this.scrollableStyles.indexOf(window.getComputedStyle(t).overflowY)>-1&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}eventClose(e){e.stopPropagation(),e.preventDefault(),this.isOpen.set(!1)}ngOnDestroy(){this.abortController&&this.abortController.abort()}calculateMenuPosition(){let e=this.triggerRef()?.nativeElement.getBoundingClientRect(),t=this.popoverRef()?.nativeElement.getBoundingClientRect(),i=e.left,o=e.bottom,s=i,c=o+this.#e,y=s+t.width>window.innerWidth,T=c+t.height>window.innerHeight;if(this.SUPPORTS_ANCHOR)this._above.set(T),this._right.set(y);else{if(this.above()){let k=e.top-t.height-this.#e;k>=0&&(c=k)}else T&&(c=e.top-t.height-this.#e);if(this.right()){let k=e.right-t.width;k>=0&&(s=k)}else y&&(c=T?e.top+e.height-t.height:e.top,s=e.left-t.width-this.#e);this.menuStyle.set({left:s+"px",top:c+"px"})}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-popover"]],viewQuery:function(t,i){t&1&&(F(i.triggerRef,fe,5),F(i.popoverRef,Ae,5)),t&2&&B(2)},hostVars:4,hostBindings:function(t,i){t&2&&W("above",i._above())("right",i._right())},inputs:{above:[1,"above"],right:[1,"right"],disableOpenByClick:[1,"disableOpenByClick"],isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:Pe,decls:10,vars:6,consts:[["triggerRef",""],["popoverRef",""],[1,"trigger",3,"click"],[1,"trigger-wrapper"],["spk-button","",1,"outlined"],["popover","",1,"popover"],[1,"overlay",3,"click"]],template:function(t,i){if(t&1){let o=O();S(Re),r(0,"div",2,0),v("click",function(c){return d(o),u(i.toggleIsOpen(c))}),r(2,"div",3),l(3),a(),r(4,"button",4),_(5,"Open popover"),a()(),r(6,"div",5,1)(8,"div",6),v("click",function(c){return d(o),u(i.isOpen()&&i.eventClose(c))}),a(),l(9,1),a()}t&2&&(A("anchor-name",i.id()),D(6),X(i.menuStyle()),A("position-anchor",i.id()))},dependencies:[lt],encapsulation:2,changeDetection:0})}}return n})(),Rt=(()=>{class n{constructor(){this.above=p(!1),this.right=p(!1),this.keepClickedOptionActive=p(!1),this.isOpen=P(!1),this.closed=j(),this.activeOptionIndex=h(-1),this.options=re("option"),this.optionsEl=b(()=>Array.from(this.options()).map(e=>e.nativeElement).filter(e=>e.disabled!==!0)),this.optionsEffect=E(()=>{if(!this.isOpen())return;let e=this.activeOptionIndex(),t=this.optionsEl();if(e>-1)for(let i=0;i<t.length;i++){if(i===e){t[i].scrollIntoView({block:"center"}),t[i].classList.add("active");continue}t[i].classList.remove("active")}})}onKeyDown(e){if(!this.isOpen())return;e.preventDefault();let t=this.optionsEl(),i=this.activeOptionIndex();e.key==="ArrowDown"?i===-1||i===t.length-1?this.activeOptionIndex.set(0):this.activeOptionIndex.set(i+1):e.key==="ArrowUp"?i===-1||i===0?this.activeOptionIndex.set(t.length-1):this.activeOptionIndex.set(i-1):e.key==="Enter"?i>-1&&(t[i].click(),setTimeout(()=>this.close("active"))):e.key==="Tab"?this.close("closed"):this.activeOptionIndex.set(-1)}close(e="closed",t){(!this.keepClickedOptionActive()||e==="closed")&&this.#e(),this.isOpen.set(!1),this.closed.emit(e==="active")}#e(){this.activeOptionIndex.set(-1);let e=this.optionsEl();for(let t=0;t<e.length;t++)e[t].classList.remove("active")}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-menu"]],contentQueries:function(t,i,o){t&1&&pe(o,i.options,He,4),t&2&&B()},hostBindings:function(t,i){t&1&&v("keydown",function(s){return i.onKeyDown(s)})},inputs:{above:[1,"above"],right:[1,"right"],keepClickedOptionActive:[1,"keepClickedOptionActive"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:je,decls:6,vars:6,consts:[["formFieldWrapper",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","above","right","options"],["trigger","",3,"click"],[1,"options",3,"click"]],template:function(t,i){if(t&1){let o=O();S(Be),r(0,"spk-popover",1,0),J("isOpenChange",function(c){return d(o),K(i.isOpen,c)||(i.isOpen=c),u(c)}),v("closed",function(){return d(o),u(i.close("fromPopover"))}),r(2,"div",2),v("click",function(){return d(o),u(i.isOpen.set(!0))}),l(3),a(),r(4,"div",3),v("click",function(){return d(o),u(i.close("active"))}),l(5,1),a()()}t&2&&(G("isOpen",i.isOpen),Y("disableOpenByClick",!0)("above",i.above())("right",i.right())("options",Z(5,Le)))},dependencies:[me],encapsulation:2,changeDetection:0})}}return n})(),Pt=(()=>{class n{constructor(){this.value=p(void 0)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-progress-bar"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],decls:1,vars:2,consts:[[1,"progress-bar"]],template:function(t,i){t&1&&H(0,"div",0),t&2&&A("width",i.value(),"%")},encapsulation:2,changeDetection:0})}}return n})(),Ht=(()=>{class n{#e=R(L);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-radio"]],hostBindings:function(t,i){t&1&&v("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"radio"]],template:function(t,i){t&1&&(S(),H(0,"div",0),l(1))},encapsulation:2,changeDetection:0})}}return n})();var Bt=(()=>{class n{constructor(){this.value=p(null)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-option"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),ut=["primary","accent","tertiary","warn","success"],jt=(()=>{class n{constructor(){this.#e=R(se),this.#n=R(L),this.#c=new MutationObserver(e=>{for(let t of e)if(t.type==="childList"&&t.target instanceof HTMLElement){let i=[...Array.from(t.addedNodes),...Array.from(t.removedNodes)];for(let o=0;o<i.length;o++){let s=i[o];(s.nodeName==="OPTION"||s.nodeName==="SPK-OPTION")&&this.#s.set(!this.#s())}}}),this.optionsRef=x("optionsRef"),this.formFieldWrapperRef=x.required("formFieldWrapper"),this.inputWrapRef=x.required("inputWrap"),this.inputValue=P(""),this.readonly=p(!1),this.isFreeText=p(!1),this.selectMultiple=p(!1),this.hideClearButton=p(!1),this.displayValue=p(""),this.displayFn=p(e=>`${e}`),this.above=p(!1),this.right=p(!1),this.#r=h(!1),this.#s=h(!1),this.#t=h(null),this.#a=h(null),this.#l=h(!1),this.#i=h(-1),this.isOpen=h(!1),this._isOpen=h(!1),this.#h=E(()=>{this._isOpen.set(this.isOpen()&&this.#o().length>0)},{allowSignalWrites:!0}),this.isSearchInput=b(()=>this.#t()?.type==="search"),this.optionsEl=b(()=>this.optionsRef()?.nativeElement),this.#o=b(()=>{this.#s();let e=this.optionsRef()?.nativeElement.querySelectorAll("option"),t=this.optionsRef()?.nativeElement.querySelectorAll("spk-option");return e?.length?Array.from(e):t?.length?Array.from(t):[]}),this.chipClass=b(()=>Array.from(this.#n.nativeElement.classList).filter(e=>ut.includes(e)).join(" ")),this._displayValue=b(()=>this.displayFn()?this.displayFn()(this.inputValue()):this.displayValue()??this.inputValue()),this.selectedOption=b(()=>this.#a()?this.#o().find(e=>(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))===this.#a()):null),this.optionsOpenController=null,this.inputController=null,this.clickController=null,this.inputAbortController=null,this.#f=E(()=>{this.#r();let e=this.#n.nativeElement.querySelector("input");e&&(this.#y(e),e.addEventListener("inputValueChanged",t=>{this.inputValue.set(t.detail.value),this.selectMultiple()&&this.#d()}),this.#t.set(e),e.autocomplete="off",typeof e.value=="string"&&this.inputValue.set(e.value))},{allowSignalWrites:!0}),this.#m=E(()=>{this.inputController&&this.inputController.abort(),this.inputController=new AbortController;let e=this.#t();e&&e.addEventListener("keydown",t=>{(this.selectMultiple()||!this.isSearchInput()&&!this.isFreeText())&&t.preventDefault(),t.key==="Escape"?this.close():t.key==="ArrowDown"?this.#i()===null||this.#i()<0||this.#i()===this.#o().length-1?this.#i.set(this.#u()):this.#i.set(this.#i()+1):t.key==="ArrowUp"?this.#i()===null||this.#i()<0||this.#i()===0?this.#i.set(this.#o().length-1):this.#i.set(this.#i()-1):t.key==="Enter"?(this.isFreeText()&&this.close(!0),this.#i()>-1&&this.selected(this.getOptionElement(this.#i()))):t.key==="Tab"?this.close(!0):(this.#i.set(-1),this.isFreeText()&&this.calculateSelectedOptions())},{signal:this.inputController?.signal})}),this.#g=E(()=>{this.isOpen()&&this.#_()}),this.#v=E(()=>{let e=this.inputValue();this.#t()&&(this.#t().value=e??"",this.#t().dispatchEvent(new Event("input")))},{allowSignalWrites:!0}),this.#p=new MutationObserver(e=>{for(var t of e)t.type=="childList"&&t.target.classList.contains("input")&&this.#r.set(!this.#r())})}#e;#n;#c;#r;#s;#t;#a;#l;#i;#h;#o;#f;#m;#g;#v;ngOnInit(){this.#p.observe(this.inputWrapRef().nativeElement,{attributes:!0,childList:!0,subtree:!0})}getOptionElement(e){return this.#o()[e]}deselect(e,t=!1){e?.stopPropagation(),this.#t()&&(this.#t().value="",this.#t().dispatchEvent(new Event("input"))),this.#i.set(this.#u()),this.#l.set(!1),(t||!this.selectMultiple())&&(this.isOpen.set(!1),this.#t()?.blur())}selected(e){if(!e)return;let t=(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))??"",i=this.#o().indexOf(e);if(e.hasAttribute("deselect"))return this.deselect(null,!0);if(this.#i.set(i),e&&!this.selectMultiple()){this.inputValue.set(t);for(let o=0;o<this.#o().length;o++){let s=this.#o()[o];(s.getAttribute("value")||s.getAttribute("ng-reflect-value"))===t?this.#e.setAttribute(s,"selected","selected"):this.#e.removeAttribute(s,"selected")}}else e&&this.selectMultiple()&&(this.inputValue().includes(t)?(this.#e.removeAttribute(e,"selected"),this.toggleOption(t)):(this.#e.setAttribute(e,"selected","selected"),this.inputValue.set(this.inputValue().length?`${this.inputValue()},${t}`:t)));this.#l.set(!1),this.#a.set(null),this.selectMultiple()?this.#t()?.focus():(this.isOpen.set(!1),this.#t()?.blur())}calculateSelectedOptions(){setTimeout(()=>{let e=this.#o(),i=this.#t()?.value;for(let o=0;o<e.length;o++){let s=e[o];(s.getAttribute("value")||s.getAttribute("ng-reflect-value"))===i?this.#e.setAttribute(s,"selected","selected"):this.#e.removeAttribute(s,"selected")}})}toggleOption(e,t){t&&(t.preventDefault(),t.stopPropagation()),this.inputValue.set(this.inputValue().startsWith(e+",")?this.inputValue().replace(e+",",""):this.inputValue().includes(","+e)?this.inputValue().replace(","+e,""):this.inputValue().replace(e,""))}close(e=!1){this.#s.set(!this.#s());let t=this.#a();this.isSearchInput()&&!this.isFreeText()&&t&&setTimeout(()=>this.inputValue.set(t)),this.isOpen.set(!1),this.#l.set(!1),e||this.#t()?.blur(),this.#c.disconnect(),this.#C()}open(e){e.preventDefault(),!this.isOpen()&&(this.#c.observe(this.optionsEl(),{childList:!0,subtree:!0}),this.isSearchInput()&&!this.#l()&&!this.isFreeText()?(this.#a.set(this.inputValue()),this.inputValue.set(""),this.#t().focus(),this.#t().value="",this.#t().dispatchEvent(new Event("input")),this.#i.set(-1)):(this.isSearchInput()||this.selectMultiple())&&this.#t().focus(),this.#s.set(!this.#s()),this.isOpen.set(!0),this.#l.set(!0),this.#S(),this.#d())}#S(){this.clickController&&this.clickController.abort(),this.clickController=new AbortController,this.optionsEl()?.addEventListener("click",e=>{if(!e.target)return;this.#s.set(!this.#s());let t=e.target.closest("option"),i=e.target.closest("spk-option"),o=t||i;this.#o().indexOf(o)>-1&&this.selected(o)},{signal:this.clickController?.signal})}#C(){this.clickController&&this.clickController.abort()}#_(){for(let e=0;e<this.#o().length;e++){let t=this.#o()[e];this.#e.removeClass(t,"focused"),this.#i()===e&&(this.#e.addClass(t,"focused"),t.scrollIntoView({block:"center"}))}}#d(){let e=this.#t();if(!e)return;this.inputValue.set(e.value);let t=e.value.split(",");setTimeout(()=>{let i=this.#o();for(let o=0;o<i.length;o++){let s=i[o].getAttribute("ng-reflect-value");s&&t.includes(s)?this.#e.setAttribute(i[o],"selected","selected"):this.#e.removeAttribute(i[o],"selected")}})}#u(){let e=this.#o();for(let t=0;t<e.length;t++)if(!e[t].hasAttribute("deselect"))return t;return-1}#p;#y(e){return Object.defineProperty(e,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(t){Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,t);let o=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:t}});return this.dispatchEvent(o),t}}),e}ngOnDestroy(){this.clickController&&this.clickController.abort(),this.inputController&&this.inputController.abort(),this.optionsOpenController&&this.optionsOpenController.abort(),this.#p.disconnect()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-select"]],viewQuery:function(t,i){t&1&&(F(i.optionsRef,We,5),F(i.formFieldWrapperRef,qe,5),F(i.inputWrapRef,Fe,5)),t&2&&B(3)},inputs:{inputValue:[1,"inputValue"],readonly:[1,"readonly"],isFreeText:[1,"isFreeText"],selectMultiple:[1,"selectMultiple"],hideClearButton:[1,"hideClearButton"],displayValue:[1,"displayValue"],displayFn:[1,"displayFn"],above:[1,"above"],right:[1,"right"]},outputs:{inputValue:"inputValueChange"},standalone:!0,features:[g],ngContentSelectors:Qe,decls:15,vars:8,consts:[["formFieldWrapper",""],["inputWrap",""],["optionsRef",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","options"],["trigger","",3,"click"],["ngProjectAs","input",5,["input"],1,"input"],[1,"display-value"],["suffix","",1,"deselect-indicator"],["suffix","",1,"search-indicator"],["suffix","",1,"select-open-indicator",3,"open"],[1,"sparkle-options"],[1,"small","simple",3,"class"],[1,"small","simple",3,"click"],["suffix","",1,"deselect-indicator",3,"click"],[1,"default-indicator"],["suffix","",1,"select-open-indicator"]],template:function(t,i){if(t&1){let o=O();S(Ue),r(0,"spk-popover",3,0),J("isOpenChange",function(c){return d(o),K(i.isOpen,c)||(i.isOpen=c),u(c)}),v("closed",function(){return d(o),u(i.close())}),r(2,"spk-form-field",4),v("click",function(c){return d(o),u(i.open(c))}),l(3,0,["ngProjectAs","label",5,["label"]]),r(4,"div",5,1),V(6,Xe,2,1,"div",6)(7,ze,2,1,"div",6),l(8,1),a(),V(9,Ge,4,0,"div",7)(10,Ke,4,0,"div",8)(11,Je,4,2,"div",9),a(),r(12,"div",10,2),l(14,2),a()()}t&2&&(G("isOpen",i.isOpen),Y("disableOpenByClick",!0)("options",Z(7,Ne)),D(2),U(i.readonly()?"readonly":""),D(4),M(i.selectMultiple()?6:i._displayValue()&&i.isSearchInput()&&!i.isOpen()||i._displayValue()&&!i.isSearchInput()?7:-1),D(3),M((i.inputValue()&&!i.isOpen()&&i.inputValue().length>0||i.selectedOption())&&!i.hideClearButton()?9:i.isSearchInput()&&!i.selectedOption()?10:11))},dependencies:[pt,te,ct,me],encapsulation:2,changeDetection:0})}}return n})(),Lt=(()=>{class n{constructor(){this.openWidth=280,this.openWidthTreshold=this.openWidth*.9,this.disableDrag=p(!1),this.isOpen=P(!1),this.type=p(""),this.dragImageElement=x.required("dragImageElement"),this.dragIsEnding=h(!1),this.dragIsOnScreen=h(!0),this.isDragging=h(!1),this.dragPositionX=h(0),this.dragActualPositionX=b(()=>{let e=this.dragPositionX(),t=.32;return e>this.openWidthTreshold?this.openWidthTreshold+(e-this.openWidthTreshold)*t:e}),this.draggingStyle=b(()=>this.type()!=="overlay"?null:this.isDragging()?`translateX(${this.dragActualPositionX()}px)`:this.isOpen()?`translateX(${this.openWidth}px)`:"translateX(0px)"),this.draggingEffect=E(()=>{this.isDragging()&&document.body.classList.add("dragging")})}drop(e){e.stopPropagation(),this.#e(e.clientX)}#e(e){this.isDragging.set(!1),e<=0?this.isOpen.set(!1):e>this.openWidthTreshold?this.isOpen.set(!0):e<this.openWidthTreshold&&(!this.isOpen()&&e<this.openWidthTreshold*.6?this.isOpen.set(!0):this.isOpen.set(!1))}dragEnd(e){(e.clientX<0||!this.dragIsOnScreen())&&this.#e(0)}dragEnter(){this.dragIsOnScreen.set(!0)}dragLeave(){this.dragIsOnScreen.set(!1)}dragOver(e){e.preventDefault(),this.#n(e)}dragStart(e){e.stopPropagation(),this.isDragging.set(!0),this.#n(e)}#n(e){e.dataTransfer?.setDragImage(this.dragImageElement().nativeElement,0,0)}drag(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.clientX)}),this.#n(e)}touchStart(e){e.stopPropagation(),this.isDragging.set(!0)}touchMove(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.touches[0].clientX)})}touchEnd(e){e.stopPropagation(),this.#e(e.changedTouches[0].clientX)}touchCancel(e){e.stopPropagation(),this.isDragging.set(!1)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-sidenav"]],viewQuery:function(t,i){t&1&&F(i.dragImageElement,Ze,5),t&2&&B()},hostVars:10,hostBindings:function(t,i){t&2&&W("open",i.isOpen())("closed",!i.isOpen())("overlay",i.type()==="overlay")("simple",i.type()==="simple")("is-dragging",i.isDragging())},inputs:{disableDrag:[1,"disableDrag"],isOpen:[1,"isOpen"],type:[1,"type"]},outputs:{isOpen:"isOpenChange"},standalone:!0,features:[g],ngContentSelectors:tt,decls:10,vars:5,consts:[["dragImageElement",""],[1,"drag-image"],[1,"dropping-surface"],[1,"sidenav"],[1,"main-wrap"],["draggable","true",1,"dragable"],[1,"closed-topbar"],[1,"dropping-surface",3,"drop","dragover","dragenter","dragleave"],["draggable","true",1,"dragable",3,"dragstart","dragend","drag","touchstart","touchmove","touchend","touchcancel"]],template:function(t,i){t&1&&(S(et),V(0,it,2,0,"div",1)(1,nt,1,0,"div",2),r(2,"div",3),l(3),a(),r(4,"div",4),V(5,ot,1,0,"div",5),r(6,"div",6),l(7,1),a(),r(8,"main"),l(9,2),a()()),t&2&&(M(i.type()==="overlay"?0:-1),D(),M(i.type()==="overlay"&&i.isDragging()?1:-1),D(3),A("transform",i.draggingStyle()),D(),M(i.type()==="overlay"&&!i.disableDrag()?5:-1))},encapsulation:2,changeDetection:0})}}return n})();var Wt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-stepper"]],standalone:!0,features:[g],ngContentSelectors:w,decls:1,vars:0,template:function(t,i){t&1&&(S(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var qt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-toggle"]],standalone:!0,features:[g],ngContentSelectors:w,decls:3,vars:0,consts:[[1,"box"],[1,"knob"]],template:function(t,i){t&1&&(S(),r(0,"div",0),H(1,"div",1),a(),l(2))},encapsulation:2,changeDetection:0})}}return n})(),Ut=(()=>{class n{constructor(){this.#e=4,this.SUPPORTS_ANCHOR=CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.disabled=p(!1),this.above=p(!1),this.right=p(!1),this._above=h(this.above()),this._right=h(this.right()),this.message=p.required(),this.isOpen=P(!1),this.closed=j(),this.triggerRef=x.required("triggerRef"),this.tooltipRef=x.required("tooltipRef"),this.id=h("--"+crypto.randomUUID()),this.menuStyle=h(null),this.isCalculatingPosition=b(()=>{let e=this.tooltipRef()?.nativeElement;return this.isOpen()?(e?.showPopover(),!0):(e.hidePopover(),this.abortController?.abort(),this.closed.emit(),!1)}),this.abortController=null,this.calcPositionEffect=E(()=>{if(!this.isCalculatingPosition())return;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;let t=this.abortController.signal;this.calculateMenuPosition(),this.#n(this.tooltipRef()?.nativeElement).addEventListener("scroll",()=>this.calculateMenuPosition(),{signal:t}),document.addEventListener("resize",()=>this.calculateMenuPosition(),{signal:t})},{allowSignalWrites:!0}),this.scrollableStyles=["scroll","auto"]}#e;#n(e){let t=e.parentElement;for(;t;){if(this.scrollableStyles.indexOf(window.getComputedStyle(t).overflowY)>-1&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}eventClose(e){e.stopPropagation(),e.preventDefault(),this.isOpen.set(!1)}ngOnDestroy(){this.abortController&&this.abortController.abort()}calculateMenuPosition(){let e=this.triggerRef()?.nativeElement.getBoundingClientRect(),t=this.tooltipRef()?.nativeElement.getBoundingClientRect(),i=e.left,o=e.bottom,s=i,c=o+this.#e,y=s+t.width>window.innerWidth,T=c+t.height>window.innerHeight;if(this.SUPPORTS_ANCHOR)this._above.set(T),this._right.set(y);else{if(this.above()){let k=e.top-t.height-this.#e;k>=0&&(c=k)}else T&&(c=e.top-t.height-this.#e);if(this.right()){let k=e.right-t.width;k>=0&&(s=k)}else y&&(c=T?e.top+e.height-t.height:e.top,s=e.left-t.width-this.#e);this.menuStyle.set({left:s+"px",top:c+"px"})}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=f({type:n,selectors:[["spk-tooltip"]],viewQuery:function(t,i){t&1&&(F(i.triggerRef,fe,5),F(i.tooltipRef,st,5)),t&2&&B(2)},hostVars:6,hostBindings:function(t,i){t&2&&W("above",i._above())("right",i._right())("disabled",i.disabled())},inputs:{disabled:[1,"disabled"],above:[1,"above"],right:[1,"right"],message:[1,"message"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:w,decls:6,vars:7,consts:[["triggerRef",""],["tooltipRef",""],[1,"trigger",3,"mouseover","mouseout"],["popover","",1,"tooltip"]],template:function(t,i){if(t&1){let o=O();S(),r(0,"div",2,0),v("mouseover",function(){return d(o),u(i.isOpen.set(!0))})("mouseout",function(){return d(o),u(i.isOpen.set(!1))}),l(2),a(),r(3,"div",3,1),_(5),a()}t&2&&(A("anchor-name",i.id()),D(3),X(i.menuStyle()),A("position-anchor",i.id()),D(2),z(" ",i.message()," "))},encapsulation:2,changeDetection:0})}}return n})(),Qt=(()=>{class n{constructor(){this.filesOver=h(!1),this.filesDropped=j()}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!0)}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1)}ondrop(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1);let t=e.dataTransfer?.files;t&&t.length>0&&this.filesDropped.emit(t)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275dir=oe({type:n,selectors:[["","spkDragDrop",""]],hostVars:2,hostBindings:function(t,i){t&1&&v("dragover",function(s){return i.onDragOver(s)})("dragleave",function(s){return i.onDragLeave(s)})("drop",function(s){return i.ondrop(s)}),t&2&&W("filesover",i.filesOver())},outputs:{filesDropped:"filesDropped"},standalone:!0})}}return n})();export{te as a,Tt as b,xt as c,at as d,Mt as e,Ft as f,lt as g,It as h,Vt as i,ct as j,pt as k,At as l,Rt as m,Pt as n,Ht as o,Bt as p,jt as q,Lt as r,Wt as s,qt as t,Ut as u,Qt as v};
package/chunk-4HGECFGT.js DELETED
@@ -1 +0,0 @@
1
- import{g as a,h as b,i as c}from"./chunk-NYFN2CT6.js";import"./chunk-VJDUCP4Z.js";import"./chunk-DNHLTHLR.js";import"./chunk-CUYURNCB.js";import"./chunk-SRX3KYGO.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{b as createAdvancedOption,a as createOptionsForm,c as default};
package/chunk-4NLCRQLQ.js DELETED
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-HJUBM7Q5.js";import"./chunk-3XQGPHYU.js";import"./chunk-VJDUCP4Z.js";import"./chunk-CUYURNCB.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
package/chunk-67JGZ4NF.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as pe,b as he}from"./chunk-7CGTOI24.js";function I(e){return typeof e=="function"}function xt(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 Sn=xt(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 Ze(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(I(r))try{r()}catch(i){t=i instanceof Sn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{da(i)}catch(s){t=t??[],s instanceof Sn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Sn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)da(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)&&Ze(n,t)}remove(t){let{_finalizers:n}=this;n&&Ze(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var Ao=F.EMPTY;function On(e){return e instanceof F||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function da(e){I(e)?e():e.unsubscribe()}function q(e){return e}function nf(...e){return Ro(e)}function Ro(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function Po(e){return I(e?.lift)}function C(e){return t=>{if(Po(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")}}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...n){let{delegate:r}=Mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function An(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function Qe(){}var fa=ko("C",void 0,void 0);function pa(e){return ko("E",void 0,e)}function ha(e){return ko("N",e,void 0)}function ko(e,t,n){return{kind:e,value:t,error:n}}var Ye=null;function _t(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!Ye;if(t&&(Ye={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ye;if(Ye=null,n)throw r}}else e()}function ma(e){ue.useDeprecatedSynchronousErrorHandling&&Ye&&(Ye.errorThrown=!0,Ye.error=e)}var Je=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,On(t)&&t.add(this)):this.destination=sf}static create(t,n,r){return new Ce(t,n,r)}next(t){this.isStopped?Fo(ha(t),this):this._next(t)}error(t){this.isStopped?Fo(pa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fo(fa,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()}}},rf=Function.prototype.bind;function Lo(e,t){return rf.call(e,t)}var jo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rn(r)}else Rn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rn(n)}}},Ce=class extends Je{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Lo(t.next,i),error:t.error&&Lo(t.error,i),complete:t.complete&&Lo(t.complete,i)}):o=t}this.destination=new jo(o)}};function Rn(e){ue.useDeprecatedSynchronousErrorHandling?ma(e):An(e)}function of(e){throw e}function Fo(e,t){let{onStoppedNotification:n}=ue;n&&Mt.setTimeout(()=>n(e,t))}var sf={closed:!0,next:Qe,error:of,complete:Qe};function w(e,t,n,r,o){return new Vo(e,t,n,r,o)}var Vo=class extends Je{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 Ho(){return C((e,t)=>{let n=null;e._refCount++;let r=w(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Tt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var _=(()=>{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=cf(n)?n:new Ce(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=ga(r),new r((o,i)=>{let s=new Ce({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)}[Tt](){return this}pipe(...n){return Ro(n)(this)}toPromise(n){return n=ga(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 ga(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function af(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function cf(e){return e&&e instanceof Je||af(e)&&On(e)}var $o=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Po(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new F;let n=this.getSubject();t.add(this.source.subscribe(w(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return Ho()(this)}};var ya=xt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Pn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ya}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?Ao:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,Ze(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Pn(t,n),e})(),Pn=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:Ao}};var tn=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 Ke=new _(e=>e.complete());function Ia(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 va(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 Xe(e){return this instanceof Xe?(this.v=e,this):new Xe(e)}function wa(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(T,E){i.push([f,m,T,E])>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 Xe?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 Ea(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 va=="function"?va(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 kn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ln(e){return I(e?.then)}function Fn(e){return I(e[Tt])}function jn(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Vn(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 lf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hn=lf();function $n(e){return I(e?.[Hn])}function Bn(e){return wa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Xe(n.read());if(o)return yield Xe(void 0);yield yield Xe(r)}}finally{n.releaseLock()}})}function Un(e){return I(e?.getReader)}function S(e){if(e instanceof _)return e;if(e!=null){if(Fn(e))return uf(e);if(kn(e))return df(e);if(Ln(e))return ff(e);if(jn(e))return Da(e);if($n(e))return pf(e);if(Un(e))return hf(e)}throw Vn(e)}function uf(e){return new _(t=>{let n=e[Tt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function df(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ff(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,An)})}function pf(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Da(e){return new _(t=>{mf(e,t).catch(n=>t.error(n))})}function hf(e){return Da(Bn(e))}function mf(e,t){var n,r,o,i;return Ia(this,void 0,void 0,function*(){try{for(n=Ea(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 qn(e,t=0){return C((n,r)=>{n.subscribe(w(r,o=>Y(r,e,()=>r.next(o),t),()=>Y(r,e,()=>r.complete(),t),o=>Y(r,e,()=>r.error(o),t)))})}function Wn(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ba(e,t){return S(e).pipe(Wn(t),qn(t))}function Ca(e,t){return S(e).pipe(Wn(t),qn(t))}function xa(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ma(e,t){return new _(n=>{let r;return Y(n,t,()=>{r=e[Hn](),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)}),()=>I(r?.return)&&r.return()})}function zn(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(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 _a(e,t){return zn(Bn(e),t)}function Ta(e,t){if(e!=null){if(Fn(e))return ba(e,t);if(kn(e))return xa(e,t);if(Ln(e))return Ca(e,t);if(jn(e))return zn(e,t);if($n(e))return Ma(e,t);if(Un(e))return _a(e,t)}throw Vn(e)}function ke(e,t){return t?Ta(e,t):S(e)}function Gn(e){return e&&I(e.schedule)}function Na(e){return e[e.length-1]}function Nt(e){return I(Na(e))?e.pop():void 0}function Le(e){return Gn(Na(e))?e.pop():void 0}function gf(...e){let t=Le(e);return ke(e,t)}function yf(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function vf(e){return!!e&&(e instanceof _||I(e.lift)&&I(e.subscribe))}var et=xt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function me(e,t){return C((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:If}=Array,{getPrototypeOf:wf,prototype:Ef,keys:Df}=Object;function Zn(e){if(e.length===1){let t=e[0];if(If(t))return{args:t,keys:null};if(bf(t)){let n=Df(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function bf(e){return e&&typeof e=="object"&&wf(e)===Ef}var{isArray:Cf}=Array;function xf(e,t){return Cf(t)?e(...t):e(t)}function Qn(e){return me(t=>xf(e,t))}function Yn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Mf(...e){let t=Le(e),n=Nt(e),{args:r,keys:o}=Zn(e);if(r.length===0)return ke([],t);let i=new _(_f(r,t,o?s=>Yn(o,s):q));return n?i.pipe(Qn(n)):i}function _f(e,t,n=q){return r=>{Sa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Sa(t,()=>{let l=ke(e[c],t),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Sa(e,t,n){e?Y(n,e,t):t()}function Oa(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 T=!1;S(n(m,u++)).subscribe(w(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{T=!0},void 0,()=>{if(T)try{for(l--;c.length&&l<r;){let E=c.shift();s?Y(t,s,()=>h(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function xe(e,t,n=1/0){return I(t)?xe((r,o)=>me((i,s)=>t(r,i,o,s))(S(e(r,o))),n):(typeof t=="number"&&(n=t),C((r,o)=>Oa(r,o,e,n)))}function Bo(e=1/0){return xe(q,e)}function Aa(){return Bo(1)}function St(...e){return Aa()(ke(e,Le(e)))}function Tf(e){return new _(t=>{S(e()).subscribe(t)})}function nn(e,t){return C((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Uo(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=S(e(s,Uo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Nf(e,t){return I(t)?xe(e,t,1):xe(e,1)}function rn(e){return C((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function tt(e){return e<=0?()=>Ke:C((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function qo(e){return me(()=>e)}function Ra(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Jn(e=Sf){return C((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Sf(){return new et}function Pa(e,t){let n=arguments.length>=2;return r=>r.pipe(e?nn((o,i)=>e(o,i,r)):q,tt(1),n?rn(t):Jn(()=>new et))}function Wo(e){return e<=0?()=>Ke:C((t,n)=>{let r=[];t.subscribe(w(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 Of(e,t){let n=arguments.length>=2;return r=>r.pipe(e?nn((o,i)=>e(o,i,r)):q,Wo(1),n?rn(t):Jn(()=>new et))}function ka(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(w(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Af(e,t){return C(ka(e,t,arguments.length>=2,!0))}function La(...e){let t=Le(e);return C((n,r)=>{(t?St(e,n,t):St(e,n)).subscribe(r)})}function Fa(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;S(e(c,u)).subscribe(o=w(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Rf(e){return C((t,n)=>{S(e).subscribe(w(n,()=>n.complete(),Qe)),!n.closed&&t.subscribe(n)})}function ja(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(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)}))}):q}var on={now(){return(on.delegate||Date).now()},delegate:void 0};var sn=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 Kn=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var an={setInterval(e,t,...n){let{delegate:r}=an;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=an;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Xn=class extends Kn{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 an.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&&an.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,Ze(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ot=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)}};Ot.now=on.now;var er=class extends Ot{constructor(t,n=Ot.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 zo=new er(Xn),Va=zo;function Ha(e){return e instanceof Date&&!isNaN(e)}function Pf(...e){let t=Nt(e),{args:n,keys:r}=Zn(e),o=new _(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;S(n[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Yn(r,a):a),i.complete())}))}});return t?o.pipe(Qn(t)):o}function $a(e=0,t,n=Va){let r=-1;return t!=null&&(Gn(t)?n=t:r=t),new _(o=>{let i=Ha(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)})}var{isArray:kf}=Array;function Ba(e){return e.length===1&&kf(e[0])?e[0]:e}function Lf(...e){let t=Nt(e),n=Ba(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)S(n[s]).subscribe(w(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}}):Ke}function Ua(){return C((e,t)=>{e.subscribe(w(t,Qe))})}function Go(e,t){return t?n=>St(t.pipe(tt(1),Ua()),n.pipe(Go(e))):xe((n,r)=>S(e(n,r)).pipe(tt(1),qo(n)))}function Ff(e,t=zo){let n=$a(e,t);return Go(()=>n)}function jf(e,t=q){return e=e??Vf,C((n,r)=>{let o,i=!0;n.subscribe(w(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Vf(e,t){return e===t}function qa(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 C((m,T)=>{l++,!d&&!u&&p();let E=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=Zo(h,o))}),E.subscribe(T),!s&&l>0&&(s=new Ce({next:k=>E.next(k),error:k=>{d=!0,p(),a=Zo(f,n,k),E.error(k)},complete:()=>{u=!0,p(),a=Zo(f,r),E.complete()}}),S(m).subscribe(s))})(i)}}function Zo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),e()}});return S(t(...n)).subscribe(r)}function Hf(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,qa({connector:()=>new sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Wa(e,t){return Object.is(e,t)}var j=null,cn=!1,tr=1,J=Symbol("SIGNAL");function D(e){let t=j;return j=e,t}function za(){return j}function $f(){return cn}var At={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function un(e){if(cn)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(ar(j),t<j.producerNode.length&&j.producerNode[t]!==e&&ln(j)){let n=j.producerNode[t];sr(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=ln(j)?Ja(e,j,t):0),j.producerLastReadVersion[t]=e.version}function Bf(){tr++}function Ga(e){if(!(ln(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===tr)){if(!e.producerMustRecompute(e)&&!or(e)){e.dirty=!1,e.lastCleanEpoch=tr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=tr}}function Za(e){if(e.liveConsumerNode===void 0)return;let t=cn;cn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ya(n)}finally{cn=t}}function Qa(){return j?.consumerAllowSignalWrites!==!1}function Ya(e){e.dirty=!0,Za(e),e.consumerMarkedDirty?.(e)}function dn(e){return e&&(e.nextProducerIndex=0),D(e)}function rr(e,t){if(D(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(ln(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)sr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function or(e){ar(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ga(n),r!==n.version))return!0}return!1}function ir(e){if(ar(e),ln(e))for(let t=0;t<e.producerNode.length;t++)sr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ja(e,t,n){if(Ka(e),e.liveConsumerNode.length===0&&Xa(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ja(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function sr(e,t){if(Ka(e),e.liveConsumerNode.length===1&&Xa(e))for(let r=0;r<e.producerNode.length;r++)sr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];ar(o),o.producerIndexOfThis[r]=t}}function ln(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ar(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ka(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Xa(e){return e.producerNode!==void 0}function Ko(e){let t=Object.create(Uf);t.computation=e;let n=()=>{if(Ga(t),un(t),t.value===nr)throw t.error;return t.value};return n[J]=t,n}var Qo=Symbol("UNSET"),Yo=Symbol("COMPUTING"),nr=Symbol("ERRORED"),Uf=he(pe({},At),{value:Qo,dirty:!0,error:null,equal:Wa,producerMustRecompute(e){return e.value===Qo||e.value===Yo},producerRecomputeValue(e){if(e.value===Yo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Yo;let n=dn(e),r;try{r=e.computation()}catch(o){r=nr,e.error=o}finally{rr(e,n)}if(t!==Qo&&t!==nr&&r!==nr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function qf(){throw new Error}var ec=qf;function tc(){ec()}function nc(e){ec=e}var Wf=null;function rc(e){let t=Object.create(Xo);t.value=e;let n=()=>(un(t),t.value);return n[J]=t,n}function fn(e,t){Qa()||tc(),e.equal(e.value,t)||(e.value=t,zf(e))}function oc(e,t){Qa()||tc(),fn(e,t(e.value))}var Xo=he(pe({},At),{equal:Wa,value:void 0});function zf(e){e.version++,Bf(),Za(e),Wf?.()}function ic(e,t,n){let r=Object.create(Gf);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(ir(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Jo)}let a=()=>{if(r.fn===null)return;if($f())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!or(r))return;r.hasRun=!0;let c=dn(r);try{r.cleanupFn(),r.cleanupFn=Jo,r.fn(o)}finally{rr(r,c)}};return r.ref={notify:()=>Ya(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[J]:r},r.ref}var Jo=()=>{},Gf=he(pe({},At),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Jo});var ol="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(Zf(t,n)),this.code=t}};function Zf(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Kr=Symbol("InputSignalNode#UNSET"),il=he(pe({},Xo),{transformFn:void 0,applyValueToInputSignal(e,t){fn(e,t)}});function sl(e,t){let n=Object.create(il);n.value=e,n.transformFn=t?.transform;function r(){if(un(n),n.value===Kr)throw new x(-950,!1);return n.value}return r[J]=n,r}function Cn(e){return{toString:e}.toString()}var cr="__parameters__";function Qf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function al(e,t,n){return Cn(()=>{let r=Qf(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(cr)?c[cr]:Object.defineProperty(c,cr,{value:[]})[cr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var je=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function Yf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ne(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ne).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
- `);return n===-1?t:t.substring(0,n)}function mi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Jf=O({__forward_ref__:O});function cl(e){return e.__forward_ref__=cl,e.toString=function(){return ne(this())},e}function Z(e){return ll(e)?e():e}function ll(e){return typeof e=="function"&&e.hasOwnProperty(Jf)&&e.__forward_ref__===cl}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jM(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xr(e){return sc(e,ul)||sc(e,dl)}function VM(e){return Xr(e)!==null}function sc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kf(e){let t=e&&(e[ul]||e[dl]);return t||null}function ac(e){return e&&(e.hasOwnProperty(cc)||e.hasOwnProperty(Xf))?e[cc]:null}var ul=O({\u0275prov:O}),cc=O({\u0275inj:O}),dl=O({ngInjectableDef:O}),Xf=O({ngInjectorDef:O}),R=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fl(e){return e&&!!e.\u0275providers}var ep=O({\u0275cmp:O}),tp=O({\u0275dir:O}),np=O({\u0275pipe:O}),rp=O({\u0275mod:O}),Dr=O({\u0275fac:O}),hn=O({__NG_ELEMENT_ID__:O}),lc=O({__NG_ENV_ID__:O});function ve(e){return typeof e=="string"?e:e==null?"":String(e)}function op(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ve(e)}function ip(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function bs(e,t){throw new x(-201,!1)}var M=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(M||{}),gi;function pl(){return gi}function K(e){let t=gi;return gi=e,t}function hl(e,t,n){let r=Xr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;bs(e,"Injector")}var sp={},mn=sp,yi="__NG_DI_FLAG__",br="ngTempTokenPath",ap="ngTokenPath",cp=/\n/gm,lp="\u0275",uc="__source",Ft;function up(){return Ft}function Fe(e){let t=Ft;return Ft=e,t}function dp(e,t=M.Default){if(Ft===void 0)throw new x(-203,!1);return Ft===null?hl(e,void 0,t):Ft.get(e,t&M.Optional?null:void 0,t)}function $e(e,t=M.Default){return(pl()||dp)(Z(e),t)}function N(e,t=M.Default){return $e(e,eo(t))}function eo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function vi(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new x(900,!1);let o,i=M.Default;for(let s=0;s<r.length;s++){let a=r[s],c=fp(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push($e(o,i))}else t.push($e(r))}return t}function ml(e,t){return e[yi]=t,e.prototype[yi]=t,e}function fp(e){return e[yi]}function pp(e,t,n,r){let o=e[br];throw t[uc]&&o.unshift(t[uc]),e.message=hp(`
5
- `+e.message,o,n,r),e[ap]=o,e[br]=null,e}function hp(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==lp?e.slice(2):e;let o=ne(t);if(Array.isArray(t))o=t.map(ne).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ne(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(cp,`
7
- `)}`}var HM=ml(al("Optional"),8);var $M=ml(al("SkipSelf"),4);function it(e,t){let n=e.hasOwnProperty(Dr);return n?e[Dr]:null}function mp(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 gp(e){return e.flat(Number.POSITIVE_INFINITY)}function Cs(e,t){e.forEach(n=>Array.isArray(n)?Cs(n,t):t(n))}function gl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Cr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function vp(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 to(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,vp(e,r,t,n)),r}function ei(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return Ip(e,t,1)}function Ip(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 Ht={},Q=[],xr=new R(""),yl=new R("",-1),vl=new R(""),Mr=class{get(t,n=mn){if(n===mn){let r=new Error(`NullInjectorError: No provider for ${ne(t)}!`);throw r.name="NullInjectorError",r}return n}},Il=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Il||{}),gn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(gn||{}),Be=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Be||{});function wp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Ii(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];Ep(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function wl(e){return e===3||e===4||e===6}function Ep(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?dc(e,n,o,null,t[++r]):dc(e,n,o,null,null))}}return e}function dc(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){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var El="ng-template";function Dp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&wp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(xs(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 xs(e){return e.type===4&&e.value!==El}function bp(e,t,n){let r=e.type===4&&!n?El:e.value;return t===r}function Cp(e,t,n){let r=4,o=e.attrs,i=o!==null?_p(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!de(r)&&!de(c))return!1;if(s&&de(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!bp(e,c,n)||c===""&&t.length===1){if(de(r))return!1;s=!0}}else if(r&8){if(o===null||!Dp(e,o,c,n)){if(de(r))return!1;s=!0}}else{let l=t[++a],u=xp(c,o,xs(e),n);if(u===-1){if(de(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function xp(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 Tp(t,e)}function Dl(e,t,n=!1){for(let r=0;r<t.length;r++)if(Cp(e,t[r],n))return!0;return!1}function Mp(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function _p(e){for(let t=0;t<e.length;t++){let n=e[t];if(wl(n))return t}return e.length}function Tp(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 Np(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 fc(e,t){return e?":not("+t.trim()+")":t}function Sp(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!==""&&!de(s)&&(t+=fc(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=fc(i,o)),t}function Op(e){return e.map(Sp).join(",")}function Ap(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(!de(o))break;o=i}r++}return{attrs:t,classes:n}}function BM(e){return Cn(()=>{let t=Cl(e),n=he(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Il.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gn.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});xl(n);let r=e.dependencies;return n.directiveDefs=hc(r,!1),n.pipeDefs=hc(r,!0),n.id=Lp(n),n})}function Rp(e){return Ie(e)||Ms(e)}function Pp(e){return e!==null}function UM(e){return Cn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pc(e,t){if(e==null)return Ht;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Be.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Be.None?[r,a]:r,t[i]=s):n[i]=r}return n}function qM(e){return Cn(()=>{let t=Cl(e);return xl(t),t})}function WM(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 Ie(e){return e[ep]||null}function Ms(e){return e[tp]||null}function _s(e){return e[np]||null}function kp(e){let t=Ie(e)||Ms(e)||_s(e);return t!==null?t.standalone:!1}function bl(e,t){let n=e[rp]||null;if(!n&&t===!0)throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);return n}function Cl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ht,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pc(e.inputs,t),outputs:pc(e.outputs),debugInfo:null}}function xl(e){e.features?.forEach(t=>t(e))}function hc(e,t){if(!e)return null;let n=t?_s:Rp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Pp)}function Lp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Fp(e){return{\u0275providers:e}}function jp(...e){return{\u0275providers:Ts(!0,e),\u0275fromNgModule:!0}}function Ts(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Cs(t,s=>{let a=s;wi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ml(o,i),n}function Ml(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ns(o,i=>{t(i,r)})}}function wi(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=ac(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=ac(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)wi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Cs(i.imports,u=>{wi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ml(l,t)}if(!a){let l=it(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:vl,useValue:o,multi:!0},o),t({provide:xr,useValue:()=>$e(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ns(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ns(e,t){for(let n of e)fl(n)&&(n=n.\u0275providers),Array.isArray(n)?Ns(n,t):t(n)}var Vp=O({provide:String,useValue:O});function _l(e){return e!==null&&typeof e=="object"&&Vp in e}function Hp(e){return!!(e&&e.useExisting)}function $p(e){return!!(e&&e.useFactory)}function $t(e){return typeof e=="function"}function Bp(e){return!!e.useClass}var Tl=new R(""),mr={},Up={},ti;function no(){return ti===void 0&&(ti=new Mr),ti}var _e=class{},vn=class extends _e{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Di(t,s=>this.processProvider(s)),this.records.set(yl,Rt(void 0,this)),o.has("environment")&&this.records.set(_e,Rt(void 0,this));let i=this.records.get(Tl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vl,Q,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Fe(this),r=K(void 0),o;try{return t()}finally{Fe(n),K(r)}}get(t,n=mn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(lc))return t[lc](this);r=eo(r);let o,i=Fe(this),s=K(void 0);try{if(!(r&M.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Zp(t)&&Xr(t);l&&this.injectableDefInScope(l)?c=Rt(Ei(t),mr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&M.Self?no():this.parent;return n=r&M.Optional&&n===mn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[br]=a[br]||[]).unshift(ne(t)),i)throw a;return pp(a,t,"R3InjectorError",this.source)}else throw a}finally{K(s),Fe(i)}}resolveInjectorInitializers(){let t=D(null),n=Fe(this),r=K(void 0),o;try{let i=this.get(xr,Q,M.Self);for(let s of i)s()}finally{Fe(n),K(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ne(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=Z(t);let n=$t(t)?t:Z(t&&t.provide),r=Wp(t);if(!$t(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,mr,!0),o.factory=()=>vi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=D(null);try{return n.value===mr&&(n.value=Up,n.value=n.factory()),typeof n.value=="object"&&n.value&&Gp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(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 Ei(e){let t=Xr(e),n=t!==null?t.factory:it(e);if(n!==null)return n;if(e instanceof R)throw new x(204,!1);if(e instanceof Function)return qp(e);throw new x(204,!1)}function qp(e){if(e.length>0)throw new x(204,!1);let n=Kf(e);return n!==null?()=>n.factory(e):()=>new e}function Wp(e){if(_l(e))return Rt(void 0,e.useValue);{let t=Nl(e);return Rt(t,mr)}}function Nl(e,t,n){let r;if($t(e)){let o=Z(e);return it(o)||Ei(o)}else if(_l(e))r=()=>Z(e.useValue);else if($p(e))r=()=>e.useFactory(...vi(e.deps||[]));else if(Hp(e))r=()=>$e(Z(e.useExisting));else{let o=Z(e&&(e.useClass||e.provide));if(zp(e))r=()=>new o(...vi(e.deps));else return it(o)||Ei(o)}return r}function Rt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zp(e){return!!e.deps}function Gp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zp(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Di(e,t){for(let n of e)Array.isArray(n)?Di(n,t):n&&fl(n)?Di(n.\u0275providers,t):t(n)}function zM(e,t){e instanceof vn&&e.assertNotDestroyed();let n,r=Fe(e),o=K(void 0);try{return t()}finally{Fe(r),K(o)}}function Sl(){return pl()!==void 0||up()!=null}function Ol(e){if(!Sl())throw new x(-203,!1)}function Qp(e){return typeof e=="function"}var Se=0,g=1,v=2,$=3,fe=4,ee=5,Bt=6,_r=7,W=8,we=9,Ee=10,P=11,In=12,mc=13,Gt=14,oe=15,st=16,Pt=17,Te=18,ro=19,Al=20,Ve=21,gr=22,ae=23,L=25,Rl=1;var at=7,Tr=8,Ut=9,z=10,Nr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Nr||{});function He(e){return Array.isArray(e)&&typeof e[Rl]=="object"}function Oe(e){return Array.isArray(e)&&e[Rl]===!0}function Ss(e){return(e.flags&4)!==0}function oo(e){return e.componentOffset>-1}function io(e){return(e.flags&1)===1}function Ue(e){return!!e.template}function bi(e){return(e[v]&512)!==0}function Yp(e){return(e[v]&256)===256}var Ci=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Pl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Jp(){return kl}function kl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xp),Kp}Jp.ngInherit=!0;function Kp(){let e=Fl(this),t=e?.current;if(t){let n=e.previous;if(n===Ht)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xp(e,t,n,r,o){let i=this.declaredInputs[r],s=Fl(e)||eh(e,{previous:Ht,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ci(l&&l.currentValue,n,c===Ht),Pl(e,t,o,n)}var Ll="__ngSimpleChanges__";function Fl(e){return e[Ll]||null}function eh(e,t){return e[Ll]=t}var gc=null;var ge=function(e,t,n){gc?.(e,t,n)},jl="svg",th="math";function De(e){for(;Array.isArray(e);)e=e[Se];return e}function Vl(e,t){return De(t[e])}function ce(e,t){return De(t[e.index])}function Mn(e,t){return e.data[t]}function Os(e,t){return e[t]}function Ge(e,t){let n=t[e];return He(n)?n:n[Se]}function nh(e){return(e[v]&4)===4}function As(e){return(e[v]&128)===128}function rh(e){return Oe(e[$])}function qe(e,t){return t==null?null:e[t]}function Hl(e){e[Pt]=0}function $l(e){e[v]&1024||(e[v]|=1024,As(e)&&ao(e))}function oh(e,t){for(;e>0;)t=t[Gt],e--;return t}function so(e){return!!(e[v]&9216||e[ae]?.dirty)}function xi(e){e[Ee].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),so(e)&&ao(e)}function ao(e){e[Ee].changeDetectionScheduler?.notify(0);let t=ct(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!As(t)));)t=ct(t)}function Rs(e,t){if((e[v]&256)===256)throw new x(911,!1);e[Ve]===null&&(e[Ve]=[]),e[Ve].push(t)}function Bl(e,t){if(e[Ve]===null)return;let n=e[Ve].indexOf(t);n!==-1&&e[Ve].splice(n,1)}function ct(e){let t=e[$];return Oe(t)?t[$]:t}var b={lFrame:Jl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ul=!1;function ih(){return b.lFrame.elementDepthCount}function sh(){b.lFrame.elementDepthCount++}function ah(){b.lFrame.elementDepthCount--}function ql(){return b.bindingsEnabled}function Wl(){return b.skipHydrationRootTNode!==null}function ch(e){return b.skipHydrationRootTNode===e}function lh(){b.skipHydrationRootTNode=null}function y(){return b.lFrame.lView}function A(){return b.lFrame.tView}function GM(e){return b.lFrame.contextLView=e,e[W]}function ZM(e){return b.lFrame.contextLView=null,e}function B(){let e=zl();for(;e!==null&&e.type===64;)e=e.parent;return e}function zl(){return b.lFrame.currentTNode}function uh(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function wt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ps(){return b.lFrame.isParent}function ks(){b.lFrame.isParent=!1}function dh(){return b.lFrame.contextLView}function Gl(){return Ul}function yc(e){Ul=e}function Zt(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zl(){return b.lFrame.bindingIndex}function fh(e){return b.lFrame.bindingIndex=e}function Et(){return b.lFrame.bindingIndex++}function co(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ph(){return b.lFrame.inI18n}function hh(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Mi(t)}function mh(){return b.lFrame.currentDirectiveIndex}function Mi(e){b.lFrame.currentDirectiveIndex=e}function gh(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ls(){return b.lFrame.currentQueryIndex}function lo(e){b.lFrame.currentQueryIndex=e}function yh(e){let t=e[g];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Ql(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=yh(i),o===null||(i=i[Gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=Yl();return r.currentTNode=t,r.lView=e,!0}function Fs(e){let t=Yl(),n=e[g];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yl(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Jl(e):t}function Jl(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 Kl(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Xl=Kl;function js(){let e=Kl();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 vh(e){return(b.lFrame.contextLView=oh(e,b.lFrame.contextLView))[W]}function Ae(){return b.lFrame.selectedIndex}function lt(e){b.lFrame.selectedIndex=e}function Dt(){let e=b.lFrame;return Mn(e.tView,e.selectedIndex)}function QM(){b.lFrame.currentNamespace=jl}function Ih(){return b.lFrame.currentNamespace}var eu=!0;function uo(){return eu}function fo(e){eu=e}function wh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=kl(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 po(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 yr(e,t,n){tu(e,t,3,n)}function vr(e,t,n,r){(e[v]&3)===n&&tu(e,t,n,r)}function ni(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function tu(e,t,n,r){let o=r!==void 0?e[Pt]&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[Pt]+=65536),(a<i||i==-1)&&(Eh(e,n,t,c),e[Pt]=(e[Pt]&4294901760)+c+2),c++}function vc(e,t){ge(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),ge(5,e,t)}}function Eh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Pt]>>16&&(e[v]&3)===t&&(e[v]+=16384,vc(a,i)):vc(a,i)}var jt=-1,ut=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Dh(e){return e instanceof ut}function bh(e){return(e.flags&8)!==0}function Ch(e){return(e.flags&16)!==0}var ri={},Vt=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=eo(r);let o=this.injector.get(t,ri,r);return o!==ri||n===ri?o:this.parentInjector.get(t,n,r)}};function nu(e){return e!==jt}function Sr(e){return e&32767}function xh(e){return e>>16}function Or(e,t){let n=xh(e),r=t;for(;n>0;)r=r[Gt],n--;return r}var _i=!0;function Ar(e){let t=_i;return _i=e,t}var Mh=256,ru=Mh-1,ou=5,_h=0,ye={};function Th(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(hn)&&(r=n[hn]),r==null&&(r=n[hn]=_h++);let o=r&ru,i=1<<o;t.data[e+(o>>ou)]|=i}function Rr(e,t){let n=iu(e,t);if(n!==-1)return n;let r=t[g];r.firstCreatePass&&(e.injectorIndex=t.length,oi(r.data,e),oi(t,null),oi(r.blueprint,null));let o=Vs(e,t),i=e.injectorIndex;if(nu(o)){let s=Sr(o),a=Or(o,t),c=a[g].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function oi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function iu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Vs(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=uu(o),r===null)return jt;if(n++,o=o[Gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jt}function Ti(e,t,n){Th(e,t,n)}function Nh(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(wl(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 su(e,t,n){if(n&M.Optional||e!==void 0)return e;bs(t,"NodeInjector")}function au(e,t,n,r){if(n&M.Optional&&r===void 0&&(r=null),!(n&(M.Self|M.Host))){let o=e[we],i=K(void 0);try{return o?o.get(t,r,n&M.Optional):hl(t,r,n&M.Optional)}finally{K(i)}}return su(r,t,n)}function cu(e,t,n,r=M.Default,o){if(e!==null){if(t[v]&2048&&!(r&M.Self)){let s=Rh(e,t,n,r,ye);if(s!==ye)return s}let i=lu(e,t,n,r,ye);if(i!==ye)return i}return au(t,n,r,o)}function lu(e,t,n,r,o){let i=Oh(n);if(typeof i=="function"){if(!Ql(t,e,r))return r&M.Host?su(o,n,r):au(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&M.Optional))bs(n);else return s}finally{Xl()}}else if(typeof i=="number"){let s=null,a=iu(e,t),c=jt,l=r&M.Host?t[oe][ee]:null;for((a===-1||r&M.SkipSelf)&&(c=a===-1?Vs(e,t):t[a+8],c===jt||!wc(r,!1)?a=-1:(s=t[g],a=Sr(c),t=Or(c,t)));a!==-1;){let u=t[g];if(Ic(i,a,u.data)){let d=Sh(a,t,n,s,r,l);if(d!==ye)return d}c=t[a+8],c!==jt&&wc(r,t[g].data[a+8]===l)&&Ic(i,a,t)?(s=u,a=Sr(c),t=Or(c,t)):a=-1}}return o}function Sh(e,t,n,r,o,i){let s=t[g],a=s.data[e+8],c=r==null?oo(a)&&_i:r!=s&&(a.type&3)!==0,l=o&M.Host&&i===a,u=Ir(a,s,n,c,l);return u!==null?dt(t,s,u,a):ye}function Ir(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&&Ue(f)&&f.type===n)return c}return null}function dt(e,t,n,r){let o=e[n],i=t.data;if(Dh(o)){let s=o;s.resolving&&ip(op(i[n]));let a=Ar(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?K(s.injectImpl):null,u=Ql(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&wh(n,i[n],t)}finally{l!==null&&K(l),Ar(a),s.resolving=!1,Xl()}}return o}function Oh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(hn)?e[hn]:void 0;return typeof t=="number"?t>=0?t&ru:Ah:t}function Ic(e,t,n){let r=1<<e;return!!(n[t+(e>>ou)]&r)}function wc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var ot=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return cu(this._tNode,this._lView,t,eo(r),n)}};function Ah(){return new ot(B(),y())}function YM(e){return Cn(()=>{let t=e.prototype.constructor,n=t[Dr]||Ni(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Dr]||Ni(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ni(e){return ll(e)?()=>{let t=Ni(Z(e));return t&&t()}:it(e)}function Rh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=lu(i,s,n,r|M.Self,ye);if(a!==ye)return a;let c=i.parent;if(!c){let l=s[Al];if(l){let u=l.get(n,ye,r);if(u!==ye)return u}c=uu(s),s=s[Gt]}i=c}return o}function uu(e){let t=e[g],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function JM(e){return Nh(B(),e)}function Ec(e,t=null,n=null,r){let o=du(e,t,n,r);return o.resolveInjectorInitializers(),o}function du(e,t=null,n=null,r,o=new Set){let i=[n||Q,jp(e)];return r=r||(typeof e=="object"?void 0:ne(e)),new vn(i,t||no(),r||null,o)}var ft=class e{static{this.THROW_IF_NOT_FOUND=mn}static{this.NULL=new Mr}static create(t,n){if(Array.isArray(t))return Ec({name:""},n,t,"");{let r=t.name??"";return Ec({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=G({token:e,providedIn:"any",factory:()=>$e(yl)})}static{this.__NG_ELEMENT_ID__=-1}};var Ph=new R("");Ph.__NG_ELEMENT_ID__=e=>{let t=B();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new x(204,!1)};var kh="ngOriginalError";function ii(e){return e[kh]}var fu=!0,_n=(()=>{class e{static{this.__NG_ELEMENT_ID__=Lh}static{this.__NG_ENV_ID__=n=>n}}return e})(),Si=class extends _n{constructor(t){super(),this._lView=t}onDestroy(t){return Rs(this._lView,t),()=>Bl(this._lView,t)}};function Lh(){return new Si(y())}var Qt=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Oi=class extends se{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Sl()&&(this.destroyRef=N(_n,{optional:!0})??void 0,this.pendingTasks=N(Qt,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(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 F&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Me=Oi;function Pr(...e){}function pu(e){let t,n;function r(){e=Pr;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 Dc(e){return queueMicrotask(()=>e()),()=>{e=Pr}}var Hs="isAngularZone",kr=Hs+"_ID",Fh=0,re=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Me(!1),this.onMicrotaskEmpty=new Me(!1),this.onStable=new Me(!1),this.onError=new Me(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=fu}=t;if(typeof Zone>"u")throw new x(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,Hh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Hs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(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,jh,Pr,Pr);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)}},jh={};function $s(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 Vh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){pu(()=>{e.callbackScheduled=!1,Ai(e),e.isCheckStableRunning=!0,$s(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ai(e)}function Hh(e){let t=()=>{Vh(e)},n=Fh++;e._inner=e._inner.fork({name:"angular",properties:{[Hs]:!0,[kr]:n,[kr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($h(c))return r.invokeTask(i,s,a,c);try{return bc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Cc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return bc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Bh(c)&&t(),Cc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ai(e),$s(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 Ai(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function bc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cc(e){e._nesting--,$s(e)}var Lr=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Me,this.onMicrotaskEmpty=new Me,this.onStable=new Me,this.onError=new Me}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 $h(e){return hu(e,"__ignore_ng_zone__")}function Bh(e){return hu(e,"__scheduler_tick__")}function hu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var We=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ii(t);for(;n&&ii(n);)n=ii(n);return n||null}},Uh=new R("",{providedIn:"root",factory:()=>{let e=N(re),t=N(We);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Fr=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=N(We,{optional:!0}),this.destroyRef=N(_n),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new x(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)throw new x(953,!1);if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function KM(e){return new Fr}function xc(e,t){return sl(e,t)}function qh(e){return sl(Kr,e)}var XM=(xc.required=qh,xc);function Wh(){return Yt(B(),y())}function Yt(e,t){return new ho(ce(e,t))}var ho=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Wh}}return e})();function mu(e){return e instanceof ho?e.nativeElement:e}function zh(){return this._results[Symbol.iterator]()}var Ri=class e{get changes(){return this._changes??=new Me}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=zh)}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=gp(t);(this._changesDetected=!mp(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function gu(e){return(e.flags&128)===128}var yu=new Map,Gh=0;function Zh(){return Gh++}function Qh(e){yu.set(e[ro],e)}function Pi(e){yu.delete(e[ro])}var Mc="__ngContext__";function ze(e,t){He(t)?(e[Mc]=t[ro],Qh(t)):e[Mc]=t}function vu(e){return wu(e[In])}function Iu(e){return wu(e[fe])}function wu(e){for(;e!==null&&!Oe(e);)e=e[fe];return e}var ki;function e_(e){ki=e}function Eu(){if(ki!==void 0)return ki;if(typeof document<"u")return document;throw new x(210,!1)}var t_=new R("",{providedIn:"root",factory:()=>Yh}),Yh="ng",Jh=new R(""),Kh=new R("",{providedIn:"platform",factory:()=>"unknown"});var n_=new R("",{providedIn:"root",factory:()=>Eu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xh="h",em="b";var tm=()=>null;function Bs(e,t,n=!1){return tm(e,t,n)}var Du=!1,nm=new R("",{providedIn:"root",factory:()=>Du});var lr;function rm(){if(lr===void 0&&(lr=null,je.trustedTypes))try{lr=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lr}function mo(e){return rm()?.createHTML(e)||e}var ur;function bu(){if(ur===void 0&&(ur=null,je.trustedTypes))try{ur=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ur}function _c(e){return bu()?.createHTML(e)||e}function Tc(e){return bu()?.createScriptURL(e)||e}var Ne=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ol})`}},Li=class extends Ne{getTypeName(){return"HTML"}},Fi=class extends Ne{getTypeName(){return"Style"}},ji=class extends Ne{getTypeName(){return"Script"}},Vi=class extends Ne{getTypeName(){return"URL"}},Hi=class extends Ne{getTypeName(){return"ResourceURL"}};function Jt(e){return e instanceof Ne?e.changingThisBreaksApplicationSecurity:e}function Us(e,t){let n=om(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ol})`)}return n===t}function om(e){return e instanceof Ne&&e.getTypeName()||null}function r_(e){return new Li(e)}function o_(e){return new Fi(e)}function i_(e){return new ji(e)}function s_(e){return new Vi(e)}function a_(e){return new Hi(e)}function im(e){let t=new Bi(e);return sm()?new $i(t):t}var $i=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(mo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Bi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mo(t),n}};function sm(){try{return!!new window.DOMParser().parseFromString(mo(""),"text/html")}catch{return!1}}var am=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cu(e){return e=String(e),e.match(am)?e:"unsafe:"+e}function Re(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var xu=Re("area,br,col,hr,img,wbr"),Mu=Re("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_u=Re("rp,rt"),cm=Tn(_u,Mu),lm=Tn(Mu,Re("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")),um=Tn(_u,Re("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")),Nc=Tn(xu,lm,um,cm),Tu=Re("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dm=Re("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"),fm=Re("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"),pm=Tn(Tu,dm,fm),hm=Re("script,style,template"),Ui=class{constructor(){this.sanitizedSomething=!1,this.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=ym(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Sc(t).toLowerCase();if(!Nc.hasOwnProperty(n))return this.sanitizedSomething=!0,!hm.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(!pm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Tu[a]&&(c=Cu(c)),this.buf.push(" ",s,'="',Oc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Sc(t).toLowerCase();Nc.hasOwnProperty(n)&&!xu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Oc(t))}};function mm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Nu(t);return t}function ym(e){let t=e.firstChild;if(t&&mm(e,t))throw Nu(t);return t}function Sc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Nu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var vm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Im=/([^\#-~ |!])/g;function Oc(e){return e.replace(/&/g,"&amp;").replace(vm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Im,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var dr;function wm(e,t){let n=null;try{dr=dr||im(e);let r=t?String(t):"";n=dr.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=dr.getInertBodyElement(r)}while(r!==i);let a=new Ui().sanitizeChildren(Ac(n)||n);return mo(a)}finally{if(n){let r=Ac(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ac(e){return"content"in e&&Em(e)?e.content:null}function Em(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var go=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}(go||{});function c_(e){let t=qs();return t?_c(t.sanitize(go.HTML,e)||""):Us(e,"HTML")?_c(Jt(e)):wm(Eu(),ve(e))}function Dm(e){let t=qs();return t?t.sanitize(go.URL,e)||"":Us(e,"URL")?Jt(e):Cu(ve(e))}function bm(e){let t=qs();if(t)return Tc(t.sanitize(go.RESOURCE_URL,e)||"");if(Us(e,"ResourceURL"))return Tc(Jt(e));throw new x(904,!1)}function Cm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?bm:Dm}function l_(e,t,n){return Cm(t,n)(e)}function qs(){let e=y();return e&&e[Ee].sanitizer}var xm=/^>|^->|<!--|-->|--!>|<!-$/g,Mm=/(<|>)/g,_m="\u200B$1\u200B";function Tm(e){return e.replace(xm,t=>t.replace(Mm,_m))}function Su(e){return e instanceof Function?e():e}function Ws(e){return(e??N(ft)).get(Kh)==="browser"}var qi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(qi||{}),Nm;function zs(e,t){return Nm(e,t)}function kt(e,t,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:He(r)&&(s=!0,r=r[Se]);let a=De(r);e===0&&n!==null?o==null?ku(t,n,a):jr(t,n,a,o||null,!0):e===1&&n!==null?jr(t,n,a,o||null,!0):e===2?Um(t,a,s):e===3&&t.destroyNode(a),i!=null&&Wm(t,e,i,n,o)}}function Sm(e,t){return e.createText(t)}function Om(e,t,n){e.setValue(t,n)}function Am(e,t){return e.createComment(Tm(t))}function Ou(e,t,n){return e.createElement(t,n)}function Rm(e,t){Au(e,t),t[Se]=null,t[ee]=null}function Pm(e,t,n,r,o,i){r[Se]=o,r[ee]=t,Io(e,r,n,1,o,i)}function Au(e,t){t[Ee].changeDetectionScheduler?.notify(9),Io(e,t,t[P],2,null,null)}function km(e){let t=e[In];if(!t)return si(e[g],e);for(;t;){let n=null;if(He(t))n=t[In];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)He(t)&&si(t[g],t),t=t[$];t===null&&(t=e),He(t)&&si(t[g],t),n=t&&t[fe]}t=n}}function Lm(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-z?(t[fe]=n[o],gl(n,z+r,t)):(n.push(t),t[fe]=null),t[$]=n;let s=t[st];s!==null&&n!==s&&Ru(s,t);let a=t[Te];a!==null&&a.insertView(e),xi(t),t[v]|=128}function Ru(e,t){let n=e[Ut],r=t[$];if(He(r))e[v]|=Nr.HasTransplantedViews;else{let o=r[$][oe];t[oe]!==o&&(e[v]|=Nr.HasTransplantedViews)}n===null?e[Ut]=[t]:n.push(t)}function Gs(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function wn(e,t){if(e.length<=z)return;let n=z+t,r=e[n];if(r){let o=r[st];o!==null&&o!==e&&Gs(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=Cr(e,z+t);Rm(r[g],r);let s=i[Te];s!==null&&s.detachView(i[g]),r[$]=null,r[fe]=null,r[v]&=-129}return r}function yo(e,t){if(!(t[v]&256)){let n=t[P];n.destroyNode&&Io(e,t,n,3,null,null),km(t)}}function si(e,t){if(t[v]&256)return;let n=D(null);try{t[v]&=-129,t[v]|=256,t[ae]&&ir(t[ae]),jm(e,t),Fm(e,t),t[g].type===1&&t[P].destroy();let r=t[st];if(r!==null&&Oe(t[$])){r!==t[$]&&Gs(r,t);let o=t[Te];o!==null&&o.detachView(e)}Pi(t)}finally{D(n)}}function Fm(e,t){let n=e.cleanup,r=t[_r];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[_r]=null);let o=t[Ve];if(o!==null){t[Ve]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function jm(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 ut)){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];ge(4,a,c);try{c.call(a)}finally{ge(5,a,c)}}else{ge(4,o,i);try{i.call(o)}finally{ge(5,o,i)}}}}}function Pu(e,t,n){return Vm(e,t.parent,n)}function Vm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Se];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===gn.None||i===gn.Emulated)return null}return ce(r,n)}}function jr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ku(e,t,n){e.appendChild(t,n)}function Rc(e,t,n,r,o){r!==null?jr(e,t,n,r,o):ku(e,t,n)}function Lu(e,t){return e.parentNode(t)}function Hm(e,t){return e.nextSibling(t)}function Fu(e,t,n){return Bm(e,t,n)}function $m(e,t,n){return e.type&40?ce(e,n):null}var Bm=$m,Pc;function vo(e,t,n,r){let o=Pu(e,r,t),i=t[P],s=r.parent||t[ee],a=Fu(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Rc(i,o,n[c],a,!1);else Rc(i,o,n,a,!1);Pc!==void 0&&Pc(i,r,t,n,o)}function pn(e,t){if(t!==null){let n=t.type;if(n&3)return ce(t,e);if(n&4)return Wi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pn(e,r);{let o=e[t.index];return Oe(o)?Wi(-1,o):De(o)}}else{if(n&128)return pn(e,t.next);if(n&32)return zs(t,e)()||De(e[t.index]);{let r=ju(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ct(e[oe]);return pn(o,r)}else return pn(e,t.next)}}}return null}function ju(e,t){if(t!==null){let r=e[oe][ee],o=t.projection;return r.projection[o]}return null}function Wi(e,t){let n=z+e+1;if(n<t.length){let r=t[n],o=r[g].firstChild;if(o!==null)return pn(r,o)}return t[at]}function Um(e,t,n){e.removeChild(null,t,n)}function Zs(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&ze(De(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Zs(e,t,n.child,r,o,i,!1),kt(t,e,o,a,i);else if(c&32){let l=zs(n,r),u;for(;u=l();)kt(t,e,o,u,i);kt(t,e,o,a,i)}else c&16?Vu(e,t,r,n,o,i):kt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Io(e,t,n,r,o,i){Zs(n,r,e.firstChild,t,o,i,!1)}function qm(e,t,n){let r=t[P],o=Pu(e,n,t),i=n.parent||t[ee],s=Fu(i,n,t);Vu(r,0,t,n,o,s)}function Vu(e,t,n,r,o,i){let s=n[oe],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];kt(t,e,o,u,i)}else{let l=c,u=s[$];gu(r)&&(l.flags|=128),Zs(e,t,l,u,o,i,!0)}}function Wm(e,t,n,r,o){let i=n[at],s=De(n);i!==s&&kt(t,e,r,i,o);for(let a=z;a<n.length;a++){let c=n[a];Io(c[g],c,e,t,r,i)}}function zm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:qi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=qi.Important),e.setStyle(n,r,o,i))}}function Gm(e,t,n){e.setAttribute(t,"style",n)}function Hu(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function $u(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ii(e,t,r),o!==null&&Hu(e,t,o),i!==null&&Gm(e,t,i)}var U={};function u_(e=1){Bu(A(),y(),Ae()+e,!1)}function Bu(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&yr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vr(t,i,0,n)}lt(n)}function wo(e,t=M.Default){let n=y();if(n===null)return $e(e,t);let r=B();return cu(r,n,Z(e),t)}function d_(){let e="invalid";throw new Error(e)}function Uu(e,t,n,r,o,i){let s=D(null);try{let a=null;o&Be.SignalBased&&(a=t[r][J]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Be.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Pl(t,a,r,i)}finally{D(s)}}function Zm(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)lt(~o);else{let i=o,s=n[++r],a=n[++r];hh(s,i);let c=t[i];a(2,c)}}}finally{lt(-1)}}function Eo(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Se]=o,d[v]=r|4|128|8|64,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Hl(d),d[$]=d[Gt]=e,d[W]=n,d[Ee]=s||e&&e[Ee],d[P]=a||e&&e[P],d[we]=c||e&&e[we]||null,d[ee]=i,d[ro]=Zh(),d[Bt]=u,d[Al]=l,d[oe]=t.type==2?e[oe]:d,d}function Kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Qm(e,t,n,r,o),ph()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=uh();i.injectorIndex=s===null?-1:s.injectorIndex}return wt(i,!0),i}function Qm(e,t,n,r,o){let i=zl(),s=Ps(),a=s?i:i&&i.parent,c=e.data[t]=tg(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function qu(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 Wu(e,t,n,r,o){let i=Ae(),s=r&2;try{lt(-1),s&&t.length>L&&Bu(e,t,L,!1),ge(s?2:0,o),n(r,o)}finally{lt(i),ge(s?3:1,o)}}function Qs(e,t,n){if(Ss(t)){let r=D(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{D(r)}}}function Ys(e,t,n){ql()&&(ag(e,t,n,ce(n,t)),(n.flags&64)===64&&Zu(e,t,n))}function Js(e,t,n=ce){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 zu(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ks(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ks(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Ym(d,p),h=typeof l=="function"?l():l;return f[g]={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 Ym(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:U);return n}function Jm(e,t,n,r){let i=r.get(nm,Du)||n===gn.ShadowDom,s=e.selectRootElement(t,i);return Km(s),s}function Km(e){Xm(e)}var Xm=()=>null;function eg(e,t,n,r){let o=Ju(t);o.push(n),e.firstCreatePass&&Ku(e).push(r,o.length-1)}function tg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wl()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function kc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Be.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Lc(r,n,l,a,c):Lc(r,n,l,a)}return r}function Lc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function ng(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=kc(0,d.inputs,u,c,f),l=kc(1,d.outputs,u,l,h);let m=c!==null&&s!==null&&!xs(t)?vg(c,u,s):null;a.push(m)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function rg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nn(e,t,n,r,o,i,s,a){let c=ce(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(ea(e,n,u,r,o),oo(t)&&og(n,t.index)):t.type&3?(r=rg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function og(e,t){let n=Ge(t,e);n[v]&16||(n[v]|=64)}function Xs(e,t,n,r){if(ql()){let o=r===null?null:{"":-1},i=lg(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Gu(e,t,n,s,o,a),o&&ug(n,r,o)}n.mergedAttrs=yn(n.mergedAttrs,n.attrs)}function Gu(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Ti(Rr(n,t),e,r[l].type);fg(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=qu(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=yn(n.mergedAttrs,u.hostAttrs),pg(e,n,t,c,u),dg(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}ng(e,n,i)}function ig(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;sg(s)!=a&&s.push(a),s.push(n,r,i)}}function sg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ag(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;oo(n)&&hg(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Rr(n,t),ze(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=dt(t,e,a,n);if(ze(l,t),s!==null&&yg(t,a-o,l,c,n,s),Ue(c)){let u=Ge(n.index,t);u[W]=dt(t,e,a,n)}}}function Zu(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=mh();try{lt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Mi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&cg(c,l)}}finally{lt(-1),Mi(s)}}function cg(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function lg(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Dl(t,s.selectors,!1))if(r||(r=[]),Ue(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;zi(e,t,c)}else r.unshift(s),zi(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function zi(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ug(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new x(-301,!1);r.push(t[o],i)}}}function dg(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ue(t)&&(n[""]=e)}}function fg(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function pg(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=it(o.type,!0)),s=new ut(i,Ue(o),wo);e.blueprint[r]=s,n[r]=s,ig(e,t,r,qu(e,n,o.hostVars,U),o)}function hg(e,t,n){let r=ce(t,e),o=zu(n),i=e[Ee].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Do(e,Eo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function mg(e,t,n,r,o,i){let s=ce(e,t);gg(t[P],s,i,e.value,n,r,o)}function gg(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ve(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function yg(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Uu(r,n,c,l,u,d)}}function vg(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Qu(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Yu(e,t){let n=e.contentQueries;if(n!==null){let r=D(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];lo(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function Do(e,t){return e[In]?e[mc][fe]=t:e[In]=t,e[mc]=t,t}function Gi(e,t,n){lo(0);let r=D(null);try{t(e,n)}finally{D(r)}}function Ju(e){return e[_r]??=[]}function Ku(e){return e.cleanup??=[]}function bo(e,t){let n=e[we],r=n?n.get(We,null):null;r&&r.handleError(t)}function ea(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];Uu(u,l,r,a,c,o)}}function Xu(e,t,n){let r=Vl(t,e);Om(e[P],r,n)}function Ig(e,t){let n=Ge(t,e),r=n[g];wg(r,n);let o=n[Se];o!==null&&n[Bt]===null&&(n[Bt]=Bs(o,n[we])),ta(r,n,n[W])}function wg(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ta(e,t,n){Fs(t);try{let r=e.viewQuery;r!==null&&Gi(1,r,n);let o=e.template;o!==null&&Wu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Te]?.finishViewCreation(e),e.staticContentQueries&&Yu(e,t),e.staticViewQueries&&Gi(2,e.viewQuery,n);let i=e.components;i!==null&&Eg(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,js()}}function Eg(e,t){for(let n=0;n<t.length;n++)Ig(e,t[n])}function Xt(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Eo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[st]=l;let u=e[Te];return u!==null&&(c[Te]=u.createEmbeddedView(i)),ta(i,c,n),c}finally{D(o)}}function ed(e,t){let n=z+t;if(n<e.length)return e[n]}function pt(e,t){return!t||t.firstChild===null||gu(e)}function en(e,t,n,r=!0){let o=t[g];if(Lm(o,t,e,n),r){let s=Wi(n,e),a=t[P],c=Lu(a,e[at]);c!==null&&Pm(o,e[ee],a,t,c,s)}let i=t[Bt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function na(e,t){let n=wn(e,t);return n!==void 0&&yo(n[g],n),n}function Vr(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(De(i)),Oe(i)&&Dg(i,r);let s=n.type;if(s&8)Vr(e,t,n.child,r);else if(s&32){let a=zs(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=ju(t,n);if(Array.isArray(a))r.push(...a);else{let c=ct(t[oe]);Vr(c[g],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Dg(e,t){for(let n=z;n<e.length;n++){let r=e[n],o=r[g].firstChild;o!==null&&Vr(r[g],r,o,t)}e[at]!==e[Se]&&t.push(e[at])}var td=[];function bg(e){return e[ae]??Cg(e)}function Cg(e){let t=td.pop()??Object.create(Mg);return t.lView=e,t}function xg(e){e.lView[ae]!==e&&(e.lView=null,td.push(e))}var Mg=he(pe({},At),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ao(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function _g(e){let t=e[ae]??Object.create(Tg);return t.lView=e,t}var Tg=he(pe({},At),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ct(e.lView);for(;t&&!nd(t[g]);)t=ct(t);t&&$l(t)},consumerOnSignalRead(){this.lView[ae]=this}});function nd(e){return e.type!==2}var Ng=100;function rd(e,t=!0,n=0){let r=e[Ee],o=r.rendererFactory,i=!1;i||o.begin?.();try{Sg(e,n)}catch(s){throw t&&bo(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Sg(e,t){let n=Gl();try{yc(!0),Zi(e,t);let r=0;for(;so(e);){if(r===Ng)throw new x(103,!1);r++,Zi(e,1)}}finally{yc(n)}}function Og(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Ee].inlineEffectRunner?.flush(),Fs(t);let a=!0,c=null,l=null;i||(nd(e)?(l=bg(t),c=dn(l)):za()===null?(a=!1,l=_g(t),c=dn(l)):t[ae]&&(ir(t[ae]),t[ae]=null));try{Hl(t),fh(e.bindingStartIndex),n!==null&&Wu(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&yr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&vr(t,f,0,null),ni(t,0)}if(s||Ag(t),od(t,0),e.contentQueries!==null&&Yu(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&yr(t,f)}else{let f=e.contentHooks;f!==null&&vr(t,f,1),ni(t,1)}Zm(e,t);let d=e.components;d!==null&&sd(t,d,0);let p=e.viewQuery;if(p!==null&&Gi(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&yr(t,f)}else{let f=e.viewHooks;f!==null&&vr(t,f,2),ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[gr]){for(let f of t[gr])f();t[gr]=null}i||(t[v]&=-73)}catch(u){throw i||ao(t),u}finally{l!==null&&(rr(l,c),a&&xg(l)),js()}}function od(e,t){for(let n=vu(e);n!==null;n=Iu(n))for(let r=z;r<n.length;r++){let o=n[r];id(o,t)}}function Ag(e){for(let t=vu(e);t!==null;t=Iu(t)){if(!(t[v]&Nr.HasTransplantedViews))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r];$l(o)}}}function Rg(e,t,n){let r=Ge(t,e);id(r,n)}function id(e,t){As(e)&&Zi(e,t)}function Zi(e,t){let r=e[g],o=e[v],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&or(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)Og(r,e,r.template,e[W]);else if(o&8192){od(e,1);let a=r.components;a!==null&&sd(e,a,1)}}function sd(e,t,n){for(let r=0;r<t.length;r++)Rg(e,t[r],n)}function Co(e,t){let n=Gl()?64:1088;for(e[Ee].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=ct(e);if(bi(e)&&!r)return e;e=r}return null}var ht=class{get rootNodes(){let t=this._lView,n=t[g];return Vr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[W]}set context(t){this._lView[W]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(Oe(t)){let n=t[Tr],r=n?n.indexOf(this):-1;r>-1&&(wn(t,r),Cr(n,r))}this._attachedToViewContainer=!1}yo(this._lView[g],this._lView)}onDestroy(t){Rs(this._lView,t)}markForCheck(){Co(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){xi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,rd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=bi(this._lView),n=this._lView[st];n!==null&&!t&&Gs(n,this._lView),Au(this._lView[g],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=bi(this._lView),r=this._lView[st];r!==null&&!n&&Ru(r,this._lView),xi(this._lView)}},Hr=(()=>{class e{static{this.__NG_ELEMENT_ID__=Lg}}return e})(),Pg=Hr,kg=class extends Pg{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Xt(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ht(o)}};function Lg(){return xo(B(),y())}function xo(e,t){return e.type&4?new kg(t,e,Yt(e,t)):null}var p_=new RegExp(`^(\\d+)*(${em}|${Xh})*(.*)`);var Fg=()=>null;function mt(e,t){return Fg(e,t)}var gt=class{},ra=new R("",{providedIn:"root",factory:()=>!1});var ad=new R(""),oa=new R(""),Qi=class{},$r=class{};function jg(e){let t=Error(`No component factory found for ${ne(e)}.`);return t[Vg]=e,t}var Vg="ngComponent";var Yi=class{resolveComponentFactory(t){throw jg(t)}},qt=class{static{this.NULL=new Yi}},Br=class{},h_=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Hg()}}return e})();function Hg(){let e=y(),t=B(),n=Ge(t.index,e);return(He(n)?n:e)[P]}var $g=(()=>{class e{static{this.\u0275prov=G({token:e,providedIn:"root",factory:()=>null})}}return e})();function Ur(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=mi(o,a);else if(i==2){let c=a,l=t[++s];r=mi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var qr=class extends qt{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new yt(n,this.ngModule)}};function Fc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Be.None;t?n.push({propName:s,templateName:r,isSignal:(a&Be.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Bg(e){let t=e.toLowerCase();return t==="svg"?jl:t==="math"?th:null}var yt=class extends $r{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Fc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Fc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Op(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=D(null);try{o=o||this.ngModule;let s=o instanceof _e?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Vt(t,s):t,c=a.get(Br,null);if(c===null)throw new x(407,!1);let l=a.get($g,null),u=a.get(gt,null),d={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Jm(p,r,this.componentDef.encapsulation,a):Ou(p,f,Bg(f)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let T=null;h!==null&&(T=Bs(h,a,!0));let E=Ks(0,null,null,1,0,null,null,null,null,null,null),k=Eo(null,E,null,m,null,null,d,p,a,null,T);Fs(k);let be,le,bt=null;try{let te=this.componentDef,Ct,Oo=null;te.findHostDirectiveDefs?(Ct=[],Oo=new Map,te.findHostDirectiveDefs(te,Ct,Oo),Ct.push(te)):Ct=[te];let tf=Ug(k,h);bt=qg(tf,h,te,Ct,k,d,p),le=Mn(E,L),h&&Gg(p,te,h,r),n!==void 0&&Zg(le,this.ngContentSelectors,n),be=zg(bt,te,Ct,Oo,k,[Qg]),ta(E,k,null)}catch(te){throw bt!==null&&Pi(bt),Pi(k),te}finally{js()}return new Ji(this.componentType,be,Yt(le,k),k,le)}finally{D(i)}}},Ji=class extends Qi{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new ht(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;ea(i[g],i,o,t,n),this.previousInputValues.set(t,n);let s=Ge(this._tNode.index,i);Co(s,1)}}get injector(){return new ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ug(e,t){let n=e[g],r=L;return e[r]=t,Kt(n,r,2,"#host",null)}function qg(e,t,n,r,o,i,s){let a=o[g];Wg(r,e,t,s);let c=null;t!==null&&(c=Bs(t,o[we]));let l=i.rendererFactory.createRenderer(t,n),u=16;n.signals?u=4096:n.onPush&&(u=64);let d=Eo(o,zu(n),null,u,o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&zi(a,e,r.length-1),Do(o,d),o[e.index]=d}function Wg(e,t,n,r){for(let o of e)t.mergedAttrs=yn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Ur(t,t.mergedAttrs,!0),n!==null&&$u(r,n,t))}function zg(e,t,n,r,o,i){let s=B(),a=o[g],c=ce(s,o);Gu(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=dt(o,a,d,s);ze(p,o)}Zu(a,o,s),c&&ze(c,o);let l=dt(o,a,s.directiveStart+s.componentOffset,s);if(e[W]=o[W]=l,i!==null)for(let u of i)u(l,t);return Qs(a,s,o),l}function Gg(e,t,n,r){if(r)Ii(e,n,["ng-version","18.2.7"]);else{let{attrs:o,classes:i}=Ap(t.selectors[0]);o&&Ii(e,n,o),i&&i.length>0&&Hu(e,n,i.join(" "))}}function Zg(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function Qg(){let e=B();po(y()[g],e)}var ia=(()=>{class e{static{this.__NG_ELEMENT_ID__=Yg}}return e})();function Yg(){let e=B();return ld(e,y())}var Jg=ia,cd=class extends Jg{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ot(this._hostTNode,this._hostLView)}get parentInjector(){let t=Vs(this._hostTNode,this._hostLView);if(nu(t)){let n=Or(t,this._hostLView),r=Sr(t),o=n[g].data[r+8];return new ot(o,n)}else return new ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=jc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Qp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new yt(Ie(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let m=(s?l:this.parentInjector).get(_e,null);m&&(i=m)}let u=Ie(c.componentType??{}),d=mt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,pt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new cd(c,c[ee],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return en(s,o,i,r),t.attachToViewContainerRef(),gl(ai(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=jc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=wn(this._lContainer,n);r&&(Cr(ai(this._lContainer),n),yo(r[g],r))}detach(t){let n=this._adjustIndex(t,-1),r=wn(this._lContainer,n);return r&&Cr(ai(this._lContainer),n)!=null?new ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jc(e){return e[Tr]}function ai(e){return e[Tr]||(e[Tr]=[])}function ld(e,t){let n,r=t[e.index];return Oe(r)?n=r:(n=Qu(r,t,null,e),t[e.index]=n,Do(t,n)),Xg(n,t,e,r),new cd(n,e,t)}function Kg(e,t){let n=e[P],r=n.createComment(""),o=ce(t,e),i=Lu(n,o);return jr(n,i,r,Hm(n,o),!1),r}var Xg=ty,ey=()=>!1;function ud(e,t,n){return ey(e,t,n)}function ty(e,t,n,r){if(e[at])return;let o;n.type&8?o=De(r):o=Kg(t,n),e[at]=o}var Ki=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Xi=class e{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++)aa(t,n).matches!==null&&this.queries[n].setDirty()}},Wr=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=ay(t):this.predicate=t}},es=class e{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)}},ts=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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,ny(n,i)),this.matchTNodeWithReadOption(t,n,Ir(n,t,i,!1,!1))}else r===Hr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ir(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===ho||o===ia||o===Hr&&n.type&4)this.addMatch(n.index,-2);else{let i=Ir(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 ny(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 ry(e,t){return e.type&11?Yt(e,t):e.type&4?xo(e,t):null}function oy(e,t,n,r){return n===-1?ry(t,e):n===-2?iy(e,t,r):dt(e,e[g],n,t)}function iy(e,t,n){if(n===ho)return Yt(t,e);if(n===Hr)return xo(t,e);if(n===ia)return ld(t,e)}function dd(e,t,n,r){let o=t[Te].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(oy(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ns(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=dd(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=z;d<u.length;d++){let p=u[d];p[st]===p[$]&&ns(p[g],p,l,r)}if(u[Ut]!==null){let d=u[Ut];for(let p=0;p<d.length;p++){let f=d[p];ns(f[g],f,l,r)}}}}}return r}function sa(e,t){return e[Te].queries[t].queryList}function fd(e,t,n){let r=new Ri((n&4)===4);return eg(e,t,r,r.destroy),(t[Te]??=new Xi).queries.push(new Ki(r))-1}function sy(e,t,n){let r=A();return r.firstCreatePass&&(hd(r,new Wr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),fd(r,y(),t)}function pd(e,t,n,r){let o=A();if(o.firstCreatePass){let i=B();hd(o,new Wr(t,n,r),i.index),cy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return fd(o,y(),n)}function ay(e){return e.split(",").map(t=>t.trim())}function hd(e,t,n){e.queries===null&&(e.queries=new es),e.queries.track(new ts(t,n))}function cy(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 aa(e,t){return e.queries.getByIndex(t)}function md(e,t){let n=e[g],r=aa(n,t);return r.crossesNgTemplate?ns(n,e,t,[]):dd(n,e,r,t)}var Vc=new Set;function Pe(e){Vc.has(e)||(Vc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function ly(e){return typeof e=="function"&&e[J]!==void 0}function uy(e,t){Pe("NgSignals");let n=rc(e),r=n[J];return t?.equal&&(r.equal=t.equal),n.set=o=>fn(r,o),n.update=o=>oc(r,o),n.asReadonly=gd.bind(n),n}function gd(){let e=this[J];if(e.readonlyFn===void 0){let t=()=>this();t[J]=e,e.readonlyFn=t}return e.readonlyFn}function yd(e){return ly(e)&&typeof e.set=="function"}function ca(e,t){let n,r=Ko(()=>{n._dirtyCounter();let o=hy(n,e);if(t&&o===void 0)throw new x(-951,!1);return o});return n=r[J],n._dirtyCounter=uy(0),n._flatValue=void 0,r}function dy(){return ca(!0,!1)}function fy(){return ca(!0,!0)}function py(){return ca(!1,!1)}function vd(e,t){let n=e[J];n._lView=y(),n._queryIndex=t,n._queryList=sa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function hy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:Q;let o=sa(n,r),i=md(n,r);return o.reset(i,mu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Hc(e,t){return dy()}function my(e,t){return fy()}var g_=(Hc.required=my,Hc);function y_(e,t){return py()}function Id(e){let t=Object.create(il),n=new Fr;t.value=e;function r(){return un(t),$c(t.value),t.value}return r[J]=t,r.asReadonly=gd.bind(r),r.set=o=>{t.equal(t.value,o)||(fn(t,o),n.emit(o))},r.update=o=>{$c(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function $c(e){if(e===Kr)throw new x(952,!1)}function Bc(e){return Id(e)}function gy(){return Id(Kr)}var v_=(Bc.required=gy,Bc);function yy(e){return Object.getPrototypeOf(e.prototype).constructor}function vy(e){let t=yy(e.type),n=!0,r=[e];for(;t;){let o;if(Ue(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=fr(e.inputs),s.inputTransforms=fr(e.inputTransforms),s.declaredInputs=fr(e.declaredInputs),s.outputs=fr(e.outputs);let a=o.hostBindings;a&&by(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Ey(e,c),l&&Dy(e,l),Iy(e,o),Yf(e.outputs,o.outputs),Ue(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===vy&&(n=!1)}}t=Object.getPrototypeOf(t)}wy(r)}function Iy(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function wy(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 fr(e){return e===Ht?{}:e===Q?[]:e}function Ey(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Dy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function by(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function I_(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var vt=class{},rs=class{};var os=class extends vt{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new qr(this);let i=bl(t);this._bootstrapComponents=Su(i.bootstrap),this._r3Injector=du(t,n,[{provide:vt,useValue:this},{provide:qt,useValue:this.componentFactoryResolver},...r],ne(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)}},is=class extends rs{constructor(t){super(),this.moduleType=t}create(t){return new os(this.moduleType,t,[])}};var zr=class extends vt{constructor(t){super(),this.componentFactoryResolver=new qr(this),this.instance=null;let n=new vn([...t.providers,{provide:vt,useValue:this},{provide:qt,useValue:this.componentFactoryResolver}],t.parent||no(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function wd(e,t,n=null){return new zr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Cy=(()=>{class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?wd(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=G({token:e,providedIn:"environment",factory:()=>new e})}}return e})();function Mo(e,t,n){return e[t]=n}function xy(e,t){return e[t]}function ie(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function En(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function My(e,t,n,r,o){let i=En(e,t,n,r);return ie(e,t+2,o)||i}function _y(e,t,n,r,o,i){let s=En(e,t,n,r);return En(e,t+2,o,i)||s}function Ty(e){return(e.flags&32)===32}function Ny(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Kt(t,e,4,s||null,a||null);Xs(t,n,u,qe(l,c)),po(t,u);let d=u.tView=Ks(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Dn(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?Ny(u,t,e,r,o,i,s,a,c):t.data[u];wt(d,!1);let p=Oy(t,e,d,n);uo()&&vo(t,e,p,d),ze(p,e);let f=Qu(p,e,p,d);return e[u]=f,Do(e,f),ud(f,d,e),io(d)&&Ys(t,e,d),c!=null&&Js(e,d,l),d}function Sy(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=qe(l.consts,i);return Dn(c,l,e,t,n,r,o,u,s,a),Sy}var Oy=Ay;function Ay(e,t,n,r){return fo(!0),t[P].createComment("")}var X=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(X||{}),Uc=0,Ry=1,H=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(H||{}),Gr=function(e){return e[e.Initial=-1]="Initial",e}(Gr||{}),Py=0,la=1;var Ed=4,Dd=5,bd=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(bd||{});function ky(e,t,n){let r=e===1?Dd:Ed;t[r]===null&&(t[r]=[]),t[r].push(n)}function ss(e,t){let n=e===1?Dd:Ed,r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Cd(e){ss(1,e),ss(0,e)}var Lt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Lt||{}),xd=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}}return e})(),as=class e{constructor(){this.ngZone=N(re),this.scheduler=N(gt),this.errorHandler=N(We,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Lt.EarlyRead,Lt.Write,Lt.MixedReadWrite,Lt.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}},cs=class{constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Ly(e,t){!t?.injector&&Ol(Ly);let n=t?.injector??N(ft);return Ws(n)?(Pe("NgAfterNextRender"),jy(e,n,t,!0)):Vy}function Fy(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function jy(e,t,n,r){let o=t.get(xd);o.impl??=t.get(as);let i=n?.phase??Lt.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(_n):null,a=new cs(o.impl,Fy(e,i),r,s);return o.impl.register(a),a}var Vy={destroy(){}};function _o(e){return e+1}function To(e,t){let n=e[g],r=_o(t.index);return e[r]}function Hy(e,t,n){let r=e[g],o=_o(t);e[o]=n}function No(e,t){let n=_o(t.index);return e.data[n]}function $y(e,t,n){let r=_o(t);e.data[r]=n}function By(e,t,n){let r=t[g],o=No(r,n);switch(e){case H.Complete:return o.primaryTmplIndex;case H.Loading:return o.loadingTmplIndex;case H.Error:return o.errorTmplIndex;case H.Placeholder:return o.placeholderTmplIndex;default:return null}}function qc(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Uc]??null:t===H.Loading?e.loadingBlockConfig?.[Uc]??null:null}function Uy(e){return e.loadingBlockConfig?.[Ry]??null}function Wc(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function qy(e,t){let n=t.primaryTmplIndex+L;return Mn(e,n)}var Wy=new R("");function zy(e){return e.get(Wy,null,{optional:!0})?.behavior===bd.Manual?!1:Ws(e)}var Gy=null;function w_(e,t,n,r,o,i,s,a,c){let l=y(),u=A(),d=e+L,p=Dn(l,u,e,null,0,0);if(u.firstCreatePass){Pe("NgDefer");let T={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:X.NOT_STARTED,loadingPromise:null,providers:null};c?.(u,T,a,s),$y(u,d,T)}let f=l[d];ud(f,p,l);let h=[null,Gr.Initial,null,null,null,null];Hy(l,d,h);let m=()=>Cd(h);ky(0,h,()=>Bl(l,m)),Rs(l,m)}function E_(e){let t=y(),n=Et();if(ie(t,n,e)){let r=D(null);try{let o=!!e,i=Dt(),a=To(t,i)[la];o===!1&&a===Gr.Initial?Jy(t,i):o===!0&&(a===Gr.Initial||a===H.Placeholder)&&Ky(t,i)}finally{D(r)}}}function rt(e,t,n,r=!1){let o=n[$],i=o[g];if(Yp(o))return;let s=To(o,t),a=s[la];if(zc(a,e)&&zc(s[Py]??-1,e)){let c=o[we],l=No(i,t),d=!r&&Ws(c)&&(Uy(l)!==null||qc(l,H.Loading)!==null||qc(l,H.Placeholder))?Gy:Qy;try{d(e,s,n,t,o)}catch(p){bo(o,p)}}}function ci(e,t,n){return e.get(Cy).getOrCreateInjector(t,e,n,"")}function Zy(e,t,n){if(e instanceof Vt){let o=e.injector,i=e.parentInjector,s=ci(i,t,n);return new Vt(o,s)}let r=e.get(_e);if(r!==e){let o=ci(r,t,n);return new Vt(e,o)}return ci(e,t,n)}function Qy(e,t,n,r,o){let i=By(e,o,r);if(i!==null){t[la]=e;let s=o[g],a=i+L,c=Mn(s,a),l=0;na(n,l);let u;if(e===H.Complete){let f=No(s,r),h=f.providers;h&&h.length>0&&(u=Zy(o[we],f,h))}let d=mt(n,c.tView.ssrId),p=Xt(o,c,null,{dehydratedView:d,injector:u});en(n,p,l,pt(c,d)),Co(p,2)}}function zc(e,t){return e<t}function Yy(e,t,n){let r=t[we],o=t[g];if(e.loadingState!==X.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=To(t,n),s=qy(o,e);e.loadingState=X.IN_PROGRESS,ss(1,i);let a=e.dependencyResolverFn,c=r.get(Qt),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let m=h.value,T=Ie(m)||Ms(m);if(T)p.push(T);else{let E=_s(m);E&&f.push(E)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=X.FAILED,e.errorTmplIndex===null){let h="",m=new x(750,!1);bo(t,m)}}else{e.loadingState=X.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Wc(h.directiveRegistry,p);let m=p.map(E=>E.type),T=Ts(!1,...m);e.providers=T}f.length>0&&(h.pipeRegistry=Wc(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=X.COMPLETE,c.remove(l)}),e.loadingPromise)}function Jy(e,t){let n=e[t.index];rt(H.Placeholder,t,n)}function Gc(e,t,n){e.loadingPromise.then(()=>{e.loadingState===X.COMPLETE?rt(H.Complete,t,n):e.loadingState===X.FAILED&&rt(H.Error,t,n)})}function Ky(e,t){let n=e[g],r=e[t.index],o=e[we];if(!zy(o))return;let i=To(e,t),s=No(n,t);switch(Cd(i),s.loadingState){case X.NOT_STARTED:rt(H.Loading,t,r),Yy(s,e,t),s.loadingState===X.IN_PROGRESS&&Gc(s,t,r);break;case X.IN_PROGRESS:rt(H.Loading,t,r),Gc(s,t,r);break;case X.COMPLETE:rt(H.Complete,t,r);break;case X.FAILED:rt(H.Error,t,r);break;default:}}function Xy(e,t,n,r){let o=y(),i=Et();if(ie(o,i,t)){let s=A(),a=Dt();mg(a,o,e,t,n,r)}return Xy}function Md(e,t,n,r){return ie(e,Et(),n)?t+ve(n)+r:U}function _d(e,t,n,r,o,i){let s=Zl(),a=En(e,s,n,o);return co(2),a?t+ve(n)+r+ve(o)+i:U}function ev(e,t,n,r,o,i,s,a){let c=Zl(),l=My(e,c,n,o,s);return co(3),l?t+ve(n)+r+ve(o)+i+ve(s)+a:U}function pr(e,t){return e<<17|t<<2}function It(e){return e>>17&32767}function tv(e){return(e&2)==2}function nv(e,t){return e&131071|t<<17}function ls(e){return e|2}function Wt(e){return(e&131068)>>2}function li(e,t){return e&-131069|t<<2}function rv(e){return(e&1)===1}function us(e){return e|1}function ov(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=It(s),c=Wt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||xn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=It(e[a+1]);e[r+1]=pr(p,a),p!==0&&(e[p+1]=li(e[p+1],r)),e[a+1]=nv(e[a+1],r)}else e[r+1]=pr(a,0),a!==0&&(e[a+1]=li(e[a+1],r)),a=r;else e[r+1]=pr(c,0),a===0?a=r:e[c+1]=li(e[c+1],r),c=r;l&&(e[r+1]=ls(e[r+1])),Zc(e,u,r,!0),Zc(e,u,r,!1),iv(t,u,e,r,i),s=pr(a,c),i?t.classBindings=s:t.styleBindings=s}function iv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=us(n[r+1]))}function Zc(e,t,n,r){let o=e[n+1],i=t===null,s=r?It(o):Wt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];sv(c,t)&&(a=!0,e[s+1]=r?us(l):ls(l)),s=r?It(l):Wt(l)}a&&(e[n+1]=r?ls(o):us(o))}function sv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Td(e){return e.substring(V.key,V.keyEnd)}function av(e){return e.substring(V.value,V.valueEnd)}function cv(e){return Od(e),Nd(e,zt(e,0,V.textEnd))}function Nd(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=uv(e,V.key=t,n),zt(e,t,n))}function lv(e){return Od(e),Sd(e,zt(e,0,V.textEnd))}function Sd(e,t){let n=V.textEnd,r=V.key=zt(e,t,n);return n===r?-1:(r=V.keyEnd=dv(e,r,n),r=Qc(e,r,n,58),r=V.value=zt(e,r,n),r=V.valueEnd=fv(e,r,n),Qc(e,r,n,59))}function Od(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function zt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function uv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function dv(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 Qc(e,t,n,r){return t=zt(e,t,n),t<n&&t++,t}function fv(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=Yc(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Yc(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Yc(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 pv(e,t,n){let r=y(),o=Et();if(ie(r,o,t)){let i=A(),s=Dt();Nn(i,s,r,e,t,r[P],n,!1)}return pv}function ds(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ea(e,n,i[s],s,r)}function hv(e,t,n){return Ad(e,t,n,!1),hv}function mv(e,t){return Ad(e,t,null,!0),mv}function D_(e){Rd(Ld,gv,e,!1)}function gv(e,t){for(let n=lv(t);n>=0;n=Sd(t,n))Ld(e,Td(t),av(t))}function b_(e){Rd(bv,yv,e,!0)}function yv(e,t){for(let n=cv(t);n>=0;n=Nd(t,n))to(e,Td(t),!0)}function Ad(e,t,n,r){let o=y(),i=A(),s=co(2);if(i.firstUpdatePass&&kd(i,e,s,r),t!==U&&ie(o,s,t)){let a=i.data[Ae()];Fd(i,a,o,o[P],e,o[s+1]=xv(t,n),r,s)}}function Rd(e,t,n,r){let o=A(),i=co(2);o.firstUpdatePass&&kd(o,null,i,r);let s=y();if(n!==U&&ie(s,i,n)){let a=o.data[Ae()];if(jd(a,r)&&!Pd(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=mi(c,n||"")),ds(o,a,s,n,r)}else Cv(o,a,s,s[P],s[i+1],s[i+1]=Dv(e,t,n),r,i)}}function Pd(e,t){return t>=e.expandoStartIndex}function kd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ae()],s=Pd(e,n);jd(i,r)&&t===null&&!s&&(t=!1),t=vv(o,i,t,r),ov(o,i,t,n,s,r)}}function vv(e,t,n,r){let o=gh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ui(null,e,t,n,r),n=bn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ui(o,e,t,n,r),i===null){let c=Iv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ui(null,e,t,c[1],r),c=bn(c,t.attrs,r),wv(e,t,r,c))}else i=Ev(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Iv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wt(r)!==0)return e[It(r)]}function wv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[It(o)]=r}function Ev(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=bn(r,s,n)}return bn(r,t.attrs,n)}function ui(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=bn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function bn(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]),to(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Dv(e,t,n){if(n==null||n==="")return Q;let r=[],o=Jt(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 Ld(e,t,n){to(e,t,Jt(n))}function bv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&to(e,r,n)}function Cv(e,t,n,r,o,i,s,a){o===U&&(o=Q);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&&Fd(e,t,n,r,h,m,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Fd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=rv(l)?Jc(c,t,n,o,Wt(l),s):void 0;if(!Zr(u)){Zr(i)||tv(l)&&(i=Jc(c,null,n,o,a,s));let d=Vl(Ae(),n);zm(r,s,d,o,i)}}function Jc(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===U&&(p=d?Q:void 0);let f=d?ei(p,r):u===r?p:void 0;if(l&&!Zr(f)&&(f=ei(c,r)),Zr(f)&&(a=f,s))return a;let h=e[o+1];o=s?It(h):Wt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ei(c,r))}return a}function Zr(e){return e!==void 0}function xv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ne(Jt(e)))),e}function jd(e,t){return(e.flags&(t?8:16))!==0}var fs=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 di(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Mv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=di(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=di(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let m=n(i,l),T=n(s,p),E=n(i,u);if(Object.is(E,T)){let k=n(c,f);Object.is(k,m)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Qr,o??=Xc(e,i,s,n),ps(e,r,i,E))e.updateValue(i,u),i++,s++;else if(o.has(E))r.set(m,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=c;)Kc(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=di(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Qr,o??=Xc(e,i,s,n);let f=n(i,d);if(ps(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Kc(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ps(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Kc(e,t,n,r,o){if(ps(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Xc(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 Qr=class{constructor(){this.kvMap=new Map,this._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 C_(e,t){Pe("NgControlFlow");let n=y(),r=Et(),o=n[r]!==U?n[r]:-1,i=o!==-1?Yr(n,L+o):void 0,s=0;if(ie(n,r,e)){let a=D(null);try{if(i!==void 0&&na(i,s),e!==-1){let c=L+e,l=Yr(n,c),u=ys(n[g],c),d=mt(l,u.tView.ssrId),p=Xt(n,u,t,{dehydratedView:d});en(l,p,s,pt(u,d))}}finally{D(a)}}else if(i!==void 0){let a=ed(i,s);a!==void 0&&(a[W]=t)}}var hs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function x_(e){return e}var ms=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function M_(e,t,n,r,o,i,s,a,c,l,u,d,p){Pe("NgControlFlow");let f=y(),h=A(),m=c!==void 0,T=y(),E=a?s.bind(T[oe][W]):s,k=new ms(m,E);T[L+e]=k,Dn(f,h,e+1,t,n,r,o,qe(h.consts,i)),m&&Dn(f,h,e+2,c,l,u,d,qe(h.consts,p))}var gs=class extends fs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[Bt];this.needsIndexUpdate||=t!==this.length,en(this.lContainer,n,t,pt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,_v(this.lContainer,t)}create(t,n){let r=mt(this.lContainer,this.templateTNode.tView.ssrId),o=Xt(this.hostLView,this.templateTNode,new hs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){yo(t[g],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return Tv(this.lContainer,t)}};function __(e){let t=D(null),n=Ae();try{let r=y(),o=r[g],i=r[n],s=n+1,a=Yr(r,s);if(i.liveCollection===void 0){let l=ys(o,s);i.liveCollection=new gs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Mv(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Et(),u=c.length===0;if(ie(r,l,u)){let d=n+2,p=Yr(r,d);if(u){let f=ys(o,d),h=mt(p,f.tView.ssrId),m=Xt(r,f,void 0,{dehydratedView:h});en(p,m,0,pt(f,h))}else na(p,0)}}}finally{D(t)}}function Yr(e,t){return e[t]}function _v(e,t){return wn(e,t)}function Tv(e,t){return ed(e,t)}function ys(e,t){return Mn(e,t)}function Nv(e,t,n,r,o,i){let s=t.consts,a=qe(s,o),c=Kt(t,e,2,r,a);return Xs(t,n,c,qe(s,i)),c.attrs!==null&&Ur(c,c.attrs,!1),c.mergedAttrs!==null&&Ur(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Vd(e,t,n,r){let o=y(),i=A(),s=L+e,a=o[P],c=i.firstCreatePass?Nv(s,i,o,t,n,r):i.data[s],l=Ov(i,o,c,a,t,e);o[s]=l;let u=io(c);return wt(c,!0),$u(a,l,c),!Ty(c)&&uo()&&vo(i,o,l,c),ih()===0&&ze(l,o),sh(),u&&(Ys(i,o,c),Qs(i,c,o)),r!==null&&Js(o,c),Vd}function Hd(){let e=B();Ps()?ks():(e=e.parent,wt(e,!1));let t=e;ch(t)&&lh(),ah();let n=A();return n.firstCreatePass&&(po(n,e),Ss(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&bh(t)&&ds(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ch(t)&&ds(n,t,y(),t.stylesWithoutHost,!1),Hd}function Sv(e,t,n,r){return Vd(e,t,n,r),Hd(),Sv}var Ov=(e,t,n,r,o,i)=>(fo(!0),Ou(r,o,Ih()));function Av(e,t,n,r,o){let i=t.consts,s=qe(i,r),a=Kt(t,e,8,"ng-container",s);s!==null&&Ur(a,s,!0);let c=qe(i,o);return Xs(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function $d(e,t,n){let r=y(),o=A(),i=e+L,s=o.firstCreatePass?Av(i,o,r,t,n):o.data[i];wt(s,!0);let a=Pv(o,r,s,e);return r[i]=a,uo()&&vo(o,r,a,s),ze(a,r),io(s)&&(Ys(o,r,s),Qs(o,s,r)),n!=null&&Js(r,s),$d}function Bd(){let e=B(),t=A();return Ps()?ks():(e=e.parent,wt(e,!1)),t.firstCreatePass&&(po(t,e),Ss(e)&&t.queries.elementEnd(e)),Bd}function Rv(e,t,n){return $d(e,t,n),Bd(),Rv}var Pv=(e,t,n,r)=>(fo(!0),Am(t[P],""));function T_(){return y()}var nt=void 0;function kv(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Lv=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",kv],fi={};function N_(e){let t=jv(e),n=el(t);if(n)return n;let r=t.split("-")[0];if(n=el(r),n)return n;if(r==="en")return Lv;throw new x(701,!1)}function el(e){return e in fi||(fi[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),fi[e]}var Fv=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}(Fv||{});function jv(e){return e.toLowerCase().replace(/_/g,"-")}var Jr="en-US";var Vv=Jr;function Hv(e){typeof e=="string"&&(Vv=e.toLowerCase().replace(/_/g,"-"))}var $v=(e,t,n)=>{};function Bv(e,t,n,r){let o=y(),i=A(),s=B();return Ud(i,o,o[P],s,e,t,r),Bv}function Uv(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[_r],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ud(e,t,n,r,o,i,s){let a=io(r),l=e.firstCreatePass&&Ku(e),u=t[W],d=Ju(t),p=!0;if(r.type&3||s){let m=ce(r,t),T=s?s(m):m,E=d.length,k=s?le=>s(De(le[r.index])):r.index,be=null;if(!s&&a&&(be=Uv(e,t,o,r.index)),be!==null){let le=be.__ngLastListenerFn__||be;le.__ngNextListenerFn__=i,be.__ngLastListenerFn__=i,p=!1}else{i=nl(r,t,u,i),$v(m,o,i);let le=n.listen(T,o,i);d.push(i,le),l&&l.push(o,k,E,E+1)}}else i=nl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let T=0;T<m;T+=2){let E=h[T],k=h[T+1],bt=t[E][k].subscribe(i),te=d.length;d.push(i,bt),l&&l.push(o,r.index,te,-(te+1))}}}function tl(e,t,n,r){let o=D(null);try{return ge(6,t,n),n(r)!==!1}catch(i){return bo(e,i),!1}finally{ge(7,t,n),D(o)}}function nl(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Ge(e.index,t):t;Co(s,5);let a=tl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=tl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function S_(e=1){return vh(e)}function qv(e,t){let n=null,r=Mp(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Dl(e,i,!0):Np(r,i))return o}return n}function O_(e){let t=y()[oe][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=yp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?qv(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function A_(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Dn(s,a,c,r,o,i,null,n);let l=Kt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),ks();let d=!s[Bt]||Wl();s[oe][ee].projection[l.projection]===null&&c!==null?Wv(s,a,c):d&&(l.flags&32)!==32&&qm(a,s,l)}function Wv(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=mt(i,o.tView.ssrId),a=Xt(e,o,void 0,{dehydratedView:s});en(i,a,0,pt(o,s))}function zv(e,t,n){return qd(e,"",t,"",n),zv}function qd(e,t,n,r,o){let i=y(),s=Md(i,t,n,r);if(s!==U){let a=A(),c=Dt();Nn(a,c,i,e,s,i[P],o,!1)}return qd}function Gv(e,t,n,r,o,i,s){let a=y(),c=_d(a,t,n,r,o,i);if(c!==U){let l=A(),u=Dt();Nn(l,u,a,e,c,a[P],s,!1)}return Gv}function Zv(e,t,n,r,o,i,s,a,c){let l=y(),u=ev(l,t,n,r,o,i,s,a);if(u!==U){let d=A(),p=Dt();Nn(d,p,l,e,u,l[P],c,!1)}return Zv}function R_(e,t,n,r){pd(e,t,n,r)}function P_(e){let t=y(),n=A(),r=Ls();lo(r+1);let o=aa(n,r);if(e.dirty&&nh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=md(t,r);e.reset(i,mu),e.notifyOnChanges()}return!0}return!1}function k_(){return sa(y(),Ls())}function L_(e,t,n,r,o){vd(t,pd(e,n,r,o))}function F_(e,t,n,r){vd(e,sy(t,n,r))}function j_(e=1){lo(Ls()+e)}function Qv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function V_(e){let t=dh();return Os(t,L+e)}function H_(e,t=""){let n=y(),r=A(),o=e+L,i=r.firstCreatePass?Kt(r,o,1,t,null):r.data[o],s=Yv(r,n,i,t,e);n[o]=s,uo()&&vo(r,n,s,i),wt(i,!1)}var Yv=(e,t,n,r,o)=>(fo(!0),Sm(t[P],r));function Jv(e){return Wd("",e,""),Jv}function Wd(e,t,n){let r=y(),o=Md(r,e,t,n);return o!==U&&Xu(r,Ae(),o),Wd}function Kv(e,t,n,r,o){let i=y(),s=_d(i,e,t,n,r,o);return s!==U&&Xu(i,Ae(),s),Kv}function Xv(e,t,n){yd(t)&&(t=t());let r=y(),o=Et();if(ie(r,o,t)){let i=A(),s=Dt();Nn(i,s,r,e,t,r[P],n,!1)}return Xv}function $_(e,t){let n=yd(e);return n&&e.set(t),n}function eI(e,t){let n=y(),r=A(),o=B();return Ud(r,n,n[P],o,e,t),eI}function tI(e,t,n){let r=A();if(r.firstCreatePass){let o=Ue(e);vs(n,r.data,r.blueprint,o,!0),vs(t,r.data,r.blueprint,o,!1)}}function vs(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)vs(e[i],t,n,r,o);else{let i=A(),s=y(),a=B(),c=$t(e)?e:Z(e.provide),l=Nl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if($t(e)||!e.multi){let f=new ut(l,o,wo),h=hi(c,t,o?u:u+p,d);h===-1?(Ti(Rr(a,s),i,c),pi(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=hi(c,t,u+p,d),h=hi(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(o&&!T||!o&&!m){Ti(Rr(a,s),i,c);let E=oI(o?rI:nI,n.length,o,r,l);!o&&T&&(n[h].providerFactory=E),pi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=zd(n[o?h:f],l,!o&&r);pi(i,e,f>-1?f:h,E)}!o&&r&&T&&n[h].componentProviders++}}}function pi(e,t,n,r){let o=$t(t),i=Bp(t);if(o||i){let c=(i?Z(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 zd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function hi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function nI(e,t,n,r){return Is(this.multi,[])}function rI(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=dt(n,n[g],this.providerFactory.index,r);i=a.slice(0,s),Is(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Is(o,i);return i}function Is(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function oI(e,t,n,r,o){let i=new ut(e,n,wo);return i.multi=[],i.index=t,i.componentProviders=0,zd(i,o,r&&!n),i}function B_(e,t=[]){return n=>{n.providersResolver=(r,o)=>tI(r,o?o(e):e,t)}}var iI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ts(!1,n.type),o=r.length>0?wd([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=G({token:e,providedIn:"environment",factory:()=>new e($e(_e))})}}return e})();function U_(e){Pe("NgStandalone"),e.getStandaloneInjector=t=>t.get(iI).getOrCreateStandaloneInjector(e)}function q_(e,t,n){let r=Zt()+e,o=y();return o[r]===U?Mo(o,r,n?t.call(n):t()):xy(o,r)}function W_(e,t,n,r){return Gd(y(),Zt(),e,t,n,r)}function z_(e,t,n,r,o){return Zd(y(),Zt(),e,t,n,r,o)}function G_(e,t,n,r,o,i,s){return sI(y(),Zt(),e,t,n,r,o,i,s)}function ua(e,t){let n=e[t];return n===U?void 0:n}function Gd(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?Mo(e,s+1,i?r.call(i,o):r(o)):ua(e,s+1)}function Zd(e,t,n,r,o,i,s){let a=t+n;return En(e,a,o,i)?Mo(e,a+2,s?r.call(s,o,i):r(o,i)):ua(e,a+2)}function sI(e,t,n,r,o,i,s,a,c){let l=t+n;return _y(e,l,o,i,s,a)?Mo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ua(e,l+4)}function Z_(e,t){let n=A(),r,o=e+L;n.firstCreatePass?(r=aI(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=it(r.type,!0)),s,a=K(wo);try{let c=Ar(!1),l=i();return Ar(c),Qv(n,y(),o,l),l}finally{K(a)}}function aI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Q_(e,t,n){let r=e+L,o=y(),i=Os(o,r);return Qd(o,r)?Gd(o,Zt(),t,i.transform,n,i):i.transform(n)}function Y_(e,t,n,r){let o=e+L,i=y(),s=Os(i,o);return Qd(i,o)?Zd(i,Zt(),t,s.transform,n,r,s):s.transform(n,r)}function Qd(e,t){return e[g].data[t].pure}function J_(e,t){return xo(e,t)}var rl=class{constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var K_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var cI=new R("");function Yd(e){return!!e&&typeof e.then=="function"}function lI(e){return!!e&&typeof e.subscribe=="function"}var uI=new R(""),Jd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=N(uI,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Yd(i))n.push(i);else if(lI(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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),dI=new R("");function fI(){nc(()=>{throw new x(600,!1)})}function pI(e){return e.isBoundToModule}var hI=10;function mI(e,t,n){try{let r=n();return Yd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var So=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=N(Uh),this.afterRenderManager=N(xd),this.zonelessEnabled=N(ra),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new se,this.afterTick=new se,this.componentTypes=[],this.components=[],this.isStable=N(Qt).hasPendingTasks.pipe(me(n=>!n)),this._injector=N(_e)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof $r;if(!this._injector.get(Jd).done){let p=!o&&kp(n),f=!1;throw new x(405,f)}let s;o?s=n:s=this._injector.get(qt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=pI(s)?void 0:this._injector.get(vt),c=r||s.selector,l=s.create(ft.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(cI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),wr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new x(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,D(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Br,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<hI;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)gI(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>so(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;wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(dI,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function gI(e,t,n,r){if(!n&&!so(e))return;rd(e,t,n&&!r?0:1)}var ws=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},X_=(()=>{class e{compileModuleSync(n){return new is(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=bl(n),i=Su(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new yt(c)),s},[]);return new ws(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var yI=(()=>{class e{constructor(){this.zone=N(re),this.changeDetectionScheduler=N(gt),this.applicationRef=N(So)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function vI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new re(he(pe({},II()),{scheduleInRootZone:n})),[{provide:re,useFactory:e},{provide:xr,multi:!0,useFactory:()=>{let r=N(yI,{optional:!0});return()=>r.initialize()}},{provide:xr,multi:!0,useFactory:()=>{let r=N(wI);return()=>{r.initialize()}}},t===!0?{provide:ad,useValue:!0}:[],{provide:oa,useValue:n??fu}]}function II(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var wI=(()=>{class e{constructor(){this.subscription=new F,this.initialized=!1,this.zone=N(re),this.pendingTasks=N(Qt)}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(()=>{re.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{re.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Kd=(()=>{class e{constructor(){this.appRef=N(So),this.taskService=N(Qt),this.ngZone=N(re),this.zonelessEnabled=N(ra),this.disableScheduling=N(ad,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new F,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(kr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(N(oa,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Lr||!this.zoneIsDefined)}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 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Dc:pu;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.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(kr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function eT(){return Pe("NgZoneless"),Fp([{provide:gt,useExisting:Kd},{provide:re,useClass:Lr},{provide:ra,useValue:!0},{provide:oa,useValue:!1},[]])}function EI(){return typeof $localize<"u"&&$localize.locale||Jr}var Xd=new R("",{providedIn:"root",factory:()=>N(Xd,M.Optional|M.SkipSelf)||EI()});var ef=new R("");function hr(e){return!!e.platformInjector}function DI(e){let t=hr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(re);return n.run(()=>{hr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),hr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ef);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{wr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return mI(r,n,()=>{let i=t.get(Jd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Xd,Jr);if(Hv(s||Jr),hr(e)){let a=t.get(So);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return bI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function bI(e,t){let n=e.injector.get(So);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}var Er=null;function CI(e=[],t){return ft.create({name:t,providers:[{provide:Tl,useValue:"platform"},{provide:ef,useValue:new Set([()=>Er=null])},...e]})}function xI(e=[]){if(Er)return Er;let t=CI(e);return Er=t,fI(),MI(t),t}function MI(e){e.get(Jh,null)?.forEach(n=>n())}var _I=(()=>{class e{static{this.__NG_ELEMENT_ID__=TI}}return e})();function TI(e){return NI(B(),y(),(e&16)===16)}function NI(e,t,n){if(oo(e)&&!n){let r=Ge(e.index,t);return new ht(r,r)}else if(e.type&175){let r=t[oe];return new ht(r,t)}return null}function tT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=xI(r),i=[vI({}),{provide:gt,useExisting:Kd},...n||[]],s=new zr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return DI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function nT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function rT(e,t){Pe("NgSignals");let n=Ko(e);return t?.equal&&(n[J].equal=t.equal),n}function oT(e){let t=D(null);try{return e()}finally{D(t)}}var SI=new R("",{providedIn:"root",factory:()=>N(OI)}),OI=(()=>{class e{static{this.\u0275prov=G({token:e,providedIn:"root",factory:()=>new Es})}}return e})(),Es=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=N(Qt),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ds=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=ic(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(We,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function AI(e,t){Pe("NgSignals"),!t?.injector&&Ol(AI);let n=t?.injector??N(ft),r=t?.manualCleanup!==!0?n.get(_n):null,o=new Ds(n.get(SI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(_I,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[gr]??=[]).push(o.watcher.notify),o}function iT(e,t){let n=Ie(e),r=t.elementInjector||no();return new yt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function sT(e){let t=Ie(e);if(!t)return null;let n=new yt(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}}}export{F as a,q as b,nf as c,_ as d,Ho as e,$o as f,se as g,tn as h,sn as i,Ke as j,ke as k,gf as l,yf as m,vf as n,et as o,me as p,Mf as q,xe as r,Bo as s,St as t,Tf as u,Pf as v,nn as w,Lf as x,Uo as y,Nf as z,rn as A,tt as B,qo as C,Ff as D,jf as E,Ra as F,Pa as G,Wo as H,Of as I,Af as J,Hf as K,La as L,Fa as M,Rf as N,ja as O,x as P,cl as Q,G as R,jM as S,VM as T,R as U,M as V,$e as W,N as X,HM as Y,$M as Z,gn as _,BM as $,UM as aa,qM as ba,WM as ca,Fp as da,Tl as ea,_e as fa,zM as ga,Ol as ha,Jp as ia,GM as ja,ZM as ka,QM as la,YM as ma,JM as na,ft as oa,_n as pa,Qt as qa,Me as ra,re as sa,We as ta,Fr as ua,KM as va,XM as wa,ho as xa,e_ as ya,t_ as za,Jh as Aa,Kh as Ba,n_ as Ca,Jt as Da,Us as Ea,r_ as Fa,o_ as Ga,i_ as Ha,s_ as Ia,a_ as Ja,Cu as Ka,wm as La,go as Ma,c_ as Na,Dm as Oa,l_ as Pa,qi as Qa,u_ as Ra,wo as Sa,d_ as Ta,Br as Ua,h_ as Va,ia as Wa,ly as Xa,uy as Ya,g_ as Za,y_ as _a,v_ as $a,vy as ab,I_ as bb,rs as cb,wd as db,Sy as eb,Ly as fb,w_ as gb,E_ as hb,Xy as ib,pv as jb,hv as kb,mv as lb,D_ as mb,b_ as nb,C_ as ob,x_ as pb,M_ as qb,__ as rb,Vd as sb,Hd as tb,Sv as ub,$d as vb,Bd as wb,Rv as xb,T_ as yb,N_ as zb,Fv as Ab,Bv as Bb,S_ as Cb,O_ as Db,A_ as Eb,zv as Fb,Gv as Gb,Zv as Hb,R_ as Ib,P_ as Jb,k_ as Kb,L_ as Lb,F_ as Mb,j_ as Nb,V_ as Ob,H_ as Pb,Jv as Qb,Wd as Rb,Kv as Sb,Xv as Tb,$_ as Ub,eI as Vb,B_ as Wb,U_ as Xb,q_ as Yb,W_ as Zb,z_ as _b,G_ as $b,Z_ as ac,Q_ as bc,Y_ as cc,J_ as dc,rl as ec,K_ as fc,Yd as gc,uI as hc,dI as ic,So as jc,X_ as kc,eT as lc,Xd as mc,_I as nc,tT as oc,nT as pc,rT as qc,oT as rc,AI as sc,iT as tc,sT as uc};
package/chunk-BTF6XTSM.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-NILUA3YB.js")},{path:"destination",loadComponent:()=>import("./chunk-ZLOKN5SO.js")},{path:"source-data",loadComponent:()=>import("./chunk-VA5L4XPW.js")},{path:"schedule",loadComponent:()=>import("./chunk-SGZGAY7X.js")},{path:"options",loadComponent:()=>import("./chunk-4HGECFGT.js")}];export{o as default};
package/chunk-C3SI6ECZ.js DELETED
@@ -1 +0,0 @@
1
- import{a as I,b as E,d as B,e as M,g as w,k as A,n as N,q as P,s as T}from"./chunk-VXKI3RQB.js";import{a as q}from"./chunk-2EGLLTER.js";import{a as x}from"./chunk-NAZLO3UY.js";import{a as L,c as R,g as V,k as j,t as G,v as O}from"./chunk-3UHRO33D.js";import{W as v,X as D}from"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import{$ as S,Bb as u,F as h,Pb as n,Ra as m,X as s,Xb as _,Ya as f,Yb as F,eb as b,jb as g,lb as C,ob as y,sb as i,tb as e,ub as d}from"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";var z=()=>["/"];function H(c,t){c&1&&(i(0,"spk-form-field")(1,"label",13),n(2,"Passphrase"),e(),d(3,"input",14),e())}var p=new P,k=class c{#e=s(R);#t=s(x);#o=s(q);#r=s(v);isImporting=f(!1);isSecureFile=f(!1);importForm=p.group({config:p.control(""),cmdline:p.control(!1),importMetadata:p.control(!1),direct:p.control(!1),passphrase:p.control("")});selectedFile=f(null);onFileDropped(t){let r=t.target?.files?.item(0);if(r){let a=new FileReader;this.isSecureFile.set(r.type!=="application/json"),a.onload=this.#i.bind(this),a.readAsArrayBuffer(r)}}#i(t){let o=t.target?.result;this.importForm.patchValue({config:this.#n(o)})}#n(t){let o=new Uint8Array(t),r=o.byteLength,a="";for(let l=0;l<r;l++)a+=String.fromCharCode(o[l]);return btoa(a)}submit(){this.isImporting.set(!0),this.#t.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(h(()=>this.isImporting.set(!1))).subscribe({next:t=>{let o=this.#o.addDraftBackup(t.data);this.#r.navigate(["/backup-draft",o])},error:t=>{this.#e.error(t.message)}})}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=S({type:c,selectors:[["app-import"]],standalone:!0,features:[_],decls:28,vars:6,consts:[[1,"actions"],["spk-button","",1,"outlined",3,"routerLink"],["spk-button","",1,"raised","primary",3,"click"],["autocomplete","off",3,"formGroup"],["spkDragDrop","",3,"fileDropped"],["for","file"],["type","file","accept",".json,.aes",3,"change"],["suffix",""],[1,"primary","raised"],["for","importMetadata"],["type","checkbox","formControlName","importMetadata"],["for","direct"],["type","checkbox","formControlName","direct"],["for","passphrase"],["type","password","formControlName","passphrase"]],template:function(o,r){o&1&&(i(0,"header")(1,"h3"),n(2," Import backup configuration "),i(3,"div",0)(4,"button",1)(5,"spk-icon"),n(6,"arrow-left"),e(),n(7," Back "),e(),i(8,"button",2),u("click",function(){return r.submit()}),i(9,"spk-icon"),n(10,"download-simple"),e(),n(11," Import "),e()()()(),i(12,"form",3)(13,"spk-form-field",4),u("fileDropped",function(l){return r.onFileDropped(l)}),i(14,"label",5),n(15,"Select a configuration file"),e(),i(16,"input",6),u("change",function(l){return r.onFileDropped(l)}),e(),i(17,"spk-icon",7),n(18,"upload"),e()(),b(19,H,4,0,"spk-form-field"),i(20,"spk-toggle",8)(21,"label",9),n(22,"Import Metadata"),e(),d(23,"input",10),e(),i(24,"spk-toggle",8)(25,"label",11),n(26,"Save now"),e(),d(27,"input",12),e()()),o&2&&(m(4),g("routerLink",F(5,z)),m(4),C("loading",r.isImporting()),m(4),g("formGroup",r.importForm),m(7),y(r.isSecureFile()?19:-1))},dependencies:[T,w,E,I,B,M,A,N,D,O,j,L,V,G],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{k as default};
package/chunk-NILUA3YB.js DELETED
@@ -1 +0,0 @@
1
- import{d as a,e as b,f as c}from"./chunk-NYFN2CT6.js";import"./chunk-VJDUCP4Z.js";import"./chunk-DNHLTHLR.js";import"./chunk-CUYURNCB.js";import"./chunk-SRX3KYGO.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
package/chunk-RNJMBZB7.js DELETED
@@ -1 +0,0 @@
1
- import{c as a,d as b}from"./chunk-HJUBM7Q5.js";import"./chunk-3XQGPHYU.js";import"./chunk-VJDUCP4Z.js";import"./chunk-CUYURNCB.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{a as createRestoreSelectFilesForm,b as default};
package/chunk-SGZGAY7X.js DELETED
@@ -1 +0,0 @@
1
- import{j as a,k as b}from"./chunk-NYFN2CT6.js";import"./chunk-VJDUCP4Z.js";import"./chunk-DNHLTHLR.js";import"./chunk-CUYURNCB.js";import"./chunk-SRX3KYGO.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{a as createScheduleForm,b as default};
package/chunk-VA5L4XPW.js DELETED
@@ -1 +0,0 @@
1
- import{l as a,m as b}from"./chunk-NYFN2CT6.js";import"./chunk-VJDUCP4Z.js";import"./chunk-DNHLTHLR.js";import"./chunk-CUYURNCB.js";import"./chunk-SRX3KYGO.js";import"./chunk-VXKI3RQB.js";import"./chunk-NAZLO3UY.js";import"./chunk-3UHRO33D.js";import"./chunk-X2IPCPJN.js";import"./chunk-2MDIWOW5.js";import"./chunk-JE2I63Y6.js";import"./chunk-67JGZ4NF.js";import"./chunk-7CGTOI24.js";export{a as createSourceDataForm,b as default};