diff --git a/404.html b/404.html index 4cfe26c..a3847a3 100644 --- a/404.html +++ b/404.html @@ -41,5 +41,5 @@ - + diff --git a/index.html b/index.html index 4cfe26c..a3847a3 100644 --- a/index.html +++ b/index.html @@ -41,5 +41,5 @@ - + diff --git a/main.2a78bac2e96ba338.js b/main.2a78bac2e96ba338.js deleted file mode 100644 index fbe36f9..0000000 --- a/main.2a78bac2e96ba338.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{1648:(i,a,r)=>{"use strict";r.d(a,{F:()=>o.F});var o=r(5888)},5888:(i,a,r)=>{"use strict";r.d(a,{F:()=>Ct});let o=(()=>{class Vt{static{this.standard="cubic-bezier(0.4, 0.0, 0.2, 1)"}static{this.deceleration="cubic-bezier(0.0, 0.0, 0.2, 1)"}static{this.acceleration="cubic-bezier(0.4, 0.0, 1, 1)"}static{this.sharp="cubic-bezier(0.4, 0.0, 0.6, 1)"}}return Vt})(),s=(()=>{class Vt{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return Vt})();var c=r(9969);const at=(Vt,Xt,oe,Xe,kr=`${s.entering} ${o.deceleration}`,gr=`${s.exiting} ${o.acceleration}`)=>(0,c.hZ)(Vt,[(0,c.wk)("void",(0,c.iF)(Xt)),(0,c.wk)("*",(0,c.iF)(oe)),(0,c.kY)("void => false, * => false",[]),(0,c.kY)("void => *",(0,c.i0)(Xe||kr),{params:{timings:kr}}),(0,c.kY)("* => void",(0,c.i0)(Xe||gr),{params:{timings:gr}})]),Ct=[(0,c.hZ)("expandCollapse",[(0,c.wk)("void, collapsed",(0,c.iF)({height:"0"})),(0,c.wk)("*, expanded",(0,c.iF)("*")),(0,c.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,c.kY)("void <=> *, collapsed <=> expanded",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeIn",[(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInTop",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInBottom",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInLeft",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInRight",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeOut",[(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutTop",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutBottom",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutLeft",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutRight",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("shake",[(0,c.kY)("void => false",[]),(0,c.kY)("void => *, * => true",[(0,c.i0)("{{timings}}",(0,c.i7)([(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,c.hZ)("slideInTop",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInBottom",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInLeft",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInRight",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideOutTop",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutBottom",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutLeft",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutRight",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),at("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),at("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},7857:(i,a,r)=>{"use strict";r.d(a,{$w:()=>lr,lX:()=>c,Tv:()=>os});var o=r(1648),s=r(4438);let c=(()=>{class G{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(et,te){this._componentRegistry.set(et,te)}deregisterComponent(et){this._componentRegistry.delete(et)}getComponent(et){return this._componentRegistry.get(et)}storeNavigation(et,te){this._navigationStore.set(et,te)}getNavigation(et){return this._navigationStore.get(et)??[]}deleteNavigation(et){this._navigationStore.has(et)||console.warn(`Navigation with the key '${et}' does not exist.`),this._navigationStore.delete(et)}getFlatNavigation(et,te=[]){for(const le of et)"basic"===le.type?te.push(le):le.children&&this.getFlatNavigation(le.children,te);return te}getItem(et,te){for(const le of te){if(le.id===et)return le;if(le.children){const Br=this.getItem(et,le.children);if(Br)return Br}}return null}getItemParent(et,te,le){for(const Br of te){if(Br.id===et)return le;if(Br.children){const jr=this.getItemParent(et,Br.children,Br);if(jr)return jr}}return null}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})();var y=r(7209),k=r(2771),A=r(1413),I=r(177),M=r(9213),T=r(9115),O=r(4823),L=r(5245),Y=r(6977);const z=G=>({"angor-horizontal-navigation-item-active-forced":G}),q=G=>[G];function ct(G,Qt){1&G&&s.eu8(0)}function dt(G,Qt){if(1&G&&(s.j41(0,"div",2),s.DNE(1,ct,1,0,"ng-container",7),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,z,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function tt(G,Qt){1&G&&s.eu8(0)}function vt(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,tt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Mt(G,Qt){1&G&&s.eu8(0)}function $t(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,Mt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,z,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function St(G,Qt){1&G&&s.eu8(0)}function kt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,St,1,0,"ng-container",7),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,z,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function nt(G,Qt){1&G&&s.eu8(0)}function at(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function rt(G,Qt){1&G&&s.eu8(0)}function yt(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,rt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,z,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Ct(G,Qt){1&G&&s.eu8(0)}function Vt(G,Qt){if(1&G&&(s.j41(0,"div",6),s.DNE(1,Ct,1,0,"ng-container",7),s.k0s()),2&G){s.XpG();const et=s.sdS(9);s.R7$(),s.Y8G("ngTemplateOutlet",et)}}function Xt(G,Qt){if(1&G&&s.nrm(0,"mat-icon",11),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function oe(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"span",14),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Xe(G,Qt){if(1&G&&(s.j41(0,"div",16)(1,"div",17),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function kr(G,Qt){if(1&G&&(s.DNE(0,Xt,1,2,"mat-icon",11),s.j41(1,"div",12)(2,"div",13)(3,"span",14),s.EFF(4),s.k0s()(),s.DNE(5,oe,3,2,"div",15),s.k0s(),s.DNE(6,Xe,3,2,"div",16)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let gr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new A.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item","angor-horizontal-navigation-item-disabled"],[4,"ngTemplateOutlet"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,dt,2,14,"div",2)(2,vt,2,4,"a",3)(3,$t,2,5,"div",4)(4,kt,2,14,"div",2)(5,at,2,4,"a",5)(6,yt,2,5,"div",4)(7,Vt,2,1,"div",6),s.k0s(),s.DNE(8,kr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-horizontal-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,O.uc,O.oV,I.T3,T.Cn,T.fb,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),wr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();const Wr=["matMenu"],xe=(G,Qt)=>({"angor-horizontal-navigation-menu-active":G,"angor-horizontal-navigation-menu-active-forced":Qt}),Le=G=>({$implicit:G}),gt=(G,Qt)=>({"angor-horizontal-navigation-item-disabled":G,"angor-horizontal-navigation-item-active-forced":Qt});function Nt(G,Qt){1&G&&s.eu8(0)}function Se(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",6,2),s.bIt("onMenuOpen",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())})("onMenuClose",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())}),s.DNE(2,Nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.sdS(1),te=s.XpG(),le=s.sdS(2),Br=s.sdS(6);s.Y8G("ngClass",s.l_i(4,xe,et.menuOpen,te.item.active))("matMenuTriggerFor",le),s.R7$(2),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te.item))}}function Rt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.nrm(1,"angor-horizontal-navigation-basic-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("disabled",et.disabled),s.R7$(),s.Y8G("item",et)("name",te.name)}}function de(G,Qt){1&G&&s.eu8(0)}function jt(G,Qt){if(1&G&&(s.j41(0,"div",9),s.DNE(1,de,1,0,"ng-container",7),s.nrm(2,"angor-horizontal-navigation-branch-item",12,3),s.k0s()),2&G){const et=s.sdS(3),te=s.XpG(2).$implicit,le=s.XpG(),Br=s.sdS(6);s.Y8G("disabled",te.disabled)("matMenuTriggerFor",et.matMenu),s.R7$(),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te)),s.R7$(),s.Y8G("child",!0)("item",te)("name",le.name)}}function De(G,Qt){if(1&G&&(s.j41(0,"div",10),s.nrm(1,"angor-horizontal-navigation-divider-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.R7$(),s.Y8G("item",et)("name",te.name)}}function Ye(G,Qt){if(1&G&&s.DNE(0,Rt,2,3,"div",8)(1,jt,4,9,"div",9)(2,De,2,2,"div",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1)}}function ft(G,Qt){if(1&G&&s.DNE(0,Ye,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function pe(G,Qt){if(1&G&&s.nrm(0,"mat-icon",15),2&G){const et=s.XpG().$implicit;s.Y8G("ngClass",null==et.classes?null:et.classes.icon)("svgIcon",et.icon)}}function Ut(G,Qt){if(1&G&&(s.j41(0,"div",19)(1,"span",18),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",null==et.classes?null:et.classes.subtitle),s.R7$(),s.SpI(" ",et.subtitle," ")}}function Ee(G,Qt){if(1&G&&(s.j41(0,"div",20)(1,"div",21),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",et.badge.classes),s.R7$(),s.SpI(" ",et.badge.title," ")}}function ie(G,Qt){if(1&G&&(s.j41(0,"div",13)(1,"div",14),s.DNE(2,pe,1,2,"mat-icon",15),s.j41(3,"div",16)(4,"div",17)(5,"span",18),s.EFF(6),s.k0s()(),s.DNE(7,Ut,3,2,"div",19),s.k0s(),s.DNE(8,Ee,3,2,"div",20),s.k0s()()),2&G){const et=Qt.$implicit;s.AVh("angor-horizontal-navigation-item-has-subtitle",!!et.subtitle),s.Y8G("ngClass",null==et.classes?null:et.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.l_i(10,gt,et.disabled,et.active))("matTooltip",et.tooltip||""),s.R7$(),s.vxM(et.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==et.classes?null:et.classes.title),s.R7$(),s.SpI(" ",et.title," "),s.R7$(),s.vxM(et.subtitle?7:-1),s.R7$(),s.vxM(et.badge?8:-1)}}let He=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this.child=!1,this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(te,le){if(1&te&&s.GBs(Wr,7),2&te){let Br;s.mGM(Br=s.lsd())&&(le.matMenu=Br.first)}},inputs:{child:"child",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:7,vars:2,consts:[["matMenu","matMenu"],["itemTemplate",""],["trigger","matMenuTrigger"],["branch",""],[3,"ngClass","matMenuTriggerFor"],[1,"angor-horizontal-navigation-menu-panel",3,"overlapTrigger"],[3,"onMenuOpen","onMenuClose","ngClass","matMenuTriggerFor"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item"],[3,"item","name"],[3,"child","item","name"],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.DNE(0,Se,3,9,"div",4),s.j41(1,"mat-menu",5,0),s.Z7z(3,ft,1,1,null,null,le.trackByFn,!0),s.k0s(),s.DNE(5,ie,9,13,"ng-template",null,1,s.C5r)),2&te&&(s.vxM(le.child?-1:0),s.R7$(),s.Y8G("overlapTrigger",!1),s.R7$(2),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,T.Cn,T.kk,T.fb,T.Cp,I.T3,gr,wr,O.uc,O.oV,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),Ht=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function Me(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-basic-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Pe(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-branch-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function We(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Or(G,Qt){if(1&G&&s.DNE(0,Me,1,2,"angor-horizontal-navigation-basic-item",1)(1,Pe,1,2,"angor-horizontal-navigation-branch-item",1)(2,We,1,2,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("spacer"===et.type?2:-1)}}function ko(G,Qt){if(1&G&&s.DNE(0,Or,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let lr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new A.B}ngOnChanges(et){"navigation"in et&&this._changeDetectorRef.markForCheck()}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this)}ngOnDestroy(){this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],standalone:!0,features:[s.OA$,s.aNF],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(te,le){1&te&&(s.j41(0,"div",0),s.Z7z(1,ko,1,1,null,null,le.trackByFn,!0),s.k0s()),2&te&&(s.R7$(),s.Dyx(le.navigation))},dependencies:[gr,He,Ht],styles:["angor-horizontal-navigation .angor-horizontal-navigation-wrapper{display:flex;align-items:center}@media (min-width: 600px){angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item:hover .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item:hover .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper{border-radius:4px;overflow:hidden}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{padding:0 16px;cursor:pointer;-webkit-user-select:none;user-select:none}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon{margin-right:12px}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active-forced .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-spacer-item{margin:12px 0}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item{height:auto;min-height:0;line-height:normal;white-space:normal}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-branch-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{display:flex;flex:1 1 auto}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{margin:8px -16px}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item .angor-horizontal-navigation-item-wrapper{height:1px;box-shadow:0 1px}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper{width:100%}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper.angor-horizontal-navigation-item-has-subtitle .angor-horizontal-navigation-item{min-height:56px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:48px;width:100%;font-size:13px;font-weight:500;text-decoration:none}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-title-wrapper .angor-horizontal-navigation-item-subtitle{font-size:12px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge{margin-left:auto}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge .angor-horizontal-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}\n"],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Lt=G=>({"angor-vertical-navigation-item-active-forced":G}),be=G=>[G];function se(G,Qt){1&G&&s.eu8(0)}function Ie(G,Qt){if(1&G&&(s.j41(0,"a",2),s.DNE(1,se,1,0,"ng-container",6),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function br(G,Qt){1&G&&s.eu8(0)}function mt(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,br,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function $(G,Qt){1&G&&s.eu8(0)}function Z(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",7),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,$,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function it(G,Qt){1&G&&s.eu8(0)}function Tt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,it,1,0,"ng-container",6),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function It(G,Qt){1&G&&s.eu8(0)}function ye(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,It,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function ir(G,Qt){1&G&&s.eu8(0)}function Je(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,ir,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function er(G,Qt){1&G&&s.eu8(0)}function Hr(G,Qt){if(1&G&&(s.j41(0,"div",5),s.DNE(1,er,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function eo(G,Qt){if(1&G&&s.nrm(0,"mat-icon",10),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Bo(G,Qt){if(1&G&&(s.j41(0,"div",14)(1,"span",13),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function fr(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"div",16),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Pr(G,Qt){if(1&G&&(s.DNE(0,eo,1,2,"mat-icon",10),s.j41(1,"div",11)(2,"div",12)(3,"span",13),s.EFF(4),s.k0s()(),s.DNE(5,Bo,3,2,"div",14),s.k0s(),s.DNE(6,fr,3,2,"div",15)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let re=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new A.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,Ie,2,14,"a",2)(2,mt,2,4,"a",3)(3,Z,2,5,"div",4)(4,Tt,2,14,"a",2)(5,ye,2,4,"a",3)(6,Je,2,5,"div",4)(7,Hr,2,2,"div",5),s.k0s(),s.DNE(8,Pr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,O.uc,O.oV,I.T3,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),qt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})(),Pt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function ue(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function mr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Qr(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",8),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Wo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function tr(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function $e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function _e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function qe(G,Qt){if(1&G&&s.DNE(0,Ro,1,2,"angor-vertical-navigation-basic-item",9)(1,Wo,1,3,"angor-vertical-navigation-collapsable-item",10)(2,tr,1,2,"angor-vertical-navigation-divider-item",9)(3,$e,1,2,"angor-vertical-navigation-group-item",9)(4,_e,1,2,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ke(G,Qt){if(1&G&&s.DNE(0,qe,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let me=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,ue,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,mr,3,2,"div",6),s.k0s(),s.DNE(8,Qr,3,2,"div",7),s.k0s()(),s.Z7z(9,ke,1,1,null,null,le.trackByFn,!0)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(2),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,M.m_,M.An,re,Ke,qt,Pt],encapsulation:2,changeDetection:0})}}return G})();var Yt=r(5964);const Ae=G=>({"angor-vertical-navigation-item-disabled":G});function ar(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function yr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Eo(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",10),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function $n(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Xn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Yo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ni(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Fo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function pi(G,Qt){if(1&G&&s.DNE(0,$n,1,2,"angor-vertical-navigation-basic-item",11)(1,Xn,1,3,"angor-vertical-navigation-collapsable-item",12)(2,Yo,1,2,"angor-vertical-navigation-divider-item",11)(3,ni,1,2,"angor-vertical-navigation-group-item",11)(4,Fo,1,2,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ei(G,Qt){if(1&G&&s.DNE(0,pi,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Oe(G,Qt){if(1&G&&(s.j41(0,"div",9),s.Z7z(1,ei,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("@expandCollapse",void 0),s.R7$(),s.Dyx(et.item.children)}}let Ke=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new A.B}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&this._isChildrenOf(et,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&(this._isChildrenOf(this.item,et)||this._hasActiveChild(this.item,this._router.url)||this.item!==et&&this.collapse())}),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{this._hasActiveChild(this.item,et.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le)if(Br.children&&this._hasActiveChild(Br,te)||Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0;return!1}_isChildrenOf(et,te){const le=et.children;if(!le)return!1;if(le.indexOf(te)>-1)return!0;for(const Br of le)if(Br.children&&this._isChildrenOf(Br,te))return!0;return!1}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(te,le){2&te&&s.HbH(le.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.bIt("click",function(){return le.toggleCollapsable()}),s.DNE(2,ar,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,yr,3,2,"div",6),s.k0s(),s.DNE(8,Eo,3,2,"div",7),s.nrm(9,"mat-icon",8),s.k0s()(),s.DNE(10,Oe,3,1,"div",9)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.eq3(12,Ae,le.item.disabled))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Y8G("svgIcon","heroicons_solid:chevron-right"),s.R7$(),s.vxM(le.isCollapsed?-1:10))},dependencies:()=>[G,I.YU,O.uc,O.oV,M.m_,M.An,re,qt,me,Pt],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Dr=(G,Qt,et)=>({"angor-vertical-navigation-item-active":G,"angor-vertical-navigation-item-disabled":Qt,"angor-vertical-navigation-item-active-forced":et});function Lr(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Ur(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function ao(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",9),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function no(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function vo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Co(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function zt(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function he(G,Qt){if(1&G&&s.DNE(0,no,1,2,"angor-vertical-navigation-basic-item",10)(1,vo,1,3,"angor-vertical-navigation-collapsable-item",11)(2,Co,1,2,"angor-vertical-navigation-divider-item",10)(3,ro,1,2,"angor-vertical-navigation-group-item",10)(4,zt,1,2,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ce(G,Qt){if(1&G&&s.DNE(0,he,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function pt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.Z7z(1,ce,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.R7$(),s.Dyx(et.item.children)}}let Gt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.active=!1,this._unsubscribeAll=new A.B}ngOnChanges(et){"activeItemId"in et&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{this._markIfActive(et.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le){if(Br.children&&this._hasActiveChild(Br,te))return!0;if("basic"===Br.type&&Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0}return!1}_markIfActive(et){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,et)&&(this.active=!0),this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[s.OA$,s.aNF],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,Lr,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,Ur,3,2,"div",6),s.k0s(),s.DNE(8,ao,3,2,"div",7),s.k0s()(),s.DNE(9,pt,3,0,"div",8)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.sMw(11,Dr,le.active,le.item.disabled,le.item.active))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.vxM(le.skipChildren?-1:9))},dependencies:[I.YU,O.uc,O.oV,M.m_,M.An,re,Ke,qt,me,Pt],encapsulation:2,changeDetection:0})}}return G})();class Dt{constructor(Qt,et,te,le){this.x=Qt,this.y=et,this.w=te,this.h=le}}class ne{constructor(Qt,et){this.x=Qt,this.y=et}}var Re=r(4085),Ce=r(6860),or=r(2401);function Cr(G){return getComputedStyle(G)}function Er(G,Qt){for(var et in Qt){var te=Qt[et];"number"==typeof te&&(te+="px"),G.style[et]=te}return G}function Nr(G){var Qt=document.createElement("div");return Qt.className=G,Qt}var Fr=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qr(G,Qt){if(!Fr)throw new Error("No element matching method supported");return Fr.call(G,Qt)}function to(G){G.remove?G.remove():G.parentNode&&G.parentNode.removeChild(G)}function xo(G,Qt){return Array.prototype.filter.call(G.children,function(et){return qr(et,Qt)})}var So={main:"ps",rtl:"ps__rtl",element:{thumb:function(G){return"ps__thumb-"+G},rail:function(G){return"ps__rail-"+G},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(G){return"ps--active-"+G},scrolling:function(G){return"ps--scrolling-"+G}}},po={x:null,y:null};function io(G,Qt){var et=G.element.classList,te=So.state.scrolling(Qt);et.contains(te)?clearTimeout(po[Qt]):et.add(te)}function Yn(G,Qt){po[Qt]=setTimeout(function(){return G.isAlive&&G.element.classList.remove(So.state.scrolling(Qt))},G.settings.scrollingThreshold)}var jn=function(Qt){this.element=Qt,this.handlers={}},Uo={isEmpty:{configurable:!0}};jn.prototype.bind=function(Qt,et){typeof this.handlers[Qt]>"u"&&(this.handlers[Qt]=[]),this.handlers[Qt].push(et),this.element.addEventListener(Qt,et,!1)},jn.prototype.unbind=function(Qt,et){var te=this;this.handlers[Qt]=this.handlers[Qt].filter(function(le){return!(!et||le===et)||(te.element.removeEventListener(Qt,le,!1),!1)})},jn.prototype.unbindAll=function(){for(var Qt in this.handlers)this.unbind(Qt)},Uo.isEmpty.get=function(){var G=this;return Object.keys(this.handlers).every(function(Qt){return 0===G.handlers[Qt].length})},Object.defineProperties(jn.prototype,Uo);var Fn=function(){this.eventElements=[]};function zi(G){if("function"==typeof window.CustomEvent)return new CustomEvent(G);var Qt=document.createEvent("CustomEvent");return Qt.initCustomEvent(G,!1,!1,void 0),Qt}function nn(G,Qt,et,te,le){var Br;if(void 0===te&&(te=!0),void 0===le&&(le=!1),"top"===Qt)Br=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Qt)throw new Error("A proper axis should be provided");Br=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function ja(G,Qt,et,te,le){var Br=et[0],jr=et[1],Oo=et[2],so=et[3],rn=et[4],bn=et[5];void 0===te&&(te=!0),void 0===le&&(le=!1);var Lo=G.element;G.reach[so]=null,Lo[Oo]<1&&(G.reach[so]="start"),Lo[Oo]>G[Br]-G[jr]-1&&(G.reach[so]="end"),Qt&&(Lo.dispatchEvent(zi("ps-scroll-"+so)),Qt<0?Lo.dispatchEvent(zi("ps-scroll-"+rn)):Qt>0&&Lo.dispatchEvent(zi("ps-scroll-"+bn)),te&&function Di(G,Qt){io(G,Qt),Yn(G,Qt)}(G,so)),G.reach[so]&&(Qt||le)&&Lo.dispatchEvent(zi("ps-"+so+"-reach-"+G.reach[so]))}(G,et,Br,te,le)}function Tn(G){return parseInt(G,10)||0}Fn.prototype.eventElement=function(Qt){var et=this.eventElements.filter(function(te){return te.element===Qt})[0];return et||(et=new jn(Qt),this.eventElements.push(et)),et},Fn.prototype.bind=function(Qt,et,te){this.eventElement(Qt).bind(et,te)},Fn.prototype.unbind=function(Qt,et,te){var le=this.eventElement(Qt);le.unbind(et,te),le.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(le),1)},Fn.prototype.unbindAll=function(){this.eventElements.forEach(function(Qt){return Qt.unbindAll()}),this.eventElements=[]},Fn.prototype.once=function(Qt,et,te){var le=this.eventElement(Qt),Br=function(jr){le.unbind(et,Br),te(jr)};le.bind(et,Br)};var da={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function ka(G){var Qt=G.element,et=Math.floor(Qt.scrollTop),te=Qt.getBoundingClientRect();G.containerWidth=Math.floor(te.width),G.containerHeight=Math.floor(te.height),G.contentWidth=Qt.scrollWidth,G.contentHeight=Qt.scrollHeight,Qt.contains(G.scrollbarXRail)||(xo(Qt,So.element.rail("x")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarXRail)),Qt.contains(G.scrollbarYRail)||(xo(Qt,So.element.rail("y")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarYRail)),!G.settings.suppressScrollX&&G.containerWidth+G.settings.scrollXMarginOffset=G.railXWidth-G.scrollbarXWidth&&(G.scrollbarXLeft=G.railXWidth-G.scrollbarXWidth),G.scrollbarYTop>=G.railYHeight-G.scrollbarYHeight&&(G.scrollbarYTop=G.railYHeight-G.scrollbarYHeight),function Zi(G,Qt){var et={width:Qt.railXWidth},te=Math.floor(G.scrollTop);et.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+Qt.containerWidth-Qt.contentWidth:G.scrollLeft,Qt.isScrollbarXUsingBottom?et.bottom=Qt.scrollbarXBottom-te:et.top=Qt.scrollbarXTop+te,Er(Qt.scrollbarXRail,et);var le={top:te,height:Qt.railYHeight};Qt.isScrollbarYUsingRight?le.right=Qt.isRtl?Qt.contentWidth-(Qt.negativeScrollAdjustment+G.scrollLeft)-Qt.scrollbarYRight-Qt.scrollbarYOuterWidth-9:Qt.scrollbarYRight-G.scrollLeft:le.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+2*Qt.containerWidth-Qt.contentWidth-Qt.scrollbarYLeft-Qt.scrollbarYOuterWidth:Qt.scrollbarYLeft+G.scrollLeft,Er(Qt.scrollbarYRail,le),Er(Qt.scrollbarX,{left:Qt.scrollbarXLeft,width:Qt.scrollbarXWidth-Qt.railBorderXWidth}),Er(Qt.scrollbarY,{top:Qt.scrollbarYTop,height:Qt.scrollbarYHeight-Qt.railBorderYWidth})}(Qt,G),G.scrollbarXActive?Qt.classList.add(So.state.active("x")):(Qt.classList.remove(So.state.active("x")),G.scrollbarXWidth=0,G.scrollbarXLeft=0,Qt.scrollLeft=!0===G.isRtl?G.contentWidth:0),G.scrollbarYActive?Qt.classList.add(So.state.active("y")):(Qt.classList.remove(So.state.active("y")),G.scrollbarYHeight=0,G.scrollbarYTop=0,Qt.scrollTop=0)}function Ai(G,Qt){return G.settings.minScrollbarLength&&(Qt=Math.max(Qt,G.settings.minScrollbarLength)),G.settings.maxScrollbarLength&&(Qt=Math.min(Qt,G.settings.maxScrollbarLength)),Qt}var ua=null;function na(G,Qt){var et=Qt[0],te=Qt[1],le=Qt[2],Br=Qt[3],jr=Qt[4],Oo=Qt[5],so=Qt[6],rn=Qt[7],bn=Qt[8],Lo=G.element,In=null,Si=null,Bn=null;function Ti(ri){ri.touches&&ri.touches[0]&&(ri[le]=ri.touches[0]["page"+rn.toUpperCase()]),ua===jr&&(Lo[so]=In+Bn*(ri[le]-Si),io(G,rn),ka(G),ri.stopPropagation(),ri.preventDefault())}function wi(){Yn(G,rn),G[bn].classList.remove(So.state.clicking),document.removeEventListener("mousemove",Ti),document.removeEventListener("mouseup",wi),document.removeEventListener("touchmove",Ti),document.removeEventListener("touchend",wi),ua=null}function qi(ri){null===ua&&(ua=jr,In=Lo[so],ri.touches&&(ri[le]=ri.touches[0]["page"+rn.toUpperCase()]),Si=ri[le],Bn=(G[te]-G[et])/(G[Br]-G[Oo]),ri.touches?(document.addEventListener("touchmove",Ti,{passive:!1}),document.addEventListener("touchend",wi)):(document.addEventListener("mousemove",Ti),document.addEventListener("mouseup",wi)),G[bn].classList.add(So.state.clicking)),ri.stopPropagation(),ri.cancelable&&ri.preventDefault()}G[jr].addEventListener("mousedown",qi),G[jr].addEventListener("touchstart",qi)}var qn={"click-rail":function Zn(G){G.event.bind(G.scrollbarY,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarYRail,"mousedown",function(Qt){var et=Qt.pageY-window.pageYOffset-G.scrollbarYRail.getBoundingClientRect().top;G.element.scrollTop+=(et>G.scrollbarYTop?1:-1)*G.containerHeight,ka(G),Qt.stopPropagation()}),G.event.bind(G.scrollbarX,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarXRail,"mousedown",function(Qt){var et=Qt.pageX-window.pageXOffset-G.scrollbarXRail.getBoundingClientRect().left;G.element.scrollLeft+=(et>G.scrollbarXLeft?1:-1)*G.containerWidth,ka(G),Qt.stopPropagation()})},"drag-thumb":function Mn(G){na(G,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),na(G,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function fi(G){var Qt=G.element;G.event.bind(G.ownerDocument,"keydown",function(Br){if(!(Br.isDefaultPrevented&&Br.isDefaultPrevented()||Br.defaultPrevented)&&(qr(Qt,":hover")||qr(G.scrollbarX,":focus")||qr(G.scrollbarY,":focus"))){var jr=document.activeElement?document.activeElement:G.ownerDocument.activeElement;if(jr){if("IFRAME"===jr.tagName)jr=jr.contentDocument.activeElement;else for(;jr.shadowRoot;)jr=jr.shadowRoot.activeElement;if(function vi(G){return qr(G,"input,[contenteditable]")||qr(G,"select,[contenteditable]")||qr(G,"textarea,[contenteditable]")||qr(G,"button,[contenteditable]")}(jr))return}var Oo=0,so=0;switch(Br.which){case 37:Oo=Br.metaKey?-G.contentWidth:Br.altKey?-G.containerWidth:-30;break;case 38:so=Br.metaKey?G.contentHeight:Br.altKey?G.containerHeight:30;break;case 39:Oo=Br.metaKey?G.contentWidth:Br.altKey?G.containerWidth:30;break;case 40:so=Br.metaKey?-G.contentHeight:Br.altKey?-G.containerHeight:-30;break;case 32:so=Br.shiftKey?G.containerHeight:-G.containerHeight;break;case 33:so=G.containerHeight;break;case 34:so=-G.containerHeight;break;case 36:so=G.contentHeight;break;case 35:so=-G.contentHeight;break;default:return}G.settings.suppressScrollX&&0!==Oo||G.settings.suppressScrollY&&0!==so||(Qt.scrollTop-=so,Qt.scrollLeft+=Oo,ka(G),function le(Br,jr){var Oo=Math.floor(Qt.scrollTop);if(0===Br){if(!G.scrollbarYActive)return!1;if(0===Oo&&jr>0||Oo>=G.contentHeight-G.containerHeight&&jr<0)return!G.settings.wheelPropagation}var so=Qt.scrollLeft;if(0===jr){if(!G.scrollbarXActive)return!1;if(0===so&&Br<0||so>=G.contentWidth-G.containerWidth&&Br>0)return!G.settings.wheelPropagation}return!0}(Oo,so)&&Br.preventDefault())}})},wheel:function Ko(G){var Qt=G.element;function Br(jr){var Oo=function te(jr){var Oo=jr.deltaX,so=-1*jr.deltaY;return(typeof Oo>"u"||typeof so>"u")&&(Oo=-1*jr.wheelDeltaX/6,so=jr.wheelDeltaY/6),jr.deltaMode&&1===jr.deltaMode&&(Oo*=10,so*=10),Oo!=Oo&&so!=so&&(Oo=0,so=jr.wheelDelta),jr.shiftKey?[-so,-Oo]:[Oo,so]}(jr),so=Oo[0],rn=Oo[1];if(!function le(jr,Oo,so){if(!da.isWebKit&&Qt.querySelector("select:focus"))return!0;if(!Qt.contains(jr))return!1;for(var rn=jr;rn&&rn!==Qt;){if(rn.classList.contains(So.element.consuming))return!0;var bn=Cr(rn);if(so&&bn.overflowY.match(/(scroll|auto)/)){var Lo=rn.scrollHeight-rn.clientHeight;if(Lo>0&&(rn.scrollTop>0&&so<0||rn.scrollTop0))return!0}if(Oo&&bn.overflowX.match(/(scroll|auto)/)){var In=rn.scrollWidth-rn.clientWidth;if(In>0&&(rn.scrollLeft>0&&Oo<0||rn.scrollLeft0))return!0}rn=rn.parentNode}return!1}(jr.target,so,rn)){var bn=!1;G.settings.useBothWheelAxes?G.scrollbarYActive&&!G.scrollbarXActive?(rn?Qt.scrollTop-=rn*G.settings.wheelSpeed:Qt.scrollTop+=so*G.settings.wheelSpeed,bn=!0):G.scrollbarXActive&&!G.scrollbarYActive&&(so?Qt.scrollLeft+=so*G.settings.wheelSpeed:Qt.scrollLeft-=rn*G.settings.wheelSpeed,bn=!0):(Qt.scrollTop-=rn*G.settings.wheelSpeed,Qt.scrollLeft+=so*G.settings.wheelSpeed),ka(G),bn=bn||function et(jr,Oo){var so=Math.floor(Qt.scrollTop),rn=0===Qt.scrollTop,bn=so+Qt.offsetHeight===Qt.scrollHeight,Lo=0===Qt.scrollLeft,In=Qt.scrollLeft+Qt.offsetWidth===Qt.scrollWidth;return!(Math.abs(Oo)>Math.abs(jr)?rn||bn:Lo||In)||!G.settings.wheelPropagation}(so,rn),bn&&!jr.ctrlKey&&(jr.stopPropagation(),jr.preventDefault())}}typeof window.onwheel<"u"?G.event.bind(Qt,"wheel",Br):typeof window.onmousewheel<"u"&&G.event.bind(Qt,"mousewheel",Br)},touch:function pa(G){if(da.supportsTouch||da.supportsIePointer){var Qt=G.element,et={startOffset:{},startTime:0,speed:{},easingLoop:null};da.supportsTouch?(G.event.bind(Qt,"touchstart",Oo),G.event.bind(Qt,"touchmove",rn),G.event.bind(Qt,"touchend",bn)):da.supportsIePointer&&(window.PointerEvent?(G.event.bind(Qt,"pointerdown",Oo),G.event.bind(Qt,"pointermove",rn),G.event.bind(Qt,"pointerup",bn)):window.MSPointerEvent&&(G.event.bind(Qt,"MSPointerDown",Oo),G.event.bind(Qt,"MSPointerMove",rn),G.event.bind(Qt,"MSPointerUp",bn)))}function le(Lo,In){Qt.scrollTop-=In,Qt.scrollLeft-=Lo,ka(G)}function Br(Lo){return Lo.targetTouches?Lo.targetTouches[0]:Lo}function jr(Lo){return!(Lo.target===G.scrollbarX||Lo.target===G.scrollbarY||Lo.pointerType&&"pen"===Lo.pointerType&&0===Lo.buttons||!(Lo.targetTouches&&1===Lo.targetTouches.length||Lo.pointerType&&"mouse"!==Lo.pointerType&&Lo.pointerType!==Lo.MSPOINTER_TYPE_MOUSE))}function Oo(Lo){if(jr(Lo)){var In=Br(Lo);et.startOffset.pageX=In.pageX,et.startOffset.pageY=In.pageY,et.startTime=(new Date).getTime(),null!==et.easingLoop&&clearInterval(et.easingLoop)}}function rn(Lo){if(jr(Lo)){var In=Br(Lo),Si={pageX:In.pageX,pageY:In.pageY},Bn=Si.pageX-et.startOffset.pageX,Ti=Si.pageY-et.startOffset.pageY;if(function so(Lo,In,Si){if(!Qt.contains(Lo))return!1;for(var Bn=Lo;Bn&&Bn!==Qt;){if(Bn.classList.contains(So.element.consuming))return!0;var Ti=Cr(Bn);if(Si&&Ti.overflowY.match(/(scroll|auto)/)){var wi=Bn.scrollHeight-Bn.clientHeight;if(wi>0&&(Bn.scrollTop>0&&Si<0||Bn.scrollTop0))return!0}if(In&&Ti.overflowX.match(/(scroll|auto)/)){var qi=Bn.scrollWidth-Bn.clientWidth;if(qi>0&&(Bn.scrollLeft>0&&In<0||Bn.scrollLeft0))return!0}Bn=Bn.parentNode}return!1}(Lo.target,Bn,Ti))return;le(Bn,Ti),et.startOffset=Si;var wi=(new Date).getTime(),qi=wi-et.startTime;qi>0&&(et.speed.x=Bn/qi,et.speed.y=Ti/qi,et.startTime=wi),function te(Lo,In){var Si=Math.floor(Qt.scrollTop),Bn=Qt.scrollLeft,Ti=Math.abs(Lo),wi=Math.abs(In);if(wi>Ti){if(In<0&&Si===G.contentHeight-G.containerHeight||In>0&&0===Si)return 0===window.scrollY&&In>0&&da.isChrome}else if(Ti>wi&&(Lo<0&&Bn===G.contentWidth-G.containerWidth||Lo>0&&0===Bn))return!0;return!0}(Bn,Ti)&&Lo.cancelable&&Lo.preventDefault()}}function bn(){G.settings.swipeEasing&&(clearInterval(et.easingLoop),et.easingLoop=setInterval(function(){G.isInitialized?clearInterval(et.easingLoop):et.speed.x||et.speed.y?Math.abs(et.speed.x)<.01&&Math.abs(et.speed.y)<.01?clearInterval(et.easingLoop):(le(30*et.speed.x,30*et.speed.y),et.speed.x*=.8,et.speed.y*=.8):clearInterval(et.easingLoop)},10))}}},Nn=function(Qt,et){var te=this;if(void 0===et&&(et={}),"string"==typeof Qt&&(Qt=document.querySelector(Qt)),!Qt||!Qt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var le in this.element=Qt,Qt.classList.add(So.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},et)this.settings[le]=et[le];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var bn,rn,Br=function(){return Qt.classList.add(So.state.focus)},jr=function(){return Qt.classList.remove(So.state.focus)};this.isRtl="rtl"===Cr(Qt).direction,!0===this.isRtl&&Qt.classList.add(So.rtl),this.isNegativeScroll=(rn=Qt.scrollLeft,Qt.scrollLeft=-1,bn=Qt.scrollLeft<0,Qt.scrollLeft=rn,bn),this.negativeScrollAdjustment=this.isNegativeScroll?Qt.scrollWidth-Qt.clientWidth:0,this.event=new Fn,this.ownerDocument=Qt.ownerDocument||document,this.scrollbarXRail=Nr(So.element.rail("x")),Qt.appendChild(this.scrollbarXRail),this.scrollbarX=Nr(So.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Br),this.event.bind(this.scrollbarX,"blur",jr),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Oo=Cr(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Oo.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Tn(Oo.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Tn(Oo.borderLeftWidth)+Tn(Oo.borderRightWidth),Er(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Tn(Oo.marginLeft)+Tn(Oo.marginRight),Er(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Nr(So.element.rail("y")),Qt.appendChild(this.scrollbarYRail),this.scrollbarY=Nr(So.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Br),this.event.bind(this.scrollbarY,"blur",jr),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var so=Cr(this.scrollbarYRail);this.scrollbarYRight=parseInt(so.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Tn(so.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function us(G){var Qt=Cr(G);return Tn(Qt.width)+Tn(Qt.paddingLeft)+Tn(Qt.paddingRight)+Tn(Qt.borderLeftWidth)+Tn(Qt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Tn(so.borderTopWidth)+Tn(so.borderBottomWidth),Er(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Tn(so.marginTop)+Tn(so.marginBottom),Er(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Qt.scrollLeft<=0?"start":Qt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Qt.scrollTop<=0?"start":Qt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(rn){return qn[rn](te)}),this.lastScrollTop=Math.floor(Qt.scrollTop),this.lastScrollLeft=Qt.scrollLeft,this.event.bind(this.element,"scroll",function(rn){return te.onScroll(rn)}),ka(this)};Nn.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Er(this.scrollbarXRail,{display:"block"}),Er(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Tn(Cr(this.scrollbarXRail).marginLeft)+Tn(Cr(this.scrollbarXRail).marginRight),this.railYMarginHeight=Tn(Cr(this.scrollbarYRail).marginTop)+Tn(Cr(this.scrollbarYRail).marginBottom),Er(this.scrollbarXRail,{display:"none"}),Er(this.scrollbarYRail,{display:"none"}),ka(this),nn(this,"top",0,!1,!0),nn(this,"left",0,!1,!0),Er(this.scrollbarXRail,{display:""}),Er(this.scrollbarYRail,{display:""}))},Nn.prototype.onScroll=function(Qt){this.isAlive&&(ka(this),nn(this,"top",this.element.scrollTop-this.lastScrollTop),nn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Nn.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),to(this.scrollbarX),to(this.scrollbarY),to(this.scrollbarXRail),to(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Nn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Qt){return!Qt.match(/^ps([-_].+|)$/)}).join(" ")};const ma=Nn;var Vo=r(3726),Va=r(152);let ii=(()=>{class G{constructor(){this._elementRef=(0,s.WQX)(s.aKT),this._platform=(0,s.WQX)(Ce.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new A.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(et){"angorScrollbar"in et&&(this.angorScrollbar=(0,Re.he)(et.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in et&&(this._options=(0,or.A)({},this._options,et.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,Vo.R)(window,"resize").pipe((0,Y.Q)(this._unsubscribeAll),(0,Va.B)(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(et="scroll"){return new Dt(this._elementRef.nativeElement[`${et}Left`],this._elementRef.nativeElement[`${et}Top`],this._elementRef.nativeElement[`${et}Width`],this._elementRef.nativeElement[`${et}Height`])}position(et=!1){return!et&&this._ps?new ne(this._ps.reach.x||0,this._ps.reach.y||0):new ne(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(et,te,le){null==te&&null==le?this.animateScrolling("scrollTop",et,le):(null!=et&&this.scrollToX(et,le),null!=te&&this.scrollToY(te,le))}scrollToX(et,te){this.animateScrolling("scrollLeft",et,te)}scrollToY(et,te){this.animateScrolling("scrollTop",et,te)}scrollToTop(et=0,te){this.animateScrolling("scrollTop",et,te)}scrollToBottom(et=0,te){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-et,te)}scrollToLeft(et=0,te){this.animateScrolling("scrollLeft",et,te)}scrollToRight(et=0,te){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-et,te)}scrollToElement(et,te=0,le=!1,Br){const jr=this._elementRef.nativeElement.querySelector(et);if(!jr)return;const Oo=jr.getBoundingClientRect(),so=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(Oo.left,so.left,"scrollLeft",te,le,Br),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(Oo.top,so.top,"scrollTop",te,le,Br)}animateScrolling(et,te,le){this._animation&&window.cancelAnimationFrame(this._animation),!le||typeof window>"u"?this._elementRef.nativeElement[et]=te:te!==this._elementRef.nativeElement[et]&&this._smoothScroll(et,te,le)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new ma(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(et,te,le,Br,jr,Oo){jr&&et<=te-Math.abs(Br)||this.animateScrolling(le,et-te+this._elementRef.nativeElement[le]+Br,Oo)}_smoothScroll(et,te,le){let Br=0,jr=this._elementRef.nativeElement[et];const Oo=(jr-te)/2;let so=performance.now();const rn=bn=>{Br+=Math.PI/(le/(bn-so));const Lo=Math.round(te+Oo+Oo*Math.cos(Br));this._elementRef.nativeElement[et]===jr&&(Br>=Math.PI?this.animateScrolling(et,te,0):(this._elementRef.nativeElement[et]=Lo,jr=this._elementRef.nativeElement[et],so=bn,this._animation=window.requestAnimationFrame(rn)))};window.requestAnimationFrame(rn)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275dir=s.FsC({type:G,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[s.OA$]})}}return G})();var mi=r(9969),Qi=r(7987),ps=r(7786),ba=r(1986);const za=["navigationContent"],hi=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Jo=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],On=G=>({wheelPropagation:G,suppressScrollX:!0}),ia=()=>({wheelPropagation:!1,suppressScrollX:!0});function bi(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"angor-vertical-navigation-aside-item",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG(2).$implicit,Br=s.XpG();return s.Njj(Br.toggleAside(le))}),s.k0s()}if(2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("activeItemId",te.activeAsideItemId)("autoCollapse",te.autoCollapse)("skipChildren",!0)}}function es(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Vn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function xi(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function ci(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Ui(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Jn(G,Qt){if(1&G&&s.DNE(0,bi,1,5,"angor-vertical-navigation-aside-item",7)(1,es,1,2,"angor-vertical-navigation-basic-item",8)(2,Vn,1,3,"angor-vertical-navigation-collapsable-item",9)(3,xi,1,2,"angor-vertical-navigation-divider-item",8)(4,ci,1,3,"angor-vertical-navigation-group-item",9)(5,Ui,1,2,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG().$implicit;s.vxM("aside"===et.type?0:-1),s.R7$(),s.vxM("basic"===et.type?1:-1),s.R7$(),s.vxM("collapsable"===et.type?2:-1),s.R7$(),s.vxM("divider"===et.type?3:-1),s.R7$(),s.vxM("group"===et.type?4:-1),s.R7$(),s.vxM("spacer"===et.type?5:-1)}}function aa(G,Qt){if(1&G&&s.DNE(0,Jn,6,6),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Ni(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function wa(G,Qt){if(1&G&&s.DNE(0,Ni,1,3,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG().$implicit,te=s.XpG(2);s.vxM("aside"===et.type&&et.id===te.activeAsideItemId?0:-1)}}function rs(G,Qt){if(1&G&&s.DNE(0,wa,1,1),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function _i(G,Qt){if(1&G&&(s.j41(0,"div",6),s.Z7z(1,rs,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("angorScrollbarOptions",s.lJ4(5,ia))("@fadeInLeft","left"===et.position)("@fadeInRight","right"===et.position)("@fadeOutLeft","left"===et.position)("@fadeOutRight","right"===et.position),s.R7$(),s.Dyx(et.navigation)}}let os=(()=>{class G{constructor(){this._animationBuilder=(0,s.WQX)(mi.S6),this._changeDetectorRef=(0,s.WQX)(s.gRc),this._document=(0,s.WQX)(I.qQ),this._elementRef=(0,s.WQX)(s.aKT),this._renderer2=(0,s.WQX)(s.sFG),this._router=(0,s.WQX)(L.Ix),this._scrollStrategyOptions=(0,s.WQX)(Qi.Tv),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new s.bkB,this.modeChanged=new s.bkB,this.openedChanged=new s.bkB,this.positionChanged=new s.bkB,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new k.m(1),this.onCollapsableItemExpanded=new k.m(1),this.onRefreshed=new k.m(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new A.B,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":"over"===this.mode,"angor-vertical-navigation-mode-side":"side"===this.mode,"angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":"left"===this.position,"angor-vertical-navigation-position-right":"right"===this.position}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(et){this._angorScrollbarDirectives=et,0!==et.length&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=(0,ps.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,Y.Q)(this._unsubscribeAll),(0,ba.c)(250)).subscribe(()=>{et.forEach(te=>{te.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(et){if("appearance"in et&&this.appearanceChanged.next(et.appearance.currentValue),"inner"in et&&(this.inner=(0,Re.he)(et.inner.currentValue)),"mode"in et){const te=et.mode.currentValue,le=et.mode.previousValue;this._disableAnimations(),"over"===le&&"side"===te&&this._hideOverlay(),"side"===le&&"over"===te&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(te),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in et&&this._changeDetectorRef.markForCheck(),"opened"in et&&(this.opened=(0,Re.he)(et.opened.currentValue),this._toggleOpened(this.opened)),"position"in et&&this.positionChanged.next(et.position.currentValue),"transparentOverlay"in et&&(this.transparentOverlay=(0,Re.he)(et.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{"over"===this.mode&&this.opened&&this.close(),"side"===this.mode&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(et=>{et.forEach(te=>{const le=te.target;if("class"===te.attributeName)if(le.classList.contains("cdk-global-scrollblock")){const Br=parseInt(le.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Br)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(et=>{et.isEnabled()&&et.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{const et=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");et&&et.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(et){et.disabled||!et.id||(this.activeAsideItemId=et.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(et){this.activeAsideItemId===et.id?this.closeAside():this.openAside(et)}trackByFn(et,te){return te.id||et}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(et){this.opened=et,this._enableAnimations(),"over"===this.mode&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(et)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation"]],viewQuery:function(te,le){if(1&te&&(s.GBs(za,5),s.GBs(ii,5)),2&te){let Br;s.mGM(Br=s.lsd())&&(le._navigationContentEl=Br.first),s.mGM(Br=s.lsd())&&(le.angorScrollbarDirectives=Br)}},hostVars:4,hostBindings:function(te,le){1&te&&s.bIt("mouseenter",function(){return le._onMouseenter()})("mouseleave",function(){return le._onMouseleave()}),2&te&&(s.Aen(le.styleList),s.HbH(le.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[s.OA$,s.aNF],ngContentSelectors:Jo,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(te,le){1&te&&(s.NAR(hi),s.j41(0,"div",1)(1,"div",2),s.SdG(2),s.k0s(),s.j41(3,"div",3,0)(5,"div",4),s.SdG(6,1),s.k0s(),s.Z7z(7,aa,1,1,null,null,le.trackByFn,!0),s.k0s(),s.j41(9,"div",5),s.SdG(10,2),s.k0s()(),s.DNE(11,_i,3,6,"div",6)),2&te&&(s.R7$(3),s.Y8G("angorScrollbarOptions",s.eq3(2,On,le.inner)),s.R7$(4),s.Dyx(le.navigation),s.R7$(4),s.vxM(le.activeAsideItemId?11:-1))},dependencies:[ii,Gt,re,Ke,qt,me,Pt],styles:[':root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)}\n'],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})()},9097:(i,a,r)=>{"use strict";r.d(a,{t:()=>s});const s=new(r(4438).nKC)("ANGOR_APP_CONFIG")},881:(i,a,r)=>{"use strict";r.d(a,{P:()=>k});var o=r(9097),s=r(4438),c=r(2401),y=r(4412);let k=(()=>{class A{constructor(){this._defaultConfig=(0,s.WQX)(o.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(M){const T=(0,c.A)({},this._configSubject.getValue(),M);this._configSubject.next(T)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},9979:(i,a,r)=>{"use strict";r.d(a,{m:()=>tt});var o=r(177),s=r(4438),c=r(8834),y=r(5351),k=r(9213);const A=(vt,Mt,$t,St,kt,nt,at,rt)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":vt,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Mt,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":$t,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":St,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":kt,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":nt,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":at,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":rt});function I(vt,Mt){1&vt&&(s.j41(0,"div",1)(1,"button",6),s.nrm(2,"mat-icon",7),s.k0s()()),2&vt&&(s.R7$(),s.Y8G("matDialogClose",void 0),s.R7$(),s.Y8G("svgIcon","heroicons_outline:x-mark"))}function M(vt,Mt){if(1&vt&&(s.j41(0,"div",3),s.nrm(1,"mat-icon",8),s.k0s()),2&vt){const $t=s.XpG();s.Y8G("ngClass",s.lV(2,A,"primary"===$t.data.icon.color,"accent"===$t.data.icon.color,"warn"===$t.data.icon.color,"basic"===$t.data.icon.color,"info"===$t.data.icon.color,"success"===$t.data.icon.color,"warning"===$t.data.icon.color,"error"===$t.data.icon.color)),s.R7$(),s.Y8G("svgIcon",$t.data.icon.name)}}function T(vt,Mt){if(1&vt&&s.nrm(0,"div",9),2&vt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.title,s.npT)}}function O(vt,Mt){if(1&vt&&s.nrm(0,"div",10),2&vt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.message,s.npT)}}function L(vt,Mt){if(1&vt&&(s.j41(0,"div",4),s.DNE(1,T,1,1,"div",9)(2,O,1,1,"div",10),s.k0s()),2&vt){const $t=s.XpG();s.R7$(),s.vxM($t.data.title?1:-1),s.R7$(),s.vxM($t.data.message?2:-1)}}function Y(vt,Mt){if(1&vt&&(s.j41(0,"button",11),s.EFF(1),s.k0s()),2&vt){const $t=s.XpG(2);s.Y8G("matDialogClose","cancelled"),s.R7$(),s.SpI(" ",$t.data.actions.cancel.label," ")}}function z(vt,Mt){if(1&vt&&(s.j41(0,"button",12),s.EFF(1),s.k0s()),2&vt){const $t=s.XpG(2);s.Y8G("color",$t.data.actions.confirm.color)("matDialogClose","confirmed"),s.R7$(),s.SpI(" ",$t.data.actions.confirm.label," ")}}function q(vt,Mt){if(1&vt&&(s.j41(0,"div",5),s.DNE(1,Y,2,2,"button",11)(2,z,2,3,"button",12),s.k0s()),2&vt){const $t=s.XpG();s.R7$(),s.vxM($t.data.actions.cancel.show?1:-1),s.R7$(),s.vxM($t.data.actions.confirm.show?2:-1)}}let ct=(()=>{class vt{constructor(){this.data=(0,s.WQX)(y.Vh)}static{this.\u0275fac=function(St){return new(St||vt)}}static{this.\u0275cmp=s.VBU({type:vt,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[s.aNF],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(St,kt){1&St&&(s.j41(0,"div",0),s.DNE(1,I,3,2,"div",1),s.j41(2,"div",2),s.DNE(3,M,2,11,"div",3)(4,L,3,2,"div",4),s.k0s(),s.DNE(5,q,3,2,"div",5),s.k0s()),2&St&&(s.R7$(),s.vxM(kt.data.dismissible?1:-1),s.R7$(2),s.vxM(kt.data.icon.show?3:-1),s.R7$(),s.vxM(kt.data.title||kt.data.message?4:-1),s.R7$(),s.vxM(kt.data.actions.confirm.show||kt.data.actions.cancel.show?5:-1))},dependencies:[c.Hl,c.$z,c.iY,y.hM,y.tx,k.m_,k.An,o.YU],styles:["@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important}\n"],encapsulation:2})}}return vt})();var dt=r(2401);let tt=(()=>{class vt{constructor(){this._matDialog=(0,s.WQX)(y.bZ),this._defaultConfig={title:"Confirm action",message:"Are you sure you want to confirm this action?",icon:{show:!0,name:"heroicons_outline:exclamation-triangle",color:"warn"},actions:{confirm:{show:!0,label:"Confirm",color:"warn"},cancel:{show:!0,label:"Cancel"}},dismissible:!1}}open($t={}){const St=(0,dt.A)({},this._defaultConfig,$t);return this._matDialog.open(ct,{autoFocus:!1,disableClose:!St.dismissible,data:St,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(St){return new(St||vt)}}static{this.\u0275prov=s.jDH({token:vt,factory:vt.\u0275fac,providedIn:"root"})}}return vt})()},4977:(i,a,r)=>{"use strict";r.d(a,{l:()=>M});var o=r(881),s=r(9327),c=r(4438),y=r(7680),k=r(2771),A=r(6354),I=r(5558);let M=(()=>{class T{constructor(){this._breakpointObserver=(0,c.WQX)(s.QP),this._angorConfigService=(0,c.WQX)(o.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,A.T)(L=>(0,y.A)(Object.entries(L.screens).map(([Y,z])=>[Y,`(min-width: ${z})`]))),(0,I.n)(L=>this._breakpointObserver.observe(Object.values(L)).pipe((0,A.T)(Y=>{const z=[],q={},ct=Object.entries(Y.breakpoints).filter(([dt,tt])=>tt)??[];for(const[dt]of ct){const tt=Object.entries(L).find(([vt,Mt])=>Mt===dt)[0];tt&&(z.push(tt),q[tt]=dt)}this._onMediaChange.next({matchingAliases:z,matchingQueries:q})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(L){return this._breakpointObserver.observe(L)}static{this.\u0275fac=function(Y){return new(Y||T)}}static{this.\u0275prov=c.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},7209:(i,a,r)=>{"use strict";r.d(a,{Q:()=>s});var o=r(4438);let s=(()=>{class c{get exactMatchOptions(){return{paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"}}get subsetMatchOptions(){return{paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"}}randomId(k=10){let I="";for(let M=0;M<10;M++)I+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return I}static{this.\u0275fac=function(A){return new(A||c)}}static{this.\u0275prov=o.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},2332:(i,a,r)=>{"use strict";r.d(a,{v:()=>y});var o=r(6616),s=r(1413),c=r(4438);let y=(()=>{class k{constructor(){this.publicKeySubject=new s.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,o.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(I,M)=>{this.handleAuthSuccess(I,M)}})}setupEventListeners(){document.addEventListener("nlAuth",this.handleNlAuthEvent.bind(this)),document.addEventListener("nlLogout",this.handleNlLogoutEvent.bind(this)),document.addEventListener("nlDarkMode",this.handleNlDarkModeEvent.bind(this)),document.addEventListener("nlLaunch",this.handleNlLaunchEvent.bind(this))}handleNlLogoutEvent(){console.log("Logout event detected"),this.handleLogout()}handleNlAuthEvent(I){const{type:M,pubkey:T,options:O}=I.detail;switch(M){case"login":console.log("User logged in:",T),this.handleAuthSuccess(T,O);break;case"signup":console.log("User signed up:",T),this.handleSignupSuccess(T,O);break;case"logout":console.log("User logged out"),this.handleLogout();break;case"switch-account":console.log("User switched account:",T),this.handleAccountSwitch(T,O);break;default:console.warn("Unknown nlAuth event type:",M)}this.previousPublicKey&&this.previousPublicKey!==T&&(console.log("Account switched to:",T),this.handleAccountSwitch(T,O)),this.previousPublicKey=T}handleAuthSuccess(I,M){console.log("Authenticated successfully with public key:",I),this.publicKeySubject.next(I)}handleSignupSuccess(I,M){console.log("Signup successful with public key:",I),this.publicKeySubject.next(I)}handleAccountSwitch(I,M){console.log("Account switched to:",I),this.publicKeySubject.next(I),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(I){const M=I.detail;console.log("Dark mode changed to:",M?"enabled":"disabled"),this.updateDarkMode(M)}handleNlLaunchEvent(I){const M=I.detail||"welcome";console.log(`Launching Nostr login screen: ${M}`),this.launchScreen(M)}launchScreen(I){(0,o.ql)(I)}updateDarkMode(I){document.body.classList.toggle("dark-mode",I),console.log("Dark mode is now "+(I?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,o.ql)("welcome")}launchSignupScreen(){(0,o.ql)("welcome-signup")}launchLoginScreen(){(0,o.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(I){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:I}))}static{this.\u0275fac=function(M){return new(M||k)}}static{this.\u0275prov=c.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},6231:(i,a,r)=>{"use strict";r.d(a,{b:()=>A});var o=r(467),s=r(719),c=r(4412),y=r(1413),k=r(4438);let A=(()=>{class I{constructor(){this.pool=new s.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new c.t(null),this.relaysSubject=new c.t([]),this.destroy$=new y.B,this.initializeRelays(),this.setupVisibilityHandling()}initializeRelays(){this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const T=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return T.length>0?T.map(L=>({...L,connected:!1,retries:0,retryTimeout:null,ws:void 0})):[{url:"wss://relay.primal.net",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.damus.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"}]}saveRelaysToLocalStorage(){const T=this.relays.map(({url:O,accessType:L,connected:Y,retries:z,retryTimeout:q})=>({url:O,accessType:L,connected:Y,retries:z,retryTimeout:q}));localStorage.setItem("nostrRelays",JSON.stringify(T)),this.relaysSubject.next(this.relays)}connectToRelay(T){T.connected||(T.ws=new WebSocket(T.url),T.ws.onopen=()=>{T.connected=!0,T.retries=0,clearTimeout(T.retryTimeout),this.saveRelaysToLocalStorage()},T.ws.onerror=()=>this.handleRelayError(T),T.ws.onclose=()=>{T.connected=!1,this.handleRelayError(T)},T.ws.onmessage=({data:O})=>{try{const L=JSON.parse("string"==typeof O?O:O.toString("utf-8"));this.eventSubject.next(L)}catch(L){console.warn("Error parsing WebSocket message:",L)}})}handleRelayError(T){T.retries>=this.maxRetries?console.warn(`Max retries reached for relay: ${T.url}. No further attempts will be made.`):(T.retries++,T.retryTimeout=setTimeout(()=>this.connectToRelay(T),this.retryDelay*T.retries))}connectToRelays(){this.relays.forEach(T=>!T.connected&&this.connectToRelay(T))}ensureConnectedRelays(){var T=this;return(0,o.A)(function*(){return T.connectToRelays(),new Promise(O=>{const L=()=>{T.getConnectedRelays().length>0?O():setTimeout(L,1e3)};L()})})()}setupVisibilityHandling(){typeof document<"u"&&document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&this.connectToRelays()}),typeof window<"u"&&window.addEventListener("beforeunload",()=>{this.relays.forEach(T=>T.ws?.close())})}getConnectedRelays(){return this.relays.filter(T=>T.connected).map(T=>T.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(T){var O=this;return(0,o.A)(function*(){const L=O.relays.filter(Y=>["write","read-write"].includes(Y.accessType)&&Y.connected);if(!L.length)throw new Error("No connected write relays available");try{return yield Promise.any(L.map(Y=>O.pool.publish([Y.url],T))),O.eventSubject.next(T),T}catch(Y){throw console.error("Failed to publish event to relays:",Y),Y}})()}addRelay(T,O="read-write"){if(!this.relays.some(L=>L.url===T)){const L={url:T,connected:!1,retries:0,retryTimeout:null,accessType:O};this.relays.push(L),this.connectToRelay(L),this.saveRelaysToLocalStorage()}}removeRelay(T){const O=this.relays.find(L=>L.url===T);O&&(O.ws?.close(),clearTimeout(O.retryTimeout)),this.relays=this.relays.filter(L=>L.url!==T),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const T=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays.forEach(O=>{T.includes(O.url)||(O.ws?.close(),clearTimeout(O.retryTimeout))}),this.relays=this.relays.filter(O=>T.includes(O.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(T,O){const L=this.relays.find(Y=>Y.url===T);L&&(L.accessType=O,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},4930:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var o=r(467),s=r(5766),c=r(7292),y=r(3838),k=r(719),M=(r(6391),r(5693),r(9673)),T=r(9608),tt=r(4438),vt=r(3813);let Mt=(()=>{class nt{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey(rt){var yt=this;return(0,o.A)(function*(){return window.crypto.subtle.importKey("raw",yt.encoder.encode(rt),"PBKDF2",!1,["deriveKey"])})()}deriveKey(rt,yt,Ct){return(0,o.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:yt,iterations:25e4,hash:"SHA-256"},rt,{name:"AES-GCM",length:256},!1,Ct)})()}encryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=window.crypto.getRandomValues(new Uint8Array(16)),Xt=window.crypto.getRandomValues(new Uint8Array(12)),oe=yield Ct.getPasswordKey(yt),Xe=yield Ct.deriveKey(oe,Vt,["encrypt"]),kr=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:Xt},Xe,Ct.encoder.encode(rt))),gr=new Uint8Array(Vt.length+Xt.length+kr.length);return gr.set(Vt,0),gr.set(Xt,Vt.length),gr.set(kr,Vt.length+Xt.length),vt.K3.encode(gr)}catch(Vt){throw console.error("Encryption failed:",Vt),new Error("Failed to encrypt data.")}})()}decryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=vt.K3.decode(rt),Xt=Vt.slice(0,16),oe=Vt.slice(16,28),Xe=Vt.slice(28),kr=yield Ct.getPasswordKey(yt),gr=yield Ct.deriveKey(kr,Xt,["decrypt"]),wr=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:oe},gr,Xe);return Ct.decoder.decode(wr)}catch(Vt){throw console.error("Decryption failed:",Vt),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var $t=r(5351),St=r(2332);let kt=(()=>{class nt{constructor(rt,yt,Ct){this.securityService=rt,this.dialog=yt,this._nostrLoginService=Ct,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword(rt,yt){const Ct=Date.now()+60*yt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:rt,expirationTime:Ct}))}getPassword(){const rt=sessionStorage.getItem(this.storageKey);if(!rt)return null;const{password:yt,expirationTime:Ct}=JSON.parse(rt);return Date.now()>Ct?(this.clearPassword(),null):yt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword(rt,yt,Ct){var Vt=this;return(0,o.A)(function*(){try{const Xt=yield Vt.getSecretKey(rt);if(!Xt)throw new Error("Incorrect current password.");yield Vt.setSecretKey(Xt,yt);const oe=yield Vt.getNsec(rt);return oe&&(yield Vt.setNsec(oe,yt)),Vt.clearPassword(),Ct&&Vt.savePassword(yt,60),!0}catch(Xt){return console.error("Failed to change password: ",Xt),!1}})()}getUsername(rt){return rt.startsWith("npub")&&(rt=k.Qe.decode(rt).data.toString()),`@${localStorage.getItem(`${rt}`)||k.Qe.npubEncode(rt)}`}npub(){let rt=this.getPublicKey();return k.Qe.npubEncode(rt)}requestPassword(){var rt=this;return(0,o.A)(function*(){return rt.dialog.open(c.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec(rt){var yt=this;return(0,o.A)(function*(){if(yt.usingSecretKey()){let Ct=yield yt.getSecretKey(rt);const Vt=Uint8Array.from(y.hp.from(Ct,"hex"));return k.Qe.nsecEncode(Vt)}return""})()}pubkey(rt){return k.Qe.decode(rt).data.toString()}setPublicKey(rt){const yt=k.Qe.npubEncode(rt);window.localStorage.setItem(this.localStoragePublicKeyName,rt),window.localStorage.setItem(this.localStorageNpubName,yt)}getPublicKey(){const rt=localStorage.getItem("__nostrlogin_nip46");if(rt)try{return JSON.parse(rt).pubkey||""}catch(yt){console.error("Error parsing nostr login data:",yt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub(rt){localStorage.setItem(this.localStorageNpubName,rt)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageSecretKeyName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageSecretKeyName,Vt),localStorage.setItem("usePassword","true")}})()}getSecretKey(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageSecretKeyName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}getDecryptedSecretKey(){var rt=this;return(0,o.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return rt.getSecretKey();const Ct=rt.getPassword();if(Ct)return yield rt.getSecretKey(Ct);const Vt=yield rt.requestPassword();if(Vt?.password){const Xt=yield rt.getSecretKey(Vt.password);return 0!==Vt.duration&&rt.savePassword(Vt.password,Vt.duration),Xt}return console.error("Password not provided"),null}catch(yt){return console.error("Error decrypting private key:",yt),null}})()}setNsec(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageNsecName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageNsecName,Vt),localStorage.setItem("usePassword","true")}})()}getNsec(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageNsecName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}setPublicKeyFromExtension(rt){this.setPublicKey(rt)}handleLoginWithKey(rt,yt=""){let Ct,Vt,Xt,oe;try{if(rt.startsWith(this.localStorageNsecName)){const kr=k.Qe.decode(rt);if(kr.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");Ct=y.hp.from(kr.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test(rt))throw new Error("Invalid key format. Must be either nsec or hex.");Ct=rt}const Xe=new Uint8Array(y.hp.from(Ct,"hex"));return Vt=(0,k.lG)(Xe),oe=k.Qe.npubEncode(Vt),Xt=k.Qe.nsecEncode(Xe),this.setSecretKey(Ct,yt),this.setNsec(oe,yt),this.setPublicKey(Vt),this.setNpub(oe),!0}catch(Xe){return console.error("Error during key handling: ",Xe),!1}}handleLoginWithMnemonic(rt,yt="",Ct=""){try{const Xt=function L(nt,at,rt=0){let Ct=T.c.fromMasterSeed((0,M.kw)(nt,at)).derive(`m/44'/1237'/${rt}'/0/0`).privateKey;if(!Ct)throw new Error("could not derive private key");return Ct}(rt,yt,0),oe=(0,s.My)(Xt),Xe=(0,k.lG)(Xt),kr=k.Qe.npubEncode(Xe),gr=k.Qe.nsecEncode(Xt);return this.setSecretKey(oe,Ct),this.setNsec(gr,Ct),this.setPublicKey(Xe),this.setNpub(kr),window.localStorage.setItem(this.localStorageNsecName,gr),!0}catch(Vt){return console.error("Error during login with mnemonic:",Vt),!1}}logout(){window.localStorage.removeItem(this.localStorageSecretKeyName),window.localStorage.removeItem(this.localStoragePublicKeyName),window.localStorage.removeItem(this.localStorageNpubName),window.localStorage.removeItem(this.localStorageNsecName),this._nostrLoginService.logout()}usingNostrBrowserExtension(){return!this.usingSecretKey()&&!!globalThis.nostr}usingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}generateAndStoreKeys(rt=""){try{const yt=(0,k.Bq)(),Ct=y.hp.from(yt).toString("hex"),Vt=(0,k.lG)(yt),Xt=k.Qe.npubEncode(Vt),oe=k.Qe.nsecEncode(yt);return this.setSecretKey(Ct,rt),this.setNsec(oe,rt),this.setPublicKey(Vt),this.setNpub(Xt),{secretKey:Ct,pubkey:Vt,npub:Xt,nsec:oe}}catch(yt){return console.error("Error during key generation:",yt),null}}handleLoginWithExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(!yt.nostr)return!1;try{const Ct=yield yt.nostr.getPublicKey();if(!Ct)throw new Error("Public key not available from Nostr extension.");return rt.setPublicKeyFromExtension(Ct),!0}catch(Ct){return console.error("Failed to connect to Nostr extension:",Ct),!1}})()}encryptMessage(rt,yt,Ct){return(0,o.A)(function*(){console.log(Ct);try{return yield k.sh.encrypt(rt,yt,Ct)}catch(Vt){throw console.error("Error encrypting message:",Vt),Vt}})()}encryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){return yield globalThis.nostr.nip04.encrypt(yt,rt)})()}decryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&"function"==typeof Ct.nostr.nip04?.decrypt)try{return yield Ct.nostr.nip04.decrypt(rt,yt)}catch(Vt){return console.error("Decryption failed:",Vt),"*Failed to decrypt content: "+Vt.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage(rt,yt,Ct){return(0,o.A)(function*(){try{if(!rt||!yt||!Ct)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const Vt=yield k.sh.decrypt(rt,yt,Ct);if(!Vt)throw new Error("Decryption returned an empty message.");return Vt}catch(Vt){throw Vt}})()}getUnsignedEvent(rt,yt,Ct){return{kind:rt,pubkey:this.getPublicKey(),tags:yt,content:Ct,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent(rt,yt){const Ct=(0,s.aT)(yt);return(0,k.pC)(rt,Ct)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags(rt){let yt=[];rt.forEach(Ct=>{yt.push(Ct[1])}),this.setMuteList(yt)}setMuteList(rt){if(0===rt.length)localStorage.setItem("muteList","");else{let yt=Array.from(new Set(rt));localStorage.setItem("muteList",yt.filter(Ct=>Ct).join(","))}}signEventWithExtension(rt){return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr)return yield yt.nostr.signEvent(rt);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&Ct.nostr.nip04?.encrypt)return yield Ct.nostr.nip04.encrypt(rt,yt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr&&yt.nostr.getPublicKey)try{return!localStorage.getItem(rt.localStorageSecretKeyName)}catch(Ct){return console.error("Failed to check Nostr extension:",Ct),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey(rt){try{return k.Qe.npubEncode(rt)}catch(yt){return console.error("Error converting hex to npub:",yt),""}}getNsecFromSeckey(rt){try{const yt=Uint8Array.from(y.hp.from(rt,"hex"));return k.Qe.nsecEncode(yt)}catch(yt){return console.error("Error converting hex to nsec:",yt),""}}static{this.\u0275fac=function(yt){return new(yt||nt)(tt.KVO(Mt),tt.KVO($t.bZ),tt.KVO(St.v))}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})()},2083:(i,a,r)=>{"use strict";r.d(a,{d:()=>A});var o=r(467),s=r(8418),c=r(4438),y=r(5645),k=r(7291);let A=(()=>{class I{constructor(T,O){this.subscriptionService=T,this.storageService=O,this.isProfileLoaded=!1}loadUserProfile(T){var O=this;return(0,o.A)(function*(){O.isProfileLoaded||(yield O.subscribeToUserProfile(T),yield O.subscribeToUserContacts(T),yield O.subscribeToUserChats(T),yield O.subscribeToUserPosts(T),O.isProfileLoaded=!0)})()}subscribeToUserProfile(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("users"),Y={kinds:[0],authors:[T],limit:1};L&&(Y.since=parseInt(L,10)),O.subscriptionService.addSubscriptions([Y],z=>{const q=O.parseMetadataEvent(z);O.storageService.saveProfile(T,q)})})()}subscribeToUserContacts(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("contacts"),Y=[{kinds:[s.In],authors:[T]},{kinds:[s.In],"#p":[T]}];if(L){const z=parseInt(L,10);Y.forEach(q=>q.since=z)}O.subscriptionService.addSubscriptions(Y,z=>{O.storageService.saveContacts(T,[{id:z.id,pubkey:z.pubkey,created_at:z.created_at,tags:z.tags,isFollower:z.pubkey===T}])})})()}subscribeToUserChats(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("chats"),Y=[{kinds:[s.rV],authors:[T],limit:300},{kinds:[s.rV],"#p":[T],limit:300}];if(L){const z=parseInt(L,10);Y.forEach(q=>q.since=z)}else O.storageService.removeAllChats();O.subscriptionService.addSubscriptions(Y,z=>{const q=O.parseChatEvent(z);O.storageService.saveChatEvent(q)})})()}subscribeToUserPosts(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("posts"),Y={kinds:[1],authors:[T]};L&&(Y.since=parseInt(L,10)),O.subscriptionService.addSubscriptions([Y],z=>{O.isReply(z)||O.storageService.savePost(z)})})()}isReply(T){return T.tags.filter(L=>"e"===L[0]||"p"===L[0]).length>0}parseMetadataEvent(T){try{return JSON.parse(T.content)}catch(O){return console.error("Error parsing metadata event:",O),null}}parseChatEvent(T){try{const O=T.content.split("?iv=");return{id:T.id,kind:T.kind,pubkey:T.pubkey,created_at:T.created_at,tags:T.tags,content:O[0],iv:O[1],IsRead:!1}}catch(O){return console.error("Error parsing chat event:",O),null}}static{this.\u0275fac=function(O){return new(O||I)(c.KVO(y.n),c.KVO(k.n))}}static{this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},7291:(i,a,r)=>{"use strict";r.d(a,{n:()=>A});var o=r(467),s=r(119),c=r.n(s),y=r(4412),k=r(4438);let A=(()=>{class I{constructor(){this.profileSubject=new y.t(null),this.projectsSubject=new y.t([]),this.projectStatsSubject=new y.t({}),this.chatEventsSubject=new y.t([]),this.unreadChatCountSubject=new y.t(0),this.contactsSubject=new y.t({pubKey:"",contacts:[]}),this.postsSubject=new y.t(null),this.myLikesSubject=new y.t([]),this.notificationsSubject=new y.t([]),this.contactStatsSubject=new y.t({totalContacts:0,followersCount:0,followingCount:0}),this.contactStatsMap={},this.profileStore=this.createStore("profiles"),this.updateHistoryStore=this.createStore("updateHistory"),this.contactsStore=this.createStore("contacts"),this.chatsStore=this.createStore("chats"),this.postsStore=this.createStore("posts"),this.myLikesStore=this.createStore("myLikes"),this.notificationsStore=this.createStore("notifications"),this.projectsStore=this.createStore("projects"),this.projectStatsStore=this.createStore("projectStats"),this.loadAllProjectsFromDB(),this.loadAllProjectStatsFromDB(),this.loadAllContactsFromDB(),this.loadAllChatEventsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB(),this.calculateAndStoreAllContactStats()}createStore(T){return c().createInstance({driver:c().INDEXEDDB,name:"angor-hub",version:1,storeName:T})}get profile$(){return this.profileSubject.asObservable()}get projects$(){return this.projectsSubject.asObservable()}get projectStats$(){return this.projectStatsSubject.asObservable()}get chatEvents$(){return this.chatEventsSubject.asObservable()}get unreadChatCount$(){return this.unreadChatCountSubject.asObservable()}get contacts$(){return this.contactsSubject.asObservable()}get posts$(){return this.postsSubject.asObservable()}get contactStats$(){return this.contactStatsSubject.asObservable()}get myLikes$(){return this.myLikesSubject.asObservable()}get notifications$(){return this.notificationsSubject.asObservable()}saveContacts(T,O){var L=this;return(0,o.A)(function*(){try{const Y=[];for(const z of O){const q=`${T}:${z.id}`;yield L.contactsStore.setItem(q,z),Y.push(z)}L.contactsSubject.next({pubKey:T,contacts:Y}),yield L.calculateAndStoreAllContactStats(),yield L.setUpdateHistory("contacts")}catch(Y){console.error("Error saving contacts:",Y)}})()}calculateAndStoreAllContactStats(){var T=this;return(0,o.A)(function*(){try{const O={};yield T.contactsStore.iterate((L,Y)=>{const[z]=Y.split(":");O[z]||(O[z]={totalContacts:0,followersCount:0,followingCount:0}),O[z].totalContacts++,L.isFollower?O[z].followersCount++:O[z].followingCount++});for(const L in O)T.contactStatsMap[L]||(T.contactStatsMap[L]=new y.t({pubKey:L,totalContacts:0,followersCount:0,followingCount:0})),T.contactStatsMap[L].next({pubKey:L,totalContacts:O[L].totalContacts,followersCount:O[L].followersCount,followingCount:O[L].followingCount})}catch(O){console.error("Error calculating and storing contact stats:",O)}})()}getContactStats$(T){return this.contactStatsMap[T]||(this.contactStatsMap[T]=new y.t({pubKey:T,totalContacts:0,followersCount:0,followingCount:0}),this.calculateAndStoreAllContactStats()),this.contactStatsMap[T].asObservable()}getAllContactsPaginated(T,O,L){var Y=this;return(0,o.A)(function*(){try{const z=[];yield Y.contactsStore.iterate((tt,vt)=>{const[Mt]=vt.split(":");Mt===T&&z.push(tt)});const q=z.length,ct=(O-1)*L;return{contacts:z.slice(ct,ct+L),totalCount:q}}catch(z){return console.error("Error retrieving paginated contacts for pubKey:",z),{contacts:[],totalCount:0}}})()}getAllContacts(T=""){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.contactsStore.iterate((Y,z)=>{const[q,ct]=z.split(":");(""===T||q===T)&&L.push({pubKey:q,contact:Y})}),L}catch(L){return console.error("Error retrieving contacts:",L),[]}})()}getContactStats(T){var O=this;return(0,o.A)(function*(){try{let L=0,Y=0,z=0;return yield O.contactsStore.iterate((q,ct)=>{const[dt,tt]=ct.split(":");dt===T&&(L++,q.isFollower?Y++:z++)}),{totalContacts:L,followersCount:Y,followingCount:z}}catch(L){return console.error("Error retrieving contact stats for pubKey:",L),{totalContacts:0,followersCount:0,followingCount:0}}})()}removeAllContacts(T){var O=this;return(0,o.A)(function*(){try{const L=[];yield O.contactsStore.iterate((Y,z)=>{const[q]=z.split(":");q===T&&L.push(z)});for(const Y of L)yield O.contactsStore.removeItem(Y);yield O.contactsStore.clear(),O.contactStatsSubject.next({totalContacts:0,followersCount:0,followingCount:0}),O.contactsSubject.next({pubKey:T,contacts:[]}),yield O.setUpdateHistory("contacts")}catch(L){console.error("Error removing all contacts for pubKey:",L)}})()}saveProfile(T,O){var L=this;return(0,o.A)(function*(){try{if(!T||!O)return void console.error("Invalid pubKey or metadata:",T,O);O.pubKey=T,yield L.profileStore.setItem(T,O),L.profileSubject.next({pubKey:T,metadata:O}),yield L.setUpdateHistory("profiles")}catch(Y){console.error("Error saving profile",Y)}})()}getProfile(T){var O=this;return(0,o.A)(function*(){try{return(yield O.profileStore.getItem(T))||null}catch(L){return console.error("Error retrieving profile metadata:",L),null}})()}getAllProfiles(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.profileStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all Profile:",O),[]}})()}searchProfile(T){var O=this;return(0,o.A)(function*(){try{const L=[],Y=T.toLowerCase();return yield O.profileStore.iterate((z,q)=>{JSON.stringify(z).toLowerCase().includes(Y)&&L.push({pubKey:q,profile:z})}),L}catch(L){return console.error("Error searching profiles by metadata:",L),[]}})()}getLastUpdateDate(T){var O=this;return(0,o.A)(function*(){try{return(yield O.updateHistoryStore.getItem(T))||null}catch(L){return console.error("Error retrieving last update date:",L),null}})()}saveProject(T){var O=this;return(0,o.A)(function*(){try{yield O.projectsStore.setItem(T.projectIdentifier,T);const L=yield O.getAllProjects();O.projectsSubject.next(L),yield O.setUpdateHistory("projects")}catch(L){console.error("Error saving project:",L)}})()}getProjectsByIds(T){var O=this;return(0,o.A)(function*(){if(!T||0===T.length)return[];const L=[];for(const Y of T){const z=yield O.projectsStore.getItem(Y);z&&L.push(z)}return L})()}getAllProjects(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.projectsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all projects:",O),[]}})()}getProjectStats(T){var O=this;return(0,o.A)(function*(){try{return(yield O.projectStatsStore.getItem(T))||null}catch(L){return console.error("Error retrieving project stats:",L),null}})()}saveProjectStats(T,O){var L=this;return(0,o.A)(function*(){try{yield L.projectStatsStore.setItem(T,O);const Y=yield L.getAllProjectStats();L.projectStatsSubject.next(Y),yield L.setUpdateHistory("projectStats")}catch(Y){console.error("Error saving project stats:",Y)}})()}getAllProjectStats(){var T=this;return(0,o.A)(function*(){try{const O={};return yield T.projectStatsStore.iterate((L,Y)=>{O[Y]=L}),O}catch(O){return console.error("Error retrieving all project stats:",O),{}}})()}savePost(T){var O=this;return(0,o.A)(function*(){try{yield O.postsStore.setItem(T.id,T),yield O.setUpdateHistory("posts"),O.postsSubject.next(T)}catch(L){console.error("Error saving event type 1 and sending it to clients:",L)}})()}getPostsByPubKey(T){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.postsStore.iterate(Y=>{Y.pubkey===T&&1===Y.kind&&L.push(Y)}),L.sort((Y,z)=>z.createdAt-Y.createdAt)}catch(L){return console.error("Error retrieving events for pubKey:",L),[]}})()}getPostById(T){var O=this;return(0,o.A)(function*(){try{let L=null;return yield O.postsStore.iterate(Y=>{if(Y.id===T&&1===Y.kind)return L=Y,L}),L}catch(L){return console.error("Error retrieving post by ID:",L),null}})()}getAllPosts(T=10){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.postsStore.iterate(Y=>{L.push(Y)}),L.sort((Y,z)=>z.created_at-Y.created_at).slice(0,T)}catch(L){return console.error("Error retrieving all events:",L),[]}})()}saveLike(T){var O=this;return(0,o.A)(function*(){try{yield O.myLikesStore.setItem(T.id,T);const L=yield O.getAllMyLikes();O.myLikesSubject.next(L),yield O.setUpdateHistory("myLikes")}catch(L){console.error("Error saving like:",L)}})()}getAllMyLikes(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.myLikesStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all likes:",O),[]}})()}saveNotification(T){var O=this;return(0,o.A)(function*(){try{yield O.notificationsStore.setItem(T.id,T);const L=yield O.getAllNotifications();O.notificationsSubject.next(L),yield O.setUpdateHistory("notifications")}catch(L){console.error("Error saving notification:",L)}})()}getAllNotifications(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.notificationsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all notifications:",O),[]}})()}saveChatEvent(T){var O=this;return(0,o.A)(function*(){try{yield O.chatsStore.setItem(T.id,T),yield O.setUpdateHistory("chats");const L=yield O.getAllChatEvents();O.chatEventsSubject.next(L),O.updateUnreadChatCount(L)}catch(L){console.error("Error saving chat event:",L)}})()}getAllChatEvents(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.chatsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all chat events:",O),[]}})()}getChatEventsByPubKey(T){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.chatsStore.iterate(Y=>{const z=O.getReceiverPubKeyFromTags(Y.tags);(Y.pubkey===T||z===T)&&L.push(Y)}),L}catch(L){return console.error("Error retrieving chat events by pubkey:",L),[]}})()}updateChatEventReadStatus(T,O){var L=this;return(0,o.A)(function*(){try{const Y=yield L.chatsStore.getItem(T);if(Y){Y.IsRead=O,yield L.chatsStore.setItem(T,Y);const z=yield L.getAllChatEvents();L.chatEventsSubject.next(z),L.updateUnreadChatCount(z)}}catch(Y){console.error("Error updating chat event read status:",Y)}})()}markAllChatEventsAsRead(T){var O=this;return(0,o.A)(function*(){try{yield O.chatsStore.iterate(function(){var Y=(0,o.A)(function*(z,q){const ct=O.getReceiverPubKeyFromTags(z.tags);(z.pubkey===T||ct===T)&&!z.IsRead&&(z.IsRead=!0,yield O.chatsStore.setItem(q,z))});return function(z,q){return Y.apply(this,arguments)}}());const L=yield O.getAllChatEvents();O.chatEventsSubject.next(L),O.updateUnreadChatCount(L)}catch(L){console.error("Error marking all chat events as read:",L)}})()}getReceiverPubKeyFromTags(T){for(const O of T)if("p"===O[0]&&O[1])return O[1];return null}updateUnreadChatCount(T){const O=T.filter(L=>!L.IsRead).length;this.unreadChatCountSubject.next(O)}removeAllChats(){var T=this;return(0,o.A)(function*(){try{yield T.chatsStore.clear(),T.chatEventsSubject.next([]),T.unreadChatCountSubject.next(0),console.log("All chat events have been removed successfully.")}catch(O){console.error("Error removing all chat events:",O)}})()}setUpdateHistory(T){var O=this;return(0,o.A)(function*(){try{const L=Math.floor(Date.now()/1e3);yield O.updateHistoryStore.setItem(T,L)}catch(L){console.error("Error updating history:",L)}})()}loadAllProjectsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllProjects();T.projectsSubject.next(O)}catch(O){console.error("Error loading projects from DB:",O)}})()}loadAllProjectStatsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllProjectStats();T.projectStatsSubject.next(O)}catch(O){console.error("Error loading project stats from DB:",O)}})()}loadAllContactsFromDB(T=""){var O=this;return(0,o.A)(function*(){try{const L=yield O.getAllContacts(T);if(L.length>0){const Y={};for(const z of L)Y[z.pubKey]||(Y[z.pubKey]=[]),Y[z.pubKey].push(z.contact);for(const z in Y)O.contactsSubject.next({pubKey:z,contacts:Y[z]})}}catch(L){console.error("Error loading contacts from DB:",L)}})()}loadAllChatEventsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllChatEvents();T.chatEventsSubject.next(O)}catch(O){console.error("Error loading chat events from DB:",O)}})()}loadPostsFromDB(T=10,O=0){var L=this;return(0,o.A)(function*(){try{const Y=[];return yield L.postsStore.iterate(z=>{Y.push(z)}),Y.sort((z,q)=>q.created_at-z.created_at).slice(O,O+T)}catch(Y){return console.error("Error retrieving events from DB:",Y),[]}})()}loadPosts(T){var O=this;return(0,o.A)(function*(){const Y=10*(T-1),z=yield O.loadPostsFromDB(10,Y);z.length>0&&z.forEach(q=>{O.postsSubject.next(q)})})()}loadAllMyLikesFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllMyLikes();T.myLikesSubject.next(O)}catch(O){console.error("Error loading likes from DB:",O)}})()}loadAllNotificationsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllNotifications();T.notificationsSubject.next(O)}catch(O){console.error("Error loading notifications from DB:",O)}})()}loadContactStatsFromDB(){var T=this;return(0,o.A)(function*(){try{let O=0,L=0,Y=0;yield T.contactsStore.iterate((z,q)=>{const[ct]=q.split(":");O++,z.isFollower?L++:Y++}),T.contactStatsSubject.next({totalContacts:O,followersCount:L,followingCount:Y})}catch(O){console.error("Error loading contact stats from DB:",O)}})()}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},5645:(i,a,r)=>{"use strict";r.d(a,{n:()=>dt});var s,o=r(4412),c=new Uint8Array(16);function y(){if(!s&&!(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}const k=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var M=[],T=0;T<256;++T)M.push((T+256).toString(16).substr(1));const L=function O(tt){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Mt=(M[tt[vt+0]]+M[tt[vt+1]]+M[tt[vt+2]]+M[tt[vt+3]]+"-"+M[tt[vt+4]]+M[tt[vt+5]]+"-"+M[tt[vt+6]]+M[tt[vt+7]]+"-"+M[tt[vt+8]]+M[tt[vt+9]]+"-"+M[tt[vt+10]]+M[tt[vt+11]]+M[tt[vt+12]]+M[tt[vt+13]]+M[tt[vt+14]]+M[tt[vt+15]]).toLowerCase();if(!function A(tt){return"string"==typeof tt&&k.test(tt)}(Mt))throw TypeError("Stringified UUID is invalid");return Mt},z=function Y(tt,vt,Mt){var $t=(tt=tt||{}).random||(tt.rng||y)();if($t[6]=15&$t[6]|64,$t[8]=63&$t[8]|128,vt){Mt=Mt||0;for(var St=0;St<16;++St)vt[Mt+St]=$t[St];return vt}return L($t)};var q=r(4438),ct=r(6231);let dt=(()=>{class tt{constructor(Mt){this.relayService=Mt,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new o.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=3e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=5e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Mt,$t,St){const kt=this.findExistingSubscription(Mt);if(kt)return kt.callbacks.push($t),kt.id;const nt=z();this.lastActionTimestamp.set(nt,Date.now());const at={filter:Mt,callbacks:[$t],id:nt};return this.subscriptions.set(at.id,at),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(at),at.id}findExistingSubscription(Mt){return Array.from(this.subscriptions.values()).find($t=>JSON.stringify($t.filter)===JSON.stringify(Mt))}removeSubscriptionById(Mt){const $t=Date.now(),St=this.lastActionTimestamp.get(Mt);St&&$t-St{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(St=>this.subscribeToRelays(St.filter,St))},this.queueInterval))}subscribeToRelays(Mt,$t){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const St=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(St,Mt,{onevent:kt=>{$t.callbacks.forEach(nt=>nt(kt))},onclose:()=>console.log("Subscription closed")})}).catch(St=>{console.error("Error subscribing to relays:",St)}):this.pendingSubscriptions.set($t.id,$t)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Mt=>{this.subscribeToRelays(Mt.filter,Mt)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Mt=>{console.error("Error connecting to relays:",Mt)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function($t){return new($t||tt)(q.KVO(ct.b))}}static{this.\u0275prov=q.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}}return tt})()},7292:(i,a,r)=>{"use strict";r.d(a,{b:()=>z});var o=r(177),s=r(9417),c=r(8834),y=r(6600),k=r(5351),A=r(2102),I=r(9213),M=r(9042),T=r(2798),O=r(882),L=r(4438);function Y(q,ct){1&q&&(L.j41(0,"mat-error"),L.EFF(1," Password is required "),L.k0s())}let z=(()=>{class q{constructor(dt,tt,vt){this.fb=dt,this.dialogRef=tt,this.data=vt,this.passwordForm=this.fb.group({password:["",s.k0.required],duration:["0",s.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(tt){return new(tt||q)(L.rXU(s.ok),L.rXU(k.CP),L.rXU(k.Vh))}}static{this.\u0275cmp=L.VBU({type:q,selectors:[["password-dialog"]],standalone:!0,features:[L.aNF],decls:30,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"w-full",3,"subscriptSizing"],["matPrefix",""],["matInput","","type","password",3,"formControlName"],[4,"ngIf"],[1,"mt-5","w-full"],["formControlName","duration"],["value","0"],["value","1"],["value","5"],["value","10"],["value","60"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(tt,vt){1&tt&&(L.j41(0,"h1",0),L.EFF(1,"Enter Password"),L.k0s(),L.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),L.EFF(6,"Password"),L.k0s(),L.j41(7,"mat-icon",4),L.EFF(8,"lock"),L.k0s(),L.nrm(9,"input",5),L.DNE(10,Y,2,0,"mat-error",6),L.k0s(),L.j41(11,"mat-form-field",7)(12,"mat-label"),L.EFF(13,"Duration"),L.k0s(),L.j41(14,"mat-select",8)(15,"mat-option",9),L.EFF(16,"0 Minute"),L.k0s(),L.j41(17,"mat-option",10),L.EFF(18,"1 Minute"),L.k0s(),L.j41(19,"mat-option",11),L.EFF(20,"5 Minutes"),L.k0s(),L.j41(21,"mat-option",12),L.EFF(22,"10 Minutes"),L.k0s(),L.j41(23,"mat-option",13),L.EFF(24,"1 Hour"),L.k0s()()()()(),L.j41(25,"div",14)(26,"button",15),L.bIt("click",function(){return vt.onCancel()}),L.EFF(27,"Cancel"),L.k0s(),L.j41(28,"button",16),L.bIt("click",function(){return vt.onSubmit()}),L.EFF(29," Submit "),L.k0s()()),2&tt&&(L.R7$(3),L.Y8G("formGroup",vt.passwordForm),L.R7$(),L.Y8G("subscriptSizing","dynamic"),L.R7$(5),L.Y8G("formControlName","password"),L.R7$(),L.Y8G("ngIf",vt.passwordForm.get("password").hasError("required")),L.R7$(18),L.Y8G("disabled",vt.passwordForm.invalid))},dependencies:[O.vg,c.Hl,c.$z,I.m_,I.An,s.YN,s.qT,s.me,s.BC,s.cb,y.wT,A.nJ,A.rl,s.X1,s.j4,s.JD,o.MD,o.bT,T.Ve,A.TL,A.JW,T.VO,A.RG,M.fS,M.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return q})()},4312:(i,a,r)=>{"use strict";var o=r(345),s=r(5245),c=r(4438);let y=(()=>{class b{constructor(){}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["app-root"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(m,D){1&m&&c.nrm(0,"router-outlet")},dependencies:[s.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return b})();var k=r(467);const A=new c.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var I=r(8810),M=r(1985),T=r(6697),O=r(7673);class L{constructor(p,d){this.url=p,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,I.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,I.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,I.$)(()=>new Error("Request does not exist!"));this._replied++;const p=this._reply({request:this.request,urlParams:this.urlParams});return p instanceof M.c?p.pipe((0,T.s)(1)):(0,O.of)(p).pipe((0,T.s)(1))}reply(p){this._reply=p}replyCount(p){this._replyCount=p}}var Y=r(7680);let z=(()=>{class b{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(d,m){const D={handler:void 0,urlParams:{}},V=m.split("/"),J=this._handlers[d.toLowerCase()];for(const[_t,Wt]of J){const we=_t.split("/");if(V.length===we.length&&we.every((xr,mo)=>xr.startsWith(":")||xr===V[mo])){D.handler=Wt,D.urlParams=(0,Y.A)(we.map((xr,mo)=>xr.startsWith(":")?[xr.substring(1),V[mo]]:void 0).filter(Boolean));break}}return D}onGet(d,m){return this._registerHandler("get",d,m)}onPost(d,m){return this._registerHandler("post",d,m)}onPatch(d,m){return this._registerHandler("patch",d,m)}onDelete(d,m){return this._registerHandler("delete",d,m)}onPut(d,m){return this._registerHandler("put",d,m)}onHead(d,m){return this._registerHandler("head",d,m)}onJsonp(d,m){return this._registerHandler("jsonp",d,m)}onOptions(d,m){return this._registerHandler("options",d,m)}_registerHandler(d,m,D){const V=new L(m,D);return this._handlers[d].set(m,V),V}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var q=r(1626),ct=r(1986),dt=r(5558);const tt=(b,p)=>{const d=(0,c.WQX)(A),m=(0,c.WQX)(z),{handler:D,urlParams:V}=m.findHandler(b.method.toUpperCase(),b.url);return D?(D.request=b,D.urlParams=V,D.response.pipe((0,ct.c)(D.delay??d??0),(0,dt.n)(J=>{if(!J)return(0,I.$)(()=>new q.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const _t={status:J[0],body:J[1]};return _t.status>=200&&_t.status<300?(0,O.of)(new q.cS({body:_t.body,status:_t.status,statusText:"OK"})):(0,I.$)(()=>new q.yz({error:_t.body?.error,status:_t.status,statusText:"ERROR"}))}))):p(b)};var vt=r(9097),Mt=r(9979),$t=r(4412);let St=(()=>{class b{constructor(){this._auto$=new $t.t(!0),this._mode$=new $t.t("indeterminate"),this._progress$=new $t.t(0),this._show$=new $t.t(!1),this._urlMap=new Map}get auto$(){return this._auto$.asObservable()}get mode$(){return this._mode$.asObservable()}get progress$(){return this._progress$.asObservable()}get show$(){return this._show$.asObservable()}show(){this._show$.next(!0)}hide(){this._show$.next(!1)}setAutoMode(d){this._auto$.next(d)}setMode(d){this._mode$.next(d)}setProgress(d){d<0||d>100?console.error("Progress value must be between 0 and 100!"):this._progress$.next(d)}_setLoadingStatus(d,m){m?(!0===d?(this._urlMap.set(m,d),this._show$.next(!0)):!1===d&&this._urlMap.has(m)&&this._urlMap.delete(m),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var kt=r(980);const nt=(b,p)=>{const d=(0,c.WQX)(St);let m=!1;return d.auto$.pipe((0,T.s)(1)).subscribe(D=>{m=D}),m?(d._setLoadingStatus(!0,b.url),p(b).pipe((0,kt.j)(()=>{d._setLoadingStatus(!1,b.url)}))):p(b)};var at=r(4977),rt=r(6860);let yt=(()=>{class b{constructor(){this._platform=(0,c.WQX)(rt.OD),this.osName="os-unknown",this._platform.isBrowser&&(navigator.userAgent.includes("Win")&&(this.osName="os-windows"),navigator.userAgent.includes("Mac")&&(this.osName="os-mac"),navigator.userAgent.includes("X11")&&(this.osName="os-unix"),navigator.userAgent.includes("Linux")&&(this.osName="os-linux"),this._platform.IOS&&(this.osName="os-ios"),this._platform.ANDROID&&(this.osName="os-android"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Ct=r(177),Vt=r(5964);let Xt=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ),this._router=(0,c.WQX)(s.Ix),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,T.s)(1)).subscribe(()=>{this.hide()})}show(){this._document.body.classList.remove("angor-splash-screen-hidden")}hide(){this._document.body.classList.add("angor-splash-screen-hidden")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var oe=r(7209),Xe=r(6600),kr=r(5351),gr=r(2102);class Wr extends Error{}class xe extends Wr{constructor(p){super(`Invalid DateTime: ${p.toMessage()}`)}}class Le extends Wr{constructor(p){super(`Invalid Interval: ${p.toMessage()}`)}}class gt extends Wr{constructor(p){super(`Invalid Duration: ${p.toMessage()}`)}}class Nt extends Wr{}class Se extends Wr{constructor(p){super(`Invalid unit ${p}`)}}class Rt extends Wr{}class de extends Wr{constructor(){super("Zone is an abstract class")}}const jt="numeric",De="short",Ye="long",ft={year:jt,month:jt,day:jt},pe={year:jt,month:De,day:jt},Ut={year:jt,month:De,day:jt,weekday:De},Ee={year:jt,month:Ye,day:jt},ie={year:jt,month:Ye,day:jt,weekday:Ye},He={hour:jt,minute:jt},Ht={hour:jt,minute:jt,second:jt},Me={hour:jt,minute:jt,second:jt,timeZoneName:De},Pe={hour:jt,minute:jt,second:jt,timeZoneName:Ye},We={hour:jt,minute:jt,hourCycle:"h23"},Or={hour:jt,minute:jt,second:jt,hourCycle:"h23"},ko={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:De},lr={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:Ye},Lt={year:jt,month:jt,day:jt,hour:jt,minute:jt},be={year:jt,month:jt,day:jt,hour:jt,minute:jt,second:jt},se={year:jt,month:De,day:jt,hour:jt,minute:jt},Ie={year:jt,month:De,day:jt,hour:jt,minute:jt,second:jt},br={year:jt,month:De,day:jt,weekday:De,hour:jt,minute:jt},mt={year:jt,month:Ye,day:jt,hour:jt,minute:jt,timeZoneName:De},$={year:jt,month:Ye,day:jt,hour:jt,minute:jt,second:jt,timeZoneName:De},Z={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,timeZoneName:Ye},it={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,second:jt,timeZoneName:Ye};class Tt{get type(){throw new de}get name(){throw new de}get ianaName(){return this.name}get isUniversal(){throw new de}offsetName(p,d){throw new de}formatOffset(p,d){throw new de}offset(p){throw new de}equals(p){throw new de}get isValid(){throw new de}}let It=null;class ye extends Tt{static get instance(){return null===It&&(It=new ye),It}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m)}formatOffset(p,d){return za(this.offset(p),d)}offset(p){return-new Date(p).getTimezoneOffset()}equals(p){return"system"===p.type}get isValid(){return!0}}let ir={};const er={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bo={};class fr extends Tt{static create(p){return Bo[p]||(Bo[p]=new fr(p)),Bo[p]}static resetCache(){Bo={},ir={}}static isValidSpecifier(p){return this.isValidZone(p)}static isValidZone(p){if(!p)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:p}).format(),!0}catch{return!1}}constructor(p){super(),this.zoneName=p,this.valid=fr.isValidZone(p)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m,this.name)}formatOffset(p,d){return za(this.offset(p),d)}offset(p){const d=new Date(p);if(isNaN(d))return NaN;const m=function Je(b){return ir[b]||(ir[b]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ir[b]}(this.name);let[D,V,J,_t,Wt,we,ur]=m.formatToParts?function eo(b,p){const d=b.formatToParts(p),m=[];for(let D=0;D=0?yo:1e3+yo,(ma({year:D,month:V,day:J,hour:24===Wt?0:Wt,minute:we,second:ur,millisecond:0})-Zr)/6e4}equals(p){return"iana"===p.type&&p.name===this.name}get isValid(){return this.valid}}let Pr={},qt={};function Pt(b,p={}){const d=JSON.stringify([b,p]);let m=qt[d];return m||(m=new Intl.DateTimeFormat(b,p),qt[d]=m),m}let ue={},Qr={},Wo=null,$e={};function Ae(b,p,d,m){const D=b.listingMode();return"error"===D?null:"en"===D?d(p):m(p)}class yr{constructor(p,d,m){this.padTo=m.padTo||0,this.floor=m.floor||!1;const{padTo:D,floor:V,...J}=m;if(!d||Object.keys(J).length>0){const _t={useGrouping:!1,...m};m.padTo>0&&(_t.minimumIntegerDigits=m.padTo),this.inf=function mr(b,p={}){const d=JSON.stringify([b,p]);let m=ue[d];return m||(m=new Intl.NumberFormat(b,p),ue[d]=m),m}(p,_t)}}format(p){if(this.inf){const d=this.floor?Math.floor(p):p;return this.inf.format(d)}return Mn(this.floor?Math.floor(p):pa(p,3),this.padTo)}}class Eo{constructor(p,d,m){let D;if(this.opts=m,this.originalZone=void 0,this.opts.timeZone)this.dt=p;else if("fixed"===p.zone.type){const J=p.offset/60*-1,_t=J>=0?`Etc/GMT+${J}`:`Etc/GMT${J}`;0!==p.offset&&fr.create(_t).valid?(D=_t,this.dt=p):(D="UTC",this.dt=0===p.offset?p:p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone)}else"system"===p.zone.type?this.dt=p:"iana"===p.zone.type?(this.dt=p,D=p.zone.name):(D="UTC",this.dt=p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone);const V={...this.opts};V.timeZone=V.timeZone||D,this.dtf=Pt(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:p})=>p).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const p=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?p.map(d=>{if("timeZoneName"===d.type){const m=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:m}}return d}):p}resolvedOptions(){return this.dtf.resolvedOptions()}}class $n{constructor(p,d,m){this.opts={style:"long",...m},!d&&Tn()&&(this.rtf=function Ro(b,p={}){const{base:d,...m}=p,D=JSON.stringify([b,m]);let V=Qr[D];return V||(V=new Intl.RelativeTimeFormat(b,p),Qr[D]=V),V}(p,m))}format(p,d){return this.rtf?this.rtf.format(p,d):function et(b,p,d="always",m=!1){const D={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},V=-1===["hours","minutes","seconds"].indexOf(b);if("auto"===d&&V){const xr="days"===b;switch(p){case 1:return xr?"tomorrow":`next ${D[b][0]}`;case-1:return xr?"yesterday":`last ${D[b][0]}`;case 0:return xr?"today":`this ${D[b][0]}`}}const J=Object.is(p,-0)||p<0,_t=Math.abs(p),Wt=1===_t,we=D[b],ur=m?Wt?we[1]:we[2]||we[1]:Wt?D[b][0]:b;return J?`${_t} ${ur} ago`:`in ${_t} ${ur}`}(d,p,this.opts.numeric,"long"!==this.opts.style)}formatToParts(p,d){return this.rtf?this.rtf.formatToParts(p,d):[]}}const Xn={firstDay:1,minimalDays:4,weekend:[6,7]};class Yo{static fromOpts(p){return Yo.create(p.locale,p.numberingSystem,p.outputCalendar,p.weekSettings,p.defaultToEN)}static create(p,d,m,D,V=!1){const J=p||Dt.defaultLocale,_t=J||(V?"en-US":function tr(){return Wo||(Wo=(new Intl.DateTimeFormat).resolvedOptions().locale,Wo)}()),Wt=d||Dt.defaultNumberingSystem,we=m||Dt.defaultOutputCalendar,ur=Zi(D)||Dt.defaultWeekSettings;return new Yo(_t,Wt,we,ur,J)}static resetCache(){Wo=null,qt={},ue={},Qr={}}static fromObject({locale:p,numberingSystem:d,outputCalendar:m,weekSettings:D}={}){return Yo.create(p,d,m,D)}constructor(p,d,m,D,V){const[J,_t,Wt]=function qe(b){const p=b.indexOf("-x-");-1!==p&&(b=b.substring(0,p));const d=b.indexOf("-u-");if(-1===d)return[b];{let m,D;try{m=Pt(b).resolvedOptions(),D=b}catch{const Wt=b.substring(0,d);m=Pt(Wt).resolvedOptions(),D=Wt}const{numberingSystem:V,calendar:J}=m;return[D,V,J]}}(p);this.locale=J,this.numberingSystem=d||_t||null,this.outputCalendar=m||Wt||null,this.weekSettings=D,this.intl=function ke(b,p,d){return(d||p)&&(b.includes("-u-")||(b+="-u"),d&&(b+=`-ca-${d}`),p&&(b+=`-nu-${p}`)),b}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=V,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function ar(b){return(!b.numberingSystem||"latn"===b.numberingSystem)&&("latn"===b.numberingSystem||!b.locale||b.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(b.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(p){return p&&0!==Object.getOwnPropertyNames(p).length?Yo.create(p.locale||this.specifiedLocale,p.numberingSystem||this.numberingSystem,p.outputCalendar||this.outputCalendar,Zi(p.weekSettings)||this.weekSettings,p.defaultToEN||!1):this}redefaultToEN(p={}){return this.clone({...p,defaultToEN:!0})}redefaultToSystem(p={}){return this.clone({...p,defaultToEN:!1})}months(p,d=!1){return Ae(this,p,es,()=>{const m=d?{month:p,day:"numeric"}:{month:p},D=d?"format":"standalone";return this.monthsCache[D][p]||(this.monthsCache[D][p]=function me(b){const p=[];for(let d=1;d<=12;d++){const m=$o.utc(2009,d,1);p.push(b(m))}return p}(V=>this.extract(V,m,"month"))),this.monthsCache[D][p]})}weekdays(p,d=!1){return Ae(this,p,Ui,()=>{const m=d?{weekday:p,year:"numeric",month:"long",day:"numeric"}:{weekday:p},D=d?"format":"standalone";return this.weekdaysCache[D][p]||(this.weekdaysCache[D][p]=function Yt(b){const p=[];for(let d=1;d<=7;d++){const m=$o.utc(2016,11,13+d);p.push(b(m))}return p}(V=>this.extract(V,m,"weekday"))),this.weekdaysCache[D][p]})}meridiems(){return Ae(this,void 0,()=>Jn,()=>{if(!this.meridiemCache){const p={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$o.utc(2016,11,13,9),$o.utc(2016,11,13,19)].map(d=>this.extract(d,p,"dayperiod"))}return this.meridiemCache})}eras(p){return Ae(this,p,rs,()=>{const d={era:p};return this.eraCache[p]||(this.eraCache[p]=[$o.utc(-40,1,1),$o.utc(2017,1,1)].map(m=>this.extract(m,d,"era"))),this.eraCache[p]})}extract(p,d,m){const J=this.dtFormatter(p,d).formatToParts().find(_t=>_t.type.toLowerCase()===m);return J?J.value:null}numberFormatter(p={}){return new yr(this.intl,p.forceSimple||this.fastNumbers,p)}dtFormatter(p,d={}){return new Eo(p,this.intl,d)}relFormatter(p={}){return new $n(this.intl,this.isEnglish(),p)}listFormatter(p={}){return function re(b,p={}){const d=JSON.stringify([b,p]);let m=Pr[d];return m||(m=new Intl.ListFormat(b,p),Pr[d]=m),m}(this.intl,p)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vi()?function _e(b){let p=$e[b];if(!p){const d=new Intl.Locale(b);p="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,$e[b]=p}return p}(this.locale):Xn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(p){return this.locale===p.locale&&this.numberingSystem===p.numberingSystem&&this.outputCalendar===p.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ni=null;class Fo extends Tt{static get utcInstance(){return null===ni&&(ni=new Fo(0)),ni}static instance(p){return 0===p?Fo.utcInstance:new Fo(p)}static parseSpecifier(p){if(p){const d=p.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Fo(Qi(d[1],d[2]))}return null}constructor(p){super(),this.fixed=p}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${za(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${za(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(p,d){return za(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(p){return"fixed"===p.type&&p.fixed===this.fixed}get isValid(){return!0}}class pi extends Tt{constructor(p){super(),this.zoneName=p}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ei(b,p){if(Uo(b)||null===b)return p;if(b instanceof Tt)return b;if(function nn(b){return"string"==typeof b}(b)){const m=b.toLowerCase();return"default"===m?p:"local"===m||"system"===m?ye.instance:"utc"===m||"gmt"===m?Fo.utcInstance:Fo.parseSpecifier(m)||fr.create(b)}return Fn(b)?Fo.instance(b):"object"==typeof b&&"offset"in b&&"function"==typeof b.offset?b:new pi(b)}const Oe={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},Ke={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Dr=Oe.hanidec.replace(/[\[|\]]/g,"").split("");let Ur={};function no({numberingSystem:b},p=""){const d=b||"latn";return Ur[d]||(Ur[d]={}),Ur[d][p]||(Ur[d][p]=new RegExp(`${Oe[d]}${p}`)),Ur[d][p]}let pt,vo=()=>Date.now(),Co="system",ro=null,zt=null,he=null,ce=60,Gt=null;class Dt{static get now(){return vo}static set now(p){vo=p}static set defaultZone(p){Co=p}static get defaultZone(){return ei(Co,ye.instance)}static get defaultLocale(){return ro}static set defaultLocale(p){ro=p}static get defaultNumberingSystem(){return zt}static set defaultNumberingSystem(p){zt=p}static get defaultOutputCalendar(){return he}static set defaultOutputCalendar(p){he=p}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(p){Gt=Zi(p)}static get twoDigitCutoffYear(){return ce}static set twoDigitCutoffYear(p){ce=p%100}static get throwOnInvalid(){return pt}static set throwOnInvalid(p){pt=p}static resetCaches(){Yo.resetCache(),fr.resetCache(),$o.resetCache(),function ao(){Ur={}}()}}class ne{constructor(p,d){this.reason=p,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Re=[0,31,59,90,120,151,181,212,243,273,304,334],Ce=[0,31,60,91,121,152,182,213,244,274,305,335];function or(b,p){return new ne("unit out of range",`you specified ${p} (of type ${typeof p}) as a ${b}, which is invalid`)}function Cr(b,p,d){const m=new Date(Date.UTC(b,p-1,d));b<100&&b>=0&&m.setUTCFullYear(m.getUTCFullYear()-1900);const D=m.getUTCDay();return 0===D?7:D}function Er(b,p,d){return d+(Qn(b)?Ce:Re)[p-1]}function Nr(b,p){const d=Qn(b)?Ce:Re,m=d.findIndex(V=>VVa(m,p,d)?(we=m+1,Wt=1):we=m,{weekYear:we,weekNumber:Wt,weekday:_t,...hi(b)}}function to(b,p=4,d=1){const{weekYear:m,weekNumber:D,weekday:V}=b,J=Fr(Cr(m,1,p),d),_t=qn(m);let we,Wt=7*D+V-J-7+p;Wt<1?(we=m-1,Wt+=qn(we)):Wt>_t?(we=m+1,Wt-=qn(m)):we=m;const{month:ur,day:xr}=Nr(we,Wt);return{year:we,month:ur,day:xr,...hi(b)}}function xo(b){const{year:p,month:d,day:m}=b;return{year:p,ordinal:Er(p,d,m),...hi(b)}}function So(b){const{year:p,ordinal:d}=b,{month:m,day:D}=Nr(p,d);return{year:p,month:m,day:D,...hi(b)}}function po(b,p){if(Uo(b.localWeekday)&&Uo(b.localWeekNumber)&&Uo(b.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Uo(b.weekday)||!Uo(b.weekNumber)||!Uo(b.weekYear))throw new Nt("Cannot mix locale-based week fields with ISO-based week fields");return Uo(b.localWeekday)||(b.weekday=b.localWeekday),Uo(b.localWeekNumber)||(b.weekNumber=b.localWeekNumber),Uo(b.localWeekYear)||(b.weekYear=b.localWeekYear),delete b.localWeekday,delete b.localWeekNumber,delete b.localWeekYear,{minDaysInFirstWeek:p.getMinDaysInFirstWeek(),startOfWeek:p.getStartOfWeek()}}function Di(b){const p=zi(b.year),d=Zn(b.month,1,12),m=Zn(b.day,1,Nn(b.year,b.month));return p?d?!m&&or("day",b.day):or("month",b.month):or("year",b.year)}function jn(b){const{hour:p,minute:d,second:m,millisecond:D}=b,V=Zn(p,0,23)||24===p&&0===d&&0===m&&0===D,J=Zn(d,0,59),_t=Zn(m,0,59),Wt=Zn(D,0,999);return V?J?_t?!Wt&&or("millisecond",D):or("second",m):or("minute",d):or("hour",p)}function Uo(b){return typeof b>"u"}function Fn(b){return"number"==typeof b}function zi(b){return"number"==typeof b&&b%1==0}function Tn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function vi(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function da(b,p,d){if(0!==b.length)return b.reduce((m,D)=>{const V=[p(D),D];return m&&d(m[0],V[0])===m[0]?m:V},null)[1]}function Ai(b,p){return Object.prototype.hasOwnProperty.call(b,p)}function Zi(b){if(null==b)return null;if("object"!=typeof b)throw new Rt("Week settings must be an object");if(!Zn(b.firstDay,1,7)||!Zn(b.minimalDays,1,7)||!Array.isArray(b.weekend)||b.weekend.some(p=>!Zn(p,1,7)))throw new Rt("Invalid week settings");return{firstDay:b.firstDay,minimalDays:b.minimalDays,weekend:Array.from(b.weekend)}}function Zn(b,p,d){return zi(b)&&b>=p&&b<=d}function Mn(b,p=2){let m;return m=b<0?"-"+(""+-b).padStart(p,"0"):(""+b).padStart(p,"0"),m}function na(b){if(!Uo(b)&&null!==b&&""!==b)return parseInt(b,10)}function fi(b){if(!Uo(b)&&null!==b&&""!==b)return parseFloat(b)}function Ko(b){if(!Uo(b)&&null!==b&&""!==b){const p=1e3*parseFloat("0."+b);return Math.floor(p)}}function pa(b,p,d=!1){const m=10**p;return(d?Math.trunc:Math.round)(b*m)/m}function Qn(b){return b%4==0&&(b%100!=0||b%400==0)}function qn(b){return Qn(b)?366:365}function Nn(b,p){const d=function ua(b,p){return b-p*Math.floor(b/p)}(p-1,12)+1;return 2===d?Qn(b+(p-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function ma(b){let p=Date.UTC(b.year,b.month-1,b.day,b.hour,b.minute,b.second,b.millisecond);return b.year<100&&b.year>=0&&(p=new Date(p),p.setUTCFullYear(b.year,b.month-1,b.day)),+p}function Vo(b,p,d){return-Fr(Cr(b,1,p),d)+p-1}function Va(b,p=4,d=1){const m=Vo(b,p,d),D=Vo(b+1,p,d);return(qn(b)-m+D)/7}function ii(b){return b>99?b:b>Dt.twoDigitCutoffYear?1900+b:2e3+b}function mi(b,p,d,m=null){const D=new Date(b),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};m&&(V.timeZone=m);const J={timeZoneName:p,...V},_t=new Intl.DateTimeFormat(d,J).formatToParts(D).find(Wt=>"timezonename"===Wt.type.toLowerCase());return _t?_t.value:null}function Qi(b,p){let d=parseInt(b,10);Number.isNaN(d)&&(d=0);const m=parseInt(p,10)||0;return 60*d+(d<0||Object.is(d,-0)?-m:m)}function ps(b){const p=Number(b);if("boolean"==typeof b||""===b||Number.isNaN(p))throw new Rt(`Invalid unit value ${b}`);return p}function ba(b,p){const d={};for(const m in b)if(Ai(b,m)){const D=b[m];if(null==D)continue;d[p(m)]=ps(D)}return d}function za(b,p){const d=Math.trunc(Math.abs(b/60)),m=Math.trunc(Math.abs(b%60)),D=b>=0?"+":"-";switch(p){case"short":return`${D}${Mn(d,2)}:${Mn(m,2)}`;case"narrow":return`${D}${d}${m>0?`:${m}`:""}`;case"techie":return`${D}${Mn(d,2)}${Mn(m,2)}`;default:throw new RangeError(`Value format ${p} is out of range for property format`)}}function hi(b){return function ka(b,p){return p.reduce((d,m)=>(d[m]=b[m],d),{})}(b,["hour","minute","second","millisecond"])}const On=["January","February","March","April","May","June","July","August","September","October","November","December"],ia=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],bi=["J","F","M","A","M","J","J","A","S","O","N","D"];function es(b){switch(b){case"narrow":return[...bi];case"short":return[...ia];case"long":return[...On];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Vn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xi=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ci=["M","T","W","T","F","S","S"];function Ui(b){switch(b){case"narrow":return[...ci];case"short":return[...xi];case"long":return[...Vn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Jn=["AM","PM"],aa=["Before Christ","Anno Domini"],Ni=["BC","AD"],wa=["B","A"];function rs(b){switch(b){case"narrow":return[...wa];case"short":return[...Ni];case"long":return[...aa];default:return null}}function le(b,p){let d="";for(const m of b)d+=m.literal?m.val:p(m.val);return d}const Br={D:ft,DD:pe,DDD:Ee,DDDD:ie,t:He,tt:Ht,ttt:Me,tttt:Pe,T:We,TT:Or,TTT:ko,TTTT:lr,f:Lt,ff:se,fff:mt,ffff:Z,F:be,FF:Ie,FFF:$,FFFF:it};class jr{static create(p,d={}){return new jr(p,d)}static parseFormat(p){let d=null,m="",D=!1;const V=[];for(let J=0;J0&&V.push({literal:D||/^\s+$/.test(m),val:m}),d=null,m="",D=!D):D||_t===d?m+=_t:(m.length>0&&V.push({literal:/^\s+$/.test(m),val:m}),m=_t,d=_t)}return m.length>0&&V.push({literal:D||/^\s+$/.test(m),val:m}),V}static macroTokenToFormatOpts(p){return Br[p]}constructor(p,d){this.opts=d,this.loc=p,this.systemLoc=null}formatWithSystemDefault(p,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(p,{...this.opts,...d}).format()}dtFormatter(p,d={}){return this.loc.dtFormatter(p,{...this.opts,...d})}formatDateTime(p,d){return this.dtFormatter(p,d).format()}formatDateTimeParts(p,d){return this.dtFormatter(p,d).formatToParts()}formatInterval(p,d){return this.dtFormatter(p.start,d).dtf.formatRange(p.start.toJSDate(),p.end.toJSDate())}resolvedOptions(p,d){return this.dtFormatter(p,d).resolvedOptions()}num(p,d=0){if(this.opts.forceSimple)return Mn(p,d);const m={...this.opts};return d>0&&(m.padTo=d),this.loc.numberFormatter(m).format(p)}formatDateTimeFromString(p,d){const m="en"===this.loc.listingMode(),D=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(Zr,yo)=>this.loc.extract(p,Zr,yo),J=Zr=>p.isOffsetFixed&&0===p.offset&&Zr.allowZ?"Z":p.isValid?p.zone.formatOffset(p.ts,Zr.format):"",Wt=(Zr,yo)=>m?function G(b,p){return es(p)[b.month-1]}(p,Zr):V(yo?{month:Zr}:{month:Zr,day:"numeric"},"month"),we=(Zr,yo)=>m?function os(b,p){return Ui(p)[b.weekday-1]}(p,Zr):V(yo?{weekday:Zr}:{weekday:Zr,month:"long",day:"numeric"},"weekday"),ur=Zr=>{const yo=jr.macroTokenToFormatOpts(Zr);return yo?this.formatWithSystemDefault(p,yo):Zr},xr=Zr=>m?function Qt(b,p){return rs(p)[b.year<0?0:1]}(p,Zr):V({era:Zr},"era");return le(jr.parseFormat(d),Zr=>{switch(Zr){case"S":return this.num(p.millisecond);case"u":case"SSS":return this.num(p.millisecond,3);case"s":return this.num(p.second);case"ss":return this.num(p.second,2);case"uu":return this.num(Math.floor(p.millisecond/10),2);case"uuu":return this.num(Math.floor(p.millisecond/100));case"m":return this.num(p.minute);case"mm":return this.num(p.minute,2);case"h":return this.num(p.hour%12==0?12:p.hour%12);case"hh":return this.num(p.hour%12==0?12:p.hour%12,2);case"H":return this.num(p.hour);case"HH":return this.num(p.hour,2);case"Z":return J({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return J({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return J({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return p.zone.offsetName(p.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return p.zone.offsetName(p.ts,{format:"long",locale:this.loc.locale});case"z":return p.zoneName;case"a":return m?function _i(b){return Jn[b.hour<12?0:1]}(p):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return D?V({day:"numeric"},"day"):this.num(p.day);case"dd":return D?V({day:"2-digit"},"day"):this.num(p.day,2);case"c":case"E":return this.num(p.weekday);case"ccc":return we("short",!0);case"cccc":return we("long",!0);case"ccccc":return we("narrow",!0);case"EEE":return we("short",!1);case"EEEE":return we("long",!1);case"EEEEE":return we("narrow",!1);case"L":return D?V({month:"numeric",day:"numeric"},"month"):this.num(p.month);case"LL":return D?V({month:"2-digit",day:"numeric"},"month"):this.num(p.month,2);case"LLL":return Wt("short",!0);case"LLLL":return Wt("long",!0);case"LLLLL":return Wt("narrow",!0);case"M":return D?V({month:"numeric"},"month"):this.num(p.month);case"MM":return D?V({month:"2-digit"},"month"):this.num(p.month,2);case"MMM":return Wt("short",!1);case"MMMM":return Wt("long",!1);case"MMMMM":return Wt("narrow",!1);case"y":return D?V({year:"numeric"},"year"):this.num(p.year);case"yy":return D?V({year:"2-digit"},"year"):this.num(p.year.toString().slice(-2),2);case"yyyy":return D?V({year:"numeric"},"year"):this.num(p.year,4);case"yyyyyy":return D?V({year:"numeric"},"year"):this.num(p.year,6);case"G":return xr("short");case"GG":return xr("long");case"GGGGG":return xr("narrow");case"kk":return this.num(p.weekYear.toString().slice(-2),2);case"kkkk":return this.num(p.weekYear,4);case"W":return this.num(p.weekNumber);case"WW":return this.num(p.weekNumber,2);case"n":return this.num(p.localWeekNumber);case"nn":return this.num(p.localWeekNumber,2);case"ii":return this.num(p.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(p.localWeekYear,4);case"o":return this.num(p.ordinal);case"ooo":return this.num(p.ordinal,3);case"q":return this.num(p.quarter);case"qq":return this.num(p.quarter,2);case"X":return this.num(Math.floor(p.ts/1e3));case"x":return this.num(p.ts);default:return ur(Zr)}})}formatDurationFromString(p,d){const m=Wt=>{switch(Wt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},V=jr.parseFormat(d),J=V.reduce((Wt,{literal:we,val:ur})=>we?Wt:Wt.concat(ur),[]);return le(V,(Wt=>we=>{const ur=m(we);return ur?this.num(Wt.get(ur),we.length):we})(p.shiftTo(...J.map(m).filter(Wt=>Wt))))}}const Oo=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function so(...b){const p=b.reduce((d,m)=>d+m.source,"");return RegExp(`^${p}$`)}function rn(...b){return p=>b.reduce(([d,m,D],V)=>{const[J,_t,Wt]=V(p,D);return[{...d,...J},_t||m,Wt]},[{},null,1]).slice(0,2)}function bn(b,...p){if(null==b)return[null,null];for(const[d,m]of p){const D=d.exec(b);if(D)return m(D)}return[null,null]}function Lo(...b){return(p,d)=>{const m={};let D;for(D=0;Dvoid 0!==Zr&&(yo||Zr&&ur)?-Zr:Zr;return[{years:mo(fi(d)),months:mo(fi(m)),weeks:mo(fi(D)),days:mo(fi(V)),hours:mo(fi(J)),minutes:mo(fi(_t)),seconds:mo(fi(Wt),"-0"===Wt),milliseconds:mo(Ko(we),xr)}]}const Ps={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wa(b,p,d,m,D,V,J){const _t={year:2===p.length?ii(na(p)):na(p),month:ia.indexOf(d)+1,day:na(m),hour:na(D),minute:na(V)};return J&&(_t.second=na(J)),b&&(_t.weekday=b.length>3?Vn.indexOf(b)+1:xi.indexOf(b)+1),_t}const yn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Fs(b){const[,p,d,m,D,V,J,_t,Wt,we,ur,xr]=b,mo=Wa(p,D,m,d,V,J,_t);let Zr;return Zr=Wt?Ps[Wt]:we?0:Qi(ur,xr),[mo,new Fo(Zr)]}const hs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ql=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function ln(b){const[,p,d,m,D,V,J,_t]=b;return[Wa(p,D,m,d,V,J,_t),Fo.utcInstance]}function Li(b){const[,p,d,m,D,V,J,_t]=b;return[Wa(p,_t,d,m,D,V,J),Fo.utcInstance]}const on=so(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,wi),Ji=so(/(\d{4})-?W(\d\d)(?:-?(\d))?/,wi),$i=so(/(\d{4})-?(\d{3})/,wi),zs=so(Ti),As=rn(function je(b,p){return[{year:Ft(b,p),month:Ft(b,p+1,1),day:Ft(b,p+2,1)},null,p+3]},No,gn,ha),sa=rn(zn,No,gn,ha),yc=rn(Gi,No,gn,ha),Ss=rn(No,gn,ha),xc=rn(No),kc=so(/(\d{4})-(\d\d)-(\d\d)/,X),Lc=so(bt),Ka=rn(No,gn,ha),Us="Invalid Duration",Ca={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},el={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Ca},ki=365.2425,ta=30.436875,Jl={years:{quarters:4,months:12,weeks:ki/7,days:ki,hours:24*ki,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:ki/28,days:ki/4,hours:24*ki/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:ta/7,days:ta,hours:24*ta,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Ca},Xi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ts=Xi.slice(0).reverse();function ai(b,p,d=!1){const m={values:d?p.values:{...b.values,...p.values||{}},loc:b.loc.clone(p.loc),conversionAccuracy:p.conversionAccuracy||b.conversionAccuracy,matrix:p.matrix||b.matrix};return new Ln(m)}function Hs(b,p){let d=p.milliseconds??0;for(const m of Ts.slice(1))p[m]&&(d+=p[m]*b[m].milliseconds);return d}function Ms(b,p){const d=Hs(b,p)<0?-1:1;Xi.reduceRight((m,D)=>{if(Uo(p[D]))return m;if(m){const J=b[D][m],_t=Math.floor(p[m]*d/J);p[D]+=_t*d,p[m]-=_t*J*d}return D},null),Xi.reduce((m,D)=>{if(Uo(p[D]))return m;if(m){const V=p[m]%1;p[m]-=V,p[D]+=V*b[m][D]}return D},null)}class Ln{constructor(p){const d="longterm"===p.conversionAccuracy||!1;let m=d?Jl:el;p.matrix&&(m=p.matrix),this.values=p.values,this.loc=p.loc||Yo.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=p.invalid||null,this.matrix=m,this.isLuxonDuration=!0}static fromMillis(p,d){return Ln.fromObject({milliseconds:p},d)}static fromObject(p,d={}){if(null==p||"object"!=typeof p)throw new Rt("Duration.fromObject: argument expected to be an object, got "+(null===p?"null":typeof p));return new Ln({values:ba(p,Ln.normalizeUnit),loc:Yo.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(p){if(Fn(p))return Ln.fromMillis(p);if(Ln.isDuration(p))return p;if("object"==typeof p)return Ln.fromObject(p);throw new Rt(`Unknown duration argument ${p} of type ${typeof p}`)}static fromISO(p,d){const[m]=function tl(b){return bn(b,[Ha,Ls])}(p);return m?Ln.fromObject(m,d):Ln.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static fromISOTime(p,d){const[m]=function _c(b){return bn(b,[Ns,xc])}(p);return m?Ln.fromObject(m,d):Ln.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Duration is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new gt(m);return new Ln({invalid:m})}static normalizeUnit(p){const d={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[p&&p.toLowerCase()];if(!d)throw new Se(p);return d}static isDuration(p){return p&&p.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(p,d={}){const m={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?jr.create(this.loc,m).formatDurationFromString(this,p):Us}toHuman(p={}){if(!this.isValid)return Us;const d=Xi.map(m=>{const D=this.values[m];return Uo(D)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...p,unit:m.slice(0,-1)}).format(D)}).filter(m=>m);return this.loc.listFormatter({type:"conjunction",style:p.listStyle||"narrow",...p}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let p="P";return 0!==this.years&&(p+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(p+=this.months+3*this.quarters+"M"),0!==this.weeks&&(p+=this.weeks+"W"),0!==this.days&&(p+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(p+="T"),0!==this.hours&&(p+=this.hours+"H"),0!==this.minutes&&(p+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(p+=pa(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===p&&(p+="T0S"),p}toISOTime(p={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(p={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...p,includeOffset:!1},$o.fromMillis(d,{zone:"UTC"}).toISOTime(p))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Hs(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(p){if(!this.isValid)return this;const d=Ln.fromDurationLike(p),m={};for(const D of Xi)(Ai(d.values,D)||Ai(this.values,D))&&(m[D]=d.get(D)+this.get(D));return ai(this,{values:m},!0)}minus(p){if(!this.isValid)return this;const d=Ln.fromDurationLike(p);return this.plus(d.negate())}mapUnits(p){if(!this.isValid)return this;const d={};for(const m of Object.keys(this.values))d[m]=ps(p(this.values[m],m));return ai(this,{values:d},!0)}get(p){return this[Ln.normalizeUnit(p)]}set(p){return this.isValid?ai(this,{values:{...this.values,...ba(p,Ln.normalizeUnit)}}):this}reconfigure({locale:p,numberingSystem:d,conversionAccuracy:m,matrix:D}={}){return ai(this,{loc:this.loc.clone({locale:p,numberingSystem:d}),matrix:D,conversionAccuracy:m})}as(p){return this.isValid?this.shiftTo(p).get(p):NaN}normalize(){if(!this.isValid)return this;const p=this.toObject();return Ms(this.matrix,p),ai(this,{values:p},!0)}rescale(){return this.isValid?ai(this,{values:function Da(b){const p={};for(const[d,m]of Object.entries(b))0!==m&&(p[d]=m);return p}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...p){if(!this.isValid)return this;if(0===p.length)return this;p=p.map(J=>Ln.normalizeUnit(J));const d={},m={},D=this.toObject();let V;for(const J of Xi)if(p.indexOf(J)>=0){V=J;let _t=0;for(const we in m)_t+=this.matrix[we][J]*m[we],m[we]=0;Fn(D[J])&&(_t+=D[J]);const Wt=Math.trunc(_t);d[J]=Wt,m[J]=(1e3*_t-1e3*Wt)/1e3}else Fn(D[J])&&(m[J]=D[J]);for(const J in m)0!==m[J]&&(d[V]+=J===V?m[J]:m[J]/this.matrix[V][J]);return Ms(this.matrix,d),ai(this,{values:d},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const p={};for(const d of Object.keys(this.values))p[d]=0===this.values[d]?0:-this.values[d];return ai(this,{values:p},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(p){if(!this.isValid||!p.isValid||!this.loc.equals(p.loc))return!1;function d(m,D){return void 0===m||0===m?void 0===D||0===D:m===D}for(const m of Xi)if(!d(this.values[m],p.values[m]))return!1;return!0}}const Ga="Invalid Interval";class gi{constructor(p){this.s=p.start,this.e=p.end,this.invalid=p.invalid||null,this.isLuxonInterval=!0}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Interval is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new Le(m);return new gi({invalid:m})}static fromDateTimes(p,d){const m=Ci(p),D=Ci(d),V=function gs(b,p){return b&&b.isValid?p&&p.isValid?pp}isBefore(p){return!!this.isValid&&this.e<=p}contains(p){return!!this.isValid&&this.s<=p&&this.e>p}set({start:p,end:d}={}){return this.isValid?gi.fromDateTimes(p||this.s,d||this.e):this}splitAt(...p){if(!this.isValid)return[];const d=p.map(Ci).filter(J=>this.contains(J)).sort((J,_t)=>J.toMillis()-_t.toMillis()),m=[];let{s:D}=this,V=0;for(;D+this.e?this.e:J;m.push(gi.fromDateTimes(D,_t)),D=_t,V+=1}return m}splitBy(p){const d=Ln.fromDurationLike(p);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:m}=this,D=1;const J=[];for(;mWt*D));V=+_t>+this.e?this.e:_t,J.push(gi.fromDateTimes(m,V)),m=V,D+=1}return J}divideEqually(p){return this.isValid?this.splitBy(this.length()/p).slice(0,p):[]}overlaps(p){return this.e>p.s&&this.s=p.e}equals(p){return!(!this.isValid||!p.isValid)&&this.s.equals(p.s)&&this.e.equals(p.e)}intersection(p){if(!this.isValid)return this;const d=this.s>p.s?this.s:p.s,m=this.e=m?null:gi.fromDateTimes(d,m)}union(p){return this.isValid?gi.fromDateTimes(this.sp.e?this.e:p.e):this}static merge(p){const[d,m]=p.sort((D,V)=>D.s-V.s).reduce(([D,V],J)=>V?V.overlaps(J)||V.abutsStart(J)?[D,V.union(J)]:[D.concat([V]),J]:[D,J],[[],null]);return m&&d.push(m),d}static xor(p){let d=null,m=0;const D=[],V=p.map(Wt=>[{time:Wt.s,type:"s"},{time:Wt.e,type:"e"}]),_t=Array.prototype.concat(...V).sort((Wt,we)=>Wt.time-we.time);for(const Wt of _t)m+="s"===Wt.type?1:-1,1===m?d=Wt.time:(d&&+d!=+Wt.time&&D.push(gi.fromDateTimes(d,Wt.time)),d=null);return gi.merge(D)}difference(...p){return gi.xor([this].concat(p)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ga}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(p=ft,d={}){return this.isValid?jr.create(this.s.loc.clone(d),p).formatInterval(this):Ga}toISO(p){return this.isValid?`${this.s.toISO(p)}/${this.e.toISO(p)}`:Ga}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ga}toISOTime(p){return this.isValid?`${this.s.toISOTime(p)}/${this.e.toISOTime(p)}`:Ga}toFormat(p,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(p)}${d}${this.e.toFormat(p)}`:Ga}toDuration(p,d){return this.isValid?this.e.diff(this.s,p,d):Ln.invalid(this.invalidReason)}mapEndpoints(p){return gi.fromDateTimes(p(this.s),p(this.e))}}class fs{static hasDST(p=Dt.defaultZone){const d=$o.now().setZone(p).set({month:12});return!p.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(p){return fr.isValidZone(p)}static normalizeZone(p){return ei(p,Dt.defaultZone)}static getStartOfWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getWeekendDays().slice()}static months(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p)}static monthsFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p,!0)}static weekdays(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p)}static weekdaysFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p,!0)}static meridiems({locale:p=null}={}){return Yo.create(p).meridiems()}static eras(p="short",{locale:d=null}={}){return Yo.create(d,null,"gregory").eras(p)}static features(){return{relative:Tn(),localeWeek:vi()}}}function ic(b,p){const d=D=>D.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),m=d(p)-d(b);return Math.floor(Ln.fromMillis(m).as("days"))}function fn(b,p=d=>d){return{regex:b,deser:([d])=>p(function Lr(b){let p=parseInt(b,10);if(isNaN(p)){p="";for(let d=0;d=V&&m<=J&&(p+=m-V)}}return parseInt(p,10)}return p}(d))}}const Ec="[ \xa0]",B=new RegExp(Ec,"g");function Et(b){return b.replace(/\./g,"\\.?").replace(B,Ec)}function x(b){return b.replace(/\./g,"").replace(B," ").toLowerCase()}function C(b,p){return null===b?null:{regex:RegExp(b.map(Et).join("|")),deser:([d])=>b.findIndex(m=>x(d)===x(m))+p}}function F(b,p){return{regex:b,deser:([,d,m])=>Qi(d,m),groups:p}}function ht(b){return{regex:b,deser:([p])=>p}}function Ot(b){return b.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Ue={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ze=null;function Yr(b,p){return Array.prototype.concat(...b.map(d=>function _r(b,p){if(b.literal)return b;const m=go(jr.macroTokenToFormatOpts(b.val),p);return null==m||m.includes(void 0)?b:m}(d,p)))}class Mr{constructor(p,d){if(this.locale=p,this.format=d,this.tokens=Yr(jr.parseFormat(d),p),this.units=this.tokens.map(m=>function ae(b,p){const d=no(p),m=no(p,"{2}"),D=no(p,"{3}"),V=no(p,"{4}"),J=no(p,"{6}"),_t=no(p,"{1,2}"),Wt=no(p,"{1,3}"),we=no(p,"{1,6}"),ur=no(p,"{1,9}"),xr=no(p,"{2,4}"),mo=no(p,"{4,6}"),Zr=hn=>({regex:RegExp(Ot(hn.val)),deser:([si])=>si,literal:!0}),qo=(hn=>{if(b.literal)return Zr(hn);switch(hn.val){case"G":return C(p.eras("short"),0);case"GG":return C(p.eras("long"),0);case"y":return fn(we);case"yy":case"kk":return fn(xr,ii);case"yyyy":case"kkkk":return fn(V);case"yyyyy":return fn(mo);case"yyyyyy":return fn(J);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return fn(_t);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return fn(m);case"MMM":return C(p.months("short",!0),1);case"MMMM":return C(p.months("long",!0),1);case"LLL":return C(p.months("short",!1),1);case"LLLL":return C(p.months("long",!1),1);case"o":case"S":return fn(Wt);case"ooo":case"SSS":return fn(D);case"u":return ht(ur);case"uu":return ht(_t);case"uuu":case"E":case"c":return fn(d);case"a":return C(p.meridiems(),0);case"EEE":return C(p.weekdays("short",!1),1);case"EEEE":return C(p.weekdays("long",!1),1);case"ccc":return C(p.weekdays("short",!0),1);case"cccc":return C(p.weekdays("long",!0),1);case"Z":case"ZZ":return F(new RegExp(`([+-]${_t.source})(?::(${m.source}))?`),2);case"ZZZ":return F(new RegExp(`([+-]${_t.source})(${m.source})?`),2);case"z":return ht(/[a-z_+-/]{1,256}?/i);case" ":return ht(/[^\S\n\r]/);default:return Zr(hn)}})(b)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return qo.token=b,qo}(m,p)),this.disqualifyingUnit=this.units.find(m=>m.invalidReason),!this.disqualifyingUnit){const[m,D]=function Ze(b){return[`^${b.map(d=>d.regex).reduce((d,m)=>`${d}(${m.source})`,"")}$`,b]}(this.units);this.regex=RegExp(m,"i"),this.handlers=D}}explainFromTokens(p){if(this.isValid){const[d,m]=function sr(b,p,d){const m=b.match(p);if(m){const D={};let V=1;for(const J in d)if(Ai(d,J)){const _t=d[J],Wt=_t.groups?_t.groups+1:1;!_t.literal&&_t.token&&(D[_t.token.val[0]]=_t.deser(m.slice(V,V+Wt))),V+=Wt}return[m,D]}return[m,{}]}(p,this.regex,this.handlers),[D,V,J]=m?function Ir(b){let m,d=null;return Uo(b.z)||(d=fr.create(b.z)),Uo(b.Z)||(d||(d=new Fo(b.Z)),m=b.Z),Uo(b.q)||(b.M=3*(b.q-1)+1),Uo(b.h)||(b.h<12&&1===b.a?b.h+=12:12===b.h&&0===b.a&&(b.h=0)),0===b.G&&b.y&&(b.y=-b.y),Uo(b.u)||(b.S=Ko(b.u)),[Object.keys(b).reduce((V,J)=>{const _t=(V=>{switch(V){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(J);return _t&&(V[_t]=b[J]),V},{}),d,m]}(m):[null,null,void 0];if(Ai(m,"a")&&Ai(m,"H"))throw new Nt("Can't include meridiem when specifying 24-hour format");return{input:p,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:m,result:D,zone:V,specificOffset:J}}return{input:p,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Gr(b,p,d){return new Mr(b,d).explainFromTokens(p)}function go(b,p){if(!b)return null;const m=jr.create(p,b).dtFormatter(function nr(){return ze||(ze=$o.fromMillis(1555555555555)),ze}()),D=m.formatToParts(),V=m.resolvedOptions();return D.map(J=>function Ve(b,p,d){const{type:m,value:D}=b;if("literal"===m){const Wt=/^\s+$/.test(D);return{literal:!Wt,val:Wt?" ":D}}let J=m;"hour"===m&&(J=null!=p.hour12?p.hour12?"hour12":"hour24":null!=p.hourCycle?"h11"===p.hourCycle||"h12"===p.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let _t=Ue[J];if("object"==typeof _t&&(_t=_t[p[m]]),_t)return{literal:!1,val:_t}}(J,b,V))}const Vr="Invalid DateTime",Do=864e13;function Io(b){return new ne("unsupported zone",`the zone "${b.name}" is not supported`)}function Xr(b){return null===b.weekData&&(b.weekData=qr(b.c)),b.weekData}function tn(b){return null===b.localWeekData&&(b.localWeekData=qr(b.c,b.loc.getMinDaysInFirstWeek(),b.loc.getStartOfWeek())),b.localWeekData}function Xo(b,p){const d={ts:b.ts,zone:b.zone,c:b.c,o:b.o,loc:b.loc,invalid:b.invalid};return new $o({...d,...p,old:d})}function En(b,p,d){let m=b-60*p*1e3;const D=d.offset(m);if(p===D)return[m,p];m-=60*(D-p)*1e3;const V=d.offset(m);return D===V?[m,D]:[b-60*Math.min(D,V)*1e3,Math.max(D,V)]}function Qo(b,p){const d=new Date(b+=60*p*1e3);return{year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate(),hour:d.getUTCHours(),minute:d.getUTCMinutes(),second:d.getUTCSeconds(),millisecond:d.getUTCMilliseconds()}}function xn(b,p,d){return En(ma(b),p,d)}function Ei(b,p){const d=b.o,m=b.c.year+Math.trunc(p.years),D=b.c.month+Math.trunc(p.months)+3*Math.trunc(p.quarters),V={...b.c,year:m,month:D,day:Math.min(b.c.day,Nn(m,D))+Math.trunc(p.days)+7*Math.trunc(p.weeks)},J=Ln.fromObject({years:p.years-Math.trunc(p.years),quarters:p.quarters-Math.trunc(p.quarters),months:p.months-Math.trunc(p.months),weeks:p.weeks-Math.trunc(p.weeks),days:p.days-Math.trunc(p.days),hours:p.hours,minutes:p.minutes,seconds:p.seconds,milliseconds:p.milliseconds}).as("milliseconds"),_t=ma(V);let[Wt,we]=En(_t,d,b.zone);return 0!==J&&(Wt+=J,we=b.zone.offset(Wt)),{ts:Wt,o:we}}function oi(b,p,d,m,D,V){const{setZone:J,zone:_t}=d;if(b&&0!==Object.keys(b).length||p){const Wt=p||_t,we=$o.fromObject(b,{...d,zone:Wt,specificOffset:V});return J?we:we.setZone(_t)}return $o.invalid(new ne("unparsable",`the input "${D}" can't be parsed as ${m}`))}function Hi(b,p,d=!0){return b.isValid?jr.create(Yo.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(b,p):null}function To(b,p){const d=b.c.year>9999||b.c.year<0;let m="";return d&&b.c.year>=0&&(m+="+"),m+=Mn(b.c.year,d?6:4),p?(m+="-",m+=Mn(b.c.month),m+="-",m+=Mn(b.c.day)):(m+=Mn(b.c.month),m+=Mn(b.c.day)),m}function uo(b,p,d,m,D,V){let J=Mn(b.c.hour);return p?(J+=":",J+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(J+=":")):J+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(J+=Mn(b.c.second),(0!==b.c.millisecond||!m)&&(J+=".",J+=Mn(b.c.millisecond,3))),D&&(b.isOffsetFixed&&0===b.offset&&!V?J+="Z":b.o<0?(J+="-",J+=Mn(Math.trunc(-b.o/60)),J+=":",J+=Mn(Math.trunc(-b.o%60))):(J+="+",J+=Mn(Math.trunc(b.o/60)),J+=":",J+=Mn(Math.trunc(b.o%60)))),V&&(J+="["+b.zone.ianaName+"]"),J}const vn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Rn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},fo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Mi=["year","month","day","hour","minute","second","millisecond"],ea=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Fi=["year","ordinal","hour","minute","second","millisecond"];function ya(b){switch(b.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function ws(b){const p={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[b.toLowerCase()];if(!p)throw new Se(b);return p}(b)}}function Po(b,p){const d=ei(p.zone,Dt.defaultZone);if(!d.isValid)return $o.invalid(Io(d));const m=Yo.fromObject(p);let D,V;if(Uo(b.year))D=Dt.now();else{for(const Wt of Mi)Uo(b[Wt])&&(b[Wt]=vn[Wt]);const J=Di(b)||jn(b);if(J)return $o.invalid(J);const _t=function yi(b){return la[b]||(void 0===Xa&&(Xa=Dt.now()),la[b]=b.offset(Xa)),la[b]}(d);[D,V]=xn(b,_t,d)}return new $o({ts:D,zone:d,loc:m,o:V})}function li(b,p,d){const m=!!Uo(d.round)||d.round,D=(J,_t)=>(J=pa(J,m||d.calendary?0:2,!0),p.loc.clone(d).relFormatter(d).format(J,_t)),V=J=>d.calendary?p.hasSame(b,J)?0:p.startOf(J).diff(b.startOf(J),J).get(J):p.diff(b,J).get(J);if(d.unit)return D(V(d.unit),d.unit);for(const J of d.units){const _t=V(J);if(Math.abs(_t)>=1)return D(_t,J)}return D(b>p?-0:0,d.units[d.units.length-1])}function Ii(b){let d,p={};return b.length>0&&"object"==typeof b[b.length-1]?(p=b[b.length-1],d=Array.from(b).slice(0,b.length-1)):d=Array.from(b),[p,d]}let Xa,la={};class $o{constructor(p){const d=p.zone||Dt.defaultZone;let m=p.invalid||(Number.isNaN(p.ts)?new ne("invalid input"):null)||(d.isValid?null:Io(d));this.ts=Uo(p.ts)?Dt.now():p.ts;let D=null,V=null;if(!m)if(p.old&&p.old.ts===this.ts&&p.old.zone.equals(d))[D,V]=[p.old.c,p.old.o];else{const _t=Fn(p.o)&&!p.old?p.o:d.offset(this.ts);D=Qo(this.ts,_t),m=Number.isNaN(D.year)?new ne("invalid input"):null,D=m?null:D,V=m?null:_t}this._zone=d,this.loc=p.loc||Yo.create(),this.invalid=m,this.weekData=null,this.localWeekData=null,this.c=D,this.o=V,this.isLuxonDateTime=!0}static now(){return new $o({})}static local(){const[p,d]=Ii(arguments),[m,D,V,J,_t,Wt,we]=d;return Po({year:m,month:D,day:V,hour:J,minute:_t,second:Wt,millisecond:we},p)}static utc(){const[p,d]=Ii(arguments),[m,D,V,J,_t,Wt,we]=d;return p.zone=Fo.utcInstance,Po({year:m,month:D,day:V,hour:J,minute:_t,second:Wt,millisecond:we},p)}static fromJSDate(p,d={}){const m=function ja(b){return"[object Date]"===Object.prototype.toString.call(b)}(p)?p.valueOf():NaN;if(Number.isNaN(m))return $o.invalid("invalid input");const D=ei(d.zone,Dt.defaultZone);return D.isValid?new $o({ts:m,zone:D,loc:Yo.fromObject(d)}):$o.invalid(Io(D))}static fromMillis(p,d={}){if(Fn(p))return p<-Do||p>Do?$o.invalid("Timestamp out of range"):new $o({ts:p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt(`fromMillis requires a numerical input, but received a ${typeof p} with value ${p}`)}static fromSeconds(p,d={}){if(Fn(p))return new $o({ts:1e3*p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt("fromSeconds requires a numerical input")}static fromObject(p,d={}){p=p||{};const m=ei(d.zone,Dt.defaultZone);if(!m.isValid)return $o.invalid(Io(m));const D=Yo.fromObject(d),V=ba(p,ya),{minDaysInFirstWeek:J,startOfWeek:_t}=po(V,D),Wt=Dt.now(),we=Uo(d.specificOffset)?m.offset(Wt):d.specificOffset,ur=!Uo(V.ordinal),xr=!Uo(V.year),mo=!Uo(V.month)||!Uo(V.day),Zr=xr||mo,yo=V.weekYear||V.weekNumber;if((Zr||ur)&&yo)throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(mo&&ur)throw new Nt("Can't mix ordinal dates with month/day");const qo=yo||V.weekday&&!Zr;let hn,si,Wi=Qo(Wt,we);qo?(hn=ea,si=Rn,Wi=qr(Wi,J,_t)):ur?(hn=Fi,si=fo,Wi=xo(Wi)):(hn=Mi,si=vn);let La=!1;for(const fc of hn)Uo(V[fc])?V[fc]=La?si[fc]:Wi[fc]:La=!0;const Pa=qo?function io(b,p=4,d=1){const m=zi(b.weekYear),D=Zn(b.weekNumber,1,Va(b.weekYear,p,d)),V=Zn(b.weekday,1,7);return m?D?!V&&or("weekday",b.weekday):or("week",b.weekNumber):or("weekYear",b.weekYear)}(V,J,_t):ur?function Yn(b){const p=zi(b.year),d=Zn(b.ordinal,1,qn(b.year));return p?!d&&or("ordinal",b.ordinal):or("year",b.year)}(V):Di(V),fl=Pa||jn(V);if(fl)return $o.invalid(fl);const gc=qo?to(V,J,_t):ur?So(V):V,[fa,Ds]=xn(gc,we,m),rc=new $o({ts:fa,zone:m,o:Ds,loc:D});return V.weekday&&Zr&&p.weekday!==rc.weekday?$o.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${rc.toISO()}`):rc.isValid?rc:$o.invalid(rc.invalid)}static fromISO(p,d={}){const[m,D]=function Oi(b){return bn(b,[on,As],[Ji,sa],[$i,yc],[zs,Ss])}(p);return oi(m,D,d,"ISO 8601",p)}static fromRFC2822(p,d={}){const[m,D]=function vc(b){return bn(function Ea(b){return b.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(b),[yn,Fs])}(p);return oi(m,D,d,"RFC 2822",p)}static fromHTTP(p,d={}){const[m,D]=function Nc(b){return bn(b,[hs,ln],[ql,ln],[Jc,Li])}(p);return oi(m,D,d,"HTTP",d)}static fromFormat(p,d,m={}){if(Uo(p)||Uo(d))throw new Rt("fromFormat requires an input string and a format");const{locale:D=null,numberingSystem:V=null}=m,J=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),[_t,Wt,we,ur]=function Jr(b,p,d){const{result:m,zone:D,specificOffset:V,invalidReason:J}=Gr(b,p,d);return[m,D,V,J]}(J,p,d);return ur?$o.invalid(ur):oi(_t,Wt,m,`format ${d}`,p,we)}static fromString(p,d,m={}){return $o.fromFormat(p,d,m)}static fromSQL(p,d={}){const[m,D]=function Bs(b){return bn(b,[kc,As],[Lc,Ka])}(p);return oi(m,D,d,"SQL",p)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the DateTime is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new xe(m);return new $o({invalid:m})}static isDateTime(p){return p&&p.isLuxonDateTime||!1}static parseFormatForOpts(p,d={}){const m=go(p,Yo.fromObject(d));return m?m.map(D=>D?D.val:null).join(""):null}static expandFormat(p,d={}){return Yr(jr.parseFormat(p),Yo.fromObject(d)).map(D=>D.val).join("")}static resetCache(){Xa=void 0,la={}}get(p){return this[p]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xr(this).weekYear:NaN}get weekNumber(){return this.isValid?Xr(this).weekNumber:NaN}get weekday(){return this.isValid?Xr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tn(this).weekday:NaN}get localWeekNumber(){return this.isValid?tn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tn(this).weekYear:NaN}get ordinal(){return this.isValid?xo(this.c).ordinal:NaN}get monthShort(){return this.isValid?fs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fs.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const p=864e5,d=6e4,m=ma(this.c),D=this.zone.offset(m-p),V=this.zone.offset(m+p),J=this.zone.offset(m-D*d),_t=this.zone.offset(m-V*d);if(J===_t)return[this];const Wt=m-J*d,we=m-_t*d,ur=Qo(Wt,J),xr=Qo(we,_t);return ur.hour===xr.hour&&ur.minute===xr.minute&&ur.second===xr.second&&ur.millisecond===xr.millisecond?[Xo(this,{ts:Wt}),Xo(this,{ts:we})]:[this]}get isInLeapYear(){return Qn(this.year)}get daysInMonth(){return Nn(this.year,this.month)}get daysInYear(){return this.isValid?qn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Va(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Va(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(p={}){const{locale:d,numberingSystem:m,calendar:D}=jr.create(this.loc.clone(p),p).resolvedOptions(this);return{locale:d,numberingSystem:m,outputCalendar:D}}toUTC(p=0,d={}){return this.setZone(Fo.instance(p),d)}toLocal(){return this.setZone(Dt.defaultZone)}setZone(p,{keepLocalTime:d=!1,keepCalendarTime:m=!1}={}){if((p=ei(p,Dt.defaultZone)).equals(this.zone))return this;if(p.isValid){let D=this.ts;if(d||m){const V=p.offset(this.ts),J=this.toObject();[D]=xn(J,V,p)}return Xo(this,{ts:D,zone:p})}return $o.invalid(Io(p))}reconfigure({locale:p,numberingSystem:d,outputCalendar:m}={}){return Xo(this,{loc:this.loc.clone({locale:p,numberingSystem:d,outputCalendar:m})})}setLocale(p){return this.reconfigure({locale:p})}set(p){if(!this.isValid)return this;const d=ba(p,ya),{minDaysInFirstWeek:m,startOfWeek:D}=po(d,this.loc),V=!Uo(d.weekYear)||!Uo(d.weekNumber)||!Uo(d.weekday),J=!Uo(d.ordinal),_t=!Uo(d.year),Wt=!Uo(d.month)||!Uo(d.day);if((_t||Wt||J)&&(d.weekYear||d.weekNumber))throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Wt&&J)throw new Nt("Can't mix ordinal dates with month/day");let xr;V?xr=to({...qr(this.c,m,D),...d},m,D):Uo(d.ordinal)?(xr={...this.toObject(),...d},Uo(d.day)&&(xr.day=Math.min(Nn(xr.year,xr.month),xr.day))):xr=So({...xo(this.c),...d});const[mo,Zr]=xn(xr,this.o,this.zone);return Xo(this,{ts:mo,o:Zr})}plus(p){return this.isValid?Xo(this,Ei(this,Ln.fromDurationLike(p))):this}minus(p){return this.isValid?Xo(this,Ei(this,Ln.fromDurationLike(p).negate())):this}startOf(p,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const m={},D=Ln.normalizeUnit(p);switch(D){case"years":m.month=1;case"quarters":case"months":m.day=1;case"weeks":case"days":m.hour=0;case"hours":m.minute=0;case"minutes":m.second=0;case"seconds":m.millisecond=0}if("weeks"===D)if(d){const V=this.loc.getStartOfWeek(),{weekday:J}=this;Jthis.valueOf(),we=function ca(b,p,d,m){let[D,V,J,_t]=function Is(b,p,d){const m=[["years",(Wt,we)=>we.year-Wt.year],["quarters",(Wt,we)=>we.quarter-Wt.quarter+4*(we.year-Wt.year)],["months",(Wt,we)=>we.month-Wt.month+12*(we.year-Wt.year)],["weeks",(Wt,we)=>{const ur=ic(Wt,we);return(ur-ur%7)/7}],["days",ic]],D={},V=b;let J,_t;for(const[Wt,we]of m)d.indexOf(Wt)>=0&&(J=Wt,D[Wt]=we(b,p),_t=V.plus(D),_t>p?(D[Wt]--,(b=V.plus(D))>p&&(_t=b,D[Wt]--,b=V.plus(D))):b=_t);return[b,D,_t,J]}(b,p,d);const Wt=p-D,we=d.filter(xr=>["hours","minutes","seconds","milliseconds"].indexOf(xr)>=0);0===we.length&&(J0?Ln.fromMillis(Wt,m).shiftTo(...we).plus(ur):ur}(J?this:p,J?p:this,V,D);return J?we.negate():we}diffNow(p="milliseconds",d={}){return this.diff($o.now(),p,d)}until(p){return this.isValid?gi.fromDateTimes(this,p):this}hasSame(p,d,m){if(!this.isValid)return!1;const D=p.valueOf(),V=this.setZone(p.zone,{keepLocalTime:!0});return V.startOf(d,m)<=D&&D<=V.endOf(d,m)}equals(p){return this.isValid&&p.isValid&&this.valueOf()===p.valueOf()&&this.zone.equals(p.zone)&&this.loc.equals(p.loc)}toRelative(p={}){if(!this.isValid)return null;const d=p.base||$o.fromObject({},{zone:this.zone}),m=p.padding?thisd.valueOf(),Math.min)}static max(...p){if(!p.every($o.isDateTime))throw new Rt("max requires all arguments be DateTimes");return da(p,d=>d.valueOf(),Math.max)}static fromFormatExplain(p,d,m={}){const{locale:D=null,numberingSystem:V=null}=m;return Gr(Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),p,d)}static fromStringExplain(p,d,m={}){return $o.fromFormatExplain(p,d,m)}static buildFormatParser(p,d={}){const{locale:m=null,numberingSystem:D=null}=d,V=Yo.fromOpts({locale:m,numberingSystem:D,defaultToEN:!0});return new Mr(V,p)}static fromFormatParser(p,d,m={}){if(Uo(p)||Uo(d))throw new Rt("fromFormatParser requires an input string and a format parser");const{locale:D=null,numberingSystem:V=null}=m,J=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0});if(!J.equals(d.locale))throw new Rt(`fromFormatParser called with a locale of ${J}, but the format parser was created for ${d.locale}`);const{result:_t,zone:Wt,specificOffset:we,invalidReason:ur}=d.explainFromTokens(p);return ur?$o.invalid(ur):oi(_t,Wt,m,`format ${d.format}`,p,we)}static get DATE_SHORT(){return ft}static get DATE_MED(){return pe}static get DATE_MED_WITH_WEEKDAY(){return Ut}static get DATE_FULL(){return Ee}static get DATE_HUGE(){return ie}static get TIME_SIMPLE(){return He}static get TIME_WITH_SECONDS(){return Ht}static get TIME_WITH_SHORT_OFFSET(){return Me}static get TIME_WITH_LONG_OFFSET(){return Pe}static get TIME_24_SIMPLE(){return We}static get TIME_24_WITH_SECONDS(){return Or}static get TIME_24_WITH_SHORT_OFFSET(){return ko}static get TIME_24_WITH_LONG_OFFSET(){return lr}static get DATETIME_SHORT(){return Lt}static get DATETIME_SHORT_WITH_SECONDS(){return be}static get DATETIME_MED(){return se}static get DATETIME_MED_WITH_SECONDS(){return Ie}static get DATETIME_MED_WITH_WEEKDAY(){return br}static get DATETIME_FULL(){return mt}static get DATETIME_FULL_WITH_SECONDS(){return $}static get DATETIME_HUGE(){return Z}static get DATETIME_HUGE_WITH_SECONDS(){return it}}function Ci(b){if($o.isDateTime(b))return b;if(b&&b.valueOf&&Fn(b.valueOf()))return $o.fromJSDate(b);if(b&&"object"==typeof b)return $o.fromObject(b);throw new Rt(`Unknown datetime argument: ${b}, of type ${typeof b}`)}const ys=new c.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function yl(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let rl=(()=>{class b extends Xe.MJ{constructor(d,m){super(),this._useUTC=!!m?.useUtc,this._firstDayOfWeek=m?.firstDayOfWeek||0,this._defaultOutputCalendar=m?.defaultOutputCalendar||"gregory",this.setLocale(d||$o.local().locale)}getYear(d){return d.year}getMonth(d){return d.month-1}getDate(d){return d.day}getDayOfWeek(d){return d.weekday}getMonthNames(d){return fs.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function Pc(b,p){const d=Array(b);for(let m=0;md.format($o.utc(2017,1,m+1).toJSDate()))}getDayOfWeekNames(d){const m=fs.weekdays(d,{locale:this.locale});return m.unshift(m.pop()),m}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return $o.fromObject(d.toObject(),this._getOptions())}createDate(d,m,D){const V=this._getOptions();if(m<0||m>11)throw Error(`Invalid month index "${m}". Month index has to be between 0 and 11.`);if(D<1)throw Error(`Invalid date "${D}". Date has to be greater than 0.`);const J=this._useUTC?$o.utc(d,m+1,D,V):$o.local(d,m+1,D,V);if(!this.isValid(J))throw Error(`Invalid date "${D}". Reason: "${J.invalidReason}".`);return J}today(){const d=this._getOptions();return this._useUTC?$o.utc(d):$o.local(d)}parse(d,m){const D=this._getOptions();if("string"==typeof d&&d.length>0){const V=$o.fromISO(d,D);if(this.isValid(V))return V;const J=Array.isArray(m)?m:[m];if(!m.length)throw Error("Formats array must not be empty.");for(const _t of J){const Wt=$o.fromFormat(d,_t,D);if(this.isValid(Wt))return Wt}return this.invalid()}return"number"==typeof d?$o.fromMillis(d,D):d instanceof Date?$o.fromJSDate(d,D):d instanceof $o?$o.fromMillis(d.toMillis(),D):null}format(d,m){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(m):d.setLocale(this.locale).toFormat(m)}addCalendarYears(d,m){return d.reconfigure(this._getOptions()).plus({years:m})}addCalendarMonths(d,m){return d.reconfigure(this._getOptions()).plus({months:m})}addCalendarDays(d,m){return d.reconfigure(this._getOptions()).plus({days:m})}toIso8601(d){return d.toISO()}deserialize(d){const m=this._getOptions();let D;if(d instanceof Date&&(D=$o.fromJSDate(d,m)),"string"==typeof d){if(!d)return null;D=$o.fromISO(d,m)}return D&&this.isValid(D)?D:super.deserialize(d)}isDateInstance(d){return d instanceof $o}isValid(d){return d.isValid}invalid(){return $o.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Xe.Ju,8),c.KVO(ys,8))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();var zo=r(9969);function N(b){return new c.wOt(3e3,!1)}function Xs(b){switch(b.length){case 0:return new zo.sf;case 1:return b[0];default:return new zo.ui(b)}}function Nd(b,p,d=new Map,m=new Map){const D=[],V=[];let J=-1,_t=null;if(p.forEach(Wt=>{const we=Wt.get("offset"),ur=we==J,xr=ur&&_t||new Map;Wt.forEach((mo,Zr)=>{let yo=Zr,qo=mo;if("offset"!==Zr)switch(yo=b.normalizePropertyName(yo,D),qo){case zo.FX:qo=d.get(Zr);break;case zo.kp:qo=m.get(Zr);break;default:qo=b.normalizeStyleValue(Zr,yo,qo,D)}xr.set(yo,qo)}),ur||V.push(xr),_t=xr,J=we}),D.length)throw function Kp(){return new c.wOt(3502,!1)}();return V}function _s(b,p,d,m){switch(p){case"start":b.onStart(()=>m(d&&Ld(d,"start",b)));break;case"done":b.onDone(()=>m(d&&Ld(d,"done",b)));break;case"destroy":b.onDestroy(()=>m(d&&Ld(d,"destroy",b)))}}function Ld(b,p,d){const V=Pd(b.element,b.triggerName,b.fromState,b.toState,p||b.phaseName,d.totalTime??b.totalTime,!!d.disabled),J=b._data;return null!=J&&(V._data=J),V}function Pd(b,p,d,m,D="",V=0,J){return{element:b,triggerName:p,fromState:d,toState:m,phaseName:D,totalTime:V,disabled:!!J}}function ks(b,p,d){let m=b.get(p);return m||b.set(p,m=d),m}function ed(b){const p=b.indexOf(":");return[b.substring(1,p),b.slice(p+1)]}const Hu=typeof document>"u"?null:document.documentElement;function kl(b){const p=b.parentNode||b.host||null;return p===Hu?null:p}let Ys=null,$s=!1;function Ku(b,p){for(;p;){if(p===b)return!0;p=kl(p)}return!1}function Yp(b,p,d){if(d)return Array.from(b.querySelectorAll(p));const m=b.querySelector(p);return m?[m]:[]}let Ud=(()=>{class b{validateStyleProperty(d){return function mn(b){Ys||(Ys=function Wu(){return typeof document<"u"?document.body:null}()||{},$s=!!Ys.style&&"WebkitAppearance"in Ys.style);let p=!0;return Ys.style&&!function Fd(b){return"ebkit"==b.substring(1,6)}(b)&&(p=b in Ys.style,!p&&$s&&(p="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in Ys.style)),p}(d)}containsElement(d,m){return Ku(d,m)}getParentElement(d){return kl(d)}query(d,m,D){return Yp(d,m,D)}computeStyle(d,m,D){return D||""}animate(d,m,D,V,J,_t=[],Wt){return new zo.sf(D,V)}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();class $d{static{this.NOOP=new Ud}}class rd{}const Zp=1e3,Gu="ng-enter",jd="ng-leave",Rr="ng-trigger",Cn=".ng-trigger",Xu="ng-animating",Vd=".ng-animating";function Wn(b){if("number"==typeof b)return b;const p=b.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:zd(parseFloat(p[1]),p[2])}function zd(b,p){return"s"===p?b*Zp:b}function Bc(b,p,d){return b.hasOwnProperty("duration")?b:function Zs(b,p,d){let D,V=0,J="";if("string"==typeof b){const _t=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===_t)return p.push(N()),{duration:0,delay:0,easing:""};D=zd(parseFloat(_t[1]),_t[2]);const Wt=_t[3];null!=Wt&&(V=zd(parseFloat(Wt),_t[4]));const we=_t[5];we&&(J=we)}else D=b;if(!d){let _t=!1,Wt=p.length;D<0&&(p.push(function W(){return new c.wOt(3100,!1)}()),_t=!0),V<0&&(p.push(function P(){return new c.wOt(3101,!1)}()),_t=!0),_t&&p.splice(Wt,0,N())}return{duration:D,delay:V,easing:J}}(b,p,d)}function Qs(b,p,d){p.forEach((m,D)=>{const V=Gd(D);d&&!d.has(D)&&d.set(D,b.style[V]),b.style[V]=m})}function El(b,p){p.forEach((d,m)=>{const D=Gd(m);b.style[D]=""})}function Wd(b){return Array.isArray(b)?1==b.length?b[0]:(0,zo.K2)(b):b}const Kd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Zu(b){let p=[];if("string"==typeof b){let d;for(;d=Kd.exec(b);)p.push(d[1]);Kd.lastIndex=0}return p}function ga(b,p,d){const m=`${b}`,D=m.replace(Kd,(V,J)=>{let _t=p[J];return null==_t&&(d.push(function wt(){return new c.wOt(3003,!1)}()),_t=""),_t.toString()});return D==m?b:D}const Dc=/-+([a-z0-9])/g;function Gd(b){return b.replace(Dc,(...p)=>p[1].toUpperCase())}function Es(b,p,d){switch(p.type){case zo.If.Trigger:return b.visitTrigger(p,d);case zo.If.State:return b.visitState(p,d);case zo.If.Transition:return b.visitTransition(p,d);case zo.If.Sequence:return b.visitSequence(p,d);case zo.If.Group:return b.visitGroup(p,d);case zo.If.Animate:return b.visitAnimate(p,d);case zo.If.Keyframes:return b.visitKeyframes(p,d);case zo.If.Style:return b.visitStyle(p,d);case zo.If.Reference:return b.visitReference(p,d);case zo.If.AnimateChild:return b.visitAnimateChild(p,d);case zo.If.AnimateRef:return b.visitAnimateRef(p,d);case zo.If.Query:return b.visitQuery(p,d);case zo.If.Stagger:return b.visitStagger(p,d);default:throw function Kt(){return new c.wOt(3004,!1)}()}}function Qu(b,p){return window.getComputedStyle(b)[p]}const Jp=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class od extends rd{normalizePropertyName(p,d){return Gd(p)}normalizeStyleValue(p,d,m,D){let V="";const J=m.toString().trim();if(Jp.has(d)&&0!==m&&"0"!==m)if("number"==typeof m)V="px";else{const _t=m.match(/^[+-]?[\d\.]+([a-z]*)$/);_t&&0==_t[1].length&&D.push(function Te(){return new c.wOt(3005,!1)}())}return J+V}}const id="*";const Cl=new Set(["true","1"]),Xd=new Set(["false","0"]);function va(b,p){const d=Cl.has(b)||Xd.has(b),m=Cl.has(p)||Xd.has(p);return(D,V)=>{let J=b==id||b==D,_t=p==id||p==V;return!J&&d&&"boolean"==typeof D&&(J=D?Cl.has(b):Xd.has(b)),!_t&&m&&"boolean"==typeof V&&(_t=V?Cl.has(p):Xd.has(p)),J&&_t}}const Ri=new RegExp("s*:selfs*,?","g");function Yd(b,p,d,m){return new sh(b).build(p,d,m)}class sh{constructor(p){this._driver=p}build(p,d,m){const D=new lh(d);return this._resetContextStyleTimingState(D),Es(this,Wd(p),D)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,d){let m=d.queryCount=0,D=d.depCount=0;const V=[],J=[];return"@"==p.name.charAt(0)&&d.errors.push(function Ar(){return new c.wOt(3006,!1)}()),p.definitions.forEach(_t=>{if(this._resetContextStyleTimingState(d),_t.type==zo.If.State){const Wt=_t,we=Wt.name;we.toString().split(/\s*,\s*/).forEach(ur=>{Wt.name=ur,V.push(this.visitState(Wt,d))}),Wt.name=we}else if(_t.type==zo.If.Transition){const Wt=this.visitTransition(_t,d);m+=Wt.queryCount,D+=Wt.depCount,J.push(Wt)}else d.errors.push(function pr(){return new c.wOt(3007,!1)}())}),{type:zo.If.Trigger,name:p.name,states:V,transitions:J,queryCount:m,depCount:D,options:null}}visitState(p,d){const m=this.visitStyle(p.styles,d),D=p.options&&p.options.params||null;if(m.containsDynamicStyles){const V=new Set,J=D||{};m.styles.forEach(_t=>{_t instanceof Map&&_t.forEach(Wt=>{Zu(Wt).forEach(we=>{J.hasOwnProperty(we)||V.add(we)})})}),V.size&&d.errors.push(function bo(){return new c.wOt(3008,!1)}(0,V.values()))}return{type:zo.If.State,name:p.name,style:m,options:D?{params:D}:null}}visitTransition(p,d){d.queryCount=0,d.depCount=0;const m=Es(this,Wd(p.animation),d),D=function oh(b,p){const d=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(m=>function nh(b,p,d){if(":"==b[0]){const Wt=function ih(b,p){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,m)=>parseFloat(m)>parseFloat(d);case":decrement":return(d,m)=>parseFloat(m) *"}}(b,d);if("function"==typeof Wt)return void p.push(Wt);b=Wt}const m=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return d.push(function Ya(){return new c.wOt(3015,!1)}()),p;const D=m[1],V=m[2],J=m[3];p.push(va(D,J)),"<"==V[0]&&(D!=id||J!=id)&&p.push(va(J,D))}(m,d,p)):d.push(b),d}(p.expr,d.errors);return{type:zo.If.Transition,matchers:D,animation:m,queryCount:d.queryCount,depCount:d.depCount,options:il(p.options)}}visitSequence(p,d){return{type:zo.If.Sequence,steps:p.steps.map(m=>Es(this,m,d)),options:il(p.options)}}visitGroup(p,d){const m=d.currentTime;let D=0;const V=p.steps.map(J=>{d.currentTime=m;const _t=Es(this,J,d);return D=Math.max(D,d.currentTime),_t});return d.currentTime=D,{type:zo.If.Group,steps:V,options:il(p.options)}}visitAnimate(p,d){const m=function cc(b,p){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Dl(Bc(b,p).duration,0,"");const d=b;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Dl(0,0,"");return V.dynamic=!0,V.strValue=d,V}const D=Bc(d,p);return Dl(D.duration,D.delay,D.easing)}(p.timings,d.errors);d.currentAnimateTimings=m;let D,V=p.styles?p.styles:(0,zo.iF)({});if(V.type==zo.If.Keyframes)D=this.visitKeyframes(V,d);else{let J=p.styles,_t=!1;if(!J){_t=!0;const we={};m.easing&&(we.easing=m.easing),J=(0,zo.iF)(we)}d.currentTime+=m.duration+m.delay;const Wt=this.visitStyle(J,d);Wt.isEmptyStep=_t,D=Wt}return d.currentAnimateTimings=null,{type:zo.If.Animate,timings:m,style:D,options:null}}visitStyle(p,d){const m=this._makeStyleAst(p,d);return this._validateStyleAst(m,d),m}_makeStyleAst(p,d){const m=[],D=Array.isArray(p.styles)?p.styles:[p.styles];for(let _t of D)"string"==typeof _t?_t===zo.kp?m.push(_t):d.errors.push(new c.wOt(3002,!1)):m.push(new Map(Object.entries(_t)));let V=!1,J=null;return m.forEach(_t=>{if(_t instanceof Map&&(_t.has("easing")&&(J=_t.get("easing"),_t.delete("easing")),!V))for(let Wt of _t.values())if(Wt.toString().indexOf("{{")>=0){V=!0;break}}),{type:zo.If.Style,styles:m,easing:J,offset:p.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(p,d){const m=d.currentAnimateTimings;let D=d.currentTime,V=d.currentTime;m&&V>0&&(V-=m.duration+m.delay),p.styles.forEach(J=>{"string"!=typeof J&&J.forEach((_t,Wt)=>{const we=d.collectedStyles.get(d.currentQuerySelector),ur=we.get(Wt);let xr=!0;ur&&(V!=D&&V>=ur.startTime&&D<=ur.endTime&&(d.errors.push(function wn(){return new c.wOt(3010,!1)}()),xr=!1),V=ur.startTime),xr&&we.set(Wt,{startTime:V,endTime:D}),d.options&&function qp(b,p,d){const m=p.params||{},D=Zu(b);D.length&&D.forEach(V=>{m.hasOwnProperty(V)||d.push(function K(){return new c.wOt(3001,!1)}())})}(_t,d.options,d.errors)})})}visitKeyframes(p,d){const m={type:zo.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Sa(){return new c.wOt(3011,!1)}()),m;let V=0;const J=[];let _t=!1,Wt=!1,we=0;const ur=p.steps.map(si=>{const Wi=this._makeStyleAst(si,d);let La=null!=Wi.offset?Wi.offset:function ad(b){if("string"==typeof b)return null;let p=null;if(Array.isArray(b))b.forEach(d=>{if(d instanceof Map&&d.has("offset")){const m=d;p=parseFloat(m.get("offset")),m.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const d=b;p=parseFloat(d.get("offset")),d.delete("offset")}return p}(Wi.styles),Pa=0;return null!=La&&(V++,Pa=Wi.offset=La),Wt=Wt||Pa<0||Pa>1,_t=_t||Pa0&&V{const La=mo>0?Wi==Zr?1:mo*Wi:J[Wi],Pa=La*hn;d.currentTime=yo+qo.delay+Pa,qo.duration=Pa,this._validateStyleAst(si,d),si.offset=La,m.styles.push(si)}),m}visitReference(p,d){return{type:zo.If.Reference,animation:Es(this,Wd(p.animation),d),options:il(p.options)}}visitAnimateChild(p,d){return d.depCount++,{type:zo.If.AnimateChild,options:il(p.options)}}visitAnimateRef(p,d){return{type:zo.If.AnimateRef,animation:this.visitReference(p.animation,d),options:il(p.options)}}visitQuery(p,d){const m=d.currentQuerySelector,D=p.options||{};d.queryCount++,d.currentQuery=p;const[V,J]=function Wg(b){const p=!!b.split(/\s*,\s*/).find(d=>":self"==d);return p&&(b=b.replace(Ri,"")),b=b.replace(/@\*/g,Cn).replace(/@\w+/g,d=>Cn+"-"+d.slice(1)).replace(/:animating/g,Vd),[b,p]}(p.selector);d.currentQuerySelector=m.length?m+" "+V:V,ks(d.collectedStyles,d.currentQuerySelector,new Map);const _t=Es(this,Wd(p.animation),d);return d.currentQuery=null,d.currentQuerySelector=m,{type:zo.If.Query,selector:V,limit:D.limit||0,optional:!!D.optional,includeSelf:J,animation:_t,originalSelector:p.selector,options:il(p.options)}}visitStagger(p,d){d.currentQuery||d.errors.push(function Fc(){return new c.wOt(3013,!1)}());const m="full"===p.timings?{duration:0,delay:0,easing:"full"}:Bc(p.timings,d.errors,!0);return{type:zo.If.Stagger,animation:Es(this,Wd(p.animation),d),timings:m,options:null}}}class lh{constructor(p){this.errors=p,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function il(b){return b?(b={...b}).params&&(b.params=function ch(b){return b?{...b}:null}(b.params)):b={},b}function Dl(b,p,d){return{duration:b,delay:p,easing:d}}function Al(b,p,d,m,D,V,J=null,_t=!1){return{type:1,element:b,keyframes:p,preStyleProps:d,postStyleProps:m,duration:D,delay:V,totalTime:D+V,easing:J,subTimeline:_t}}class al{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,d){let m=this._map.get(p);m||this._map.set(p,m=[]),m.push(...d)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const uh=new RegExp(":enter","g"),sd=new RegExp(":leave","g");function sl(b,p,d,m,D,V=new Map,J=new Map,_t,Wt,we=[]){return(new Zd).buildKeyframes(b,p,d,m,D,V,J,_t,Wt,we)}class Zd{buildKeyframes(p,d,m,D,V,J,_t,Wt,we,ur=[]){we=we||new al;const xr=new cd(p,d,we,D,V,ur,[]);xr.options=Wt;const mo=Wt.delay?Wn(Wt.delay):0;xr.currentTimeline.delayNextStep(mo),xr.currentTimeline.setStyles([J],null,xr.errors,Wt),Es(this,m,xr);const Zr=xr.timelines.filter(yo=>yo.containsAnimation());if(Zr.length&&_t.size){let yo;for(let qo=Zr.length-1;qo>=0;qo--){const hn=Zr[qo];if(hn.element===d){yo=hn;break}}yo&&!yo.allowOnlyTimelineStyles()&&yo.setStyles([_t],null,xr.errors,Wt)}return Zr.length?Zr.map(yo=>yo.buildKeyframes()):[Al(d,[],[],[],0,mo,"",!1)]}visitTrigger(p,d){}visitState(p,d){}visitTransition(p,d){}visitAnimateChild(p,d){const m=d.subInstructions.get(d.element);if(m){const D=d.createSubContext(p.options),V=d.currentTimeline.currentTime,J=this._visitSubInstructions(m,D,D.options);V!=J&&d.transformIntoNewTimeline(J)}d.previousNode=p}visitAnimateRef(p,d){const m=d.createSubContext(p.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],d,m),this.visitReference(p.animation,m),d.transformIntoNewTimeline(m.currentTimeline.currentTime),d.previousNode=p}_applyAnimationRefDelays(p,d,m){for(const D of p){const V=D?.delay;if(V){const J="number"==typeof V?V:Wn(ga(V,D?.params??{},d.errors));m.delayNextStep(J)}}}_visitSubInstructions(p,d,m){let V=d.currentTimeline.currentTime;const J=null!=m.duration?Wn(m.duration):null,_t=null!=m.delay?Wn(m.delay):null;return 0!==J&&p.forEach(Wt=>{const we=d.appendInstructionToTimeline(Wt,J,_t);V=Math.max(V,we.duration+we.delay)}),V}visitReference(p,d){d.updateOptions(p.options,!0),Es(this,p.animation,d),d.previousNode=p}visitSequence(p,d){const m=d.subContextCount;let D=d;const V=p.options;if(V&&(V.params||V.delay)&&(D=d.createSubContext(V),D.transformIntoNewTimeline(),null!=V.delay)){D.previousNode.type==zo.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=cl);const J=Wn(V.delay);D.delayNextStep(J)}p.steps.length&&(p.steps.forEach(J=>Es(this,J,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>m&&D.transformIntoNewTimeline()),d.previousNode=p}visitGroup(p,d){const m=[];let D=d.currentTimeline.currentTime;const V=p.options&&p.options.delay?Wn(p.options.delay):0;p.steps.forEach(J=>{const _t=d.createSubContext(p.options);V&&_t.delayNextStep(V),Es(this,J,_t),D=Math.max(D,_t.currentTimeline.currentTime),m.push(_t.currentTimeline)}),m.forEach(J=>d.currentTimeline.mergeTimelineCollectedStyles(J)),d.transformIntoNewTimeline(D),d.previousNode=p}_visitTiming(p,d){if(p.dynamic){const m=p.strValue;return Bc(d.params?ga(m,d.params,d.errors):m,d.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,d){const m=d.currentAnimateTimings=this._visitTiming(p.timings,d),D=d.currentTimeline;m.delay&&(d.incrementTime(m.delay),D.snapshotCurrentStyles());const V=p.style;V.type==zo.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(m.duration),this.visitStyle(V,d),D.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=p}visitStyle(p,d){const m=d.currentTimeline,D=d.currentAnimateTimings;!D&&m.hasCurrentStyleProperties()&&m.forwardFrame();const V=D&&D.easing||p.easing;p.isEmptyStep?m.applyEmptyStep(V):m.setStyles(p.styles,V,d.errors,d.options),d.previousNode=p}visitKeyframes(p,d){const m=d.currentAnimateTimings,D=d.currentTimeline.duration,V=m.duration,_t=d.createSubContext().currentTimeline;_t.easing=m.easing,p.styles.forEach(Wt=>{_t.forwardTime((Wt.offset||0)*V),_t.setStyles(Wt.styles,Wt.easing,d.errors,d.options),_t.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(_t),d.transformIntoNewTimeline(D+V),d.previousNode=p}visitQuery(p,d){const m=d.currentTimeline.currentTime,D=p.options||{},V=D.delay?Wn(D.delay):0;V&&(d.previousNode.type===zo.If.Style||0==m&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=cl);let J=m;const _t=d.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!D.optional,d.errors);d.currentQueryTotal=_t.length;let Wt=null;_t.forEach((we,ur)=>{d.currentQueryIndex=ur;const xr=d.createSubContext(p.options,we);V&&xr.delayNextStep(V),we===d.element&&(Wt=xr.currentTimeline),Es(this,p.animation,xr),xr.currentTimeline.applyStylesToKeyframe(),J=Math.max(J,xr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(J),Wt&&(d.currentTimeline.mergeTimelineCollectedStyles(Wt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=p}visitStagger(p,d){const m=d.parentContext,D=d.currentTimeline,V=p.timings,J=Math.abs(V.duration),_t=J*(d.currentQueryTotal-1);let Wt=J*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Wt=_t-Wt;break;case"full":Wt=m.currentStaggerTime}const ur=d.currentTimeline;Wt&&ur.delayNextStep(Wt);const xr=ur.currentTime;Es(this,p.animation,d),d.previousNode=p,m.currentStaggerTime=D.currentTime-xr+(D.startTime-m.currentTimeline.startTime)}}const cl={};class cd{constructor(p,d,m,D,V,J,_t,Wt){this._driver=p,this.element=d,this.subInstructions=m,this._enterClassName=D,this._leaveClassName=V,this.errors=J,this.timelines=_t,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Wt||new Qd(this._driver,d,0),_t.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,d){if(!p)return;const m=p;let D=this.options;null!=m.duration&&(D.duration=Wn(m.duration)),null!=m.delay&&(D.delay=Wn(m.delay));const V=m.params;if(V){let J=D.params;J||(J=this.options.params={}),Object.keys(V).forEach(_t=>{(!d||!J.hasOwnProperty(_t))&&(J[_t]=ga(V[_t],J,this.errors))})}}_copyOptions(){const p={};if(this.options){const d=this.options.params;if(d){const m=p.params={};Object.keys(d).forEach(D=>{m[D]=d[D]})}}return p}createSubContext(p=null,d,m){const D=d||this.element,V=new cd(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,m||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(p),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(p){return this.previousNode=cl,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,d,m){const D={duration:d??p.duration,delay:this.currentTimeline.currentTime+(m??0)+p.delay,easing:""},V=new Kg(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,D,p.stretchStartingKeyframe);return this.timelines.push(V),D}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,d,m,D,V,J){let _t=[];if(D&&_t.push(this.element),p.length>0){p=(p=p.replace(uh,"."+this._enterClassName)).replace(sd,"."+this._leaveClassName);let we=this._driver.query(this.element,p,1!=m);0!==m&&(we=m<0?we.slice(we.length+m,we.length):we.slice(0,m)),_t.push(...we)}return!V&&0==_t.length&&J.push(function Ws(){return new c.wOt(3014,!1)}()),_t}}class Qd{constructor(p,d,m,D){this._driver=p,this.element=d,this.startTime=m,this._elementTimelineStylesLookup=D,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(p){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+p),d&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,d){return this.applyStylesToKeyframe(),new Qd(this._driver,p,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,d){this._localTimelineStyles.set(p,d),this._globalTimelineStyles.set(p,d),this._styleSummary.set(p,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[d,m]of this._globalTimelineStyles)this._backFill.set(d,m||zo.kp),this._currentKeyframe.set(d,zo.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,d,m,D){d&&this._previousKeyframe.set("easing",d);const V=D&&D.params||{},J=function Am(b,p){const d=new Map;let m;return b.forEach(D=>{if("*"===D){m??=p.keys();for(let V of m)d.set(V,zo.kp)}else for(let[V,J]of D)d.set(V,J)}),d}(p,this._globalTimelineStyles);for(let[_t,Wt]of J){const we=ga(Wt,V,m);this._pendingStyles.set(_t,we),this._localTimelineStyles.has(_t)||this._backFill.set(_t,this._globalTimelineStyles.get(_t)??zo.kp),this._updateStyle(_t,we)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,d)=>{this._currentKeyframe.set(d,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,p)}))}snapshotCurrentStyles(){for(let[p,d]of this._localTimelineStyles)this._pendingStyles.set(p,d),this._updateStyle(p,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let d in this._currentKeyframe)p.push(d);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((d,m)=>{const D=this._styleSummary.get(m);(!D||d.time>D.time)&&this._updateStyle(m,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,d=new Set,m=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((_t,Wt)=>{const we=new Map([...this._backFill,..._t]);we.forEach((ur,xr)=>{ur===zo.FX?p.add(xr):ur===zo.kp&&d.add(xr)}),m||we.set("offset",Wt/this.duration),D.push(we)});const V=[...p.values()],J=[...d.values()];if(m){const _t=D[0],Wt=new Map(_t);_t.set("offset",0),Wt.set("offset",1),D=[_t,Wt]}return Al(this.element,D,V,J,this.duration,this.startTime,this.easing,!1)}}class Kg extends Qd{constructor(p,d,m,D,V,J,_t=!1){super(p,d,J.delay),this.keyframes=m,this.preStyleProps=D,this.postStyleProps=V,this._stretchStartingKeyframe=_t,this.timings={duration:J.duration,delay:J.delay,easing:J.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:d,duration:m,easing:D}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],J=m+d,_t=d/J,Wt=new Map(p[0]);Wt.set("offset",0),V.push(Wt);const we=new Map(p[0]);we.set("offset",ph(_t)),V.push(we);const ur=p.length-1;for(let xr=1;xr<=ur;xr++){let mo=new Map(p[xr]);const Zr=mo.get("offset");mo.set("offset",ph((d+Zr*m)/J)),V.push(mo)}m=J,d=0,D="",p=V}return Al(this.element,p,this.preStyleProps,this.postStyleProps,m,d,D,!0)}}function ph(b,p=3){const d=Math.pow(10,p-1);return Math.round(b*d)/d}function hh(b,p,d,m,D,V,J,_t,Wt,we,ur,xr,mo){return{type:0,element:b,triggerName:p,isRemovalTransition:D,fromState:d,fromStyles:V,toState:m,toStyles:J,timelines:_t,queriedElements:Wt,preStyleProps:we,postStyleProps:ur,totalTime:xr,errors:mo}}const ld={};class lc{constructor(p,d,m){this._triggerName=p,this.ast=d,this._stateStyles=m}match(p,d,m,D){return function ll(b,p,d,m,D){return b.some(V=>V(p,d,m,D))}(this.ast.matchers,p,d,m,D)}buildStyles(p,d,m){let D=this._stateStyles.get("*");return void 0!==p&&(D=this._stateStyles.get(p?.toString())||D),D?D.buildStyles(d,m):new Map}build(p,d,m,D,V,J,_t,Wt,we,ur){const xr=[],mo=this.ast.options&&this.ast.options.params||ld,yo=this.buildStyles(m,_t&&_t.params||ld,xr),qo=Wt&&Wt.params||ld,hn=this.buildStyles(D,qo,xr),si=new Set,Wi=new Map,La=new Map,Pa="void"===D,fl={params:fh(qo,mo),delay:this.ast.options?.delay},gc=ur?[]:sl(p,d,this.ast.animation,V,J,yo,hn,fl,we,xr);let fa=0;return gc.forEach(Ds=>{fa=Math.max(Ds.duration+Ds.delay,fa)}),xr.length?hh(d,this._triggerName,m,D,Pa,yo,hn,[],[],Wi,La,fa,xr):(gc.forEach(Ds=>{const rc=Ds.element,fc=ks(Wi,rc,new Set);Ds.preStyleProps.forEach(Hl=>fc.add(Hl));const Rd=ks(La,rc,new Set);Ds.postStyleProps.forEach(Hl=>Rd.add(Hl)),rc!==d&&si.add(rc)}),hh(d,this._triggerName,m,D,Pa,yo,hn,gc,[...si.values()],Wi,La,fa))}}function fh(b,p){const d={...p};return Object.entries(b).forEach(([m,D])=>{null!=D&&(d[m]=D)}),d}class Sl{constructor(p,d,m){this.styles=p,this.defaultParams=d,this.normalizer=m}buildStyles(p,d){const m=new Map,D=fh(p,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((J,_t)=>{J&&(J=ga(J,D,d));const Wt=this.normalizer.normalizePropertyName(_t,d);J=this.normalizer.normalizeStyleValue(_t,Wt,J,d),m.set(_t,J)})}),m}}class Ju{constructor(p,d,m){this.name=p,this.ast=d,this._normalizer=m,this.transitionFactories=[],this.states=new Map,d.states.forEach(D=>{this.states.set(D.name,new Sl(D.style,D.options&&D.options.params||{},m))}),Xg(this.states,"true","1"),Xg(this.states,"false","0"),d.transitions.forEach(D=>{this.transitionFactories.push(new lc(p,D,this.states))}),this.fallbackTransition=function dd(b,p){return new lc(b,{type:zo.If.Transition,animation:{type:zo.If.Sequence,steps:[],options:null},matchers:[(J,_t)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,d,m,D){return this.transitionFactories.find(J=>J.match(p,d,m,D))||null}matchStyles(p,d,m){return this.fallbackTransition.buildStyles(p,d,m)}}function Xg(b,p,d){b.has(p)?b.has(d)||b.set(d,b.get(p)):b.has(d)&&b.set(p,b.get(d))}const tp=new al;class mh{constructor(p,d,m){this.bodyNode=p,this._driver=d,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,d){const m=[],V=Yd(this._driver,d,m,[]);if(m.length)throw function Ks(){return new c.wOt(3503,!1)}();this._animations.set(p,V)}_buildPlayer(p,d,m){const D=p.element,V=Nd(this._normalizer,p.keyframes,d,m);return this._driver.animate(D,V,p.duration,p.delay,p.easing,[],!0)}create(p,d,m={}){const D=[],V=this._animations.get(p);let J;const _t=new Map;if(V?(J=sl(this._driver,d,V,Gu,jd,new Map,new Map,m,tp,D),J.forEach(ur=>{const xr=ks(_t,ur.element,new Map);ur.postStyleProps.forEach(mo=>xr.set(mo,null))})):(D.push(function Gp(){return new c.wOt(3300,!1)}()),J=[]),D.length)throw function Xp(){return new c.wOt(3504,!1)}();_t.forEach((ur,xr)=>{ur.forEach((mo,Zr)=>{ur.set(Zr,this._driver.computeStyle(xr,Zr,zo.kp))})});const we=Xs(J.map(ur=>{const xr=_t.get(ur.element);return this._buildPlayer(ur,new Map,xr)}));return this._playersById.set(p,we),we.onDestroy(()=>this.destroy(p)),this.players.push(we),we}destroy(p){const d=this._getPlayer(p);d.destroy(),this._playersById.delete(p);const m=this.players.indexOf(d);m>=0&&this.players.splice(m,1)}_getPlayer(p){const d=this._playersById.get(p);if(!d)throw function Hn(){return new c.wOt(3301,!1)}();return d}listen(p,d,m,D){const V=Pd(d,"","","");return _s(this._getPlayer(p),m,V,D),()=>{}}command(p,d,m,D){if("register"==m)return void this.register(p,D[0]);if("create"==m)return void this.create(p,d,D[0]||{});const V=this._getPlayer(p);switch(m){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(p)}}}const qd="ng-animate-queued",ep="ng-animate-disabled",Jd=[],tu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eu={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ns="__ng_removed";class ru{get params(){return this.options.params}constructor(p,d=""){this.namespaceId=d;const m=p&&p.hasOwnProperty("value");if(this.value=function op(b){return b??null}(m?p.value:p),m){const{value:V,...J}=p;this.options=J}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const d=p.params;if(d){const m=this.options.params;Object.keys(d).forEach(D=>{null==m[D]&&(m[D]=d[D])})}}}const Tl="void",ou=new ru(Tl);class rp{constructor(p,d,m){this.id=p,this.hostElement=d,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,is(d,this._hostClassName)}listen(p,d,m,D){if(!this._triggers.has(d))throw function vl(){return new c.wOt(3302,!1)}();if(null==m||0==m.length)throw function xl(){return new c.wOt(3303,!1)}();if(!function Ml(b){return"start"==b||"done"==b}(m))throw function Ma(){return new c.wOt(3400,!1)}();const V=ks(this._elementListeners,p,[]),J={name:d,phase:m,callback:D};V.push(J);const _t=ks(this._engine.statesByElement,p,new Map);return _t.has(d)||(is(p,Rr),is(p,Rr+"-"+d),_t.set(d,ou)),()=>{this._engine.afterFlush(()=>{const Wt=V.indexOf(J);Wt>=0&&V.splice(Wt,1),this._triggers.has(d)||_t.delete(d)})}}register(p,d){return!this._triggers.has(p)&&(this._triggers.set(p,d),!0)}_getTrigger(p){const d=this._triggers.get(p);if(!d)throw function Gs(){return new c.wOt(3401,!1)}();return d}trigger(p,d,m,D=!0){const V=this._getTrigger(d),J=new jc(this.id,d,p);let _t=this._engine.statesByElement.get(p);_t||(is(p,Rr),is(p,Rr+"-"+d),this._engine.statesByElement.set(p,_t=new Map));let Wt=_t.get(d);const we=new ru(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Wt&&we.absorbOptions(Wt.options),_t.set(d,we),Wt||(Wt=ou),we.value!==Tl&&Wt.value===we.value){if(!function np(b,p){const d=Object.keys(b),m=Object.keys(p);if(d.length!=m.length)return!1;for(let D=0;D{El(p,hn),Qs(p,si)})}return}const mo=ks(this._engine.playersByElement,p,[]);mo.forEach(qo=>{qo.namespaceId==this.id&&qo.triggerName==d&&qo.queued&&qo.destroy()});let Zr=V.matchTransition(Wt.value,we.value,p,we.params),yo=!1;if(!Zr){if(!D)return;Zr=V.fallbackTransition,yo=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:d,transition:Zr,fromState:Wt,toState:we,player:J,isFallbackTransition:yo}),yo||(is(p,qd),J.onStart(()=>{Vc(p,qd)})),J.onDone(()=>{let qo=this.players.indexOf(J);qo>=0&&this.players.splice(qo,1);const hn=this._engine.playersByElement.get(p);if(hn){let si=hn.indexOf(J);si>=0&&hn.splice(si,1)}}),this.players.push(J),mo.push(J),J}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(d=>d.delete(p)),this._elementListeners.forEach((d,m)=>{this._elementListeners.set(m,d.filter(D=>D.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const d=this._engine.playersByElement.get(p);d&&(d.forEach(m=>m.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,d){const m=this._engine.driver.query(p,Cn,!0);m.forEach(D=>{if(D[ns])return;const V=this._engine.fetchNamespacesByElement(D);V.size?V.forEach(J=>J.triggerLeaveAnimation(D,d,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(p,d,m,D){const V=this._engine.statesByElement.get(p),J=new Map;if(V){const _t=[];if(V.forEach((Wt,we)=>{if(J.set(we,Wt.value),this._triggers.has(we)){const ur=this.trigger(p,we,Tl,D);ur&&_t.push(ur)}}),_t.length)return this._engine.markElementAsRemoved(this.id,p,!0,d,J),m&&Xs(_t).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const d=this._elementListeners.get(p),m=this._engine.statesByElement.get(p);if(d&&m){const D=new Set;d.forEach(V=>{const J=V.name;if(D.has(J))return;D.add(J);const Wt=this._triggers.get(J).fallbackTransition,we=m.get(J)||ou,ur=new ru(Tl),xr=new jc(this.id,J,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:J,transition:Wt,fromState:we,toState:ur,player:xr,isFallbackTransition:!0})})}}removeNode(p,d){const m=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,d),this.triggerLeaveAnimation(p,d,!0))return;let D=!1;if(m.totalAnimations){const V=m.players.length?m.playersByQueriedElement.get(p):[];if(V&&V.length)D=!0;else{let J=p;for(;J=J.parentNode;)if(m.statesByElement.get(J)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(p),D)m.markElementAsRemoved(this.id,p,!1,d);else{const V=p[ns];(!V||V===tu)&&(m.afterFlush(()=>this.clearElementCache(p)),m.destroyInnerAnimations(p),m._onRemovalComplete(p,d))}}insertNode(p,d){is(p,this._hostClassName)}drainQueuedTransitions(p){const d=[];return this._queue.forEach(m=>{const D=m.player;if(D.destroyed)return;const V=m.element,J=this._elementListeners.get(V);J&&J.forEach(_t=>{if(_t.name==m.triggerName){const Wt=Pd(V,m.triggerName,m.fromState.value,m.toState.value);Wt._data=p,_s(m.player,_t.phase,Wt,_t.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):d.push(m)}),this._queue=[],d.sort((m,D)=>{const V=m.transition.ast.depCount,J=D.transition.ast.depCount;return 0==V||0==J?V-J:this._engine.driver.containsElement(m.element,D.element)?1:-1})}destroy(p){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class nu{_onRemovalComplete(p,d){this.onRemovalComplete(p,d)}constructor(p,d,m){this.bodyNode=p,this.driver=d,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,V)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(d=>{d.players.forEach(m=>{m.queued&&p.push(m)})}),p}createNamespace(p,d){const m=new rp(p,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(m,d):(this.newHostElements.set(d,m),this.collectEnterElement(d)),this._namespaceLookup[p]=m}_balanceNamespaceList(p,d){const m=this._namespaceList,D=this.namespacesByHostElement;if(m.length-1>=0){let J=!1,_t=this.driver.getParentElement(d);for(;_t;){const Wt=D.get(_t);if(Wt){const we=m.indexOf(Wt);m.splice(we+1,0,p),J=!0;break}_t=this.driver.getParentElement(_t)}J||m.unshift(p)}else m.push(p);return D.set(d,p),p}register(p,d){let m=this._namespaceLookup[p];return m||(m=this.createNamespace(p,d)),m}registerTrigger(p,d,m){let D=this._namespaceLookup[p];D&&D.register(d,m)&&this.totalAnimations++}destroy(p,d){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(p);this.namespacesByHostElement.delete(m.hostElement);const D=this._namespaceList.indexOf(m);D>=0&&this._namespaceList.splice(D,1),m.destroy(d),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const d=new Set,m=this.statesByElement.get(p);if(m)for(let D of m.values())if(D.namespaceId){const V=this._fetchNamespace(D.namespaceId);V&&d.add(V)}return d}trigger(p,d,m,D){if(dl(d)){const V=this._fetchNamespace(p);if(V)return V.trigger(d,m,D),!0}return!1}insertNode(p,d,m,D){if(!dl(d))return;const V=d[ns];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const J=this.collectedLeaveElements.indexOf(d);J>=0&&this.collectedLeaveElements.splice(J,1)}if(p){const J=this._fetchNamespace(p);J&&J.insertNode(d,m)}D&&this.collectEnterElement(d)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,d){d?this.disabledNodes.has(p)||(this.disabledNodes.add(p),is(p,ep)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),Vc(p,ep))}removeNode(p,d,m){if(dl(d)){const D=p?this._fetchNamespace(p):null;D?D.removeNode(d,m):this.markElementAsRemoved(p,d,!1,m);const V=this.namespacesByHostElement.get(d);V&&V.id!==p&&V.removeNode(d,m)}else this._onRemovalComplete(d,m)}markElementAsRemoved(p,d,m,D,V){this.collectedLeaveElements.push(d),d[ns]={namespaceId:p,setForRemoval:D,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:V}}listen(p,d,m,D,V){return dl(d)?this._fetchNamespace(p).listen(d,m,D,V):()=>{}}_buildInstruction(p,d,m,D,V){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,m,D,p.fromState.options,p.toState.options,d,V)}destroyInnerAnimations(p){let d=this.driver.query(p,Cn,!0);d.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(p,Vd,!0),d.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(p){const d=this.playersByElement.get(p);d&&d.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(p){const d=this.playersByQueriedElement.get(p);d&&d.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return Xs(this.players).onDone(()=>p());p()})}processLeaveNode(p){const d=p[ns];if(d&&d.setForRemoval){if(p[ns]=tu,d.namespaceId){this.destroyInnerAnimations(p);const m=this._fetchNamespace(d.namespaceId);m&&m.clearElementCache(p)}this._onRemovalComplete(p,d.setForRemoval)}p.classList?.contains(ep)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(p=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,D)=>this._balanceNamespaceList(m,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],d.length?Xs(d).onDone(()=>{m.forEach(D=>D())}):m.forEach(D=>D())}}reportError(p){throw function Cc(){return new c.wOt(3402,!1)}()}_flushAnimations(p,d){const m=new al,D=[],V=new Map,J=[],_t=new Map,Wt=new Map,we=new Map,ur=new Set;this.disabledNodes.forEach(en=>{ur.add(en);const cn=this.driver.query(en,".ng-animate-queued",!0);for(let un=0;un{const un=Gu+qo++;yo.set(cn,un),en.forEach(ui=>is(ui,un))});const hn=[],si=new Set,Wi=new Set;for(let en=0;ensi.add(ui)):Wi.add(cn))}const La=new Map,Pa=yh(mo,Array.from(si));Pa.forEach((en,cn)=>{const un=jd+qo++;La.set(cn,un),en.forEach(ui=>is(ui,un))}),p.push(()=>{Zr.forEach((en,cn)=>{const un=yo.get(cn);en.forEach(ui=>Vc(ui,un))}),Pa.forEach((en,cn)=>{const un=La.get(cn);en.forEach(ui=>Vc(ui,un))}),hn.forEach(en=>{this.processLeaveNode(en)})});const fl=[],gc=[];for(let en=this._namespaceList.length-1;en>=0;en--)this._namespaceList[en].drainQueuedTransitions(d).forEach(un=>{const ui=un.player,ts=un.element;if(fl.push(ui),this.collectedEnterElements.length){const cs=ts[ns];if(cs&&cs.setForMove){if(cs.previousTriggersValues&&cs.previousTriggersValues.has(un.triggerName)){const Gl=cs.previousTriggersValues.get(un.triggerName),mc=this.statesByElement.get(un.element);if(mc&&mc.has(un.triggerName)){const Xl=mc.get(un.triggerName);Xl.value=Gl,mc.set(un.triggerName,Xl)}}return void ui.destroy()}}const Qc=!xr||!this.driver.containsElement(xr,ts),oc=La.get(ts),Wl=yo.get(ts),oa=this._buildInstruction(un,m,Wl,oc,Qc);if(oa.errors&&oa.errors.length)return void gc.push(oa);if(Qc)return ui.onStart(()=>El(ts,oa.fromStyles)),ui.onDestroy(()=>Qs(ts,oa.toStyles)),void D.push(ui);if(un.isFallbackTransition)return ui.onStart(()=>El(ts,oa.fromStyles)),ui.onDestroy(()=>Qs(ts,oa.toStyles)),void D.push(ui);const gg=[];oa.timelines.forEach(cs=>{cs.stretchStartingKeyframe=!0,this.disabledNodes.has(cs.element)||gg.push(cs)}),oa.timelines=gg,m.append(ts,oa.timelines),J.push({instruction:oa,player:ui,element:ts}),oa.queriedElements.forEach(cs=>ks(_t,cs,[]).push(ui)),oa.preStyleProps.forEach((cs,Gl)=>{if(cs.size){let mc=Wt.get(Gl);mc||Wt.set(Gl,mc=new Set),cs.forEach((Xl,Fu)=>mc.add(Fu))}}),oa.postStyleProps.forEach((cs,Gl)=>{let mc=we.get(Gl);mc||we.set(Gl,mc=new Set),cs.forEach((Xl,Fu)=>mc.add(Fu))})});if(gc.length){const en=[];gc.forEach(cn=>{en.push(function xs(){return new c.wOt(3505,!1)}())}),fl.forEach(cn=>cn.destroy()),this.reportError(en)}const fa=new Map,Ds=new Map;J.forEach(en=>{const cn=en.element;m.has(cn)&&(Ds.set(cn,cn),this._beforeAnimationBuild(en.player.namespaceId,en.instruction,fa))}),D.forEach(en=>{const cn=en.element;this._getPreviousPlayers(cn,!1,en.namespaceId,en.triggerName,null).forEach(ui=>{ks(fa,cn,[]).push(ui),ui.destroy()})});const rc=hn.filter(en=>au(en,Wt,we)),fc=new Map;ra(fc,this.driver,Wi,we,zo.kp).forEach(en=>{au(en,Wt,we)&&rc.push(en)});const Hl=new Map;Zr.forEach((en,cn)=>{ra(Hl,this.driver,new Set(en),Wt,zo.FX)}),rc.forEach(en=>{const cn=fc.get(en),un=Hl.get(en);fc.set(en,new Map([...cn?.entries()??[],...un?.entries()??[]]))});const hg=[],Yf=[],Xb={};J.forEach(en=>{const{element:cn,player:un,instruction:ui}=en;if(m.has(cn)){if(ur.has(cn))return un.onDestroy(()=>Qs(cn,ui.toStyles)),un.disabled=!0,un.overrideTotalTime(ui.totalTime),void D.push(un);let ts=Xb;if(Ds.size>1){let oc=cn;const Wl=[];for(;oc=oc.parentNode;){const oa=Ds.get(oc);if(oa){ts=oa;break}Wl.push(oc)}Wl.forEach(oa=>Ds.set(oa,ts))}const Qc=this._buildAnimation(un.namespaceId,ui,fa,V,Hl,fc);if(un.setRealPlayer(Qc),ts===Xb)hg.push(un);else{const oc=this.playersByElement.get(ts);oc&&oc.length&&(un.parentPlayer=Xs(oc)),D.push(un)}}else El(cn,ui.fromStyles),un.onDestroy(()=>Qs(cn,ui.toStyles)),Yf.push(un),ur.has(cn)&&D.push(un)}),Yf.forEach(en=>{const cn=V.get(en.element);if(cn&&cn.length){const un=Xs(cn);en.setRealPlayer(un)}}),D.forEach(en=>{en.parentPlayer?en.syncPlayerEvents(en.parentPlayer):en.destroy()});for(let en=0;en!Qc.destroyed);ts.length?iu(this,cn,ts):this.processLeaveNode(cn)}return hn.length=0,hg.forEach(en=>{this.players.push(en),en.onDone(()=>{en.destroy();const cn=this.players.indexOf(en);this.players.splice(cn,1)}),en.play()}),hg}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,d,m,D,V){let J=[];if(d){const _t=this.playersByQueriedElement.get(p);_t&&(J=_t)}else{const _t=this.playersByElement.get(p);if(_t){const Wt=!V||V==Tl;_t.forEach(we=>{we.queued||!Wt&&we.triggerName!=D||J.push(we)})}}return(m||D)&&(J=J.filter(_t=>!(m&&m!=_t.namespaceId||D&&D!=_t.triggerName))),J}_beforeAnimationBuild(p,d,m){const V=d.element,J=d.isRemovalTransition?void 0:p,_t=d.isRemovalTransition?void 0:d.triggerName;for(const Wt of d.timelines){const we=Wt.element,ur=we!==V,xr=ks(m,we,[]);this._getPreviousPlayers(we,ur,J,_t,d.toState).forEach(Zr=>{const yo=Zr.getRealPlayer();yo.beforeDestroy&&yo.beforeDestroy(),Zr.destroy(),xr.push(Zr)})}El(V,d.fromStyles)}_buildAnimation(p,d,m,D,V,J){const _t=d.triggerName,Wt=d.element,we=[],ur=new Set,xr=new Set,mo=d.timelines.map(yo=>{const qo=yo.element;ur.add(qo);const hn=qo[ns];if(hn&&hn.removedBeforeQueried)return new zo.sf(yo.duration,yo.delay);const si=qo!==Wt,Wi=function vh(b){const p=[];return pd(b,p),p}((m.get(qo)||Jd).map(fa=>fa.getRealPlayer())).filter(fa=>!!fa.element&&fa.element===qo),La=V.get(qo),Pa=J.get(qo),fl=Nd(this._normalizer,yo.keyframes,La,Pa),gc=this._buildPlayer(yo,fl,Wi);if(yo.subTimeline&&D&&xr.add(qo),si){const fa=new jc(p,_t,qo);fa.setRealPlayer(gc),we.push(fa)}return gc});we.forEach(yo=>{ks(this.playersByQueriedElement,yo.element,[]).push(yo),yo.onDone(()=>function wh(b,p,d){let m=b.get(p);if(m){if(m.length){const D=m.indexOf(d);m.splice(D,1)}0==m.length&&b.delete(p)}return m}(this.playersByQueriedElement,yo.element,yo))}),ur.forEach(yo=>is(yo,Xu));const Zr=Xs(mo);return Zr.onDestroy(()=>{ur.forEach(yo=>Vc(yo,Xu)),Qs(Wt,d.toStyles)}),xr.forEach(yo=>{ks(D,yo,[]).push(Zr)}),Zr}_buildPlayer(p,d,m){return d.length>0?this.driver.animate(p.element,d,p.duration,p.delay,p.easing,m):new zo.sf(p.duration,p.delay)}}class jc{constructor(p,d,m){this.namespaceId=p,this.triggerName=d,this.element=m,this._player=new zo.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((d,m)=>{d.forEach(D=>_s(p,m,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const d=this._player;d.triggerCallback&&p.onStart(()=>d.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,d){ks(this._queuedCallbacks,p,[]).push(d)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const d=this._player;d.triggerCallback&&d.triggerCallback(p)}}function dl(b){return b&&1===b.nodeType}function Sc(b,p){const d=b.style.display;return b.style.display=p??"none",d}function ra(b,p,d,m,D){const V=[];d.forEach(Wt=>V.push(Sc(Wt)));const J=[];m.forEach((Wt,we)=>{const ur=new Map;Wt.forEach(xr=>{const mo=p.computeStyle(we,xr,D);ur.set(xr,mo),(!mo||0==mo.length)&&(we[ns]=eu,J.push(we))}),b.set(we,ur)});let _t=0;return d.forEach(Wt=>Sc(Wt,V[_t++])),J}function yh(b,p){const d=new Map;if(b.forEach(_t=>d.set(_t,[])),0==p.length)return d;const D=new Set(p),V=new Map;function J(_t){if(!_t)return 1;let Wt=V.get(_t);if(Wt)return Wt;const we=_t.parentNode;return Wt=d.has(we)?we:D.has(we)?1:J(we),V.set(_t,Wt),Wt}return p.forEach(_t=>{const Wt=J(_t);1!==Wt&&d.get(Wt).push(_t)}),d}function is(b,p){b.classList?.add(p)}function Vc(b,p){b.classList?.remove(p)}function iu(b,p,d){Xs(d).onDone(()=>b.processLeaveNode(p))}function pd(b,p){for(let d=0;dD.add(V)):p.set(b,m),d.delete(b),!0}class Tc{constructor(p,d,m){this._driver=d,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(D,V)=>{},this._transitionEngine=new nu(p.body,d,m),this._timelineEngine=new mh(p.body,d,m),this._transitionEngine.onRemovalComplete=(D,V)=>this.onRemovalComplete(D,V)}registerTrigger(p,d,m,D,V){const J=p+"-"+D;let _t=this._triggerCache[J];if(!_t){const Wt=[],ur=Yd(this._driver,V,Wt,[]);if(Wt.length)throw function td(){return new c.wOt(3404,!1)}();_t=function Gg(b,p,d){return new Ju(b,p,d)}(D,ur,this._normalizer),this._triggerCache[J]=_t}this._transitionEngine.registerTrigger(d,D,_t)}register(p,d){this._transitionEngine.register(p,d)}destroy(p,d){this._transitionEngine.destroy(p,d)}onInsert(p,d,m,D){this._transitionEngine.insertNode(p,d,m,D)}onRemove(p,d,m){this._transitionEngine.removeNode(p,d,m)}disableAnimations(p,d){this._transitionEngine.markElementAsDisabled(p,d)}process(p,d,m,D){if("@"==m.charAt(0)){const[V,J]=ed(m);this._timelineEngine.command(V,d,J,D)}else this._transitionEngine.trigger(p,d,m,D)}listen(p,d,m,D,V){if("@"==m.charAt(0)){const[J,_t]=ed(m);return this._timelineEngine.listen(J,d,_t,V)}return this._transitionEngine.listen(p,d,m,D,V)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}class zc{static{this.initialStylesByElement=new WeakMap}constructor(p,d,m){this._element=p,this._startStyles=d,this._endStyles=m,this._state=0;let D=zc.initialStylesByElement.get(p);D||zc.initialStylesByElement.set(p,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&Qs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qs(this._element,this._initialStyles),this._endStyles&&(Qs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(zc.initialStylesByElement.delete(this._element),this._startStyles&&(El(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(El(this._element,this._endStyles),this._endStyles=null),Qs(this._element,this._initialStyles),this._state=3)}}function ip(b){let p=null;return b.forEach((d,m)=>{(function Yg(b){return"display"===b||"position"===b})(m)&&(p=p||new Map,p.set(m,d))}),p}class xh{constructor(p,d,m,D){this.element=p,this.keyframes=d,this.options=m,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const d=[];return p.forEach(m=>{d.push(Object.fromEntries(m))}),d}_triggerWebAnimation(p,d,m){return p.animate(this._convertKeyframesToObject(d),m)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,D)=>{"offset"!==D&&p.set(D,this._finished?m:Qu(this.element,D))}),this.currentSnapshot=p}triggerCallback(p){const d="start"===p?this._onStartFns:this._onDoneFns;d.forEach(m=>m()),d.length=0}}class cu{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}containsElement(p,d){return Ku(p,d)}getParentElement(p){return kl(p)}query(p,d,m){return Yp(p,d,m)}computeStyle(p,d,m){return Qu(p,d)}animate(p,d,m,D,V,J=[]){const Wt={duration:m,delay:D,fill:0==D?"both":"forwards"};V&&(Wt.easing=V);const we=new Map,ur=J.filter(Zr=>Zr instanceof xh);(function Ac(b,p){return 0===b||0===p})(m,D)&&ur.forEach(Zr=>{Zr.currentSnapshot.forEach((yo,qo)=>we.set(qo,yo))});let xr=function Yu(b){return b.length?b[0]instanceof Map?b:b.map(p=>new Map(Object.entries(p))):[]}(d).map(Zr=>new Map(Zr));xr=function zg(b,p,d){if(d.size&&p.length){let m=p[0],D=[];if(d.forEach((V,J)=>{m.has(J)||D.push(J),m.set(J,V)}),D.length)for(let V=1;VJ.set(_t,Qu(b,_t)))}}return p}(p,xr,we);const mo=function su(b,p){let d=null,m=null;return Array.isArray(p)&&p.length?(d=ip(p[0]),p.length>1&&(m=ip(p[p.length-1]))):p instanceof Map&&(d=ip(p)),d||m?new zc(b,d,m):null}(p,xr);return new xh(p,xr,Wt,mo)}}const _h="@.disabled";class kh{constructor(p,d,m,D){this.namespaceId=p,this.delegate=d,this.engine=m,this._onDestroy=D,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,d){return this.delegate.createElement(p,d)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,d){this.delegate.appendChild(p,d),this.engine.onInsert(this.namespaceId,d,p,!1)}insertBefore(p,d,m,D=!0){this.delegate.insertBefore(p,d,m),this.engine.onInsert(this.namespaceId,d,p,D)}removeChild(p,d,m){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(p,d){return this.delegate.selectRootElement(p,d)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,d,m,D){this.delegate.setAttribute(p,d,m,D)}removeAttribute(p,d,m){this.delegate.removeAttribute(p,d,m)}addClass(p,d){this.delegate.addClass(p,d)}removeClass(p,d){this.delegate.removeClass(p,d)}setStyle(p,d,m,D){this.delegate.setStyle(p,d,m,D)}removeStyle(p,d,m){this.delegate.removeStyle(p,d,m)}setProperty(p,d,m){"@"==d.charAt(0)&&d==_h?this.disableAnimations(p,!!m):this.delegate.setProperty(p,d,m)}setValue(p,d){this.delegate.setValue(p,d)}listen(p,d,m){return this.delegate.listen(p,d,m)}disableAnimations(p,d){this.engine.disableAnimations(p,d)}}class Eh extends kh{constructor(p,d,m,D,V){super(d,m,D,V),this.factory=p,this.namespaceId=d}setProperty(p,d,m){"@"==d.charAt(0)?"."==d.charAt(1)&&d==_h?this.disableAnimations(p,m=void 0===m||!!m):this.engine.process(this.namespaceId,p,d.slice(1),m):this.delegate.setProperty(p,d,m)}listen(p,d,m){if("@"==d.charAt(0)){const D=function ap(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(p);let V=d.slice(1),J="";return"@"!=V.charAt(0)&&([V,J]=function Za(b){const p=b.indexOf(".");return[b.substring(0,p),b.slice(p+1)]}(V)),this.engine.listen(this.namespaceId,D,V,J,_t=>{this.factory.scheduleListenerCallback(_t._data||-1,m,_t)})}return this.delegate.listen(p,d,m)}}class Tm{constructor(p,d,m){this.delegate=p,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(D,V)=>{V?.removeChild(null,D)}}createRenderer(p,d){const D=this.delegate.createRenderer(p,d);if(!p||!d?.data?.animation){const we=this._rendererCache;let ur=we.get(D);return ur||(ur=new kh("",D,this.engine,()=>we.delete(D)),we.set(D,ur)),ur}const V=d.id,J=d.id+"-"+this._currentId;this._currentId++,this.engine.register(J,p);const _t=we=>{Array.isArray(we)?we.forEach(_t):this.engine.registerTrigger(V,J,p,we.name,we)};return d.data.animation.forEach(_t),new Eh(this,J,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,d,m){if(p>=0&&pd(m));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(V=>{const[J,_t]=V;J(_t)}),this._animationCallbacksBuffer=[]})}),D.push([d,m])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const lu=[{provide:rd,useFactory:function Mm(){return new od}},{provide:Tc,useClass:(()=>{class b extends Tc{constructor(d,m,D){super(d,m,D)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ct.qQ),c.KVO($d),c.KVO(rd))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})()},{provide:c._9s,useFactory:function Dh(b,p,d){return new Tm(b,p,d)},deps:[o.B7,Tc,c.SKi]}],sp=[{provide:$d,useFactory:()=>new cu},{provide:c.bc$,useValue:"BrowserAnimations"},...lu];var uu=r(9030),hd=r(3726),dc=r(8793),Ia=r(1413),Sh=r(5343);const ul=new M.c(Sh.l);var Hc=r(7786),Rl=r(6648),Qa=r(6354),Bi=r(17),pu=r(8071),cp=r(8750),qg=r(9974);const gd={connector:()=>new Ia.B};function lp(b,p=gd){const{connector:d}=p;return(0,qg.N)((m,D)=>{const V=d();(0,cp.Tg)(b(function Jg(b){return new M.c(p=>b.subscribe(p))}(V))).subscribe(D),D.add(m.subscribe(V))})}var md=r(8141);const Nl="Service workers are disabled or not supported by this browser";class Ll{constructor(p){if(this.serviceWorker=p,p){const m=(0,hd.R)(p,"controllerchange").pipe((0,Qa.T)(()=>p.controller)),D=(0,uu.v)(()=>(0,O.of)(p.controller)),V=(0,dc.x)(D,m);this.worker=V.pipe((0,Vt.p)(ur=>!!ur)),this.registration=this.worker.pipe((0,dt.n)(()=>p.getRegistration()));const we=(0,hd.R)(p,"message").pipe((0,Qa.T)(ur=>ur.data)).pipe((0,Vt.p)(ur=>ur&&ur.type)).pipe(function fd(b){return b?p=>lp(b)(p):p=>function Th(b,p){const d=(0,pu.T)(b)?b:()=>b;return(0,pu.T)(p)?lp(p,{connector:d}):m=>new Bi.G(m,d)}(new Ia.B)(p)}());we.connect(),this.events=we}else this.worker=this.events=this.registration=function dp(b){return(0,uu.v)(()=>(0,I.$)(new Error(b)))}(Nl)}postMessage(p,d){return this.worker.pipe((0,T.s)(1),(0,md.M)(m=>{m.postMessage({action:p,...d})})).toPromise().then(()=>{})}postMessageWithOperation(p,d,m){const D=this.waitForOperationCompleted(m),V=this.postMessage(p,d);return Promise.all([V,D]).then(([,J])=>J)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let d;return d="string"==typeof p?m=>m.type===p:m=>p.includes(m.type),this.events.pipe((0,Vt.p)(d))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,T.s)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Vt.p)(d=>d.nonce===p),(0,T.s)(1),(0,Qa.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let uc=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,this.pushManager=null,this.subscriptionChanges=new Ia.B,!d.isEnabled)return this.messages=ul,this.notificationClicks=ul,void(this.subscription=ul);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Qa.T)(D=>D.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Qa.T)(D=>D.data)),this.pushManager=this.sw.registration.pipe((0,Qa.T)(D=>D.pushManager));const m=this.pushManager.pipe((0,dt.n)(D=>D.getSubscription()));this.subscription=(0,Hc.h)(m,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Nl));const m={userVisibleOnly:!0};let D=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(D.length));for(let J=0;JJ.subscribe(m)),(0,T.s)(1)).toPromise().then(J=>(this.subscriptionChanges.next(J),J))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,T.s)(1),(0,dt.n)(m=>{if(null===m)throw new Error("Not subscribed to push notifications.");return m.unsubscribe().then(D=>{if(!D)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Nl))}decodeBase64(d){return atob(d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ll))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})(),hu=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=ul,void(this.unrecoverable=ul);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Nl));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:d},d)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Nl));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ll))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();const up=new c.nKC("");function Om(b,p,d,m){return()=>{if(!(0,Ct.UE)(m)||!("serviceWorker"in navigator)||!1===d.enabled)return;const D=b.get(c.SKi),V=b.get(c.o8S);let J;if(D.runOutsideAngular(()=>{const _t=navigator.serviceWorker,Wt=()=>_t.controller?.postMessage({action:"INITIALIZE"});_t.addEventListener("controllerchange",Wt),V.onDestroy(()=>{_t.removeEventListener("controllerchange",Wt)})}),"function"==typeof d.registrationStrategy)J=d.registrationStrategy();else{const[_t,...Wt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(_t){case"registerImmediately":J=(0,O.of)(null);break;case"registerWithDelay":J=tf(+Wt[0]||0);break;case"registerWhenStable":const we=(0,Rl.H)(b.get(c.o8S).whenStable());J=Wt[0]?(0,Hc.h)(we,tf(+Wt[0])):we;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}D.runOutsideAngular(()=>J.pipe((0,T.s)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:d.scope}).catch(_t=>console.error("Service worker registration failed with:",_t))))}}function tf(b){return(0,O.of)(null).pipe((0,ct.c)(b))}function ef(b,p){return new Ll((0,Ct.UE)(p)&&!1!==b.enabled?navigator.serviceWorker:void 0)}class Mh{}var Mc=r(7468),bd=r(2498),pp=r(9437),rf=r(4668),pl=r(4572),wd=r(983);function gu(b){return b&&b.constructor&&"function"==typeof b.constructor.isBuffer&&b.constructor.isBuffer(b)}function fu(b){return b}function hp(b,p){const d=(p=p||{}).delimiter||".",m=p.maxDepth,D=p.transformKey||fu,V={};return function J(_t,Wt,we){we=we||1,Object.keys(_t).forEach(function(ur){const xr=_t[ur],mo=p.safe&&Array.isArray(xr),Zr=Object.prototype.toString.call(xr),yo=gu(xr),qo="[object Object]"===Zr||"[object Array]"===Zr,hn=Wt?Wt+d+D(ur):D(ur);if(!mo&&!yo&&qo&&Object.keys(xr).length&&(!p.maxDepth||we0&&(mo=_t(xr.shift()),Zr=_t(xr[0]))}yo[mo]=Wc(b[ur],p)}),V}class yd{translations;constructor(p){this.translations=p}getTranslation(p){return(0,O.of)(this.translations.get(p)||{})}}const gp=new c.nKC("TRANSLOCO_LOADER");function mu(b,p){return b&&(Object.prototype.hasOwnProperty.call(b,p)?b[p]:p.split(".").reduce((d,m)=>d?.[m],b))}function Rh(b){return b?Array.isArray(b)?b.length:Oa(b)?Object.keys(b).length:b?b.length:0:0}function pc(b){return"string"==typeof b}function Oa(b){return!!b&&"object"==typeof b&&!Array.isArray(b)}function wu(b){return null==b}function af(b){return!1===wu(b)}function Kc(b){return b&&"string"==typeof b.scope}function vd(b){return hp(b,{safe:!0})}const Fl=new c.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Gc}),Gc={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Fh(b={}){return{...Gc,...b,missingHandler:{...Gc.missingHandler,...b.missingHandler},flatten:{...Gc.flatten,...b.flatten}}}const xd=new c.nKC("TRANSLOCO_TRANSPILER");let Bh=(()=>{class b{interpolationMatcher;constructor(d){this.interpolationMatcher=function Uh(b){const[p,d]=b.interpolation;return new RegExp(`${p}(.*?)${d}`,"g")}(d??Gc)}transpile(d,m={},D,V){return pc(d)?d.replace(this.interpolationMatcher,(J,_t)=>(_t=_t.trim(),af(m[_t])?m[_t]:af(D[_t])?this.transpile(D[_t],m,D,V):"")):(m&&(Oa(d)?d=this.handleObject(d,m,D,V):Array.isArray(d)&&(d=this.handleArray(d,m,D,V))),d)}handleObject(d,m={},D,V){let J=d;return Object.keys(m).forEach(_t=>{const Wt=mu(J,_t),we=mu(m,_t),ur=this.transpile(Wt,we,D,V);J=function nf(b,p,d){b={...b};const m=p.split("."),D=m.length-1;return m.reduce((V,J,_t)=>(V[J]=_t===D?d:Array.isArray(V[J])?V[J].slice():{...V[J]},V&&V[J]),b),b}(J,_t,ur)}),J}handleArray(d,m={},D,V){return d.map(J=>this.transpile(J,m,D,V))}static \u0275fac=function(m){return new(m||b)(c.KVO(Fl,8))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const _d=new c.nKC("TRANSLOCO_MISSING_HANDLER");let wp=(()=>{class b{handle(d,m){return m.missingHandler.logMissingKey&&!m.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const yu=new c.nKC("TRANSLOCO_INTERCEPTOR");let Bl=(()=>{class b{preSaveTranslation(d){return d}preSaveTranslationKey(d,m){return m}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const v=new c.nKC("TRANSLOCO_FALLBACK_STRATEGY");let dr,_=(()=>{class b{userConfig;constructor(d){this.userConfig=d}getNextLangs(){const d=this.userConfig.fallbackLang;if(!d)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(d)?d:[d]}static \u0275fac=function(m){return new(m||b)(c.KVO(Fl))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();function S(b){if(!b)return"";const p=b.split("/");return p.pop(),p.join("/")}function j(b){return b?b.split("/").pop():""}function ve(b){return{scope:S(b)||null,langName:j(b)}}function Ne(b){const{path:p,inlineLoader:d,mainLoader:m,data:D}=b;if(d){if(!1===function fp(b){return"function"==typeof b}(d[p]))throw`You're using an inline loader but didn't provide a loader for ${p}`;return d[p]().then(J=>J.default?J.default:J)}return m.getTranslation(p,D)}let Qe=(()=>{class b{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new Ia.B;events$=this.events.asObservable();config;constructor(d,m,D,V,J,_t){this.loader=d,this.parser=m,this.missingHandler=D,this.interceptor=V,this.fallbackStrategy=_t,this.loader||(this.loader=new yd(this.translations)),dr=this,this.config=JSON.parse(JSON.stringify(J)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new $t.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Wt=>{"translationLoadSuccess"===Wt.type&&Wt.wasFailure&&this.setActiveLang(Wt.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(d){this.defaultLang=d}getActiveLang(){return this.lang.getValue()}setActiveLang(d){return this.parser.onLangChanged?.(d),this.lang.next(d),this.events.next({type:"langChanged",payload:ve(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,m={}){const D=this.cache.get(d);if(D)return D;let V;const J=this._isLangScoped(d);let _t;J&&(_t=S(d));const Wt={path:d,mainLoader:this.loader,inlineLoader:m.inlineLoader,data:J?{scope:_t}:void 0};if(this.useFallbackTranslation(d)){const ur=J?`${_t}/${this.firstFallbackLang}`:this.firstFallbackLang,xr=function Be({mainLoader:b,path:p,data:d,fallbackPath:m,inlineLoader:D}){return(m?[p,m]:[p]).map(J=>{const _t=Ne({path:J,mainLoader:b,inlineLoader:D,data:d});return(0,Rl.H)(_t).pipe((0,Qa.T)(Wt=>({translation:Wt,lang:J})))})}({...Wt,fallbackPath:ur});V=(0,Mc.p)(xr)}else{const ur=Ne(Wt);V=(0,Rl.H)(ur)}const we=V.pipe((0,bd.L)(this.config.failedRetries),(0,md.M)(ur=>{Array.isArray(ur)?ur.forEach(xr=>{this.handleSuccess(xr.lang,xr.translation),xr.lang!==d&&this.cache.set(xr.lang,(0,O.of)({}))}):this.handleSuccess(d,ur)}),(0,pp.W)(ur=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,ur),this.handleFailure(d,m))),(0,rf.t)(1));return this.cache.set(d,we),we}translate(d,m={},D=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:J}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(we=>this.translate(V?`${V}.${we}`:we,m,J));d=V?`${V}.${d}`:d;const _t=this.getTranslation(J),Wt=_t[d];return Wt?this.parser.transpile(Wt,m,_t,d):this._handleMissingKey(d,Wt,m)}selectTranslate(d,m,D,V=!1){let J;const _t=(we,ur)=>this.load(we,ur).pipe((0,Qa.T)(()=>V?this.translateObject(d,m,we):this.translate(d,m,we)));if(wu(D))return this.langChanges$.pipe((0,dt.n)(we=>_t(we)));if(function Ph(b){return Array.isArray(b)&&b.every(Kc)}(D)||Kc(D)){const we=Array.isArray(D)?D[0]:D;D=we.scope,J=function Zt(b,p){return function bp(b){return b&&Oa(b.loader)}(b)?function Bt(b,p){return Object.keys(b).reduce((d,m)=>(d[`${p}/${m}`]=b[m],d),{})}(b.loader,p):void 0}(we,we.scope)}if(this.isLang(D)||this.isScopeWithLang(D))return _t(D);const Wt=D;return this.langChanges$.pipe((0,dt.n)(we=>_t(`${Wt}/${we}`,{inlineLoader:J})))}isScopeWithLang(d){return this.isLang(j(d))}translateObject(d,m={},D=this.getActiveLang()){if(pc(d)||Array.isArray(d)){const{resolveLang:J,scope:_t}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(ur=>this.translateObject(_t?`${_t}.${ur}`:ur,m,J));const Wt=this.getTranslation(J),we=function sf(b){return Wc(b)}(this.getObjectByKey(Wt,d=_t?`${_t}.${d}`:d));return function Nh(b){return 0===Rh(b)}(we)?this.translate(d,m,D):this.parser.transpile(we,m,Wt,d)}const V=[];for(const[J,_t]of this.getEntries(d))V.push(this.translateObject(J,_t,D));return V}selectTranslateObject(d,m,D){if(pc(d)||Array.isArray(d))return this.selectTranslate(d,m,D,!0);const[[V,J],..._t]=this.getEntries(d);return this.selectTranslateObject(V,J,D).pipe((0,Qa.T)(Wt=>{const we=[Wt];for(const[ur,xr]of _t)we.push(this.translateObject(ur,xr,D));return we}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:m,resolveLang:D}=this.resolveLangAndScope(d),V=this.translations.get(D)||{};return this.getObjectByKey(V,m)}}return this.translations}selectTranslation(d){let m=this.langChanges$;if(d){const D=j(d)!==d;m=this.isLang(d)||D?(0,O.of)(d):this.langChanges$.pipe((0,Qa.T)(V=>`${d}/${V}`))}return m.pipe((0,dt.n)(D=>this.load(D).pipe((0,Qa.T)(()=>this.getTranslation(D)))))}setTranslation(d,m=this.getActiveLang(),D={}){const J={merge:!0,emitChange:!0,...D},_t=S(m);let Wt=d;if(_t){const Zr=this.getMappedScope(_t);Wt=vd({[Zr]:d})}const we=_t?j(m):m,ur={...J.merge&&this.getTranslation(we),...Wt},xr=this.config.flatten.aot?ur:vd(ur),mo=this.interceptor.preSaveTranslation(xr,we);this.translations.set(we,mo),J.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,m,D=this.getActiveLang(),V={}){const J=this.interceptor.preSaveTranslationKey(d,m,D);this.setTranslation({[d]:J},D,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const m=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(m)&&(this.firstFallbackLang=m)}_handleMissingKey(d,m,D){if(this.config.missingHandler.allowEmpty&&""===m)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,D,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),D)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,m){const D=j(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(D)?(0,pl.z)([this.load(D),this.load(d,{inlineLoader:m})]):this.load(d,{inlineLoader:m})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(j(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,m){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=m}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return Rh(this.getTranslation(d))}getAvailableLangsIds(){return pc(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(m=>m.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(d){return this.config.missingHandler.useFallbackTranslation&&d!==this.firstFallbackLang}handleSuccess(d,m){this.setTranslation(m,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:ve(d)}),this.failedLangs.forEach(D=>this.cache.delete(D)),this.failedLangs.clear()}handleFailure(d,m){wu(m.failedCounter)&&(m.failedCounter=0,m.fallbackLangs||(m.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const D=d.split("/"),J=m.fallbackLangs[m.failedCounter];if(this.failedLangs.add(d),this.cache.has(J))return this.handleSuccess(J,this.getTranslation(J)),wd.w;if(!J||J===D[D.length-1]){let we="Unable to load translation and all the fallback languages";throw D.length>1&&(we+=", did you misspelled the scope name?"),new Error(we)}let Wt=J;return D.length>1&&(D[D.length-1]=J,Wt=D.join("/")),m.failedCounter++,this.events.next({type:"translationLoadFailure",payload:ve(d)}),this.load(Wt,m)}getMappedScope(d){const{scopeMapping:m={}}=this.config;return m[d]||function bu(b){return b.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,d)=>0==d?p.toLowerCase():p.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let D,m=d;if(this._isLangScoped(d)){const V=j(d),J=this.isLang(V);m=J?V:this.getActiveLang(),D=this.getMappedScope(J?S(d):d)}return{scope:D,resolveLang:m}}getObjectByKey(d,m){const D={},V=`${m}.`;for(const J in d)J.startsWith(V)&&(D[J.replace(V,"")]=d[J]);return D}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(m){return new(m||b)(c.KVO(gp,8),c.KVO(xd),c.KVO(_d),c.KVO(yu),c.KVO(Fl),c.KVO(v))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();function wo(b){return(0,c.EmA)([{provide:xd,useClass:b,deps:[Fl]}])}function Zo(b){return(0,c.EmA)([{provide:v,useClass:b,deps:[Fl]}])}function an(b){return(0,c.EmA)([{provide:_d,useClass:b}])}function Ao(b){return(0,c.EmA)([{provide:yu,useClass:b}])}new c.nKC("TRANSLOCO_LANG"),new c.nKC("TRANSLOCO_LOADING_TEMPLATE"),new c.nKC("TRANSLOCO_SCOPE"),new c.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new c.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Ic=r(2771);let xa=(()=>{class b{constructor(){this._httpClient=(0,c.WQX)(q.Qq),this._navigation=new Ic.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,md.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})(),hc=(()=>{class b{constructor(d){this._httpClient=d,this._chat=new $t.t(null),this._chats=new $t.t(null)}get chat$(){return this._chat.asObservable()}get chats$(){return this._chats.asObservable()}getChats(){return this._httpClient.get("api/apps/chat/chats").pipe((0,md.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Qa.T)(m=>(this._chat.next(m),m)),(0,dt.n)(m=>m?(0,O.of)(m):(0,I.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const Xc=new class Js{constructor(p){this.version=p,this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}("0.0.9").full;var Na=r(6977),vu=r(4085),xu=r(7575);function Vw(b,p){if(1&b&&c.nrm(0,"mat-progress-bar",0),2&b){const d=c.XpG();c.Y8G("mode",d.mode)("value",d.progress)}}let df=(()=>{class b{constructor(){this._angorLoadingService=(0,c.WQX)(St),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new Ia.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,vu.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],standalone:!0,features:[c.OA$,c.aNF],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(m,D){1&m&&c.DNE(0,Vw,1,2,"mat-progress-bar",0),2&m&&c.vxM(D.show?0:-1)},dependencies:[xu.PO,xu.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return b})();function yp(b,p){1&b&&c.nrm(0,"router-outlet")}let Rm=(()=>{class b{constructor(){this._unsubscribeAll=new Ia.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["empty-layout"]],standalone:!0,features:[c.aNF],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"div",0)(2,"div",1),c.DNE(3,yp,1,0,"router-outlet"),c.k0s()()),2&m&&(c.R7$(3),c.vxM(3))},dependencies:[df,s.n3],encapsulation:2})}}return b})();var Cs=r(8834),Rs=r(9213),vp=r(4823);function Hv(b,p){1&b&&c.nrm(0,"mat-icon",3)}let _u=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ)}toggleFullscreen(){this._document.fullscreenEnabled?this._document.fullscreenElement?this._document.exitFullscreen():this._document.documentElement.requestFullscreen().catch(()=>{console.error("Entering fullscreen mode failed.")}):console.log("Fullscreen is not available in this browser.")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],standalone:!0,features:[c.aNF],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){return c.eBV(V),c.Njj(D.toggleFullscreen())}),c.eu8(1,2),c.k0s(),c.DNE(2,Hv,1,0,"ng-template",null,0,c.C5r)}if(2&m){const V=c.sdS(3);c.Y8G("matTooltip",D.tooltip||"Toggle Fullscreen"),c.R7$(),c.Y8G("ngTemplateOutlet",D.iconTpl||V)}},dependencies:[Cs.Hl,Cs.iY,vp.uc,vp.oV,Ct.T3,Rs.m_,Rs.An],encapsulation:2,changeDetection:0})}}return b})();var xp=r(7857),_p=r(6939),uf=r(6231);let Nm=(()=>{class b{constructor(d){this.relayService=d,this.notificationSubject=new $t.t([]),this.notificationCount=new $t.t(0),this.lastNotificationTimestamp=null,this.initializeNotificationData()}initializeNotificationData(){this.notificationCount.next(this.loadCountFromLocalStorage()),this.lastNotificationTimestamp=this.loadTimestampFromLocalStorage()}loadCountFromLocalStorage(){const d=localStorage.getItem("notificationCount");return d?parseInt(d,10):0}loadTimestampFromLocalStorage(){const d=localStorage.getItem("lastNotificationTimestamp");return d?parseInt(d,10):null}saveNotificationData(d,m){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",m.toString())}getNotificationObservable(){return this.notificationSubject.asObservable()}getNotificationCount(){return this.notificationCount.asObservable()}loadFilterPreferences(){const d=localStorage.getItem("notificationSettings");return d?JSON.parse(d):[1,3,4,7,9735]}subscribeToNotifications(d){var m=this;return(0,k.A)(function*(){yield m.relayService.ensureConnectedRelays();const D=m.relayService.getPool(),V=m.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const J=m.loadTimestampFromLocalStorage(),_t=m.loadFilterPreferences();0===_t.length&&_t.push(1,3,4,7,9735);const Wt={kinds:_t,"#p":[d],limit:50,since:J||void 0};return new Promise(we=>{D.subscribeMany(V,[Wt],{onevent:xr=>m.handleNotificationEvent(xr,d),oneose(){we()}})})})()}handleNotificationEvent(d,m){if(this.isNotificationEvent(d,m)){const V=new Date(1e3*d.created_at);let J="",_t="",Wt="";switch(d.kind){case 1:J="Mention",_t="Mentioned you in an event.",Wt="heroicons_outline:at-symbol";break;case 4:J="Private Message",_t="Sent a private message.",Wt="heroicons_outline:envelope-open";break;case 9735:J="Zap",_t="Received a zap event.",Wt="feather:zap";break;case 3:J="New Follower",_t="You have a new follower.",Wt="heroicons_outline:user-plus";break;case 7:J="New Like",_t="You have a new Like.",Wt="heroicons_outline:hand-thumb-up";break;default:J="Notification",Wt="heroicons_outline:bell"}const xr=[{id:d.id,icon:Wt,title:J,description:_t,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(xr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const m=this.notificationCount.value+1;this.notificationCount.next(m),this.saveNotificationData(m,d)}markAllAsRead(){const d=this.notificationSubject.value.map(D=>({...D,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const m=Math.floor(Date.now()/1e3);this.saveNotificationData(0,m)}isNotificationEvent(d,m){return d.tags.some(D=>"p"===D[0]&&D[1]===m)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(uf.b))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var kd=r(7987),ku=r(4930);const pf=["notificationsOrigin"],Lm=["notificationsPanel"],Ed=b=>({unread:b}),Pm=(b,p)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":b,"bg-primary":p});function jh(b,p){if(1&b&&(c.j41(0,"span",4)(1,"span",6),c.EFF(2),c.k0s()()),2&b){const d=c.XpG();c.R7$(2),c.SpI(" ",d.unreadCount," ")}}function Fm(b,p){1&b&&c.eu8(0)}function Bm(b,p){if(1&b&&(c.j41(0,"a",23),c.DNE(1,Fm,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("href",d.link,c.B4B),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function Um(b,p){1&b&&c.eu8(0)}function hf(b,p){if(1&b&&(c.j41(0,"a",24),c.DNE(1,Um,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("routerLink",d.link),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function $m(b,p){if(1&b&&c.DNE(0,Bm,2,2,"a",23)(1,hf,2,2,"a",24),2&b){const d=c.XpG().$implicit;c.vxM(d.useRouter?-1:0),c.R7$(),c.vxM(d.useRouter?1:-1)}}function Vh(b,p){1&b&&c.eu8(0)}function gf(b,p){if(1&b&&(c.j41(0,"div",17),c.DNE(1,Vh,1,0,"ng-container",25),c.k0s()),2&b){c.XpG();const d=c.sdS(9);c.R7$(),c.Y8G("ngTemplateOutlet",d)}}function Eu(b,p){if(1&b&&(c.j41(0,"div",26),c.nrm(1,"mat-icon",32),c.k0s()),2&b){const d=c.XpG(2).$implicit;c.R7$(),c.Y8G("svgIcon",d.icon)}}function zw(b,p){if(1&b&&c.nrm(0,"img",27),2&b){const d=c.XpG(2).$implicit;c.Y8G("src",d.image,c.B4B)("alt","Notification image")}}function Hw(b,p){if(1&b&&c.nrm(0,"div",29),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.title,c.npT)}}function Wv(b,p){if(1&b&&c.nrm(0,"div",30),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.description,c.npT)}}function zh(b,p){if(1&b&&(c.DNE(0,Eu,2,1,"div",26)(1,zw,1,2,"img",27),c.j41(2,"div",28),c.DNE(3,Hw,1,1,"div",29)(4,Wv,1,1,"div",30),c.j41(5,"div",31),c.EFF(6),c.nI1(7,"date"),c.k0s()()),2&b){const d=c.XpG().$implicit;c.vxM(d.icon&&!d.image?0:-1),c.R7$(),c.vxM(d.image?1:-1),c.R7$(2),c.vxM(d.title?3:-1),c.R7$(),c.vxM(d.description?4:-1),c.R7$(2),c.SpI(" ",c.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function ff(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",16),c.DNE(1,$m,2,2)(2,gf,2,1,"div",17),c.j41(3,"div",18)(4,"button",19),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.toggleRead(D))}),c.nrm(5,"span",20),c.k0s(),c.j41(6,"button",21),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.delete(D))}),c.nrm(7,"mat-icon",22),c.k0s()()(),c.DNE(8,zh,8,8,"ng-template",null,2,c.C5r)}if(2&b){const d=p.$implicit;c.Y8G("ngClass",c.eq3(7,Ed,!d.read)),c.R7$(),c.vxM(d.link?1:-1),c.R7$(),c.vxM(d.link?-1:2),c.R7$(2),c.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),c.R7$(),c.Y8G("ngClass",c.l_i(9,Pm,d.read,!d.read)),c.R7$(),c.Y8G("matTooltip","Remove"),c.R7$(),c.Y8G("svgIcon","heroicons_solid:x-mark")}}function jm(b,p){1&b&&(c.j41(0,"div",15)(1,"div",33),c.nrm(2,"mat-icon",34),c.k0s(),c.j41(3,"div",35),c.EFF(4," No notifications "),c.k0s(),c.j41(5,"div",36),c.EFF(6," When you have notifications, they will appear here. "),c.k0s()()),2&b&&(c.R7$(2),c.Y8G("svgIcon","heroicons_outline:bell"))}function Vm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.closePanel())}),c.nrm(4,"mat-icon",10),c.k0s()(),c.j41(5,"div",11),c.EFF(6,"Notifications"),c.k0s(),c.j41(7,"div",12)(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.markAllAsRead())}),c.nrm(9,"mat-icon",10),c.k0s()()(),c.j41(10,"div",14),c.Z7z(11,ff,10,12,null,null,c.BUC().trackByFn,!0),c.DNE(13,jm,7,1,"div",15),c.k0s()()}if(2&b){const d=c.XpG();c.R7$(4),c.Y8G("svgIcon","heroicons_solid:x-mark"),c.R7$(4),c.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),c.R7$(),c.Y8G("svgIcon","heroicons_solid:envelope-open"),c.R7$(2),c.Dyx(d.notifications),c.R7$(2),c.vxM(d.notifications&&d.notifications.length?-1:13)}}let mf=(()=>{class b{constructor(d,m,D,V,J){this._notificationService=d,this._changeDetectorRef=m,this._overlay=D,this._viewContainerRef=V,this._signerService=J,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new Ia.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(m=>{this.notifications=m,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(m=>{this.unreadCount=m,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new _p.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,m){return m.id}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(Nm),c.rXU(c.gRc),c.rXU(kd.hJ),c.rXU(c.c1b),c.rXU(ku.A))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["notifications"]],viewQuery:function(m,D){if(1&m&&(c.GBs(pf,5),c.GBs(Lm,5)),2&m){let V;c.mGM(V=c.lsd())&&(D._notificationsOrigin=V.first),c.mGM(V=c.lsd())&&(D._notificationsPanel=V.first)}},exportAs:["notifications"],standalone:!0,features:[c.aNF],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3,0),c.bIt("click",function(){return c.eBV(V),c.Njj(D.openPanel())}),c.DNE(2,jh,3,1,"span",4),c.nrm(3,"mat-icon",5),c.k0s(),c.DNE(4,Vm,14,5,"ng-template",null,1,c.C5r)}2&m&&(c.R7$(2),c.vxM(D.unreadCount>0?2:-1),c.R7$(),c.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,vp.uc,vp.oV,Ct.YU,Ct.T3,s.Wk,Ct.vh],encapsulation:2,changeDetection:0})}}return b})();var Cd=r(5888),Dd=r(9417),zm=r(5542),Cu=r(9888),bf=r(8359),Yc=r(7336),Zc=r(9327),Du=r(9172),Ww=r(8203);const Kw=["panel"],Gw=["*"];function Xw(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",1,0),c.bIt("@panelAnimation.done",function(D){c.eBV(d);const V=c.XpG();return c.Njj(V._animationDone.next(D))}),c.SdG(2),c.k0s()}if(2&b){const d=p.id,m=c.XpG();c.HbH(m._classList),c.AVh("mat-mdc-autocomplete-visible",m.showPanel)("mat-mdc-autocomplete-hidden",!m.showPanel)("mat-primary","primary"===m._color)("mat-accent","accent"===m._color)("mat-warn","warn"===m._color),c.Y8G("id",m.id)("@panelAnimation",m.isOpen?"visible":"hidden"),c.BMQ("aria-label",m.ariaLabel||null)("aria-labelledby",m._getPanelAriaLabelledby(d))}}const Yw=(0,zo.hZ)("panelAnimation",[(0,zo.wk)("void, hidden",(0,zo.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,zo.kY)(":enter, hidden => visible",[(0,zo.Os)([(0,zo.i0)("0.03s linear",(0,zo.iF)({opacity:1})),(0,zo.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,zo.iF)({transform:"scaleY(1)"}))])]),(0,zo.kY)(":leave, visible => hidden",[(0,zo.i0)("0.075s linear",(0,zo.iF)({opacity:0}))])]);let Zw=0;class Hm{constructor(p,d){this.source=p,this.option=d}}const Wm=new c.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Qw(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let qw=(()=>{class b{get isOpen(){return this._isOpen&&this.showPanel}_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}constructor(d,m,D,V){this._changeDetectorRef=d,this._elementRef=m,this._defaults=D,this._activeOptionChanges=bf.yU.EMPTY,this._animationDone=new c.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new c.bkB,this.opened=new c.bkB,this.closed=new c.bkB,this.optionActivated=new c.bkB,this.id="mat-autocomplete-"+Zw++,this.inertGroups=V?.SAFARI||!1,this.autoActiveFirstOption=!!D.autoActiveFirstOption,this.autoSelectActiveOption=!!D.autoSelectActiveOption,this.requireSelection=!!D.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Cu.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(d=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[d]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(d){this.panel&&(this.panel.nativeElement.scrollTop=d)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(d){const m=new Hm(this,d);this.optionSelected.emit(m)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(Wm),c.rXU(rt.OD))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["mat-autocomplete"]],contentQueries:function(m,D,V){if(1&m&&(c.wni(V,Xe.wT,5),c.wni(V,Xe.QC,5)),2&m){let J;c.mGM(J=c.lsd())&&(D.options=J),c.mGM(J=c.lsd())&&(D.optionGroups=J)}},viewQuery:function(m,D){if(1&m&&(c.GBs(c.C4Q,7),c.GBs(Kw,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.template=V.first),c.mGM(V=c.lsd())&&(D.panel=V.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",c.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",c.L39],requireSelection:[2,"requireSelection","requireSelection",c.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",c.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[c.Jv_([{provide:Xe.is,useExisting:b}]),c.GFd,c.aNF],ngContentSelectors:Gw,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(m,D){1&m&&(c.NAR(),c.DNE(0,Xw,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Yw]},changeDetection:0})}}return b})();const Hh={provide:Dd.kq,useExisting:(0,c.Rfq)(()=>wf),multi:!0},Ad=new c.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,c.WQX)(kd.hJ);return()=>b.scrollStrategies.reposition()}}),Gm={provide:Ad,deps:[kd.hJ],useFactory:function Km(b){return()=>b.scrollStrategies.reposition()}};let wf=(()=>{class b{constructor(d,m,D,V,J,_t,Wt,we,ur,xr,mo){this._element=d,this._overlay=m,this._viewContainerRef=D,this._zone=V,this._changeDetectorRef=J,this._dir=Wt,this._formField=we,this._document=ur,this._viewportRuler=xr,this._defaults=mo,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=bf.yU.EMPTY,this._breakpointObserver=(0,c.WQX)(Zc.QP),this._handsetLandscapeSubscription=bf.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ia.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Ia.B,this._injector=(0,c.WQX)(c.zZn),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,uu.v)(()=>{const Zr=this.autocomplete?this.autocomplete.options:null;return Zr?Zr.changes.pipe((0,Du.Z)(Zr),(0,dt.n)(()=>(0,Hc.h)(...Zr.map(yo=>yo.onSelectionChange)))):this._initialized.pipe((0,dt.n)(()=>this.optionSelections))}),this._handlePanelKeydown=Zr=>{(Zr.keyCode===Yc._f&&!(0,Yc.rp)(Zr)||Zr.keyCode===Yc.i7&&(0,Yc.rp)(Zr,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Zr.stopPropagation(),Zr.preventDefault())},this._trackedModal=null,this._scrollStrategy=_t}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const d=this._getWindow();typeof d<"u"&&this._zone.runOutsideAngular(()=>d.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(d){d.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const d=this._getWindow();typeof d<"u"&&d.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,Cu.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Hc.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Vt.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Vt.p)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,Qa.T)(d=>d instanceof Xe.MI?d:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Hc.h)((0,hd.R)(this._document,"click"),(0,hd.R)(this._document,"auxclick"),(0,hd.R)(this._document,"touchend")).pipe((0,Vt.p)(d=>{const m=(0,rt.Fb)(d),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&m!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!D||!D.contains(m))&&(!V||!V.contains(m))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(m)}))}writeValue(d){Promise.resolve(null).then(()=>this._assignOptionValue(d))}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}setDisabledState(d){this._element.nativeElement.disabled=d}_handleKeydown(d){const m=d.keyCode,D=(0,Yc.rp)(d);if(m===Yc._f&&!D&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&m===Yc.Fm&&this.panelOpen&&!D)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,J=m===Yc.i7||m===Yc.n6;m===Yc.wn||J&&!D&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):J&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(J||this.autocomplete._keyManager.activeItem!==V)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(d){let m=d.target,D=m.value;if("number"===m.type&&(D=""==D?null:parseFloat(D)),this._previousValue!==D){if(this._previousValue=D,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(D),D){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(J=>J.selected);V&&D!==this._getDisplayValue(V.value)&&V.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===d.target){const V=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(V)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(d=!1){this._formField&&"auto"===this._formField.floatLabel&&(d?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const d=new M.c(D=>{(0,c.mal)(()=>{D.next()},{injector:this._injector})}),m=this.autocomplete.options.changes.pipe((0,md.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ct.c)(0));return(0,Hc.h)(d,m).pipe((0,dt.n)(()=>this._zone.run(()=>{const D=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),D!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,T.s)(1)).subscribe(D=>this._setValueAndClose(D))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const m=this.autocomplete;return m&&m.displayWith?m.displayWith(d):d}_assignOptionValue(d){const m=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(m??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const m=this.autocomplete,D=d?d.source:this._pendingAutoselectedOption;D?(this._clearPreviousSelectedOption(D),this._assignOptionValue(D.value),this._onChange(D.value),m._emitSelectEvent(D),this._element.nativeElement.focus()):m.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),m._animationDone?m._animationDone.pipe((0,T.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,m){this.autocomplete?.options?.forEach(D=>{D!==d&&D.selected&&D.deselect(m)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,Cu.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let m=this._overlayRef;m?(this._positionStrategy.setOrigin(this._getConnectedElement()),m.updateSize({width:this._getPanelWidth()})):(this._portal=new _p.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),m=this._overlay.create(this._getOverlayConfig()),this._overlayRef=m,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&m&&m.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zc.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),m&&!m.hasAttached()&&(m.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const D=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&D!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const d=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=d.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=d.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new kd.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const d=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(d),this._positionStrategy=d,d}_setStrategyPositions(d){const m=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:D},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:D}];let J;J="above"===this.position?V:"below"===this.position?m:[...m,...V],d.withPositions(J)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const d=this.autocomplete;if(d.autoActiveFirstOption){let m=-1;for(let D=0;D .cdk-overlay-container [aria-modal="true"]');if(!d)return;const m=this.autocomplete.id;this._trackedModal&&(0,Cu.Ae)(this._trackedModal,"aria-owns",m),(0,Cu.px)(d,"aria-owns",m),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,Cu.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.aKT),c.rXU(kd.hJ),c.rXU(c.c1b),c.rXU(c.SKi),c.rXU(c.gRc),c.rXU(Ad),c.rXU(Ww.dS,8),c.rXU(gr.xb,9),c.rXU(Ct.qQ,8),c.rXU(zm.Xj),c.rXU(Wm,8))}}static{this.\u0275dir=c.FsC({type:b,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(m,D){1&m&&c.bIt("focusin",function(){return D._handleFocus()})("blur",function(){return D._onTouched()})("input",function(J){return D._handleInput(J)})("keydown",function(J){return D._handleKeydown(J)})("click",function(){return D._handleClick()}),2&m&&c.BMQ("autocomplete",D.autocompleteAttribute)("role",D.autocompleteDisabled?null:"combobox")("aria-autocomplete",D.autocompleteDisabled?null:"list")("aria-activedescendant",D.panelOpen&&D.activeOption?D.activeOption.id:null)("aria-expanded",D.autocompleteDisabled?null:D.panelOpen.toString())("aria-controls",D.autocompleteDisabled||!D.panelOpen||null==D.autocomplete?null:D.autocomplete.id)("aria-haspopup",D.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",c.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[c.Jv_([Hh]),c.GFd,c.OA$]})}}return b})(),Gv=(()=>{class b{static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275mod=c.$C({type:b})}static{this.\u0275inj=c.G2t({providers:[Gm],imports:[kd.z_,Xe.Sy,Xe.yE,Ct.MD,zm.Gj,Xe.Sy,Xe.yE]})}}return b})();var Xv=r(9042),Yv=r(152),Wh=r(7291);const yf=["barSearchInput"],Zv=["matAutocomplete"];function Qv(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",5),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.open())}),c.nrm(1,"mat-icon",6),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function Xm(b,p){1&b&&(c.j41(0,"mat-option",14),c.EFF(1," No results found! "),c.k0s())}function Jw(b,p){if(1&b){const d=c.RV6();c.j41(0,"img",22),c.bIt("error",function(D){c.eBV(d);const V=c.XpG(5);return c.Njj(V.handleImageError(D))}),c.k0s()}if(2&b){const d=c.XpG().$implicit;c.Mz_("alt","",d.name,"'s avatar"),c.Y8G("src",d.avatar,c.B4B)}}function t0(b,p){1&b&&(c.qex(0),c.nrm(1,"mat-icon",23),c.bVm()),2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:user-circle"))}function e0(b,p){if(1&b&&(c.j41(0,"div",24),c.EFF(1),c.k0s()),2&b){const d=c.XpG().$implicit;c.R7$(),c.SpI(" ",d.about," ")}}function r0(b,p){if(1&b&&(c.qex(0),c.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),c.DNE(4,Jw,1,3,"img",18)(5,t0,2,1,"ng-container",2),c.k0s(),c.j41(6,"div",19)(7,"span",20),c.EFF(8),c.k0s(),c.DNE(9,e0,2,1,"div",21),c.k0s()()(),c.bVm()),2&b){const d=p.$implicit;c.R7$(),c.Y8G("routerLink",d.link)("value",d.name),c.R7$(3),c.Y8G("ngIf",d.avatar),c.R7$(),c.Y8G("ngIf",!d.avatar),c.R7$(3),c.JRh(d.name),c.R7$(),c.Y8G("ngIf",d.about)}}function o0(b,p){if(1&b&&(c.qex(0),c.DNE(1,r0,10,6,"ng-container",12),c.bVm()),2&b){const d=p.$implicit,m=c.XpG(3);c.R7$(),c.Y8G("ngForOf",d.results)("ngForTrackBy",m.trackByFn)}}function Ym(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7),c.nrm(1,"mat-icon",8),c.j41(2,"input",9,0),c.bIt("keydown",function(D){c.eBV(d);const V=c.XpG(2);return c.Njj(V.onKeydown(D))}),c.k0s(),c.j41(4,"mat-autocomplete",10,1),c.DNE(6,Xm,2,0,"mat-option",11)(7,o0,2,2,"ng-container",12),c.k0s(),c.j41(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.close())}),c.nrm(9,"mat-icon",6),c.k0s()()}if(2&b){const d=c.sdS(5),m=c.XpG(2);c.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"),c.R7$(),c.Y8G("formControl",m.searchControl)("matAutocomplete",d)("placeholder","Search..."),c.R7$(2),c.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),c.R7$(2),c.Y8G("ngIf",m.resultSets&&!m.resultSets.length),c.R7$(),c.Y8G("ngForOf",m.resultSets)("ngForTrackBy",m.trackByFn),c.R7$(2),c.Y8G("svgIcon","heroicons_outline:x-mark")}}function Zm(b,p){if(1&b&&(c.j41(0,"div"),c.DNE(1,Qv,2,1,"button",3)(2,Ym,10,12,"div",4),c.k0s()),2&b){const d=c.XpG();c.R7$(),c.Y8G("ngIf",!d.opened),c.R7$(),c.Y8G("ngIf",d.opened)}}let Qm=(()=>{class b{constructor(d,m){this._storageService=d,this._sanitizer=m,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new c.bkB,this.opened=!1,this.searchControl=new Dd.hs,this._unsubscribeAll=new Ia.B}set barSearchInput(d){d&&setTimeout(()=>{d.nativeElement.focus()})}set matAutocomplete(d){this._matAutocomplete=d}ngOnChanges(d){"appearance"in d&&this.close()}ngOnInit(){var d=this;this.searchControl.valueChanges.pipe((0,Yv.B)(this.debounce),(0,Na.Q)(this._unsubscribeAll),(0,Qa.T)(m=>((!m||m.lengthm&&m.length>=this.minLength)).subscribe(function(){var m=(0,k.A)(function*(D){const V=yield d._storageService.searchProfile(D);d.resultSets=V.map(J=>({label:"Project",results:[{name:J.profile.name||J.profile.displayName||J.pubKey,pubkey:J.pubKey,username:J.profile.username||"",website:J.profile.website||"",about:J.profile.about?J.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:J.profile.picture||null,banner:J.profile.banner||null,link:`/profile/${J.pubKey}`}]})),d.search.next(d.resultSets)});return function(D){return m.apply(this,arguments)}}())}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(d){"Escape"===d.code&&"bar"===this.appearance&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(d,m){return m.id||d}handleImageError(d){const m=d.target;m.onerror=null,m.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(Wh.n),c.rXU(o.up))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["search"]],viewQuery:function(m,D){if(1&m&&(c.GBs(yf,5),c.GBs(Zv,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.barSearchInput=V.first),c.mGM(V=c.lsd())&&(D.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[c.Jv_([{provide:Ad,useFactory:()=>{const d=(0,c.WQX)(kd.hJ);return()=>d.scrollStrategies.block()}}]),c.OA$,c.aNF],decls:1,vars:1,consts:[["barSearchInput",""],["matAutocomplete","matAutocomplete"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","bg-card absolute inset-0 z-99 flex shrink-0 items-center",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],["class","text-secondary pointer-events-none bg-transparent px-6 py-0 text-md",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],["class","h-full w-full object-cover",3,"src","alt","error",4,"ngIf"],[1,"ml-3","truncate"],[1,"font-semibold"],["class","text-sm text-gray-500",4,"ngIf"],[1,"h-full","w-full","object-cover",3,"error","src","alt"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"text-sm","text-gray-500"]],template:function(m,D){1&m&&c.DNE(0,Zm,3,2,"div",2),2&m&&c.Y8G("ngIf","bar"===D.appearance)},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,Dd.YN,Dd.me,Dd.BC,Gv,qw,Xe.wT,wf,Dd.X1,Dd.l_,Xe.Sy,s.Wk,gr.RG,Xv.fS,Ct.MD,Ct.Sq,Ct.bT],encapsulation:2,data:{animation:Cd.F}})}}return b})();var qm=r(1997),kp=r(9115),Ep=r(881),Jm=r(2332);function vf(b,p){if(1&b&&(c.qex(0),c.nrm(1,"img",14),c.bVm()),2&b){const d=c.XpG();c.R7$(),c.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),c.B4B)}}function n0(b,p){1&b&&c.nrm(0,"mat-icon",12),2&b&&c.Y8G("svgIcon","heroicons_outline:user-circle")}let $l=(()=>{class b{constructor(d,m,D,V,J,_t,Wt,we){this._changeDetectorRef=d,this._router=m,this._angorConfigService=D,this._signerService=V,this._storageService=J,this.sanitizer=_t,this._changeDetectorRefef=Wt,this._nostrLoginService=we,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new Ia.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRefef.detectChanges())}),this.loadUserProfile()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(m=>{d.user=m,d._changeDetectorRefef.detectChanges()})})()}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(d){this._angorConfigService.config={layout:d},this._changeDetectorRef.detectChanges()}setScheme(d){this._angorConfigService.config={scheme:d},this._changeDetectorRef.detectChanges()}setTheme(d){this._angorConfigService.config={theme:d},this._changeDetectorRef.detectChanges()}getSafeUrl(d){return this.sanitizer.bypassSecurityTrustUrl(d)}Switch(){this._nostrLoginService.switchAccount()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(s.Ix),c.rXU(Ep.P),c.rXU(ku.A),c.rXU(Wh.n),c.rXU(o.up),c.rXU(c.gRc),c.rXU(Jm.v))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["user"]],standalone:!0,features:[c.aNF],decls:52,vars:13,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"h-7","w-7","rounded-full","object-cover",3,"src"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3)(1,"span",4),c.DNE(2,vf,2,1,"ng-container",5)(3,n0,1,1,"ng-template",null,0,c.C5r),c.k0s()(),c.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),c.EFF(10,"Logged in as"),c.k0s(),c.j41(11,"span",9),c.EFF(12),c.k0s()()(),c.nrm(13,"mat-divider",10),c.j41(14,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.Switch())}),c.nrm(15,"mat-icon",12),c.j41(16,"span"),c.EFF(17,"Switch account"),c.k0s()(),c.j41(18,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.profile())}),c.nrm(19,"mat-icon",12),c.j41(20,"span"),c.EFF(21,"Profile"),c.k0s()(),c.j41(22,"button",13),c.nrm(23,"mat-icon",12),c.j41(24,"span"),c.EFF(25,"Settings"),c.k0s()(),c.nrm(26,"mat-divider",10),c.j41(27,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.logout())}),c.nrm(28,"mat-icon",12),c.j41(29,"span"),c.EFF(30,"logout"),c.k0s()()(),c.j41(31,"mat-menu",null,2)(33,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("auto"))}),c.nrm(34,"mat-icon",12),c.j41(35,"span"),c.EFF(36,"Auto Theme"),c.k0s()(),c.j41(37,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("light"))}),c.nrm(38,"mat-icon",12),c.j41(39,"span"),c.EFF(40,"Light Theme"),c.k0s()(),c.j41(41,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("dark"))}),c.nrm(42,"mat-icon",12),c.j41(43,"span"),c.EFF(44,"Dark Theme"),c.k0s()(),c.nrm(45,"mat-divider"),c.j41(46,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("classic"))}),c.j41(47,"span"),c.EFF(48,"Classic Layout"),c.k0s()(),c.j41(49,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("modern"))}),c.j41(50,"span"),c.EFF(51,"Modern Layout"),c.k0s()()()}if(2&m){const V=c.sdS(4),J=c.sdS(6),_t=c.sdS(32);c.Y8G("matMenuTriggerFor",J),c.R7$(2),c.Y8G("ngIf",null==D.user?null:D.user.picture)("ngIfElse",V),c.R7$(3),c.Y8G("xPosition","before"),c.R7$(7),c.JRh((null==D.user?null:D.user.display_name)||(null==D.user?null:D.user.name)||"Unknown User"),c.R7$(3),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(4),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(3),c.Y8G("matMenuTriggerFor",_t),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),c.R7$(5),c.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),c.R7$(6),c.Y8G("svgIcon","heroicons_solid:bolt"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:sun"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:moon")}},dependencies:[Cs.Hl,Cs.iY,kp.Cn,kp.kk,kp.fb,kp.Cp,Rs.m_,Rs.An,qm.w,qm.q,Ct.MD,Ct.bT],encapsulation:2,changeDetection:0})}}return b})();var tb=r(3236),a0=r(1584);let _f=(()=>{class b{constructor(d,m){this.swUpdate=d,this.zone=m,this.newVersionAvailableSubject=new $t.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function xf(b=0,p=tb.E){return b<0&&(b=0),(0,a0.O)(b,b,p)}(9e5),this.checkForUpdateOnLoad(),this.checkForUpdateOnInterval()}applyUpdate(){this.swUpdate.activateUpdate().then(()=>document.location.reload()).catch(d=>console.error("Failed to apply updates:",d))}checkForUpdateOnInterval(){var d=this;this.unsubscribeInterval(),this.swUpdate.isEnabled&&this.zone.runOutsideAngular(()=>{this.intervalSubscription=this.intervalSource.subscribe((0,k.A)(function*(){try{(yield d.swUpdate.checkForUpdate())&&d.newVersionAvailableSubject.next(!0)}catch(m){console.error("Failed to check for updates:",m)}}))})}checkForUpdateOnLoad(){this.unsubscribeNewVersion(),this.swUpdate.isEnabled&&(this.newVersionSubscription=this.swUpdate.versionUpdates.subscribe(d=>{switch(d.type){case"VERSION_DETECTED":break;case"VERSION_READY":this.newVersionAvailableSubject.next(!0);break;case"VERSION_INSTALLATION_FAILED":console.error(`Failed to install app version '${d.version.hash}': ${d.error}`)}}))}unsubscribeInterval(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}unsubscribeNewVersion(){this.newVersionSubscription&&this.newVersionSubscription.unsubscribe()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(hu),c.KVO(c.SKi))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();function s0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.applyUpdate())}),c.nrm(1,"mat-icon",2),c.k0s()}if(2&b){const d=c.XpG();c.Y8G("matTooltip",d.tooltip||"Update App"),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let eb=(()=>{class b{constructor(d,m){this.updateService=d,this._changeDetectorRef=m,this.updateService.isNewVersionAvailable$.subscribe(D=>{D&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(_f),c.rXU(c.gRc))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],standalone:!0,features:[c.aNF],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.DNE(0,s0,2,2,"button",0),c.nI1(1,"async")),2&m&&c.Y8G("ngIf",c.bMT(1,1,D.updateService.isNewVersionAvailable$))},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,vp.uc,vp.oV,Ct.MD,Ct.bT,Ct.Jj],encapsulation:2,changeDetection:0})}}return b})();function c0(b,p){if(1&b&&(c.j41(0,"angor-vertical-navigation",0),c.qex(1,10),c.j41(2,"div",11),c.nrm(3,"img",12),c.k0s(),c.bVm(),c.k0s()),2&b){const d=c.XpG();c.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function l0(b,p){if(1&b&&(c.j41(0,"div",13)(1,"div",14),c.nrm(2,"img",15)(3,"img",16),c.k0s(),c.nrm(4,"img",17),c.k0s(),c.nrm(5,"angor-horizontal-navigation",18)),2&b){const d=c.XpG();c.R7$(5),c.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function rb(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",19),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.toggleNavigation("mainNavigation"))}),c.nrm(1,"mat-icon",20),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:bars-3"))}function qv(b,p){1&b&&c.nrm(0,"router-outlet")}let Jv=(()=>{class b{constructor(d,m,D,V,J){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=J,this._unsubscribeAll=new Ia.B,this.version=Xc}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(xa),c.rXU(at.l),c.rXU(xp.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["modern-layout"]],standalone:!0,features:[c.aNF],decls:17,vars:7,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"h-10","w-24"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"h-10","w-24","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","h-10","w-24","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.DNE(1,c0,4,4,"angor-vertical-navigation",0),c.j41(2,"div",1)(3,"div",2),c.DNE(4,l0,6,2)(5,rb,2,1,"button",3),c.j41(6,"div",4),c.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),c.k0s()(),c.j41(12,"div",7),c.DNE(13,qv,1,0,"router-outlet"),c.k0s(),c.j41(14,"div",8)(15,"span",9),c.EFF(16),c.k0s()()()),2&m&&(c.R7$(),c.vxM(D.isScreenSmall?1:-1),c.R7$(3),c.vxM(D.isScreenSmall?-1:4),c.R7$(),c.vxM(D.isScreenSmall?5:-1),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(13),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[df,xp.Tv,xp.$w,Cs.Hl,Cs.iY,Rs.m_,Rs.An,_u,Qm,mf,$l,s.n3,eb],encapsulation:2})}}return b})();function Cp(b,p){1&b&&c.nrm(0,"router-outlet")}let d0=(()=>{class b{constructor(d,m,D,V,J){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=J,this._unsubscribeAll=new Ia.B,this.version=Xc}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(xa),c.rXU(at.l),c.rXU(xp.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["classic-layout"]],standalone:!0,features:[c.aNF],decls:21,vars:9,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"angor-vertical-navigation",0),c.qex(2,1),c.j41(3,"div",2),c.nrm(4,"img",3)(5,"img",4),c.k0s(),c.bVm(),c.k0s(),c.j41(6,"div",5)(7,"div",6)(8,"button",7),c.bIt("click",function(){return D.toggleNavigation("mainNavigation")}),c.nrm(9,"mat-icon",8),c.k0s(),c.j41(10,"div",9),c.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),c.k0s()(),c.j41(16,"div",12),c.DNE(17,Cp,1,0,"router-outlet"),c.k0s(),c.j41(18,"div",13)(19,"span",14),c.EFF(20),c.k0s()()()),2&m&&(c.R7$(),c.Y8G("mode",D.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",D.navigation.default)("opened",!D.isScreenSmall),c.R7$(8),c.Y8G("svgIcon","heroicons_outline:bars-3"),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(17),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[df,xp.Tv,Cs.Hl,Cs.iY,Rs.m_,Rs.An,_u,Qm,mf,$l,s.n3,eb],encapsulation:2})}}return b})();function u0(b,p){1&b&&c.nrm(0,"empty-layout")}function p0(b,p){1&b&&c.nrm(0,"modern-layout")}function ob(b,p){1&b&&c.nrm(0,"classic-layout")}let kf=(()=>{class b{constructor(d,m,D,V,J,_t,Wt){this._activatedRoute=d,this._document=m,this._renderer2=D,this._router=V,this._angorConfigService=J,this._angorMediaWatcherService=_t,this._angorPlatformService=Wt,this._unsubscribeAll=new Ia.B}ngOnInit(){(0,pl.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,Na.Q)(this._unsubscribeAll),(0,Qa.T)(([d,m])=>{const D={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(D.scheme=m.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),D})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,Na.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",Xc),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let d=this._activatedRoute;for(;d.firstChild;)d=d.firstChild;this.layout=this.config.layout;const m=d.snapshot.queryParamMap.get("layout");m&&(this.layout=m,this.config&&(this.config.layout=m)),d.pathFromRoot.forEach(V=>{V.routeConfig&&V.routeConfig.data&&V.routeConfig.data.layout&&(this.layout=V.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(d=>{d.startsWith("theme-")&&this._document.body.classList.remove(d,d.split("-")[1])}),this._document.body.classList.add(this.theme)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(Ct.qQ),c.rXU(c.sFG),c.rXU(s.Ix),c.rXU(Ep.P),c.rXU(at.l),c.rXU(yt))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["layout"]],standalone:!0,features:[c.aNF],decls:3,vars:3,template:function(m,D){1&m&&c.DNE(0,u0,1,0,"empty-layout")(1,p0,1,0,"modern-layout")(2,ob,1,0,"classic-layout"),2&m&&(c.vxM("empty"===D.layout?0:-1),c.R7$(),c.vxM("modern"===D.layout?1:-1),c.R7$(),c.vxM("classic"===D.layout?2:-1))},dependencies:[Rm,Jv,d0],styles:["layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%}\n"],encapsulation:2})}}return b})();const Kh=()=>{const b=(0,c.WQX)(ku.A),p=(0,c.WQX)(s.Ix);return""!==b.getPublicKey()||p.parseUrl("/login")},h0=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:kf,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([r.e(588),r.e(770)]).then(r.bind(r,770))},{path:"create",loadChildren:()=>Promise.all([r.e(588),r.e(408)]).then(r.bind(r,1408))}]},{path:"",canActivate:[Kh],canActivateChild:[Kh],component:kf,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>r.e(514).then(r.bind(r,1514))}]},{path:"",canActivate:[Kh],canActivateChild:[Kh],component:kf,resolve:{initialData:()=>{const b=(0,c.WQX)(xa);return(0,c.WQX)(hc),(0,Mc.p)([b.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([r.e(130),r.e(541)]).then(r.bind(r,5541))},{path:"explore",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(632)]).then(r.bind(r,6632))},{path:"bookmark",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(364)]).then(r.bind(r,8364))},{path:"profile",loadChildren:()=>Promise.all([r.e(450),r.e(378),r.e(130),r.e(865),r.e(827)]).then(r.bind(r,5827))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([r.e(450),r.e(378),r.e(130),r.e(865),r.e(827)]).then(r.bind(r,5827))},{path:"post",loadChildren:()=>Promise.all([r.e(378),r.e(130),r.e(76),r.e(737)]).then(r.bind(r,8737))},{path:"post/:id",loadChildren:()=>Promise.all([r.e(378),r.e(130),r.e(76),r.e(737)]).then(r.bind(r,8737))},{path:"settings",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"settings/:id",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"chat",loadChildren:()=>Promise.all([r.e(378),r.e(865),r.e(76),r.e(307)]).then(r.bind(r,6307))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>r.e(258).then(r.bind(r,5258))},{path:"**",redirectTo:"404-not-found"}]}];let g0=(()=>{class b{constructor(){const d=(0,c.WQX)(o.up),m=(0,c.WQX)(Rs.tp);m.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),m.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),m.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),m.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),m.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),m.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),m.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var m0=r(9350),Ef=r(7707);let e1=(()=>{class b{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const Cf=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}],r1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}];var o1=r(7730);var s1=r(1984),Gh=r(7517),Xh=r(6726),Yh=r(5776);const ab=(0,r(8992).A)(Object.keys,Object);var w0=Object.prototype.hasOwnProperty;var tc=r(1287);const Zh=function ec(b){return(0,tc.A)(b)?(0,Xh.A)(b):function sb(b){if(!(0,Yh.A)(b))return ab(b);var p=[];for(var d in Object(b))w0.call(b,d)&&"constructor"!=d&&p.push(d);return p}(b)};var cb=r(133);var db=r(9933),d1=r(4528);const ub=function Af(){return[]};var Sf=Object.prototype.propertyIsEnumerable,Tf=Object.getOwnPropertySymbols;const Tu=Tf?function(b){return null==b?[]:(b=Object(b),function Qh(b,p){for(var d=-1,m=null==b?0:b.length,D=0,V=[];++d{class b{constructor(d){this._angorMockApiService=d,this._defaultNavigation=Cf,this._horizontalNavigation=r1,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(m=>{m.id===d.id&&(d.children=Od(m.children))})}),[200,{default:Od(this._defaultNavigation),horizontal:Od(this._horizontalNavigation)}]))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(z))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()];let ay=(()=>{class b{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const m=yield d.http.get(d.ngswFilePath).toPromise();m&&m.timestamp?(d.timestamp=m.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(m){console.error("Error loading ngsw.json:",m)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Qa.T)(d=>d.timestamp||null),(0,pp.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,I.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Ip=r(2083),Xf=r(6616);const cy={providers:[function Qg(){return(0,c.ngT)("NgEagerAnimations"),[...sp]}(),(0,q.$R)(),function Ih(b,p={}){return(0,c.EmA)([uc,hu,{provide:up,useValue:b},{provide:Mh,useValue:p},{provide:Ll,useFactory:ef,deps:[Mh,c.Agw]},{provide:c.hnV,useFactory:Om,deps:[c.zZn,up,Mh,c.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,c.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:c.hnV,useFactory:function f1(b){return()=>b.load()},deps:[ay,ku.A,Ip.d],multi:!0},{provide:c.hnV,useFactory:function sy(b,p){return(0,k.A)(function*(){const d=b.getPublicKey();d&&(yield p.loadUserProfile(d))})},deps:[ku.A,Ip.d],multi:!0},{provide:c.hnV,useFactory:function g1(){return()=>{(0,Xf.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(b,p)=>{}})}},multi:!0},(0,s.lh)(h0,(0,s.oH)({scrollPositionRestoration:"enabled"})),{provide:Xe.MJ,useClass:rl},{provide:Xe.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function sn(b){const p=[wo(Bh),an(wp),Ao(Bl),Zo(_)];return b.config&&p.push(function Kn(b){return(0,c.EmA)([{provide:Fl,useValue:Fh(b)}])}(b.config)),b.loader&&p.push(function Gn(b){return(0,c.EmA)([{provide:gp,useClass:b}])}(b.loader)),p}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:e1}),{provide:c.hnV,useFactory:()=>{const b=(0,c.WQX)(Qe),p=b.getDefaultLang();return b.setActiveLang(p),()=>function t1(b,p){const d="object"==typeof p;return new Promise((m,D)=>{const V=new Ef.Ms({next:J=>{m(J),V.unsubscribe()},error:D,complete:()=>{d?m(p.defaultValue):D(new m0.G)}});b.subscribe(V)})}(b.load(p))},multi:!0},[{provide:c.Z63,useValue:()=>(0,c.WQX)(g0),multi:!0}],(b=>{const p=[{provide:Xe.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:gr.U$,useValue:{appearance:"fill"}},{provide:A,useValue:b?.mockApi?.delay??0},{provide:vt.t,useValue:b?.angor??{}},(0,c.oKB)(kr.hM),{provide:c.Z63,useValue:()=>(0,c.WQX)(Mt.m),multi:!0},(0,q.$R)((0,q.b$)([nt])),{provide:c.Z63,useValue:()=>(0,c.WQX)(St),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(at.l),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(yt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(Xt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(oe.Q),multi:!0}];return b?.mockApi?.services&&p.push((0,q.$R)((0,q.b$)([tt])),{provide:c.hnV,deps:[...b.mockApi.services],useFactory:()=>()=>null,multi:!0}),p})({mockApi:{delay:0,services:iy},angor:JSON.parse(localStorage.getItem("angorConfig"))??{layout:"classic",scheme:"light",screens:{sm:"600px",md:"960px",lg:"1280px",xl:"1440px"},theme:"theme-brand",themes:[{id:"theme-brand",name:"Brand"},{id:"theme-default",name:"Default"},{id:"theme-teal",name:"Teal"},{id:"theme-rose",name:"Rose"},{id:"theme-purple",name:"Purple"},{id:"theme-amber",name:"Amber"}]}})]};(0,o.B8)(y,cy).catch(b=>console.error(b))},3981:(i,a)=>{"use strict";a.byteLength=function I(z){var q=A(z),dt=q[1];return 3*(q[0]+dt)/4-dt},a.toByteArray=function T(z){var q,St,ct=A(z),dt=ct[0],tt=ct[1],vt=new s(function M(z,q,ct){return 3*(q+ct)/4-ct}(0,dt,tt)),Mt=0,$t=tt>0?dt-4:dt;for(St=0;St<$t;St+=4)q=o[z.charCodeAt(St)]<<18|o[z.charCodeAt(St+1)]<<12|o[z.charCodeAt(St+2)]<<6|o[z.charCodeAt(St+3)],vt[Mt++]=q>>16&255,vt[Mt++]=q>>8&255,vt[Mt++]=255&q;return 2===tt&&(q=o[z.charCodeAt(St)]<<2|o[z.charCodeAt(St+1)]>>4,vt[Mt++]=255&q),1===tt&&(q=o[z.charCodeAt(St)]<<10|o[z.charCodeAt(St+1)]<<4|o[z.charCodeAt(St+2)]>>2,vt[Mt++]=q>>8&255,vt[Mt++]=255&q),vt},a.fromByteArray=function Y(z){for(var q,ct=z.length,dt=ct%3,tt=[],Mt=0,$t=ct-dt;Mt<$t;Mt+=16383)tt.push(L(z,Mt,Mt+16383>$t?$t:Mt+16383));return 1===dt?tt.push(r[(q=z[ct-1])>>2]+r[q<<4&63]+"=="):2===dt&&tt.push(r[(q=(z[ct-2]<<8)+z[ct-1])>>10]+r[q>>4&63]+r[q<<2&63]+"="),tt.join("")};for(var r=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)r[y]=c[y],o[c.charCodeAt(y)]=y;function A(z){var q=z.length;if(q%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ct=z.indexOf("=");return-1===ct&&(ct=q),[ct,ct===q?0:4-ct%4]}function O(z){return r[z>>18&63]+r[z>>12&63]+r[z>>6&63]+r[63&z]}function L(z,q,ct){for(var tt=[],vt=q;vt{"use strict";const s=r(3981),c=r(2020),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;a.hp=M,a.IS=50;const k=2147483647;function I(mt){if(mt>k)throw new RangeError('The value "'+mt+'" is invalid for option "size"');const $=new Uint8Array(mt);return Object.setPrototypeOf($,M.prototype),$}function M(mt,$,Z){if("number"==typeof mt){if("string"==typeof $)throw new TypeError('The "string" argument must be of type string. Received type number');return Y(mt)}return T(mt,$,Z)}function T(mt,$,Z){if("string"==typeof mt)return function z(mt,$){if(("string"!=typeof $||""===$)&&($="utf8"),!M.isEncoding($))throw new TypeError("Unknown encoding: "+$);const Z=0|$t(mt,$);let it=I(Z);const Tt=it.write(mt,$);return Tt!==Z&&(it=it.slice(0,Tt)),it}(mt,$);if(ArrayBuffer.isView(mt))return function ct(mt){if(Lt(mt,Uint8Array)){const $=new Uint8Array(mt);return dt($.buffer,$.byteOffset,$.byteLength)}return q(mt)}(mt);if(null==mt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt);if(Lt(mt,ArrayBuffer)||mt&&Lt(mt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Lt(mt,SharedArrayBuffer)||mt&&Lt(mt.buffer,SharedArrayBuffer)))return dt(mt,$,Z);if("number"==typeof mt)throw new TypeError('The "value" argument must not be of type number. Received type number');const it=mt.valueOf&&mt.valueOf();if(null!=it&&it!==mt)return M.from(it,$,Z);const Tt=function tt(mt){if(M.isBuffer(mt)){const $=0|vt(mt.length),Z=I($);return 0===Z.length||mt.copy(Z,0,0,$),Z}return void 0!==mt.length?"number"!=typeof mt.length||be(mt.length)?I(0):q(mt):"Buffer"===mt.type&&Array.isArray(mt.data)?q(mt.data):void 0}(mt);if(Tt)return Tt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof mt[Symbol.toPrimitive])return M.from(mt[Symbol.toPrimitive]("string"),$,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt)}function O(mt){if("number"!=typeof mt)throw new TypeError('"size" argument must be of type number');if(mt<0)throw new RangeError('The value "'+mt+'" is invalid for option "size"')}function Y(mt){return O(mt),I(mt<0?0:0|vt(mt))}function q(mt){const $=mt.length<0?0:0|vt(mt.length),Z=I($);for(let it=0;it<$;it+=1)Z[it]=255&mt[it];return Z}function dt(mt,$,Z){if($<0||mt.byteLength<$)throw new RangeError('"offset" is outside of buffer bounds');if(mt.byteLength<$+(Z||0))throw new RangeError('"length" is outside of buffer bounds');let it;return it=void 0===$&&void 0===Z?new Uint8Array(mt):void 0===Z?new Uint8Array(mt,$):new Uint8Array(mt,$,Z),Object.setPrototypeOf(it,M.prototype),it}function vt(mt){if(mt>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|mt}function $t(mt,$){if(M.isBuffer(mt))return mt.length;if(ArrayBuffer.isView(mt)||Lt(mt,ArrayBuffer))return mt.byteLength;if("string"!=typeof mt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof mt);const Z=mt.length,it=arguments.length>2&&!0===arguments[2];if(!it&&0===Z)return 0;let Tt=!1;for(;;)switch($){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return Pe(mt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Z;case"hex":return Z>>>1;case"base64":return ko(mt).length;default:if(Tt)return it?-1:Pe(mt).length;$=(""+$).toLowerCase(),Tt=!0}}function St(mt,$,Z){let it=!1;if((void 0===$||$<0)&&($=0),$>this.length||((void 0===Z||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0)<=($>>>=0))return"";for(mt||(mt="utf8");;)switch(mt){case"hex":return xe(this,$,Z);case"utf8":case"utf-8":return Xe(this,$,Z);case"ascii":return wr(this,$,Z);case"latin1":case"binary":return Wr(this,$,Z);case"base64":return oe(this,$,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,$,Z);default:if(it)throw new TypeError("Unknown encoding: "+mt);mt=(mt+"").toLowerCase(),it=!0}}function kt(mt,$,Z){const it=mt[$];mt[$]=mt[Z],mt[Z]=it}function nt(mt,$,Z,it,Tt){if(0===mt.length)return-1;if("string"==typeof Z?(it=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),be(Z=+Z)&&(Z=Tt?0:mt.length-1),Z<0&&(Z=mt.length+Z),Z>=mt.length){if(Tt)return-1;Z=mt.length-1}else if(Z<0){if(!Tt)return-1;Z=0}if("string"==typeof $&&($=M.from($,it)),M.isBuffer($))return 0===$.length?-1:at(mt,$,Z,it,Tt);if("number"==typeof $)return $&=255,"function"==typeof Uint8Array.prototype.indexOf?Tt?Uint8Array.prototype.indexOf.call(mt,$,Z):Uint8Array.prototype.lastIndexOf.call(mt,$,Z):at(mt,[$],Z,it,Tt);throw new TypeError("val must be string, number or Buffer")}function at(mt,$,Z,it,Tt){let er,It=1,ye=mt.length,ir=$.length;if(void 0!==it&&("ucs2"===(it=String(it).toLowerCase())||"ucs-2"===it||"utf16le"===it||"utf-16le"===it)){if(mt.length<2||$.length<2)return-1;It=2,ye/=2,ir/=2,Z/=2}function Je(Hr,eo){return 1===It?Hr[eo]:Hr.readUInt16BE(eo*It)}if(Tt){let Hr=-1;for(er=Z;erye&&(Z=ye-ir),er=Z;er>=0;er--){let Hr=!0;for(let eo=0;eoTt&&(it=Tt):it=Tt;const It=$.length;let ye;for(it>It/2&&(it=It/2),ye=0;ye>8,Tt=Z%256,It.push(Tt),It.push(it);return It}($,mt.length-Z),mt,Z,it)}function oe(mt,$,Z){return s.fromByteArray(0===$&&Z===mt.length?mt:mt.slice($,Z))}function Xe(mt,$,Z){Z=Math.min(mt.length,Z);const it=[];let Tt=$;for(;Tt239?4:It>223?3:It>191?2:1;if(Tt+ir<=Z){let Je,er,Hr,eo;switch(ir){case 1:It<128&&(ye=It);break;case 2:Je=mt[Tt+1],128==(192&Je)&&(eo=(31&It)<<6|63&Je,eo>127&&(ye=eo));break;case 3:Je=mt[Tt+1],er=mt[Tt+2],128==(192&Je)&&128==(192&er)&&(eo=(15&It)<<12|(63&Je)<<6|63&er,eo>2047&&(eo<55296||eo>57343)&&(ye=eo));break;case 4:Je=mt[Tt+1],er=mt[Tt+2],Hr=mt[Tt+3],128==(192&Je)&&128==(192&er)&&128==(192&Hr)&&(eo=(15&It)<<18|(63&Je)<<12|(63&er)<<6|63&Hr,eo>65535&&eo<1114112&&(ye=eo))}}null===ye?(ye=65533,ir=1):ye>65535&&(ye-=65536,it.push(ye>>>10&1023|55296),ye=56320|1023&ye),it.push(ye),Tt+=ir}return function gr(mt){const $=mt.length;if($<=kr)return String.fromCharCode.apply(String,mt);let Z="",it=0;for(;it<$;)Z+=String.fromCharCode.apply(String,mt.slice(it,it+=kr));return Z}(it)}!(M.TYPED_ARRAY_SUPPORT=function A(){try{const mt=new Uint8Array(1),$={foo:function(){return 42}};return Object.setPrototypeOf($,Uint8Array.prototype),Object.setPrototypeOf(mt,$),42===mt.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(M.prototype,"parent",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.buffer}}),Object.defineProperty(M.prototype,"offset",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.byteOffset}}),M.poolSize=8192,M.from=function(mt,$,Z){return T(mt,$,Z)},Object.setPrototypeOf(M.prototype,Uint8Array.prototype),Object.setPrototypeOf(M,Uint8Array),M.alloc=function(mt,$,Z){return function L(mt,$,Z){return O(mt),mt<=0?I(mt):void 0!==$?"string"==typeof Z?I(mt).fill($,Z):I(mt).fill($):I(mt)}(mt,$,Z)},M.allocUnsafe=function(mt){return Y(mt)},M.allocUnsafeSlow=function(mt){return Y(mt)},M.isBuffer=function($){return null!=$&&!0===$._isBuffer&&$!==M.prototype},M.compare=function($,Z){if(Lt($,Uint8Array)&&($=M.from($,$.offset,$.byteLength)),Lt(Z,Uint8Array)&&(Z=M.from(Z,Z.offset,Z.byteLength)),!M.isBuffer($)||!M.isBuffer(Z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===Z)return 0;let it=$.length,Tt=Z.length;for(let It=0,ye=Math.min(it,Tt);ItTt.length?(M.isBuffer(ye)||(ye=M.from(ye)),ye.copy(Tt,It)):Uint8Array.prototype.set.call(Tt,ye,It);else{if(!M.isBuffer(ye))throw new TypeError('"list" argument must be an Array of Buffers');ye.copy(Tt,It)}It+=ye.length}return Tt},M.byteLength=$t,M.prototype._isBuffer=!0,M.prototype.swap16=function(){const $=this.length;if($%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Z=0;Z<$;Z+=2)kt(this,Z,Z+1);return this},M.prototype.swap32=function(){const $=this.length;if($%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Z=0;Z<$;Z+=4)kt(this,Z,Z+3),kt(this,Z+1,Z+2);return this},M.prototype.swap64=function(){const $=this.length;if($%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Z=0;Z<$;Z+=8)kt(this,Z,Z+7),kt(this,Z+1,Z+6),kt(this,Z+2,Z+5),kt(this,Z+3,Z+4);return this},M.prototype.toLocaleString=M.prototype.toString=function(){const $=this.length;return 0===$?"":0===arguments.length?Xe(this,0,$):St.apply(this,arguments)},M.prototype.equals=function($){if(!M.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$||0===M.compare(this,$)},M.prototype.inspect=function(){let $="";const Z=a.IS;return $=this.toString("hex",0,Z).replace(/(.{2})/g,"$1 ").trim(),this.length>Z&&($+=" ... "),""},y&&(M.prototype[y]=M.prototype.inspect),M.prototype.compare=function($,Z,it,Tt,It){if(Lt($,Uint8Array)&&($=M.from($,$.offset,$.byteLength)),!M.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(void 0===Z&&(Z=0),void 0===it&&(it=$?$.length:0),void 0===Tt&&(Tt=0),void 0===It&&(It=this.length),Z<0||it>$.length||Tt<0||It>this.length)throw new RangeError("out of range index");if(Tt>=It&&Z>=it)return 0;if(Tt>=It)return-1;if(Z>=it)return 1;if(this===$)return 0;let ye=(It>>>=0)-(Tt>>>=0),ir=(it>>>=0)-(Z>>>=0);const Je=Math.min(ye,ir),er=this.slice(Tt,It),Hr=$.slice(Z,it);for(let eo=0;eo>>=0,isFinite(it)?(it>>>=0,void 0===Tt&&(Tt="utf8")):(Tt=it,it=void 0)}const It=this.length-Z;if((void 0===it||it>It)&&(it=It),$.length>0&&(it<0||Z<0)||Z>this.length)throw new RangeError("Attempt to write outside buffer bounds");Tt||(Tt="utf8");let ye=!1;for(;;)switch(Tt){case"hex":return rt(this,$,Z,it);case"utf8":case"utf-8":return yt(this,$,Z,it);case"ascii":case"latin1":case"binary":return Ct(this,$,Z,it);case"base64":return Vt(this,$,Z,it);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xt(this,$,Z,it);default:if(ye)throw new TypeError("Unknown encoding: "+Tt);Tt=(""+Tt).toLowerCase(),ye=!0}},M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const kr=4096;function wr(mt,$,Z){let it="";Z=Math.min(mt.length,Z);for(let Tt=$;Ttit)&&(Z=it);let Tt="";for(let It=$;ItZ)throw new RangeError("Trying to access beyond buffer length")}function Nt(mt,$,Z,it,Tt,It){if(!M.isBuffer(mt))throw new TypeError('"buffer" argument must be a Buffer instance');if($>Tt||$mt.length)throw new RangeError("Index out of range")}function Se(mt,$,Z,it,Tt){Ee($,it,Tt,mt,Z,7);let It=Number($&BigInt(4294967295));mt[Z++]=It,It>>=8,mt[Z++]=It,It>>=8,mt[Z++]=It,It>>=8,mt[Z++]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Z++]=ye,ye>>=8,mt[Z++]=ye,ye>>=8,mt[Z++]=ye,ye>>=8,mt[Z++]=ye,Z}function Rt(mt,$,Z,it,Tt){Ee($,it,Tt,mt,Z,7);let It=Number($&BigInt(4294967295));mt[Z+7]=It,It>>=8,mt[Z+6]=It,It>>=8,mt[Z+5]=It,It>>=8,mt[Z+4]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Z+3]=ye,ye>>=8,mt[Z+2]=ye,ye>>=8,mt[Z+1]=ye,ye>>=8,mt[Z]=ye,Z+8}function de(mt,$,Z,it,Tt,It){if(Z+it>mt.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function jt(mt,$,Z,it,Tt){return $=+$,Z>>>=0,Tt||de(mt,0,Z,4),c.write(mt,$,Z,it,23,4),Z+4}function De(mt,$,Z,it,Tt){return $=+$,Z>>>=0,Tt||de(mt,0,Z,8),c.write(mt,$,Z,it,52,8),Z+8}M.prototype.slice=function($,Z){const it=this.length;($=~~$)<0?($+=it)<0&&($=0):$>it&&($=it),(Z=void 0===Z?it:~~Z)<0?(Z+=it)<0&&(Z=0):Z>it&&(Z=it),Z<$&&(Z=$);const Tt=this.subarray($,Z);return Object.setPrototypeOf(Tt,M.prototype),Tt},M.prototype.readUintLE=M.prototype.readUIntLE=function($,Z,it){$>>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$],It=1,ye=0;for(;++ye>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$+--Z],It=1;for(;Z>0&&(It*=256);)Tt+=this[$+--Z]*It;return Tt},M.prototype.readUint8=M.prototype.readUInt8=function($,Z){return $>>>=0,Z||gt($,1,this.length),this[$]},M.prototype.readUint16LE=M.prototype.readUInt16LE=function($,Z){return $>>>=0,Z||gt($,2,this.length),this[$]|this[$+1]<<8},M.prototype.readUint16BE=M.prototype.readUInt16BE=function($,Z){return $>>>=0,Z||gt($,2,this.length),this[$]<<8|this[$+1]},M.prototype.readUint32LE=M.prototype.readUInt32LE=function($,Z){return $>>>=0,Z||gt($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+16777216*this[$+3]},M.prototype.readUint32BE=M.prototype.readUInt32BE=function($,Z){return $>>>=0,Z||gt($,4,this.length),16777216*this[$]+(this[$+1]<<16|this[$+2]<<8|this[$+3])},M.prototype.readBigUInt64LE=Ie(function($){ie($>>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=Z+256*this[++$]+65536*this[++$]+this[++$]*2**24,It=this[++$]+256*this[++$]+65536*this[++$]+it*2**24;return BigInt(Tt)+(BigInt(It)<>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=Z*2**24+65536*this[++$]+256*this[++$]+this[++$],It=this[++$]*2**24+65536*this[++$]+256*this[++$]+it;return(BigInt(Tt)<>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$],It=1,ye=0;for(;++ye=It&&(Tt-=Math.pow(2,8*Z)),Tt},M.prototype.readIntBE=function($,Z,it){$>>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=Z,It=1,ye=this[$+--Tt];for(;Tt>0&&(It*=256);)ye+=this[$+--Tt]*It;return It*=128,ye>=It&&(ye-=Math.pow(2,8*Z)),ye},M.prototype.readInt8=function($,Z){return $>>>=0,Z||gt($,1,this.length),128&this[$]?-1*(255-this[$]+1):this[$]},M.prototype.readInt16LE=function($,Z){$>>>=0,Z||gt($,2,this.length);const it=this[$]|this[$+1]<<8;return 32768&it?4294901760|it:it},M.prototype.readInt16BE=function($,Z){$>>>=0,Z||gt($,2,this.length);const it=this[$+1]|this[$]<<8;return 32768&it?4294901760|it:it},M.prototype.readInt32LE=function($,Z){return $>>>=0,Z||gt($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},M.prototype.readInt32BE=function($,Z){return $>>>=0,Z||gt($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},M.prototype.readBigInt64LE=Ie(function($){ie($>>>=0,"offset");const Z=this[$],it=this[$+7];return(void 0===Z||void 0===it)&&He($,this.length-8),(BigInt(this[$+4]+256*this[$+5]+65536*this[$+6]+(it<<24))<>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=(Z<<24)+65536*this[++$]+256*this[++$]+this[++$];return(BigInt(Tt)<>>=0,Z||gt($,4,this.length),c.read(this,$,!0,23,4)},M.prototype.readFloatBE=function($,Z){return $>>>=0,Z||gt($,4,this.length),c.read(this,$,!1,23,4)},M.prototype.readDoubleLE=function($,Z){return $>>>=0,Z||gt($,8,this.length),c.read(this,$,!0,52,8)},M.prototype.readDoubleBE=function($,Z){return $>>>=0,Z||gt($,8,this.length),c.read(this,$,!1,52,8)},M.prototype.writeUintLE=M.prototype.writeUIntLE=function($,Z,it,Tt){$=+$,Z>>>=0,it>>>=0,Tt||Nt(this,$,Z,it,Math.pow(2,8*it)-1,0);let It=1,ye=0;for(this[Z]=255&$;++ye>>=0,it>>>=0,Tt||Nt(this,$,Z,it,Math.pow(2,8*it)-1,0);let It=it-1,ye=1;for(this[Z+It]=255&$;--It>=0&&(ye*=256);)this[Z+It]=$/ye&255;return Z+it},M.prototype.writeUint8=M.prototype.writeUInt8=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,1,255,0),this[Z]=255&$,Z+1},M.prototype.writeUint16LE=M.prototype.writeUInt16LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,65535,0),this[Z]=255&$,this[Z+1]=$>>>8,Z+2},M.prototype.writeUint16BE=M.prototype.writeUInt16BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,65535,0),this[Z]=$>>>8,this[Z+1]=255&$,Z+2},M.prototype.writeUint32LE=M.prototype.writeUInt32LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,4294967295,0),this[Z+3]=$>>>24,this[Z+2]=$>>>16,this[Z+1]=$>>>8,this[Z]=255&$,Z+4},M.prototype.writeUint32BE=M.prototype.writeUInt32BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,4294967295,0),this[Z]=$>>>24,this[Z+1]=$>>>16,this[Z+2]=$>>>8,this[Z+3]=255&$,Z+4},M.prototype.writeBigUInt64LE=Ie(function($,Z=0){return Se(this,$,Z,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeBigUInt64BE=Ie(function($,Z=0){return Rt(this,$,Z,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeIntLE=function($,Z,it,Tt){if($=+$,Z>>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Z,it,Je-1,-Je)}let It=0,ye=1,ir=0;for(this[Z]=255&$;++It>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Z,it,Je-1,-Je)}let It=it-1,ye=1,ir=0;for(this[Z+It]=255&$;--It>=0&&(ye*=256);)$<0&&0===ir&&0!==this[Z+It+1]&&(ir=1),this[Z+It]=($/ye|0)-ir&255;return Z+it},M.prototype.writeInt8=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,1,127,-128),$<0&&($=255+$+1),this[Z]=255&$,Z+1},M.prototype.writeInt16LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,32767,-32768),this[Z]=255&$,this[Z+1]=$>>>8,Z+2},M.prototype.writeInt16BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,32767,-32768),this[Z]=$>>>8,this[Z+1]=255&$,Z+2},M.prototype.writeInt32LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,2147483647,-2147483648),this[Z]=255&$,this[Z+1]=$>>>8,this[Z+2]=$>>>16,this[Z+3]=$>>>24,Z+4},M.prototype.writeInt32BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[Z]=$>>>24,this[Z+1]=$>>>16,this[Z+2]=$>>>8,this[Z+3]=255&$,Z+4},M.prototype.writeBigInt64LE=Ie(function($,Z=0){return Se(this,$,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),M.prototype.writeBigInt64BE=Ie(function($,Z=0){return Rt(this,$,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),M.prototype.writeFloatLE=function($,Z,it){return jt(this,$,Z,!0,it)},M.prototype.writeFloatBE=function($,Z,it){return jt(this,$,Z,!1,it)},M.prototype.writeDoubleLE=function($,Z,it){return De(this,$,Z,!0,it)},M.prototype.writeDoubleBE=function($,Z,it){return De(this,$,Z,!1,it)},M.prototype.copy=function($,Z,it,Tt){if(!M.isBuffer($))throw new TypeError("argument should be a Buffer");if(it||(it=0),!Tt&&0!==Tt&&(Tt=this.length),Z>=$.length&&(Z=$.length),Z||(Z=0),Tt>0&&Tt=this.length)throw new RangeError("Index out of range");if(Tt<0)throw new RangeError("sourceEnd out of bounds");Tt>this.length&&(Tt=this.length),$.length-Z>>=0,it=void 0===it?this.length:it>>>0,$||($=0),"number"==typeof $)for(It=Z;It=it+4;Z-=3)$=`_${mt.slice(Z-3,Z)}${$}`;return`${mt.slice(0,Z)}${$}`}function Ee(mt,$,Z,it,Tt,It){if(mt>Z||mt<$){const ye="bigint"==typeof $?"n":"";let ir;throw ir=It>3?0===$||$===BigInt(0)?`>= 0${ye} and < 2${ye} ** ${8*(It+1)}${ye}`:`>= -(2${ye} ** ${8*(It+1)-1}${ye}) and < 2 ** ${8*(It+1)-1}${ye}`:`>= ${$}${ye} and <= ${Z}${ye}`,new Ye.ERR_OUT_OF_RANGE("value",ir,mt)}!function Ut(mt,$,Z){ie($,"offset"),(void 0===mt[$]||void 0===mt[$+Z])&&He($,mt.length-(Z+1))}(it,Tt,It)}function ie(mt,$){if("number"!=typeof mt)throw new Ye.ERR_INVALID_ARG_TYPE($,"number",mt)}function He(mt,$,Z){throw Math.floor(mt)!==mt?(ie(mt,Z),new Ye.ERR_OUT_OF_RANGE(Z||"offset","an integer",mt)):$<0?new Ye.ERR_BUFFER_OUT_OF_BOUNDS:new Ye.ERR_OUT_OF_RANGE(Z||"offset",`>= ${Z?1:0} and <= ${$}`,mt)}ft("ERR_BUFFER_OUT_OF_BOUNDS",function(mt){return mt?`${mt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ft("ERR_INVALID_ARG_TYPE",function(mt,$){return`The "${mt}" argument must be of type number. Received type ${typeof $}`},TypeError),ft("ERR_OUT_OF_RANGE",function(mt,$,Z){let it=`The value of "${mt}" is out of range.`,Tt=Z;return Number.isInteger(Z)&&Math.abs(Z)>2**32?Tt=pe(String(Z)):"bigint"==typeof Z&&(Tt=String(Z),(Z>BigInt(2)**BigInt(32)||Z<-(BigInt(2)**BigInt(32)))&&(Tt=pe(Tt)),Tt+="n"),it+=` It must be ${$}. Received ${Tt}`,it},RangeError);const Ht=/[^+/0-9A-Za-z-_]/g;function Pe(mt,$){let Z;$=$||1/0;const it=mt.length;let Tt=null;const It=[];for(let ye=0;ye55295&&Z<57344){if(!Tt){if(Z>56319){($-=3)>-1&&It.push(239,191,189);continue}if(ye+1===it){($-=3)>-1&&It.push(239,191,189);continue}Tt=Z;continue}if(Z<56320){($-=3)>-1&&It.push(239,191,189),Tt=Z;continue}Z=65536+(Tt-55296<<10|Z-56320)}else Tt&&($-=3)>-1&&It.push(239,191,189);if(Tt=null,Z<128){if(($-=1)<0)break;It.push(Z)}else if(Z<2048){if(($-=2)<0)break;It.push(Z>>6|192,63&Z|128)}else if(Z<65536){if(($-=3)<0)break;It.push(Z>>12|224,Z>>6&63|128,63&Z|128)}else{if(!(Z<1114112))throw new Error("Invalid code point");if(($-=4)<0)break;It.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,63&Z|128)}}return It}function ko(mt){return s.toByteArray(function Me(mt){if((mt=(mt=mt.split("=")[0]).trim().replace(Ht,"")).length<2)return"";for(;mt.length%4!=0;)mt+="=";return mt}(mt))}function lr(mt,$,Z,it){let Tt;for(Tt=0;Tt=$.length||Tt>=mt.length);++Tt)$[Tt+Z]=mt[Tt];return Tt}function Lt(mt,$){return mt instanceof $||null!=mt&&null!=mt.constructor&&null!=mt.constructor.name&&mt.constructor.name===$.name}function be(mt){return mt!=mt}const se=function(){const mt="0123456789abcdef",$=new Array(256);for(let Z=0;Z<16;++Z){const it=16*Z;for(let Tt=0;Tt<16;++Tt)$[it+Tt]=mt[Z]+mt[Tt]}return $}();function Ie(mt){return typeof BigInt>"u"?br:mt}function br(){throw new Error("BigInt not supported")}},2020:(i,a)=>{a.read=function(r,o,s,c,y){var k,A,I=8*y-c-1,M=(1<>1,O=-7,L=s?y-1:0,Y=s?-1:1,z=r[o+L];for(L+=Y,k=z&(1<<-O)-1,z>>=-O,O+=I;O>0;k=256*k+r[o+L],L+=Y,O-=8);for(A=k&(1<<-O)-1,k>>=-O,O+=c;O>0;A=256*A+r[o+L],L+=Y,O-=8);if(0===k)k=1-T;else{if(k===M)return A?NaN:1/0*(z?-1:1);A+=Math.pow(2,c),k-=T}return(z?-1:1)*A*Math.pow(2,k-c)},a.write=function(r,o,s,c,y,k){var A,I,M,T=8*k-y-1,O=(1<>1,Y=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,z=c?0:k-1,q=c?1:-1,ct=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(I=isNaN(o)?1:0,A=O):(A=Math.floor(Math.log(o)/Math.LN2),o*(M=Math.pow(2,-A))<1&&(A--,M*=2),(o+=A+L>=1?Y/M:Y*Math.pow(2,1-L))*M>=2&&(A++,M/=2),A+L>=O?(I=0,A=O):A+L>=1?(I=(o*M-1)*Math.pow(2,y),A+=L):(I=o*Math.pow(2,L-1)*Math.pow(2,y),A=0));y>=8;r[s+z]=255&I,z+=q,I/=256,y-=8);for(A=A<0;r[s+z]=255&A,z+=q,A/=256,T-=8);r[s+z-q]|=128*ct}},119:i=>{i.exports=function s(c,y,k){function A(T,O){if(!y[T]){if(!c[T]){if(I)return I(T,!0);var Y=new Error("Cannot find module '"+T+"'");throw Y.code="MODULE_NOT_FOUND",Y}var z=y[T]={exports:{}};c[T][0].call(z.exports,function(q){return A(c[T][1][q]||q)},z,z.exports,s,c,y,k)}return y[T].exports}for(var I=void 0,M=0;M"u"&&s(3);var L=Promise;function Y(pt,Gt){Gt&&pt.then(function(Dt){Gt(null,Dt)},function(Dt){Gt(Dt)})}function z(pt,Gt,Dt){"function"==typeof Gt&&pt.then(Gt),"function"==typeof Dt&&pt.catch(Dt)}function q(pt){return"string"!=typeof pt&&(console.warn(pt+" used as a key, but it is not a string."),pt=String(pt)),pt}function ct(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var dt="local-forage-detect-blob-support",tt=void 0,vt={},Mt=Object.prototype.toString,$t="readonly",St="readwrite";function kt(pt){for(var Gt=pt.length,Dt=new ArrayBuffer(Gt),ne=new Uint8Array(Dt),Re=0;Re=43)}}).catch(function(){return!1})}(pt).then(function(Gt){return tt=Gt})}function rt(pt){var Gt=vt[pt.name],Dt={};Dt.promise=new L(function(ne,Re){Dt.resolve=ne,Dt.reject=Re}),Gt.deferredOperations.push(Dt),Gt.dbReady=Gt.dbReady?Gt.dbReady.then(function(){return Dt.promise}):Dt.promise}function yt(pt){var Dt=vt[pt.name].deferredOperations.pop();if(Dt)return Dt.resolve(),Dt.promise}function Ct(pt,Gt){var ne=vt[pt.name].deferredOperations.pop();if(ne)return ne.reject(Gt),ne.promise}function Vt(pt,Gt){return new L(function(Dt,ne){if(vt[pt.name]=vt[pt.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},pt.db){if(!Gt)return Dt(pt.db);rt(pt),pt.db.close()}var Re=[pt.name];Gt&&Re.push(pt.version);var Ce=M.open.apply(M,Re);Gt&&(Ce.onupgradeneeded=function(or){var Cr=Ce.result;try{Cr.createObjectStore(pt.storeName),or.oldVersion<=1&&Cr.createObjectStore(dt)}catch(Er){if("ConstraintError"!==Er.name)throw Er;console.warn('The database "'+pt.name+'" has been upgraded from version '+or.oldVersion+" to version "+or.newVersion+', but the storage "'+pt.storeName+'" already exists.')}}),Ce.onerror=function(or){or.preventDefault(),ne(Ce.error)},Ce.onsuccess=function(){var or=Ce.result;or.onversionchange=function(Cr){Cr.target.close()},Dt(or),yt(pt)}})}function Xt(pt){return Vt(pt,!1)}function oe(pt){return Vt(pt,!0)}function Xe(pt,Gt){if(!pt.db)return!0;var Dt=!pt.db.objectStoreNames.contains(pt.storeName),Re=pt.version>pt.db.version;if(pt.versionpt.version&&(pt.version=Ce)}return!0}return!1}function gr(pt){return O([kt(atob(pt.data))],{type:pt.type})}function wr(pt){return pt&&pt.__local_forage_encoded_blob}function Wr(pt){var Gt=this,Dt=Gt._initReady().then(function(){var ne=vt[Gt._dbInfo.name];if(ne&&ne.dbReady)return ne.dbReady});return z(Dt,pt,pt),Dt}function Le(pt,Gt,Dt,ne){void 0===ne&&(ne=1);try{var Re=pt.db.transaction(pt.storeName,Gt);Dt(null,Re)}catch(Ce){if(ne>0&&(!pt.db||"InvalidStateError"===Ce.name||"NotFoundError"===Ce.name))return L.resolve().then(function(){if(!pt.db||"NotFoundError"===Ce.name&&!pt.db.objectStoreNames.contains(pt.storeName)&&pt.version<=pt.db.version)return pt.db&&(pt.version=pt.db.version+1),oe(pt)}).then(function(){return function xe(pt){rt(pt);for(var Gt=vt[pt.name],Dt=Gt.forages,ne=0;ne>4,Fr[Re++]=(15&or)<<4|Cr>>2,Fr[Re++]=(3&Cr)<<6|63&Er;return Nr}function ye(pt){var ne,Gt=new Uint8Array(pt),Dt="";for(ne=0;ne>2],Dt+=He[(3&Gt[ne])<<4|Gt[ne+1]>>4],Dt+=He[(15&Gt[ne+1])<<2|Gt[ne+2]>>6],Dt+=He[63&Gt[ne+2]];return Gt.length%3==2?Dt=Dt.substring(0,Dt.length-1)+"=":Gt.length%3==1&&(Dt=Dt.substring(0,Dt.length-2)+"=="),Dt}var er={serialize:function ir(pt,Gt){var Dt="";if(pt&&(Dt=Tt.call(pt)),pt&&("[object ArrayBuffer]"===Dt||pt.buffer&&"[object ArrayBuffer]"===Tt.call(pt.buffer))){var ne,Re=Pe;pt instanceof ArrayBuffer?(ne=pt,Re+=Or):(ne=pt.buffer,"[object Int8Array]"===Dt?Re+="si08":"[object Uint8Array]"===Dt?Re+="ui08":"[object Uint8ClampedArray]"===Dt?Re+="uic8":"[object Int16Array]"===Dt?Re+="si16":"[object Uint16Array]"===Dt?Re+="ur16":"[object Int32Array]"===Dt?Re+="si32":"[object Uint32Array]"===Dt?Re+="ui32":"[object Float32Array]"===Dt?Re+=$:"[object Float64Array]"===Dt?Re+=Z:Gt(new Error("Failed to get type for BinaryArray"))),Gt(Re+ye(ne))}else if("[object Blob]"===Dt){var Ce=new FileReader;Ce.onload=function(){var or="~~local_forage_type~"+pt.type+"~"+ye(this.result);Gt(Pe+ko+or)},Ce.readAsArrayBuffer(pt)}else try{Gt(JSON.stringify(pt))}catch(or){console.error("Couldn't convert value into a JSON string: ",pt),Gt(null,or)}},deserialize:function Je(pt){if(pt.substring(0,9)!==Pe)return JSON.parse(pt);var ne,Gt=pt.substring(13),Dt=pt.substring(9,13);if(Dt===ko&&Me.test(Gt)){var Re=Gt.match(Me);ne=Re[1],Gt=Gt.substring(Re[0].length)}var Ce=It(Gt);switch(Dt){case Or:return Ce;case ko:return O([Ce],{type:ne});case"si08":return new Int8Array(Ce);case"ui08":return new Uint8Array(Ce);case"uic8":return new Uint8ClampedArray(Ce);case"si16":return new Int16Array(Ce);case"ur16":return new Uint16Array(Ce);case"si32":return new Int32Array(Ce);case"ui32":return new Uint32Array(Ce);case $:return new Float32Array(Ce);case Z:return new Float64Array(Ce);default:throw new Error("Unkown type: "+Dt)}},stringToBuffer:It,bufferToString:ye};function Hr(pt,Gt,Dt,ne){pt.executeSql("CREATE TABLE IF NOT EXISTS "+Gt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Dt,ne)}function Bo(pt,Gt,Dt,ne,Re,Ce){pt.executeSql(Dt,ne,Re,function(or,Cr){Cr.code===Cr.SYNTAX_ERR?or.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Gt.storeName],function(Er,Nr){Nr.rows.length?Ce(Er,Cr):Hr(Er,Gt,function(){Er.executeSql(Dt,ne,Re,Ce)},Ce)},Ce):Ce(or,Cr)},Ce)}function re(pt,Gt,Dt,ne){var Re=this;pt=q(pt);var Ce=new L(function(or,Cr){Re.ready().then(function(){void 0===Gt&&(Gt=null);var Er=Gt,Nr=Re._dbInfo;Nr.serializer.serialize(Gt,function(Fr,qr){qr?Cr(qr):Nr.db.transaction(function(to){Bo(to,Nr,"INSERT OR REPLACE INTO "+Nr.storeName+" (key, value) VALUES (?, ?)",[pt,Fr],function(){or(Er)},function(xo,So){Cr(So)})},function(to){if(to.code===to.QUOTA_ERR){if(ne>0)return void or(re.apply(Re,[pt,Er,Dt,ne-1]));Cr(to)}})})}).catch(Cr)});return Y(Ce,Dt),Ce}var $e={_driver:"webSQLStorage",_initStorage:function eo(pt){var Gt=this,Dt={db:null};if(pt)for(var ne in pt)Dt[ne]="string"!=typeof pt[ne]?pt[ne].toString():pt[ne];var Re=new L(function(Ce,or){try{Dt.db=openDatabase(Dt.name,String(Dt.version),Dt.description,Dt.size)}catch(Cr){return or(Cr)}Dt.db.transaction(function(Cr){Hr(Cr,Dt,function(){Gt._dbInfo=Dt,Ce()},function(Er,Nr){or(Nr)})},or)});return Dt.serializer=er,Re},_support:function ie(){return"function"==typeof openDatabase}(),iterate:function Pr(pt,Gt){var Dt=this,ne=new L(function(Re,Ce){Dt.ready().then(function(){var or=Dt._dbInfo;or.db.transaction(function(Cr){Bo(Cr,or,"SELECT * FROM "+or.storeName,[],function(Er,Nr){for(var Fr=Nr.rows,qr=Fr.length,to=0;to '__WebKitDatabaseInfoTable__'",[],function(Re,Ce){for(var or=[],Cr=0;Cr0}var pi={_driver:"localStorageWrapper",_initStorage:function Yt(pt){var Dt={};if(pt)for(var ne in pt)Dt[ne]=pt[ne];return Dt.keyPrefix=qe(pt,this._defaultConfig),me()?(this._dbInfo=Dt,Dt.serializer=er,L.resolve()):L.reject()},_support:function _e(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function yr(pt,Gt){var Dt=this,ne=Dt.ready().then(function(){for(var Re=Dt._dbInfo,Ce=Re.keyPrefix,or=Ce.length,Cr=localStorage.length,Er=1,Nr=0;Nr=0;Re--){var Ce=localStorage.key(Re);0===Ce.indexOf(ne)&&localStorage.removeItem(Ce)}});return Y(Dt,pt),Dt},length:function Xn(pt){var Dt=this.keys().then(function(ne){return ne.length});return Y(Dt,pt),Dt},key:function Eo(pt,Gt){var Dt=this,ne=Dt.ready().then(function(){var Ce,Re=Dt._dbInfo;try{Ce=localStorage.key(pt)}catch{Ce=null}return Ce&&(Ce=Ce.substring(Re.keyPrefix.length)),Ce});return Y(ne,Gt),ne},keys:function $n(pt){var Gt=this,Dt=Gt.ready().then(function(){for(var ne=Gt._dbInfo,Re=localStorage.length,Ce=[],or=0;or=0;or--){var Cr=localStorage.key(or);0===Cr.indexOf(Ce)&&localStorage.removeItem(Cr)}}):L.reject("Invalid arguments"),Gt),Re}},ei=function(Gt,Dt){return Gt===Dt||"number"==typeof Gt&&"number"==typeof Dt&&isNaN(Gt)&&isNaN(Dt)},Oe=function(Gt,Dt){for(var ne=Gt.length,Re=0;Re"u"?"undefined":k(Dt))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var ne in Dt){if("storeName"===ne&&(Dt[ne]=Dt[ne].replace(/\W/g,"_")),"version"===ne&&"number"!=typeof Dt[ne])return new Error("Database version must be a number.");this._config[ne]=Dt[ne]}return!("driver"in Dt)||!Dt.driver||this.setDriver(this._config.driver)}return"string"==typeof Dt?this._config[Dt]:this._config},pt.prototype.defineDriver=function(Dt,ne,Re){var Ce=new L(function(or,Cr){try{var Er=Dt._driver,Nr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Dt._driver)return void Cr(Nr);for(var Fr=vo.concat("_initStorage"),qr=0,to=Fr.length;qr{"use strict";r.d(a,{t:()=>s});var o=r(1413);class s extends o.B{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const k=super._subscribe(y);return!k.closed&&y.next(this._value),k}getValue(){const{hasError:y,thrownError:k,_value:A}=this;if(y)throw k;return this._throwIfClosed(),A}next(y){super.next(this._value=y)}}},1985:(i,a,r)=>{"use strict";r.d(a,{c:()=>M});var o=r(7707),s=r(8359),c=r(3494),y=r(1203),k=r(1026),A=r(8071),I=r(9786);let M=(()=>{class Y{constructor(q){q&&(this._subscribe=q)}lift(q){const ct=new Y;return ct.source=this,ct.operator=q,ct}subscribe(q,ct,dt){const tt=function L(Y){return Y&&Y instanceof o.vU||function O(Y){return Y&&(0,A.T)(Y.next)&&(0,A.T)(Y.error)&&(0,A.T)(Y.complete)}(Y)&&(0,s.Uv)(Y)}(q)?q:new o.Ms(q,ct,dt);return(0,I.Y)(()=>{const{operator:vt,source:Mt}=this;tt.add(vt?vt.call(tt,Mt):Mt?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(q){try{return this._subscribe(q)}catch(ct){q.error(ct)}}forEach(q,ct){return new(ct=T(ct))((dt,tt)=>{const vt=new o.Ms({next:Mt=>{try{q(Mt)}catch($t){tt($t),vt.unsubscribe()}},error:tt,complete:dt});this.subscribe(vt)})}_subscribe(q){var ct;return null===(ct=this.source)||void 0===ct?void 0:ct.subscribe(q)}[c.s](){return this}pipe(...q){return(0,y.m)(q)(this)}toPromise(q){return new(q=T(q))((ct,dt)=>{let tt;this.subscribe(vt=>tt=vt,vt=>dt(vt),()=>ct(tt))})}}return Y.create=z=>new Y(z),Y})();function T(Y){var z;return null!==(z=Y??k.$.Promise)&&void 0!==z?z:Promise}},2771:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1413),s=r(6129);class c extends o.B{constructor(k=1/0,A=1/0,I=s.U){super(),this._bufferSize=k,this._windowTime=A,this._timestampProvider=I,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=A===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,A)}next(k){const{isStopped:A,_buffer:I,_infiniteTimeWindow:M,_timestampProvider:T,_windowTime:O}=this;A||(I.push(k),!M&&I.push(T.now()+O)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const A=this._innerSubscribe(k),{_infiniteTimeWindow:I,_buffer:M}=this,T=M.slice();for(let O=0;O{"use strict";r.d(a,{B:()=>I});var o=r(1985),s=r(8359);const y=(0,r(1853).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7908),A=r(9786);let I=(()=>{class T extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const Y=new M(this,this);return Y.operator=L,Y}_throwIfClosed(){if(this.closed)throw new y}next(L){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(L)}})}error(L){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:Y}=this;for(;Y.length;)Y.shift().error(L)}})}complete(){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:Y,isStopped:z,observers:q}=this;return Y||z?s.Kn:(this.currentObservers=null,q.push(L),new s.yU(()=>{this.currentObservers=null,(0,k.o)(q,L)}))}_checkFinalizedStatuses(L){const{hasError:Y,thrownError:z,isStopped:q}=this;Y?L.error(z):q&&L.complete()}asObservable(){const L=new o.c;return L.source=this,L}}return T.create=(O,L)=>new M(O,L),T})();class M extends I{constructor(O,L){super(),this.destination=O,this.source=L}next(O){var L,Y;null===(Y=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===Y||Y.call(L,O)}error(O){var L,Y;null===(Y=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===Y||Y.call(L,O)}complete(){var O,L;null===(L=null===(O=this.destination)||void 0===O?void 0:O.complete)||void 0===L||L.call(O)}_subscribe(O){var L,Y;return null!==(Y=null===(L=this.source)||void 0===L?void 0:L.subscribe(O))&&void 0!==Y?Y:s.Kn}}},7707:(i,a,r)=>{"use strict";r.d(a,{Ms:()=>dt,vU:()=>Y});var o=r(8071),s=r(8359),c=r(1026),y=r(5334),k=r(5343);const A=T("C",void 0,void 0);function T(St,kt,nt){return{kind:St,value:kt,error:nt}}var O=r(9270),L=r(9786);class Y extends s.yU{constructor(kt){super(),this.isStopped=!1,kt?(this.destination=kt,(0,s.Uv)(kt)&&kt.add(this)):this.destination=$t}static create(kt,nt,at){return new dt(kt,nt,at)}next(kt){this.isStopped?Mt(function M(St){return T("N",St,void 0)}(kt),this):this._next(kt)}error(kt){this.isStopped?Mt(function I(St){return T("E",void 0,St)}(kt),this):(this.isStopped=!0,this._error(kt))}complete(){this.isStopped?Mt(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(kt){this.destination.next(kt)}_error(kt){try{this.destination.error(kt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const z=Function.prototype.bind;function q(St,kt){return z.call(St,kt)}class ct{constructor(kt){this.partialObserver=kt}next(kt){const{partialObserver:nt}=this;if(nt.next)try{nt.next(kt)}catch(at){tt(at)}}error(kt){const{partialObserver:nt}=this;if(nt.error)try{nt.error(kt)}catch(at){tt(at)}else tt(kt)}complete(){const{partialObserver:kt}=this;if(kt.complete)try{kt.complete()}catch(nt){tt(nt)}}}class dt extends Y{constructor(kt,nt,at){let rt;if(super(),(0,o.T)(kt)||!kt)rt={next:kt??void 0,error:nt??void 0,complete:at??void 0};else{let yt;this&&c.$.useDeprecatedNextContext?(yt=Object.create(kt),yt.unsubscribe=()=>this.unsubscribe(),rt={next:kt.next&&q(kt.next,yt),error:kt.error&&q(kt.error,yt),complete:kt.complete&&q(kt.complete,yt)}):rt=kt}this.destination=new ct(rt)}}function tt(St){c.$.useDeprecatedSynchronousErrorHandling?(0,L.l)(St):(0,y.m)(St)}function Mt(St,kt){const{onStoppedNotification:nt}=c.$;nt&&O.f.setTimeout(()=>nt(St,kt))}const $t={closed:!0,next:k.l,error:function vt(St){throw St},complete:k.l}},8359:(i,a,r)=>{"use strict";r.d(a,{Kn:()=>A,yU:()=>k,Uv:()=>I});var o=r(8071);const c=(0,r(1853).L)(T=>function(L){T(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((Y,z)=>`${z+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var y=r(7908);class k{constructor(O){this.initialTeardown=O,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let O;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const q of L)q.remove(this);else L.remove(this);const{initialTeardown:Y}=this;if((0,o.T)(Y))try{Y()}catch(q){O=q instanceof c?q.errors:[q]}const{_finalizers:z}=this;if(z){this._finalizers=null;for(const q of z)try{M(q)}catch(ct){O=O??[],ct instanceof c?O=[...O,...ct.errors]:O.push(ct)}}if(O)throw new c(O)}}add(O){var L;if(O&&O!==this)if(this.closed)M(O);else{if(O instanceof k){if(O.closed||O._hasParent(this))return;O._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(O)}}_hasParent(O){const{_parentage:L}=this;return L===O||Array.isArray(L)&&L.includes(O)}_addParent(O){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(O),L):L?[L,O]:O}_removeParent(O){const{_parentage:L}=this;L===O?this._parentage=null:Array.isArray(L)&&(0,y.o)(L,O)}remove(O){const{_finalizers:L}=this;L&&(0,y.o)(L,O),O instanceof k&&O._removeParent(this)}}k.EMPTY=(()=>{const T=new k;return T.closed=!0,T})();const A=k.EMPTY;function I(T){return T instanceof k||T&&"closed"in T&&(0,o.T)(T.remove)&&(0,o.T)(T.add)&&(0,o.T)(T.unsubscribe)}function M(T){(0,o.T)(T)?T():T.unsubscribe()}},1026:(i,a,r)=>{"use strict";r.d(a,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(i,a,r)=>{"use strict";r.d(a,{G:()=>A});var o=r(1985),s=r(8359),c=r(9898),y=r(4360),k=r(9974);class A extends o.c{constructor(M,T){super(),this.source=M,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(M)&&(this.lift=M.lift)}_subscribe(M){return this.getSubject().subscribe(M)}getSubject(){const M=this._subject;return(!M||M.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:M}=this;this._subject=this._connection=null,M?.unsubscribe()}connect(){let M=this._connection;if(!M){M=this._connection=new s.yU;const T=this.getSubject();M.add(this.source.subscribe((0,y._)(T,void 0,()=>{this._teardown(),T.complete()},O=>{this._teardown(),T.error(O)},()=>this._teardown()))),M.closed&&(this._connection=null,M=s.yU.EMPTY)}return M}refCount(){return(0,c.B)()(this)}}},4572:(i,a,r)=>{"use strict";r.d(a,{z:()=>O});var o=r(1985),s=r(3073),c=r(6648),y=r(3669),k=r(6450),A=r(9326),I=r(8496),M=r(4360),T=r(5225);function O(...z){const q=(0,A.lI)(z),ct=(0,A.ms)(z),{args:dt,keys:tt}=(0,s.D)(z);if(0===dt.length)return(0,c.H)([],q);const vt=new o.c(function L(z,q,ct=y.D){return dt=>{Y(q,()=>{const{length:tt}=z,vt=new Array(tt);let Mt=tt,$t=tt;for(let St=0;St{const kt=(0,c.H)(z[St],q);let nt=!1;kt.subscribe((0,M._)(dt,at=>{vt[St]=at,nt||(nt=!0,$t--),$t||dt.next(ct(vt.slice()))},()=>{--Mt||dt.complete()}))},dt)},dt)}}(dt,q,tt?Mt=>(0,I.e)(tt,Mt):y.D));return ct?vt.pipe((0,k.I)(ct)):vt}function Y(z,q,ct){z?(0,T.N)(ct,z,q):q()}},8793:(i,a,r)=>{"use strict";r.d(a,{x:()=>k});var o=r(6365),c=r(9326),y=r(6648);function k(...A){return function s(){return(0,o.U)(1)}()((0,y.H)(A,(0,c.lI)(A)))}},9030:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(1985),s=r(8750);function c(y){return new o.c(k=>{(0,s.Tg)(y()).subscribe(k)})}},983:(i,a,r)=>{"use strict";r.d(a,{w:()=>s});const s=new(r(1985).c)(k=>k.complete())},7468:(i,a,r)=>{"use strict";r.d(a,{p:()=>M});var o=r(1985),s=r(3073),c=r(8750),y=r(9326),k=r(4360),A=r(6450),I=r(8496);function M(...T){const O=(0,y.ms)(T),{args:L,keys:Y}=(0,s.D)(T),z=new o.c(q=>{const{length:ct}=L;if(!ct)return void q.complete();const dt=new Array(ct);let tt=ct,vt=ct;for(let Mt=0;Mt{$t||($t=!0,vt--),dt[Mt]=St},()=>tt--,void 0,()=>{(!tt||!$t)&&(vt||q.next(Y?(0,I.e)(Y,dt):dt),q.complete())}))}});return O?z.pipe((0,A.I)(O)):z}},6648:(i,a,r)=>{"use strict";r.d(a,{H:()=>at});var o=r(8750),s=r(5225),c=r(9974),y=r(4360);function k(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Ct.subscribe((0,y._)(Vt,Xt=>(0,s.N)(Vt,rt,()=>Vt.next(Xt),yt),()=>(0,s.N)(Vt,rt,()=>Vt.complete(),yt),Xt=>(0,s.N)(Vt,rt,()=>Vt.error(Xt),yt)))})}function A(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Vt.add(rt.schedule(()=>Ct.subscribe(Vt),yt))})}var T=r(1985),L=r(4761),Y=r(8071);function q(rt,yt){if(!rt)throw new Error("Iterable cannot be null");return new T.c(Ct=>{(0,s.N)(Ct,yt,()=>{const Vt=rt[Symbol.asyncIterator]();(0,s.N)(Ct,yt,()=>{Vt.next().then(Xt=>{Xt.done?Ct.complete():Ct.next(Xt.value)})},0,!0)})})}var ct=r(5055),dt=r(9858),tt=r(7441),vt=r(5397),Mt=r(7953),$t=r(591),St=r(5196);function at(rt,yt){return yt?function nt(rt,yt){if(null!=rt){if((0,ct.l)(rt))return function I(rt,yt){return(0,o.Tg)(rt).pipe(A(yt),k(yt))}(rt,yt);if((0,tt.X)(rt))return function O(rt,yt){return new T.c(Ct=>{let Vt=0;return yt.schedule(function(){Vt===rt.length?Ct.complete():(Ct.next(rt[Vt++]),Ct.closed||this.schedule())})})}(rt,yt);if((0,dt.y)(rt))return function M(rt,yt){return(0,o.Tg)(rt).pipe(A(yt),k(yt))}(rt,yt);if((0,Mt.T)(rt))return q(rt,yt);if((0,vt.x)(rt))return function z(rt,yt){return new T.c(Ct=>{let Vt;return(0,s.N)(Ct,yt,()=>{Vt=rt[L.l](),(0,s.N)(Ct,yt,()=>{let Xt,oe;try{({value:Xt,done:oe}=Vt.next())}catch(Xe){return void Ct.error(Xe)}oe?Ct.complete():Ct.next(Xt)},0,!0)}),()=>(0,Y.T)(Vt?.return)&&Vt.return()})}(rt,yt);if((0,St.U)(rt))return function kt(rt,yt){return q((0,St.C)(rt),yt)}(rt,yt)}throw(0,$t.L)(rt)}(rt,yt):(0,o.Tg)(rt)}},3726:(i,a,r)=>{"use strict";r.d(a,{R:()=>O});var o=r(8750),s=r(1985),c=r(1397),y=r(7441),k=r(8071),A=r(6450);const I=["addListener","removeListener"],M=["addEventListener","removeEventListener"],T=["on","off"];function O(ct,dt,tt,vt){if((0,k.T)(tt)&&(vt=tt,tt=void 0),vt)return O(ct,dt,tt).pipe((0,A.I)(vt));const[Mt,$t]=function q(ct){return(0,k.T)(ct.addEventListener)&&(0,k.T)(ct.removeEventListener)}(ct)?M.map(St=>kt=>ct[St](dt,kt,tt)):function Y(ct){return(0,k.T)(ct.addListener)&&(0,k.T)(ct.removeListener)}(ct)?I.map(L(ct,dt)):function z(ct){return(0,k.T)(ct.on)&&(0,k.T)(ct.off)}(ct)?T.map(L(ct,dt)):[];if(!Mt&&(0,y.X)(ct))return(0,c.Z)(St=>O(St,dt,tt))((0,o.Tg)(ct));if(!Mt)throw new TypeError("Invalid event target");return new s.c(St=>{const kt=(...nt)=>St.next(1$t(kt)})}function L(ct,dt){return tt=>vt=>ct[tt](dt,vt)}},8750:(i,a,r)=>{"use strict";r.d(a,{Tg:()=>z});var o=r(1635),s=r(7441),c=r(9858),y=r(1985),k=r(5055),A=r(7953),I=r(591),M=r(5397),T=r(5196),O=r(8071),L=r(5334),Y=r(3494);function z(St){if(St instanceof y.c)return St;if(null!=St){if((0,k.l)(St))return function q(St){return new y.c(kt=>{const nt=St[Y.s]();if((0,O.T)(nt.subscribe))return nt.subscribe(kt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(St);if((0,s.X)(St))return function ct(St){return new y.c(kt=>{for(let nt=0;nt{St.then(nt=>{kt.closed||(kt.next(nt),kt.complete())},nt=>kt.error(nt)).then(null,L.m)})}(St);if((0,A.T)(St))return vt(St);if((0,M.x)(St))return function tt(St){return new y.c(kt=>{for(const nt of St)if(kt.next(nt),kt.closed)return;kt.complete()})}(St);if((0,T.U)(St))return function Mt(St){return vt((0,T.C)(St))}(St)}throw(0,I.L)(St)}function vt(St){return new y.c(kt=>{(function $t(St,kt){var nt,at,rt,yt;return(0,o.sH)(this,void 0,void 0,function*(){try{for(nt=(0,o.xN)(St);!(at=yield nt.next()).done;)if(kt.next(at.value),kt.closed)return}catch(Ct){rt={error:Ct}}finally{try{at&&!at.done&&(yt=nt.return)&&(yield yt.call(nt))}finally{if(rt)throw rt.error}}kt.complete()})})(St,kt).catch(nt=>kt.error(nt))})}},7786:(i,a,r)=>{"use strict";r.d(a,{h:()=>A});var o=r(6365),s=r(8750),c=r(983),y=r(9326),k=r(6648);function A(...I){const M=(0,y.lI)(I),T=(0,y.R0)(I,1/0),O=I;return O.length?1===O.length?(0,s.Tg)(O[0]):(0,o.U)(T)((0,k.H)(O,M)):c.w}},7673:(i,a,r)=>{"use strict";r.d(a,{of:()=>c});var o=r(9326),s=r(6648);function c(...y){const k=(0,o.lI)(y);return(0,s.H)(y,k)}},8810:(i,a,r)=>{"use strict";r.d(a,{$:()=>c});var o=r(1985),s=r(8071);function c(y,k){const A=(0,s.T)(y)?y:()=>y,I=M=>M.error(A());return new o.c(k?M=>k.schedule(I,0,M):I)}},1584:(i,a,r)=>{"use strict";r.d(a,{O:()=>k});var o=r(1985),s=r(3236),c=r(9470);function k(A=0,I,M=s.b){let T=-1;return null!=I&&((0,c.m)(I)?M=I:T=I),new o.c(O=>{let L=function y(A){return A instanceof Date&&!isNaN(A)}(A)?+A-M.now():A;L<0&&(L=0);let Y=0;return M.schedule(function(){O.closed||(O.next(Y++),0<=T?this.schedule(void 0,T):O.complete())},L)})}},4360:(i,a,r)=>{"use strict";r.d(a,{_:()=>s});var o=r(7707);function s(y,k,A,I,M){return new c(y,k,A,I,M)}class c extends o.vU{constructor(k,A,I,M,T,O){super(k),this.onFinalize=T,this.shouldUnsubscribe=O,this._next=A?function(L){try{A(L)}catch(Y){k.error(Y)}}:super._next,this._error=M?function(L){try{M(L)}catch(Y){k.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=I?function(){try{I()}catch(L){k.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:A}=this;super.unsubscribe(),!A&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},3798:(i,a,r)=>{"use strict";r.d(a,{Z:()=>I});var o=r(3236),s=r(9974),c=r(8750),y=r(4360),A=r(1584);function I(M,T=o.E){return function k(M){return(0,s.N)((T,O)=>{let L=!1,Y=null,z=null,q=!1;const ct=()=>{if(z?.unsubscribe(),z=null,L){L=!1;const tt=Y;Y=null,O.next(tt)}q&&O.complete()},dt=()=>{z=null,q&&O.complete()};T.subscribe((0,y._)(O,tt=>{L=!0,Y=tt,z||(0,c.Tg)(M(tt)).subscribe(z=(0,y._)(O,ct,dt))},()=>{q=!0,(!L||!z||z.closed)&&O.complete()}))})}(()=>(0,A.O)(M,T))}},9437:(i,a,r)=>{"use strict";r.d(a,{W:()=>y});var o=r(8750),s=r(4360),c=r(9974);function y(k){return(0,c.N)((A,I)=>{let O,M=null,T=!1;M=A.subscribe((0,s._)(I,void 0,void 0,L=>{O=(0,o.Tg)(k(L,y(k)(A))),M?(M.unsubscribe(),M=null,O.subscribe(I)):T=!0})),T&&(M.unsubscribe(),M=null,O.subscribe(I))})}},274:(i,a,r)=>{"use strict";r.d(a,{H:()=>c});var o=r(1397),s=r(8071);function c(y,k){return(0,s.T)(k)?(0,o.Z)(y,k,1):(0,o.Z)(y,1)}},152:(i,a,r)=>{"use strict";r.d(a,{B:()=>y});var o=r(3236),s=r(9974),c=r(4360);function y(k,A=o.E){return(0,s.N)((I,M)=>{let T=null,O=null,L=null;const Y=()=>{if(T){T.unsubscribe(),T=null;const q=O;O=null,M.next(q)}};function z(){const q=L+k,ct=A.now();if(ct{O=q,L=A.now(),T||(T=A.schedule(z,k),M.add(T))},()=>{Y(),M.complete()},void 0,()=>{O=T=null}))})}},1986:(i,a,r)=>{"use strict";r.d(a,{c:()=>z});var o=r(3236),s=r(8793),c=r(6697),y=r(9974),k=r(4360),A=r(5343),M=r(3703),T=r(1397),O=r(8750);function L(q,ct){return ct?dt=>(0,s.x)(ct.pipe((0,c.s)(1),function I(){return(0,y.N)((q,ct)=>{q.subscribe((0,k._)(ct,A.l))})}()),dt.pipe(L(q))):(0,T.Z)((dt,tt)=>(0,O.Tg)(q(dt,tt)).pipe((0,c.s)(1),(0,M.u)(dt)))}var Y=r(1584);function z(q,ct=o.E){const dt=(0,Y.O)(q,ct);return L(()=>dt)}},3294:(i,a,r)=>{"use strict";r.d(a,{F:()=>y});var o=r(3669),s=r(9974),c=r(4360);function y(A,I=o.D){return A=A??k,(0,s.N)((M,T)=>{let O,L=!0;M.subscribe((0,c._)(T,Y=>{const z=I(Y);(L||!A(O,z))&&(L=!1,O=z,T.next(Y))}))})}function k(A,I){return A===I}},5964:(i,a,r)=>{"use strict";r.d(a,{p:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>y.call(k,T,M++)&&I.next(T)))})}},980:(i,a,r)=>{"use strict";r.d(a,{j:()=>s});var o=r(9974);function s(c){return(0,o.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(c)}})}},6354:(i,a,r)=>{"use strict";r.d(a,{T:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>{I.next(y.call(k,T,M++))}))})}},3703:(i,a,r)=>{"use strict";r.d(a,{u:()=>s});var o=r(6354);function s(c){return(0,o.T)(()=>c)}},6365:(i,a,r)=>{"use strict";r.d(a,{U:()=>c});var o=r(1397),s=r(3669);function c(y=1/0){return(0,o.Z)(s.D,y)}},1397:(i,a,r)=>{"use strict";r.d(a,{Z:()=>M});var o=r(6354),s=r(8750),c=r(9974),y=r(5225),k=r(4360),I=r(8071);function M(T,O,L=1/0){return(0,I.T)(O)?M((Y,z)=>(0,o.T)((q,ct)=>O(Y,q,z,ct))((0,s.Tg)(T(Y,z))),L):("number"==typeof O&&(L=O),(0,c.N)((Y,z)=>function A(T,O,L,Y,z,q,ct,dt){const tt=[];let vt=0,Mt=0,$t=!1;const St=()=>{$t&&!tt.length&&!vt&&O.complete()},kt=at=>vt{q&&O.next(at),vt++;let rt=!1;(0,s.Tg)(L(at,Mt++)).subscribe((0,k._)(O,yt=>{z?.(yt),q?kt(yt):O.next(yt)},()=>{rt=!0},void 0,()=>{if(rt)try{for(vt--;tt.length&&vtnt(yt)):nt(yt)}St()}catch(yt){O.error(yt)}}))};return T.subscribe((0,k._)(O,kt,()=>{$t=!0,St()})),()=>{dt?.()}}(Y,z,T,L)))}},9898:(i,a,r)=>{"use strict";r.d(a,{B:()=>c});var o=r(9974),s=r(4360);function c(){return(0,o.N)((y,k)=>{let A=null;y._refCount++;const I=(0,s._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(A=null);const M=y._connection,T=A;A=null,M&&(!T||M===T)&&M.unsubscribe(),k.unsubscribe()});y.subscribe(I),I.closed||(A=y.connect())})}},2498:(i,a,r)=>{"use strict";r.d(a,{L:()=>A});var o=r(9974),s=r(4360),c=r(3669),y=r(1584),k=r(8750);function A(I=1/0){let M;M=I&&"object"==typeof I?I:{count:I};const{count:T=1/0,delay:O,resetOnSuccess:L=!1}=M;return T<=0?c.D:(0,o.N)((Y,z)=>{let ct,q=0;const dt=()=>{let tt=!1;ct=Y.subscribe((0,s._)(z,vt=>{L&&(q=0),z.next(vt)},void 0,vt=>{if(q++{ct?(ct.unsubscribe(),ct=null,dt()):tt=!0};if(null!=O){const $t="number"==typeof O?(0,y.O)(O):(0,k.Tg)(O(vt,q)),St=(0,s._)(z,()=>{St.unsubscribe(),Mt()},()=>{z.complete()});$t.subscribe(St)}else Mt()}else z.error(vt)})),tt&&(ct.unsubscribe(),ct=null,dt())};dt()})}},6649:(i,a,r)=>{"use strict";r.d(a,{S:()=>s});var o=r(4360);function s(c,y,k,A,I){return(M,T)=>{let O=k,L=y,Y=0;M.subscribe((0,o._)(T,z=>{const q=Y++;L=O?c(L,z,q):(O=!0,z),A&&T.next(L)},I&&(()=>{O&&T.next(L),T.complete()})))}}},7647:(i,a,r)=>{"use strict";r.d(a,{u:()=>k});var o=r(8750),s=r(1413),c=r(7707),y=r(9974);function k(I={}){const{connector:M=()=>new s.B,resetOnError:T=!0,resetOnComplete:O=!0,resetOnRefCountZero:L=!0}=I;return Y=>{let z,q,ct,dt=0,tt=!1,vt=!1;const Mt=()=>{q?.unsubscribe(),q=void 0},$t=()=>{Mt(),z=ct=void 0,tt=vt=!1},St=()=>{const kt=z;$t(),kt?.unsubscribe()};return(0,y.N)((kt,nt)=>{dt++,!vt&&!tt&&Mt();const at=ct=ct??M();nt.add(()=>{dt--,0===dt&&!vt&&!tt&&(q=A(St,L))}),at.subscribe(nt),!z&&dt>0&&(z=new c.Ms({next:rt=>at.next(rt),error:rt=>{vt=!0,Mt(),q=A($t,T,rt),at.error(rt)},complete:()=>{tt=!0,Mt(),q=A($t,O),at.complete()}}),(0,o.Tg)(kt).subscribe(z))})(Y)}}function A(I,M,...T){if(!0===M)return void I();if(!1===M)return;const O=new c.Ms({next:()=>{O.unsubscribe(),I()}});return(0,o.Tg)(M(...T)).subscribe(O)}},4668:(i,a,r)=>{"use strict";r.d(a,{t:()=>c});var o=r(2771),s=r(7647);function c(y,k,A){let I,M=!1;return y&&"object"==typeof y?({bufferSize:I=1/0,windowTime:k=1/0,refCount:M=!1,scheduler:A}=y):I=y??1/0,(0,s.u)({connector:()=>new o.m(I,k,A),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:M})}},7626:(i,a,r)=>{"use strict";r.d(a,{i:()=>s});var o=r(5964);function s(c){return(0,o.p)((y,k)=>c<=k)}},9172:(i,a,r)=>{"use strict";r.d(a,{Z:()=>y});var o=r(8793),s=r(9326),c=r(9974);function y(...k){const A=(0,s.lI)(k);return(0,c.N)((I,M)=>{(A?(0,o.x)(k,I,A):(0,o.x)(k,I)).subscribe(M)})}},5558:(i,a,r)=>{"use strict";r.d(a,{n:()=>y});var o=r(8750),s=r(9974),c=r(4360);function y(k,A){return(0,s.N)((I,M)=>{let T=null,O=0,L=!1;const Y=()=>L&&!T&&M.complete();I.subscribe((0,c._)(M,z=>{T?.unsubscribe();let q=0;const ct=O++;(0,o.Tg)(k(z,ct)).subscribe(T=(0,c._)(M,dt=>M.next(A?A(z,dt,ct,q++):dt),()=>{T=null,Y()}))},()=>{L=!0,Y()}))})}},6697:(i,a,r)=>{"use strict";r.d(a,{s:()=>y});var o=r(983),s=r(9974),c=r(4360);function y(k){return k<=0?()=>o.w:(0,s.N)((A,I)=>{let M=0;A.subscribe((0,c._)(I,T=>{++M<=k&&(I.next(T),k<=M&&I.complete())}))})}},6977:(i,a,r)=>{"use strict";r.d(a,{Q:()=>k});var o=r(9974),s=r(4360),c=r(8750),y=r(5343);function k(A){return(0,o.N)((I,M)=>{(0,c.Tg)(A).subscribe((0,s._)(M,()=>M.complete(),y.l)),!M.closed&&I.subscribe(M)})}},7048:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(9974),s=r(4360);function c(y,k=!1){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>{const O=y(T,M++);(O||k)&&I.next(T),!O&&I.complete()}))})}},8141:(i,a,r)=>{"use strict";r.d(a,{M:()=>k});var o=r(8071),s=r(9974),c=r(4360),y=r(3669);function k(A,I,M){const T=(0,o.T)(A)||I||M?{next:A,error:I,complete:M}:A;return T?(0,s.N)((O,L)=>{var Y;null===(Y=T.subscribe)||void 0===Y||Y.call(T);let z=!0;O.subscribe((0,c._)(L,q=>{var ct;null===(ct=T.next)||void 0===ct||ct.call(T,q),L.next(q)},()=>{var q;z=!1,null===(q=T.complete)||void 0===q||q.call(T),L.complete()},q=>{var ct;z=!1,null===(ct=T.error)||void 0===ct||ct.call(T,q),L.error(q)},()=>{var q,ct;z&&(null===(q=T.unsubscribe)||void 0===q||q.call(T)),null===(ct=T.finalize)||void 0===ct||ct.call(T)}))}):y.D}},6780:(i,a,r)=>{"use strict";r.d(a,{R:()=>k});var o=r(8359);class s extends o.yU{constructor(I,M){super()}schedule(I,M=0){return this}}const c={setInterval(A,I,...M){const{delegate:T}=c;return T?.setInterval?T.setInterval(A,I,...M):setInterval(A,I,...M)},clearInterval(A){const{delegate:I}=c;return(I?.clearInterval||clearInterval)(A)},delegate:void 0};var y=r(7908);class k extends s{constructor(I,M){super(I,M),this.scheduler=I,this.work=M,this.pending=!1}schedule(I,M=0){var T;if(this.closed)return this;this.state=I;const O=this.id,L=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(L,O,M)),this.pending=!0,this.delay=M,this.id=null!==(T=this.id)&&void 0!==T?T:this.requestAsyncId(L,this.id,M),this}requestAsyncId(I,M,T=0){return c.setInterval(I.flush.bind(I,this),T)}recycleAsyncId(I,M,T=0){if(null!=T&&this.delay===T&&!1===this.pending)return M;null!=M&&c.clearInterval(M)}execute(I,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const T=this._execute(I,M);if(T)return T;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(I,M){let O,T=!1;try{this.work(I)}catch(L){T=!0,O=L||new Error("Scheduled action threw falsy error")}if(T)return this.unsubscribe(),O}unsubscribe(){if(!this.closed){const{id:I,scheduler:M}=this,{actions:T}=M;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(T,this),null!=I&&(this.id=this.recycleAsyncId(M,I,null)),this.delay=null,super.unsubscribe()}}}},9687:(i,a,r)=>{"use strict";r.d(a,{q:()=>c});var o=r(6129);class s{constructor(k,A=s.now){this.schedulerActionCtor=k,this.now=A}schedule(k,A=0,I){return new this.schedulerActionCtor(this,k).schedule(I,A)}}s.now=o.U.now;class c extends s{constructor(k,A=s.now){super(k,A),this.actions=[],this._active=!1}flush(k){const{actions:A}=this;if(this._active)return void A.push(k);let I;this._active=!0;do{if(I=k.execute(k.state,k.delay))break}while(k=A.shift());if(this._active=!1,I){for(;k=A.shift();)k.unsubscribe();throw I}}}},5007:(i,a,r)=>{"use strict";r.d(a,{$:()=>q});var o=r(6780);let c,s=1;const y={};function k(dt){return dt in y&&(delete y[dt],!0)}const A={setImmediate(dt){const tt=s++;return y[tt]=!0,c||(c=Promise.resolve()),c.then(()=>k(tt)&&dt()),tt},clearImmediate(dt){k(dt)}},{setImmediate:M,clearImmediate:T}=A,O={setImmediate(...dt){const{delegate:tt}=O;return(tt?.setImmediate||M)(...dt)},clearImmediate(dt){const{delegate:tt}=O;return(tt?.clearImmediate||T)(dt)},delegate:void 0};var Y=r(9687);const q=new class z extends Y.q{flush(tt){this._active=!0;const vt=this._scheduled;this._scheduled=void 0;const{actions:Mt}=this;let $t;tt=tt||Mt.shift();do{if($t=tt.execute(tt.state,tt.delay))break}while((tt=Mt[0])&&tt.id===vt&&Mt.shift());if(this._active=!1,$t){for(;(tt=Mt[0])&&tt.id===vt&&Mt.shift();)tt.unsubscribe();throw $t}}}(class L extends o.R{constructor(tt,vt){super(tt,vt),this.scheduler=tt,this.work=vt}requestAsyncId(tt,vt,Mt=0){return null!==Mt&&Mt>0?super.requestAsyncId(tt,vt,Mt):(tt.actions.push(this),tt._scheduled||(tt._scheduled=O.setImmediate(tt.flush.bind(tt,void 0))))}recycleAsyncId(tt,vt,Mt=0){var $t;if(null!=Mt?Mt>0:this.delay>0)return super.recycleAsyncId(tt,vt,Mt);const{actions:St}=tt;null!=vt&&(null===($t=St[St.length-1])||void 0===$t?void 0:$t.id)!==vt&&(O.clearImmediate(vt),tt._scheduled===vt&&(tt._scheduled=void 0))}})},3236:(i,a,r)=>{"use strict";r.d(a,{E:()=>c,b:()=>y});var o=r(6780);const c=new(r(9687).q)(o.R),y=c},6129:(i,a,r)=>{"use strict";r.d(a,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(i,a,r)=>{"use strict";r.d(a,{f:()=>o});const o={setTimeout(s,c,...y){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(s,c,...y):setTimeout(s,c,...y)},clearTimeout(s){const{delegate:c}=o;return(c?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4761:(i,a,r)=>{"use strict";r.d(a,{l:()=>s});const s=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(i,a,r)=>{"use strict";r.d(a,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(i,a,r)=>{"use strict";r.d(a,{G:()=>s});const s=(0,r(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(i,a,r)=>{"use strict";r.d(a,{R0:()=>A,lI:()=>k,ms:()=>y});var o=r(8071),s=r(9470);function c(I){return I[I.length-1]}function y(I){return(0,o.T)(c(I))?I.pop():void 0}function k(I){return(0,s.m)(c(I))?I.pop():void 0}function A(I,M){return"number"==typeof c(I)?I.pop():M}},3073:(i,a,r)=>{"use strict";r.d(a,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:s,prototype:c,keys:y}=Object;function k(I){if(1===I.length){const M=I[0];if(o(M))return{args:M,keys:null};if(function A(I){return I&&"object"==typeof I&&s(I)===c}(M)){const T=y(M);return{args:T.map(O=>M[O]),keys:T}}}return{args:I,keys:null}}},7908:(i,a,r)=>{"use strict";function o(s,c){if(s){const y=s.indexOf(c);0<=y&&s.splice(y,1)}}r.d(a,{o:()=>o})},1853:(i,a,r)=>{"use strict";function o(s){const y=s(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}r.d(a,{L:()=>o})},8496:(i,a,r)=>{"use strict";function o(s,c){return s.reduce((y,k,A)=>(y[k]=c[A],y),{})}r.d(a,{e:()=>o})},9786:(i,a,r)=>{"use strict";r.d(a,{Y:()=>c,l:()=>y});var o=r(1026);let s=null;function c(k){if(o.$.useDeprecatedSynchronousErrorHandling){const A=!s;if(A&&(s={errorThrown:!1,error:null}),k(),A){const{errorThrown:I,error:M}=s;if(s=null,I)throw M}}else k()}function y(k){o.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=k)}},5225:(i,a,r)=>{"use strict";function o(s,c,y,k=0,A=!1){const I=c.schedule(function(){y(),A?s.add(this.schedule(null,k)):this.unsubscribe()},k);if(s.add(I),!A)return I}r.d(a,{N:()=>o})},3669:(i,a,r)=>{"use strict";function o(s){return s}r.d(a,{D:()=>o})},7441:(i,a,r)=>{"use strict";r.d(a,{X:()=>o});const o=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953:(i,a,r)=>{"use strict";r.d(a,{T:()=>s});var o=r(8071);function s(c){return Symbol.asyncIterator&&(0,o.T)(c?.[Symbol.asyncIterator])}},8071:(i,a,r)=>{"use strict";function o(s){return"function"==typeof s}r.d(a,{T:()=>o})},5055:(i,a,r)=>{"use strict";r.d(a,{l:()=>c});var o=r(3494),s=r(8071);function c(y){return(0,s.T)(y[o.s])}},5397:(i,a,r)=>{"use strict";r.d(a,{x:()=>c});var o=r(4761),s=r(8071);function c(y){return(0,s.T)(y?.[o.l])}},4402:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(1985),s=r(8071);function c(y){return!!y&&(y instanceof o.c||(0,s.T)(y.lift)&&(0,s.T)(y.subscribe))}},9858:(i,a,r)=>{"use strict";r.d(a,{y:()=>s});var o=r(8071);function s(c){return(0,o.T)(c?.then)}},5196:(i,a,r)=>{"use strict";r.d(a,{C:()=>c,U:()=>y});var o=r(1635),s=r(8071);function c(k){return(0,o.AQ)(this,arguments,function*(){const I=k.getReader();try{for(;;){const{value:M,done:T}=yield(0,o.N3)(I.read());if(T)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(M)}}finally{I.releaseLock()}})}function y(k){return(0,s.T)(k?.getReader)}},9470:(i,a,r)=>{"use strict";r.d(a,{m:()=>s});var o=r(8071);function s(c){return c&&(0,o.T)(c.schedule)}},9974:(i,a,r)=>{"use strict";r.d(a,{N:()=>c,S:()=>s});var o=r(8071);function s(y){return(0,o.T)(y?.lift)}function c(y){return k=>{if(s(k))return k.lift(function(A){try{return y(A,this)}catch(I){this.error(I)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(i,a,r)=>{"use strict";r.d(a,{I:()=>y});var o=r(6354);const{isArray:s}=Array;function y(k){return(0,o.T)(A=>function c(k,A){return s(A)?k(...A):k(A)}(k,A))}},5343:(i,a,r)=>{"use strict";function o(){}r.d(a,{l:()=>o})},1203:(i,a,r)=>{"use strict";r.d(a,{F:()=>s,m:()=>c});var o=r(3669);function s(...y){return c(y)}function c(y){return 0===y.length?o.D:1===y.length?y[0]:function(A){return y.reduce((I,M)=>M(I),A)}}},5334:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1026),s=r(9270);function c(y){s.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw y;k(y)})}},591:(i,a,r)=>{"use strict";function o(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}r.d(a,{L:()=>o})},9969:(i,a,r)=>{"use strict";r.d(a,{FX:()=>Vt,If:()=>c,K2:()=>M,MA:()=>q,Os:()=>I,P:()=>dt,S6:()=>vt,hZ:()=>k,i0:()=>A,i7:()=>L,iF:()=>T,kY:()=>Y,kp:()=>y,sf:()=>yt,ui:()=>Ct,wk:()=>O});var o=r(177),s=r(4438),c=function(Xt){return Xt[Xt.State=0]="State",Xt[Xt.Transition=1]="Transition",Xt[Xt.Sequence=2]="Sequence",Xt[Xt.Group=3]="Group",Xt[Xt.Animate=4]="Animate",Xt[Xt.Keyframes=5]="Keyframes",Xt[Xt.Style=6]="Style",Xt[Xt.Trigger=7]="Trigger",Xt[Xt.Reference=8]="Reference",Xt[Xt.AnimateChild=9]="AnimateChild",Xt[Xt.AnimateRef=10]="AnimateRef",Xt[Xt.Query=11]="Query",Xt[Xt.Stagger=12]="Stagger",Xt}(c||{});const y="*";function k(Xt,oe){return{type:c.Trigger,name:Xt,definitions:oe,options:{}}}function A(Xt,oe=null){return{type:c.Animate,styles:oe,timings:Xt}}function I(Xt,oe=null){return{type:c.Group,steps:Xt,options:oe}}function M(Xt,oe=null){return{type:c.Sequence,steps:Xt,options:oe}}function T(Xt){return{type:c.Style,styles:Xt,offset:null}}function O(Xt,oe,Xe){return{type:c.State,name:Xt,styles:oe,options:Xe}}function L(Xt){return{type:c.Keyframes,steps:Xt}}function Y(Xt,oe,Xe=null){return{type:c.Transition,expr:Xt,animation:oe,options:Xe}}function q(Xt=null){return{type:c.AnimateChild,options:Xt}}function dt(Xt,oe,Xe=null){return{type:c.Query,selector:Xt,animation:oe,options:Xe}}let vt=(()=>{class Xt{static{this.\u0275fac=function(kr){return new(kr||Xt)}}static{this.\u0275prov=s.jDH({token:Xt,factory:()=>(0,s.WQX)($t),providedIn:"root"})}}return Xt})();class Mt{}let $t=(()=>{class Xt extends vt{constructor(Xe,kr){if(super(),this.animationModuleType=(0,s.WQX)(s.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Xe.createRenderer(kr.body,{id:"0",encapsulation:s.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function rt(Xt){const oe=Xt.\u0275type;return 0===oe||1===oe}(this._renderer))throw new s.wOt(3600,!1)}build(Xe){const kr=this._nextAnimationId;this._nextAnimationId++;const gr=Array.isArray(Xe)?M(Xe):Xe;return nt(this._renderer,null,kr,"register",[gr]),new St(kr,this._renderer)}static{this.\u0275fac=function(kr){return new(kr||Xt)(s.KVO(s._9s),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}}return Xt})();class St extends Mt{constructor(oe,Xe){super(),this._id=oe,this._renderer=Xe}create(oe,Xe){return new kt(this._id,oe,Xe||{},this._renderer)}}class kt{constructor(oe,Xe,kr,gr){this.id=oe,this.element=Xe,this._renderer=gr,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",kr)}_listen(oe,Xe){return this._renderer.listen(this.element,`@@${this.id}:${oe}`,Xe)}_command(oe,...Xe){nt(this._renderer,this.element,this.id,oe,Xe)}onDone(oe){this._listen("done",oe)}onStart(oe){this._listen("start",oe)}onDestroy(oe){this._listen("destroy",oe)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(oe){this._command("setPosition",oe)}getPosition(){return function at(Xt){const oe=Xt.\u0275type;return 0===oe?Xt:1===oe?Xt.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function nt(Xt,oe,Xe,kr,gr){Xt.setProperty(oe,`@@${Xe}:${kr}`,gr)}class yt{constructor(oe=0,Xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+Xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}class Ct{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let Xe=0,kr=0,gr=0;const wr=this.players.length;0==wr?queueMicrotask(()=>this._onFinish()):this.players.forEach(Wr=>{Wr.onDone(()=>{++Xe==wr&&this._onFinish()}),Wr.onDestroy(()=>{++kr==wr&&this._onDestroy()}),Wr.onStart(()=>{++gr==wr&&this._onStart()})}),this.totalTime=this.players.reduce((Wr,xe)=>Math.max(Wr,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const Xe=oe*this.totalTime;this.players.forEach(kr=>{const gr=kr.totalTime?Math.min(1,Xe/kr.totalTime):1;kr.setPosition(gr)})}getPosition(){const oe=this.players.reduce((Xe,kr)=>null===Xe||kr.totalTime>Xe.totalTime?kr:Xe,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}const Vt="!"},9888:(i,a,r)=>{"use strict";r.d(a,{Pd:()=>qe,Au:()=>xe,vr:()=>oe,Bu:()=>Le,FN:()=>mr,GX:()=>be,Q_:()=>_e,Z7:()=>ft,Ai:()=>Pr,px:()=>nt,_G:()=>it,w6:()=>Tt,Ae:()=>at});var o=r(177),s=r(4438),c=r(6860),y=r(1413),k=r(8359),I=(r(4402),r(7673)),M=r(4412),T=r(7336),O=r(8141),L=r(152),Y=r(5964),z=r(6354),ct=(r(6697),r(7626)),dt=r(3294),tt=r(6977),Mt=r(2318),$t=r(4085),St=r(9327);const kt=" ";function nt(ke,me,Yt){const Ae=rt(ke,me);Yt=Yt.trim(),!Ae.some(ar=>ar.trim()===Yt)&&(Ae.push(Yt),ke.setAttribute(me,Ae.join(kt)))}function at(ke,me,Yt){const Ae=rt(ke,me);Yt=Yt.trim();const ar=Ae.filter(yr=>yr!==Yt);ar.length?ke.setAttribute(me,ar.join(kt)):ke.removeAttribute(me)}function rt(ke,me){return ke.getAttribute(me)?.match(/\S+/g)??[]}const Ct="cdk-describedby-message",Vt="cdk-describedby-host";let Xt=0,oe=(()=>{class ke{constructor(Yt,Ae){this._platform=Ae,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Xt++,this._document=Yt,this._id=(0,s.WQX)(s.sZ2)+"-"+Xt++}describe(Yt,Ae,ar){if(!this._canBeDescribed(Yt,Ae))return;const yr=Xe(Ae,ar);"string"!=typeof Ae?(kr(Ae,this._id),this._messageRegistry.set(yr,{messageElement:Ae,referenceCount:0})):this._messageRegistry.has(yr)||this._createMessageElement(Ae,ar),this._isElementDescribedByMessage(Yt,yr)||this._addMessageReference(Yt,yr)}removeDescription(Yt,Ae,ar){if(!Ae||!this._isElementNode(Yt))return;const yr=Xe(Ae,ar);if(this._isElementDescribedByMessage(Yt,yr)&&this._removeMessageReference(Yt,yr),"string"==typeof Ae){const Eo=this._messageRegistry.get(yr);Eo&&0===Eo.referenceCount&&this._deleteMessageElement(yr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Yt=this._document.querySelectorAll(`[${Vt}="${this._id}"]`);for(let Ae=0;Ae0!=ar.indexOf(Ct));Yt.setAttribute("aria-describedby",Ae.join(" "))}_addMessageReference(Yt,Ae){const ar=this._messageRegistry.get(Ae);nt(Yt,"aria-describedby",ar.messageElement.id),Yt.setAttribute(Vt,this._id),ar.referenceCount++}_removeMessageReference(Yt,Ae){const ar=this._messageRegistry.get(Ae);ar.referenceCount--,at(Yt,"aria-describedby",ar.messageElement.id),Yt.removeAttribute(Vt)}_isElementDescribedByMessage(Yt,Ae){const ar=rt(Yt,"aria-describedby"),yr=this._messageRegistry.get(Ae),Eo=yr&&yr.messageElement.id;return!!Eo&&-1!=ar.indexOf(Eo)}_canBeDescribed(Yt,Ae){if(!this._isElementNode(Yt))return!1;if(Ae&&"object"==typeof Ae)return!0;const ar=null==Ae?"":`${Ae}`.trim(),yr=Yt.getAttribute("aria-label");return!(!ar||yr&&yr.trim()===ar)}_isElementNode(Yt){return Yt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(o.qQ),s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Xe(ke,me){return"string"==typeof ke?`${me||""}/${ke}`:ke}function kr(ke,me){ke.id||(ke.id=`${Ct}-${me}-${Xt++}`)}class wr{constructor(me,Yt){this._letterKeyStream=new y.B,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new y.B,this.selectedItem=this._selectedItem;const Ae="number"==typeof Yt?.debounceInterval?Yt.debounceInterval:200;Yt?.skipPredicate&&(this._skipPredicateFn=Yt.skipPredicate),this.setItems(me),this._setupKeyHandler(Ae)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(me){this._selectedItemIndex=me}setItems(me){this._items=me}handleKey(me){const Yt=me.keyCode;me.key&&1===me.key.length?this._letterKeyStream.next(me.key.toLocaleUpperCase()):(Yt>=T.A&&Yt<=T.Z||Yt>=T.f2&&Yt<=T.bn)&&this._letterKeyStream.next(String.fromCharCode(Yt))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(me){this._letterKeyStream.pipe((0,O.M)(Yt=>this._pressedLetters.push(Yt)),(0,L.B)(me),(0,Y.p)(()=>this._pressedLetters.length>0),(0,z.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(Yt=>{for(let Ae=1;AeAe.disabled,this.tabOut=new y.B,this.change=new y.B,me instanceof s.rOR?this._itemChangesSubscription=me.changes.subscribe(Ae=>this._itemsChanged(Ae.toArray())):(0,s.Hps)(me)&&(this._effectRef=(0,s.QZP)(()=>this._itemsChanged(me()),{injector:Yt}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){this._typeaheadSubscription.unsubscribe();const Yt=this._getItemsArray();return this._typeahead=new wr(Yt,{debounceInterval:"number"==typeof me?me:void 0,skipPredicate:Ae=>this._skipPredicateFn(Ae)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Ae=>{this.setActiveItem(Ae)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(me=!0){return this._homeAndEnd=me,this}withPageUpDown(me=!0,Yt=10){return this._pageUpAndDown={enabled:me,delta:Yt},this}setActiveItem(me){const Yt=this._activeItem;this.updateActiveItem(me),this._activeItem!==Yt&&this.change.next(this._activeItemIndex)}onKeydown(me){const Yt=me.keyCode,ar=["altKey","ctrlKey","metaKey","shiftKey"].every(yr=>!me[yr]||this._allowedModifierKeys.indexOf(yr)>-1);switch(Yt){case T.wn:return void this.tabOut.next();case T.n6:if(this._vertical&&ar){this.setNextItemActive();break}return;case T.i7:if(this._vertical&&ar){this.setPreviousItemActive();break}return;case T.LE:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case T.UQ:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case T.yZ:if(this._homeAndEnd&&ar){this.setFirstItemActive();break}return;case T.Kp:if(this._homeAndEnd&&ar){this.setLastItemActive();break}return;case T.w_:if(this._pageUpAndDown.enabled&&ar){const yr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(yr>0?yr:0,1);break}return;case T.dB:if(this._pageUpAndDown.enabled&&ar){const yr=this._activeItemIndex+this._pageUpAndDown.delta,Eo=this._getItemsArray().length;this._setActiveItemByIndex(yr-1&&Yt!==this._activeItemIndex&&(this._activeItemIndex=Yt,this._typeahead?.setCurrentSelectedItemIndex(Yt))}}}class xe extends Wr{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class Le extends Wr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}let ft=(()=>{class ke{constructor(Yt){this._platform=Yt}isDisabled(Yt){return Yt.hasAttribute("disabled")}isVisible(Yt){return function Ut(ke){return!!(ke.offsetWidth||ke.offsetHeight||"function"==typeof ke.getClientRects&&ke.getClientRects().length)}(Yt)&&"visible"===getComputedStyle(Yt).visibility}isTabbable(Yt){if(!this._platform.isBrowser)return!1;const Ae=function pe(ke){try{return ke.frameElement}catch{return null}}(function lr(ke){return ke.ownerDocument&&ke.ownerDocument.defaultView||window}(Yt));if(Ae&&(-1===We(Ae)||!this.isVisible(Ae)))return!1;let ar=Yt.nodeName.toLowerCase(),yr=We(Yt);return Yt.hasAttribute("contenteditable")?-1!==yr:!("iframe"===ar||"object"===ar||this._platform.WEBKIT&&this._platform.IOS&&!function Or(ke){let me=ke.nodeName.toLowerCase(),Yt="input"===me&&ke.type;return"text"===Yt||"password"===Yt||"select"===me||"textarea"===me}(Yt))&&("audio"===ar?!!Yt.hasAttribute("controls")&&-1!==yr:"video"===ar?-1!==yr&&(null!==yr||this._platform.FIREFOX||Yt.hasAttribute("controls")):Yt.tabIndex>=0)}isFocusable(Yt,Ae){return function ko(ke){return!function ie(ke){return function Ht(ke){return"input"==ke.nodeName.toLowerCase()}(ke)&&"hidden"==ke.type}(ke)&&(function Ee(ke){let me=ke.nodeName.toLowerCase();return"input"===me||"select"===me||"button"===me||"textarea"===me}(ke)||function He(ke){return function Me(ke){return"a"==ke.nodeName.toLowerCase()}(ke)&&ke.hasAttribute("href")}(ke)||ke.hasAttribute("contenteditable")||Pe(ke))}(Yt)&&!this.isDisabled(Yt)&&(Ae?.ignoreVisibility||this.isVisible(Yt))}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Pe(ke){if(!ke.hasAttribute("tabindex")||void 0===ke.tabIndex)return!1;let me=ke.getAttribute("tabindex");return!(!me||isNaN(parseInt(me,10)))}function We(ke){if(!Pe(ke))return null;const me=parseInt(ke.getAttribute("tabindex")||"",10);return isNaN(me)?-1:me}class Lt{get enabled(){return this._enabled}set enabled(me){this._enabled=me,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}constructor(me,Yt,Ae,ar,yr=!1,Eo){this._element=me,this._checker=Yt,this._ngZone=Ae,this._document=ar,this._injector=Eo,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,yr||this.attachAnchors()}destroy(){const me=this._startAnchor,Yt=this._endAnchor;me&&(me.removeEventListener("focus",this.startAnchorListener),me.remove()),Yt&&(Yt.removeEventListener("focus",this.endAnchorListener),Yt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusInitialElement(me)))})}focusFirstTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusFirstTabbableElement(me)))})}focusLastTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusLastTabbableElement(me)))})}_getRegionBoundary(me){const Yt=this._element.querySelectorAll(`[cdk-focus-region-${me}], [cdkFocusRegion${me}], [cdk-focus-${me}]`);return"start"==me?Yt.length?Yt[0]:this._getFirstTabbableElement(this._element):Yt.length?Yt[Yt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(me){const Yt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Yt){if(!this._checker.isFocusable(Yt)){const Ae=this._getFirstTabbableElement(Yt);return Ae?.focus(me),!!Ae}return Yt.focus(me),!0}return this.focusFirstTabbableElement(me)}focusFirstTabbableElement(me){const Yt=this._getRegionBoundary("start");return Yt&&Yt.focus(me),!!Yt}focusLastTabbableElement(me){const Yt=this._getRegionBoundary("end");return Yt&&Yt.focus(me),!!Yt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(me){if(this._checker.isFocusable(me)&&this._checker.isTabbable(me))return me;const Yt=me.children;for(let Ae=0;Ae=0;Ae--){const ar=Yt[Ae].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Yt[Ae]):null;if(ar)return ar}return null}_createAnchor(){const me=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,me),me.classList.add("cdk-visually-hidden"),me.classList.add("cdk-focus-trap-anchor"),me.setAttribute("aria-hidden","true"),me}_toggleAnchorTabIndex(me,Yt){me?Yt.setAttribute("tabindex","0"):Yt.removeAttribute("tabindex")}toggleAnchors(me){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}_executeOnStable(me){this._injector?(0,s.mal)(me,{injector:this._injector}):setTimeout(me)}}let be=(()=>{class ke{constructor(Yt,Ae,ar){this._checker=Yt,this._ngZone=Ae,this._injector=(0,s.WQX)(s.zZn),this._document=ar}create(Yt,Ae=!1){return new Lt(Yt,this._checker,this._ngZone,this._document,Ae,this._injector)}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(ft),s.KVO(s.SKi),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function it(ke){return 0===ke.buttons||0===ke.detail}function Tt(ke){const me=ke.touches&&ke.touches[0]||ke.changedTouches&&ke.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const It=new s.nKC("cdk-input-modality-detector-options"),ye={ignoreKeys:[T.A$,T.W3,T.eg,T.Ge,T.FX]},Je=(0,c.BQ)({passive:!0,capture:!0});let er=(()=>{class ke{get mostRecentModality(){return this._modality.value}constructor(Yt,Ae,ar,yr){this._platform=Yt,this._mostRecentTarget=null,this._modality=new M.t(null),this._lastTouchMs=0,this._onKeydown=Eo=>{this._options?.ignoreKeys?.some($n=>$n===Eo.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onMousedown=Eo=>{Date.now()-this._lastTouchMs<650||(this._modality.next(it(Eo)?"keyboard":"mouse"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onTouchstart=Eo=>{Tt(Eo)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._options={...ye,...yr},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,dt.F)()),Yt.isBrowser&&Ae.runOutsideAngular(()=>{ar.addEventListener("keydown",this._onKeydown,Je),ar.addEventListener("mousedown",this._onMousedown,Je),ar.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD),s.KVO(s.SKi),s.KVO(o.qQ),s.KVO(It,8))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();const Hr=new s.nKC("liveAnnouncerElement",{providedIn:"root",factory:function eo(){return null}}),Bo=new s.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let fr=0,Pr=(()=>{class ke{constructor(Yt,Ae,ar,yr){this._ngZone=Ae,this._defaultOptions=yr,this._document=ar,this._liveElement=Yt||this._createLiveElement()}announce(Yt,...Ae){const ar=this._defaultOptions;let yr,Eo;return 1===Ae.length&&"number"==typeof Ae[0]?Eo=Ae[0]:[yr,Eo]=Ae,this.clear(),clearTimeout(this._previousTimeout),yr||(yr=ar&&ar.politeness?ar.politeness:"polite"),null==Eo&&ar&&(Eo=ar.duration),this._liveElement.setAttribute("aria-live",yr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise($n=>this._currentResolve=$n)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Yt,"number"==typeof Eo&&(this._previousTimeout=setTimeout(()=>this.clear(),Eo)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Yt="cdk-live-announcer-element",Ae=this._document.getElementsByClassName(Yt),ar=this._document.createElement("div");for(let yr=0;yr .cdk-overlay-container [aria-modal="true"]');for(let ar=0;ar{class ke{constructor(Yt,Ae,ar,yr,Eo){this._ngZone=Yt,this._platform=Ae,this._inputModalityDetector=ar,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new y.B,this._rootNodeFocusAndBlurListener=$n=>{for(let Yo=(0,c.Fb)($n);Yo;Yo=Yo.parentElement)"focus"===$n.type?this._onFocus($n,Yo):this._onBlur($n,Yo)},this._document=yr,this._detectionMode=Eo?.detectionMode||qt.IMMEDIATE}monitor(Yt,Ae=!1){const ar=(0,$t.i8)(Yt);if(!this._platform.isBrowser||1!==ar.nodeType)return(0,I.of)();const yr=(0,c.KT)(ar)||this._getDocument(),Eo=this._elementInfo.get(ar);if(Eo)return Ae&&(Eo.checkChildren=!0),Eo.subject;const $n={checkChildren:Ae,subject:new y.B,rootNode:yr};return this._elementInfo.set(ar,$n),this._registerGlobalListeners($n),$n.subject}stopMonitoring(Yt){const Ae=(0,$t.i8)(Yt),ar=this._elementInfo.get(Ae);ar&&(ar.subject.complete(),this._setClasses(Ae),this._elementInfo.delete(Ae),this._removeGlobalListeners(ar))}focusVia(Yt,Ae,ar){const yr=(0,$t.i8)(Yt);yr===this._getDocument().activeElement?this._getClosestElementsInfo(yr).forEach(([$n,Xn])=>this._originChanged($n,Ae,Xn)):(this._setOrigin(Ae),"function"==typeof yr.focus&&yr.focus(ar))}ngOnDestroy(){this._elementInfo.forEach((Yt,Ae)=>this.stopMonitoring(Ae))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Yt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Yt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Yt&&this._isLastInteractionFromInputLabel(Yt)?"mouse":"program"}_shouldBeAttributedToTouch(Yt){return this._detectionMode===qt.EVENTUAL||!!Yt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Yt,Ae){Yt.classList.toggle("cdk-focused",!!Ae),Yt.classList.toggle("cdk-touch-focused","touch"===Ae),Yt.classList.toggle("cdk-keyboard-focused","keyboard"===Ae),Yt.classList.toggle("cdk-mouse-focused","mouse"===Ae),Yt.classList.toggle("cdk-program-focused","program"===Ae)}_setOrigin(Yt,Ae=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Yt,this._originFromTouchInteraction="touch"===Yt&&Ae,this._detectionMode===qt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Yt,Ae){const ar=this._elementInfo.get(Ae),yr=(0,c.Fb)(Yt);!ar||!ar.checkChildren&&Ae!==yr||this._originChanged(Ae,this._getFocusOrigin(yr),ar)}_onBlur(Yt,Ae){const ar=this._elementInfo.get(Ae);!ar||ar.checkChildren&&Yt.relatedTarget instanceof Node&&Ae.contains(Yt.relatedTarget)||(this._setClasses(Ae),this._emitOrigin(ar,null))}_emitOrigin(Yt,Ae){Yt.subject.observers.length&&this._ngZone.run(()=>Yt.subject.next(Ae))}_registerGlobalListeners(Yt){if(!this._platform.isBrowser)return;const Ae=Yt.rootNode,ar=this._rootNodeFocusListenerCount.get(Ae)||0;ar||this._ngZone.runOutsideAngular(()=>{Ae.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Ae.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(Ae,ar+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,tt.Q)(this._stopInputModalityDetector)).subscribe(yr=>{this._setOrigin(yr,!0)}))}_removeGlobalListeners(Yt){const Ae=Yt.rootNode;if(this._rootNodeFocusListenerCount.has(Ae)){const ar=this._rootNodeFocusListenerCount.get(Ae);ar>1?this._rootNodeFocusListenerCount.set(Ae,ar-1):(Ae.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Ae.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(Ae))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Yt,Ae,ar){this._setClasses(Yt,Ae),this._emitOrigin(ar,Ae),this._lastFocusOrigin=Ae}_getClosestElementsInfo(Yt){const Ae=[];return this._elementInfo.forEach((ar,yr)=>{(yr===Yt||ar.checkChildren&&yr.contains(Yt))&&Ae.push([yr,ar])}),Ae}_isLastInteractionFromInputLabel(Yt){const{_mostRecentTarget:Ae,mostRecentModality:ar}=this._inputModalityDetector;if("mouse"!==ar||!Ae||Ae===Yt||"INPUT"!==Yt.nodeName&&"TEXTAREA"!==Yt.nodeName||Yt.disabled)return!1;const yr=Yt.labels;if(yr)for(let Eo=0;Eo{class ke{constructor(Yt,Ae){this._platform=Yt,this._document=Ae,this._breakpointSubscription=(0,s.WQX)(St.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ro.NONE;const Yt=this._document.createElement("div");Yt.style.backgroundColor="rgb(1,2,3)",Yt.style.position="absolute",this._document.body.appendChild(Yt);const Ae=this._document.defaultView||window,ar=Ae&&Ae.getComputedStyle?Ae.getComputedStyle(Yt):null,yr=(ar&&ar.backgroundColor||"").replace(/ /g,"");switch(Yt.remove(),yr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ro.BLACK_ON_WHITE}return Ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Yt=this._document.body.classList;Yt.remove($e,Wo,tr),this._hasCheckedHighContrastMode=!0;const Ae=this.getHighContrastMode();Ae===Ro.BLACK_ON_WHITE?Yt.add($e,Wo):Ae===Ro.WHITE_ON_BLACK&&Yt.add($e,tr)}}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})(),qe=(()=>{class ke{constructor(Yt){Yt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(_e))}}static{this.\u0275mod=s.$C({type:ke})}static{this.\u0275inj=s.G2t({imports:[Mt.w5]})}}return ke})()},8203:(i,a,r)=>{"use strict";r.d(a,{dS:()=>I,jI:()=>T});var o=r(4438),s=r(177);const c=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,o.WQX)(s.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let I=(()=>{class O{constructor(Y){this.value="ltr",this.change=new o.bkB,Y&&(this.value=function A(O){const L=O?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((Y.body?Y.body.dir:null)||(Y.documentElement?Y.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(z){return new(z||O)(o.KVO(c,8))}}static{this.\u0275prov=o.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})(),T=(()=>{class O{static{this.\u0275fac=function(z){return new(z||O)}}static{this.\u0275mod=o.$C({type:O})}static{this.\u0275inj=o.G2t({})}}return O})()},4085:(i,a,r)=>{"use strict";r.d(a,{FG:()=>k,OE:()=>c,a1:()=>A,he:()=>s,i8:()=>I});var o=r(4438);function s(T){return null!=T&&"false"!=`${T}`}function c(T,O=0){return function y(T){return!isNaN(parseFloat(T))&&!isNaN(Number(T))}(T)?Number(T):2===arguments.length?O:0}function k(T){return Array.isArray(T)?T:[T]}function A(T){return null==T?"":"string"==typeof T?T:`${T}px`}function I(T){return T instanceof o.aKT?T.nativeElement:T}},5024:(i,a,r)=>{"use strict";r.d(a,{CB:()=>Y,zP:()=>q}),r(4402),r(7673);var c=r(1413),y=r(4438);class Y{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(dt=!1,tt,vt=!0,Mt){this._multiple=dt,this._emitChanges=vt,this.compareWith=Mt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.B,tt&&tt.length&&(dt?tt.forEach($t=>this._markSelected($t)):this._markSelected(tt[0]),this._selectedToEmit.length=0)}select(...dt){this._verifyValueAssignment(dt),dt.forEach(vt=>this._markSelected(vt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}deselect(...dt){this._verifyValueAssignment(dt),dt.forEach(vt=>this._unmarkSelected(vt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}setSelection(...dt){this._verifyValueAssignment(dt);const tt=this.selected,vt=new Set(dt);dt.forEach($t=>this._markSelected($t)),tt.filter($t=>!vt.has(this._getConcreteValue($t,vt))).forEach($t=>this._unmarkSelected($t));const Mt=this._hasQueuedChanges();return this._emitChangeEvent(),Mt}toggle(dt){return this.isSelected(dt)?this.deselect(dt):this.select(dt)}clear(dt=!0){this._unmarkAll();const tt=this._hasQueuedChanges();return dt&&this._emitChangeEvent(),tt}isSelected(dt){return this._selection.has(this._getConcreteValue(dt))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(dt){this._multiple&&this.selected&&this._selected.sort(dt)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(dt){dt=this._getConcreteValue(dt),this.isSelected(dt)||(this._multiple||this._unmarkAll(),this.isSelected(dt)||this._selection.add(dt),this._emitChanges&&this._selectedToEmit.push(dt))}_unmarkSelected(dt){dt=this._getConcreteValue(dt),this.isSelected(dt)&&(this._selection.delete(dt),this._emitChanges&&this._deselectedToEmit.push(dt))}_unmarkAll(){this.isEmpty()||this._selection.forEach(dt=>this._unmarkSelected(dt))}_verifyValueAssignment(dt){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(dt,tt){if(this.compareWith){tt=tt??this._selection;for(let vt of tt)if(this.compareWith(dt,vt))return vt;return dt}return dt}}let q=(()=>{class ct{constructor(){this._listeners=[]}notify(tt,vt){for(let Mt of this._listeners)Mt(tt,vt)}listen(tt){return this._listeners.push(tt),()=>{this._listeners=this._listeners.filter(vt=>tt!==vt)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275prov=y.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})()},7336:(i,a,r)=>{"use strict";r.d(a,{A:()=>Nt,A$:()=>M,FX:()=>A,Fm:()=>k,Ge:()=>$,Kp:()=>ct,LE:()=>Mt,UQ:()=>tt,W3:()=>I,Z:()=>mt,_f:()=>L,bn:()=>wr,dB:()=>q,eg:()=>Gt,f2:()=>rt,i7:()=>vt,n6:()=>$t,rp:()=>Dt,t6:()=>Y,w_:()=>z,wn:()=>c,yZ:()=>dt});const c=9,k=13,A=16,I=17,M=18,L=27,Y=32,z=33,q=34,ct=35,dt=36,tt=37,vt=38,Mt=39,$t=40,rt=48,wr=57,Nt=65,mt=90,$=91,Gt=224;function Dt(ne,...Re){return Re.length?Re.some(Ce=>ne[Ce]):ne.altKey||ne.shiftKey||ne.ctrlKey||ne.metaKey}},9327:(i,a,r)=>{"use strict";r.d(a,{QP:()=>$t,Rp:()=>kt});var o=r(4438),s=r(4085),c=r(1413),y=r(4572),k=r(8793),A=r(1985),I=r(6697),M=r(7626),T=r(152),O=r(6354),L=r(9172),Y=r(6977),z=r(6860);const ct=new Set;let dt,tt=(()=>{class nt{constructor(rt,yt){this._platform=rt,this._nonce=yt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mt}matchMedia(rt){return(this._platform.WEBKIT||this._platform.BLINK)&&function vt(nt,at){if(!ct.has(nt))try{dt||(dt=document.createElement("style"),at&&dt.setAttribute("nonce",at),dt.setAttribute("type","text/css"),document.head.appendChild(dt)),dt.sheet&&(dt.sheet.insertRule(`@media ${nt} {body{ }}`,0),ct.add(nt))}catch(rt){console.error(rt)}}(rt,this._nonce),this._matchMedia(rt)}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(z.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function Mt(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let $t=(()=>{class nt{constructor(rt,yt){this._mediaMatcher=rt,this._zone=yt,this._queries=new Map,this._destroySubject=new c.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(rt){return St((0,s.FG)(rt)).some(Ct=>this._registerQuery(Ct).mql.matches)}observe(rt){const Ct=St((0,s.FG)(rt)).map(Xt=>this._registerQuery(Xt).observable);let Vt=(0,y.z)(Ct);return Vt=(0,k.x)(Vt.pipe((0,I.s)(1)),Vt.pipe((0,M.i)(1),(0,T.B)(0))),Vt.pipe((0,O.T)(Xt=>{const oe={matches:!1,breakpoints:{}};return Xt.forEach(({matches:Xe,query:kr})=>{oe.matches=oe.matches||Xe,oe.breakpoints[kr]=Xe}),oe}))}_registerQuery(rt){if(this._queries.has(rt))return this._queries.get(rt);const yt=this._mediaMatcher.matchMedia(rt),Vt={observable:new A.c(Xt=>{const oe=Xe=>this._zone.run(()=>Xt.next(Xe));return yt.addListener(oe),()=>{yt.removeListener(oe)}}).pipe((0,L.Z)(yt),(0,O.T)(({matches:Xt})=>({query:rt,matches:Xt})),(0,Y.Q)(this._destroySubject)),mql:yt};return this._queries.set(rt,Vt),Vt}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(tt),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function St(nt){return nt.map(at=>at.split(",")).reduce((at,rt)=>at.concat(rt)).map(at=>at.trim())}const kt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(i,a,r)=>{"use strict";r.d(a,{w5:()=>A});var o=r(4438);let c=(()=>{class I{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),A=(()=>{class I{static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275mod=o.$C({type:I})}static{this.\u0275inj=o.G2t({providers:[c]})}}return I})()},7987:(i,a,r)=>{"use strict";r.d(a,{$Q:()=>Ht,Sf:()=>wr,Tv:()=>nt,WB:()=>Me,hJ:()=>Ee,rR:()=>at,yY:()=>Wr,z_:()=>Or});var o=r(5542),s=r(177),c=r(4438),y=r(4085),k=r(6860),A=r(5964),I=r(6977),M=r(7048),T=r(8203),O=r(6939),L=r(1413),Y=r(8359),z=r(7786),q=r(7336);const ct=(0,k.CZ)();class dt{constructor(Lt,be){this._viewportRuler=Lt,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=be}attach(){}enable(){if(this._canBeEnabled()){const Lt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Lt.style.left||"",this._previousHTMLStyles.top=Lt.style.top||"",Lt.style.left=(0,y.a1)(-this._previousScrollPosition.left),Lt.style.top=(0,y.a1)(-this._previousScrollPosition.top),Lt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Lt=this._document.documentElement,se=Lt.style,Ie=this._document.body.style,br=se.scrollBehavior||"",mt=Ie.scrollBehavior||"";this._isEnabled=!1,se.left=this._previousHTMLStyles.left,se.top=this._previousHTMLStyles.top,Lt.classList.remove("cdk-global-scrollblock"),ct&&(se.scrollBehavior=Ie.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ct&&(se.scrollBehavior=br,Ie.scrollBehavior=mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const be=this._document.body,se=this._viewportRuler.getViewportSize();return be.scrollHeight>se.height||be.scrollWidth>se.width}}class vt{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._ngZone=be,this._viewportRuler=se,this._config=Ie,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Lt){this._overlayRef=Lt}enable(){if(this._scrollSubscription)return;const Lt=this._scrollDispatcher.scrolled(0).pipe((0,A.p)(be=>!be||!this._overlayRef.overlayElement.contains(be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Lt.subscribe(()=>{const be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Lt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Mt{enable(){}disable(){}attach(){}}function $t(lr,Lt){return Lt.some(be=>lr.bottombe.bottom||lr.rightbe.right)}function St(lr,Lt){return Lt.some(be=>lr.topbe.bottom||lr.leftbe.right)}class kt{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._viewportRuler=be,this._ngZone=se,this._config=Ie,this._scrollSubscription=null}attach(Lt){this._overlayRef=Lt}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:se,height:Ie}=this._viewportRuler.getViewportSize();$t(be,[{width:se,height:Ie,bottom:Ie,right:se,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let nt=(()=>{class lr{constructor(be,se,Ie,br){this._scrollDispatcher=be,this._viewportRuler=se,this._ngZone=Ie,this.noop=()=>new Mt,this.close=mt=>new vt(this._scrollDispatcher,this._ngZone,this._viewportRuler,mt),this.block=()=>new dt(this._viewportRuler,this._document),this.reposition=mt=>new kt(this._scrollDispatcher,this._viewportRuler,this._ngZone,mt),this._document=br}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(o.R),c.KVO(o.Xj),c.KVO(c.SKi),c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();class at{constructor(Lt){if(this.scrollStrategy=new Mt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Lt){const be=Object.keys(Lt);for(const se of be)void 0!==Lt[se]&&(this[se]=Lt[se])}}}class Ct{constructor(Lt,be){this.connectionPair=Lt,this.scrollableViewProperties=be}}let oe=(()=>{class lr{constructor(be){this._attachedOverlays=[],this._document=be}ngOnDestroy(){this.detach()}add(be){this.remove(be),this._attachedOverlays.push(be)}remove(be){const se=this._attachedOverlays.indexOf(be);se>-1&&this._attachedOverlays.splice(se,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),Xe=(()=>{class lr extends oe{constructor(be,se){super(be),this._ngZone=se,this._keydownListener=Ie=>{const br=this._attachedOverlays;for(let mt=br.length-1;mt>-1;mt--)if(br[mt]._keydownEvents.observers.length>0){const $=br[mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>$.next(Ie)):$.next(Ie);break}}}add(be){super.add(be),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),kr=(()=>{class lr extends oe{constructor(be,se,Ie){super(be),this._platform=se,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=br=>{this._pointerDownEventTarget=(0,k.Fb)(br)},this._clickListener=br=>{const mt=(0,k.Fb)(br),$="click"===br.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mt;this._pointerDownEventTarget=null;const Z=this._attachedOverlays.slice();for(let it=Z.length-1;it>-1;it--){const Tt=Z[it];if(Tt._outsidePointerEvents.observers.length<1||!Tt.hasAttached())continue;if(gr(Tt.overlayElement,mt)||gr(Tt.overlayElement,$))break;const It=Tt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>It.next(br)):It.next(br)}}}add(be){if(super.add(be),!this._isAttached){const se=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(se)):this._addEventListeners(se),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=se.style.cursor,se.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const be=this._document.body;be.removeEventListener("pointerdown",this._pointerDownListener,!0),be.removeEventListener("click",this._clickListener,!0),be.removeEventListener("auxclick",this._clickListener,!0),be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(be){be.addEventListener("pointerdown",this._pointerDownListener,!0),be.addEventListener("click",this._clickListener,!0),be.addEventListener("auxclick",this._clickListener,!0),be.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ),c.KVO(k.OD),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();function gr(lr,Lt){const be=typeof ShadowRoot<"u"&&ShadowRoot;let se=Lt;for(;se;){if(se===lr)return!0;se=be&&se instanceof ShadowRoot?se.host:se.parentNode}return!1}let wr=(()=>{class lr{constructor(be,se){this._platform=se,this._document=be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const be="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const Ie=this._document.querySelectorAll(`.${be}[platform="server"], .${be}[platform="test"]`);for(let br=0;brthis._backdropClick.next(ye),this._backdropTransitionendHandler=ye=>{this._disposeBackdrop(ye.target)},this._keydownEvents=new L.B,this._outsidePointerEvents=new L.B,this._renders=new L.B,Ie.scrollStrategy&&(this._scrollStrategy=Ie.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ie.positionStrategy,this._afterRenderRef=(0,c.O8t)(()=>(0,c.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Lt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const be=this._portalOutlet.attach(Lt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,c.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof be?.onDestroy&&be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Lt=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Lt}dispose(){const Lt=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,Lt&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Lt){Lt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Lt,this.hasAttached()&&(Lt.attach(this),this.updatePosition()))}updateSize(Lt){this._config={...this._config,...Lt},this._updateElementSize()}setDirection(Lt){this._config={...this._config,direction:Lt},this._updateElementDirection()}addPanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!0)}removePanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!1)}getDirection(){const Lt=this._config.direction;return Lt?"string"==typeof Lt?Lt:Lt.value:"ltr"}updateScrollStrategy(Lt){Lt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Lt,this.hasAttached()&&(Lt.attach(this),Lt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Lt=this._pane.style;Lt.width=(0,y.a1)(this._config.width),Lt.height=(0,y.a1)(this._config.height),Lt.minWidth=(0,y.a1)(this._config.minWidth),Lt.minHeight=(0,y.a1)(this._config.minHeight),Lt.maxWidth=(0,y.a1)(this._config.maxWidth),Lt.maxHeight=(0,y.a1)(this._config.maxHeight)}_togglePointerEvents(Lt){this._pane.style.pointerEvents=Lt?"":"none"}_attachBackdrop(){const Lt="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Lt)})}):this._backdropElement.classList.add(Lt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Lt=this._backdropElement;if(Lt){if(this._animationsDisabled)return void this._disposeBackdrop(Lt);Lt.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Lt.addEventListener("transitionend",this._backdropTransitionendHandler)}),Lt.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Lt)},500))}}_toggleClasses(Lt,be,se){const Ie=(0,y.FG)(be||[]).filter(br=>!!br);Ie.length&&(se?Lt.classList.add(...Ie):Lt.classList.remove(...Ie))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Lt=this._renders.pipe((0,I.Q)((0,z.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Lt.unsubscribe())})})}_disposeScrollStrategy(){const Lt=this._scrollStrategy;Lt&&(Lt.disable(),Lt.detach&&Lt.detach())}_disposeBackdrop(Lt){Lt&&(Lt.removeEventListener("click",this._backdropClickHandler),Lt.removeEventListener("transitionend",this._backdropTransitionendHandler),Lt.remove(),this._backdropElement===Lt&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const xe="cdk-overlay-connected-position-bounding-box",Le=/([A-Za-z%]+)$/;class gt{get positions(){return this._preferredPositions}constructor(Lt,be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.B,this._resizeSubscription=Y.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Lt)}attach(Lt){this._validatePositions(),Lt.hostElement.classList.add(xe),this._overlayRef=Lt,this._boundingBox=Lt.hostElement,this._pane=Lt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Lt=this._originRect,be=this._overlayRect,se=this._viewportRect,Ie=this._containerRect,br=[];let mt;for(let $ of this._preferredPositions){let Z=this._getOriginPoint(Lt,Ie,$),it=this._getOverlayPoint(Z,be,$),Tt=this._getOverlayFit(it,be,se,$);if(Tt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($,Z);this._canFitWithFlexibleDimensions(Tt,it,se)?br.push({position:$,origin:Z,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(Z,$)}):(!mt||mt.overlayFit.visibleAreaZ&&(Z=Tt,$=it)}return this._isPushed=!1,void this._applyPosition($.position,$.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mt.position,mt.originPoint);this._applyPosition(mt.position,mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Nt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Lt=this._lastPosition;if(Lt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const be=this._getOriginPoint(this._originRect,this._containerRect,Lt);this._applyPosition(Lt,be)}else this.apply()}withScrollableContainers(Lt){return this._scrollables=Lt,this}withPositions(Lt){return this._preferredPositions=Lt,-1===Lt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Lt){return this._viewportMargin=Lt,this}withFlexibleDimensions(Lt=!0){return this._hasFlexibleDimensions=Lt,this}withGrowAfterOpen(Lt=!0){return this._growAfterOpen=Lt,this}withPush(Lt=!0){return this._canPush=Lt,this}withLockedPosition(Lt=!0){return this._positionLocked=Lt,this}setOrigin(Lt){return this._origin=Lt,this}withDefaultOffsetX(Lt){return this._offsetX=Lt,this}withDefaultOffsetY(Lt){return this._offsetY=Lt,this}withTransformOriginOn(Lt){return this._transformOriginSelector=Lt,this}_getOriginPoint(Lt,be,se){let Ie,br;if("center"==se.originX)Ie=Lt.left+Lt.width/2;else{const mt=this._isRtl()?Lt.right:Lt.left,$=this._isRtl()?Lt.left:Lt.right;Ie="start"==se.originX?mt:$}return be.left<0&&(Ie-=be.left),br="center"==se.originY?Lt.top+Lt.height/2:"top"==se.originY?Lt.top:Lt.bottom,be.top<0&&(br-=be.top),{x:Ie,y:br}}_getOverlayPoint(Lt,be,se){let Ie,br;return Ie="center"==se.overlayX?-be.width/2:"start"===se.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,br="center"==se.overlayY?-be.height/2:"top"==se.overlayY?0:-be.height,{x:Lt.x+Ie,y:Lt.y+br}}_getOverlayFit(Lt,be,se,Ie){const br=Rt(be);let{x:mt,y:$}=Lt,Z=this._getOffset(Ie,"x"),it=this._getOffset(Ie,"y");Z&&(mt+=Z),it&&($+=it);let ye=0-$,ir=$+br.height-se.height,Je=this._subtractOverflows(br.width,0-mt,mt+br.width-se.width),er=this._subtractOverflows(br.height,ye,ir),Hr=Je*er;return{visibleArea:Hr,isCompletelyWithinViewport:br.width*br.height===Hr,fitsInViewportVertically:er===br.height,fitsInViewportHorizontally:Je==br.width}}_canFitWithFlexibleDimensions(Lt,be,se){if(this._hasFlexibleDimensions){const Ie=se.bottom-be.y,br=se.right-be.x,mt=Se(this._overlayRef.getConfig().minHeight),$=Se(this._overlayRef.getConfig().minWidth);return(Lt.fitsInViewportVertically||null!=mt&&mt<=Ie)&&(Lt.fitsInViewportHorizontally||null!=$&&$<=br)}return!1}_pushOverlayOnScreen(Lt,be,se){if(this._previousPushAmount&&this._positionLocked)return{x:Lt.x+this._previousPushAmount.x,y:Lt.y+this._previousPushAmount.y};const Ie=Rt(be),br=this._viewportRect,mt=Math.max(Lt.x+Ie.width-br.width,0),$=Math.max(Lt.y+Ie.height-br.height,0),Z=Math.max(br.top-se.top-Lt.y,0),it=Math.max(br.left-se.left-Lt.x,0);let Tt=0,It=0;return Tt=Ie.width<=br.width?it||-mt:Lt.xJe&&!this._isInitialRender&&!this._growAfterOpen&&(mt=Lt.y-Je/2)}if("end"===be.overlayX&&!Ie||"start"===be.overlayX&&Ie)ye=se.width-Lt.x+2*this._viewportMargin,Tt=Lt.x-this._viewportMargin;else if("start"===be.overlayX&&!Ie||"end"===be.overlayX&&Ie)It=Lt.x,Tt=se.right-Lt.x;else{const ir=Math.min(se.right-Lt.x+se.left,Lt.x),Je=this._lastBoundingBoxSize.width;Tt=2*ir,It=Lt.x-ir,Tt>Je&&!this._isInitialRender&&!this._growAfterOpen&&(It=Lt.x-Je/2)}return{top:mt,left:It,bottom:$,right:ye,width:Tt,height:br}}_setBoundingBoxStyles(Lt,be){const se=this._calculateBoundingBoxRect(Lt,be);!this._isInitialRender&&!this._growAfterOpen&&(se.height=Math.min(se.height,this._lastBoundingBoxSize.height),se.width=Math.min(se.width,this._lastBoundingBoxSize.width));const Ie={};if(this._hasExactPosition())Ie.top=Ie.left="0",Ie.bottom=Ie.right=Ie.maxHeight=Ie.maxWidth="",Ie.width=Ie.height="100%";else{const br=this._overlayRef.getConfig().maxHeight,mt=this._overlayRef.getConfig().maxWidth;Ie.height=(0,y.a1)(se.height),Ie.top=(0,y.a1)(se.top),Ie.bottom=(0,y.a1)(se.bottom),Ie.width=(0,y.a1)(se.width),Ie.left=(0,y.a1)(se.left),Ie.right=(0,y.a1)(se.right),Ie.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",Ie.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",br&&(Ie.maxHeight=(0,y.a1)(br)),mt&&(Ie.maxWidth=(0,y.a1)(mt))}this._lastBoundingBoxSize=se,Nt(this._boundingBox.style,Ie)}_resetBoundingBoxStyles(){Nt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Nt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Lt,be){const se={},Ie=this._hasExactPosition(),br=this._hasFlexibleDimensions,mt=this._overlayRef.getConfig();if(Ie){const Tt=this._viewportRuler.getViewportScrollPosition();Nt(se,this._getExactOverlayY(be,Lt,Tt)),Nt(se,this._getExactOverlayX(be,Lt,Tt))}else se.position="static";let $="",Z=this._getOffset(be,"x"),it=this._getOffset(be,"y");Z&&($+=`translateX(${Z}px) `),it&&($+=`translateY(${it}px)`),se.transform=$.trim(),mt.maxHeight&&(Ie?se.maxHeight=(0,y.a1)(mt.maxHeight):br&&(se.maxHeight="")),mt.maxWidth&&(Ie?se.maxWidth=(0,y.a1)(mt.maxWidth):br&&(se.maxWidth="")),Nt(this._pane.style,se)}_getExactOverlayY(Lt,be,se){let Ie={top:"",bottom:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),"bottom"===Lt.overlayY?Ie.bottom=this._document.documentElement.clientHeight-(br.y+this._overlayRect.height)+"px":Ie.top=(0,y.a1)(br.y),Ie}_getExactOverlayX(Lt,be,se){let mt,Ie={left:"",right:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),mt=this._isRtl()?"end"===Lt.overlayX?"left":"right":"end"===Lt.overlayX?"right":"left","right"===mt?Ie.right=this._document.documentElement.clientWidth-(br.x+this._overlayRect.width)+"px":Ie.left=(0,y.a1)(br.x),Ie}_getScrollVisibility(){const Lt=this._getOriginRect(),be=this._pane.getBoundingClientRect(),se=this._scrollables.map(Ie=>Ie.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:St(Lt,se),isOriginOutsideView:$t(Lt,se),isOverlayClipped:St(be,se),isOverlayOutsideView:$t(be,se)}}_subtractOverflows(Lt,...be){return be.reduce((se,Ie)=>se-Math.max(Ie,0),Lt)}_getNarrowedViewportRect(){const Lt=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,se=this._viewportRuler.getViewportScrollPosition();return{top:se.top+this._viewportMargin,left:se.left+this._viewportMargin,right:se.left+Lt-this._viewportMargin,bottom:se.top+be-this._viewportMargin,width:Lt-2*this._viewportMargin,height:be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Lt,be){return"x"===be?null==Lt.offsetX?this._offsetX:Lt.offsetX:null==Lt.offsetY?this._offsetY:Lt.offsetY}_validatePositions(){}_addPanelClasses(Lt){this._pane&&(0,y.FG)(Lt).forEach(be=>{""!==be&&-1===this._appliedPanelClasses.indexOf(be)&&(this._appliedPanelClasses.push(be),this._pane.classList.add(be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Lt=>{this._pane.classList.remove(Lt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Lt=this._origin;if(Lt instanceof c.aKT)return Lt.nativeElement.getBoundingClientRect();if(Lt instanceof Element)return Lt.getBoundingClientRect();const be=Lt.width||0,se=Lt.height||0;return{top:Lt.y,bottom:Lt.y+se,left:Lt.x,right:Lt.x+be,height:se,width:be}}}function Nt(lr,Lt){for(let be in Lt)Lt.hasOwnProperty(be)&&(lr[be]=Lt[be]);return lr}function Se(lr){if("number"!=typeof lr&&null!=lr){const[Lt,be]=lr.split(Le);return be&&"px"!==be?null:parseFloat(Lt)}return lr||null}function Rt(lr){return{top:Math.floor(lr.top),right:Math.floor(lr.right),bottom:Math.floor(lr.bottom),left:Math.floor(lr.left),width:Math.floor(lr.width),height:Math.floor(lr.height)}}const Ye="cdk-global-overlay-wrapper";class ft{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Lt){const be=Lt.getConfig();this._overlayRef=Lt,this._width&&!be.width&&Lt.updateSize({width:this._width}),this._height&&!be.height&&Lt.updateSize({height:this._height}),Lt.hostElement.classList.add(Ye),this._isDisposed=!1}top(Lt=""){return this._bottomOffset="",this._topOffset=Lt,this._alignItems="flex-start",this}left(Lt=""){return this._xOffset=Lt,this._xPosition="left",this}bottom(Lt=""){return this._topOffset="",this._bottomOffset=Lt,this._alignItems="flex-end",this}right(Lt=""){return this._xOffset=Lt,this._xPosition="right",this}start(Lt=""){return this._xOffset=Lt,this._xPosition="start",this}end(Lt=""){return this._xOffset=Lt,this._xPosition="end",this}width(Lt=""){return this._overlayRef?this._overlayRef.updateSize({width:Lt}):this._width=Lt,this}height(Lt=""){return this._overlayRef?this._overlayRef.updateSize({height:Lt}):this._height=Lt,this}centerHorizontally(Lt=""){return this.left(Lt),this._xPosition="center",this}centerVertically(Lt=""){return this.top(Lt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,se=this._overlayRef.getConfig(),{width:Ie,height:br,maxWidth:mt,maxHeight:$}=se,Z=!("100%"!==Ie&&"100vw"!==Ie||mt&&"100%"!==mt&&"100vw"!==mt),it=!("100%"!==br&&"100vh"!==br||$&&"100%"!==$&&"100vh"!==$),Tt=this._xPosition,It=this._xOffset,ye="rtl"===this._overlayRef.getConfig().direction;let ir="",Je="",er="";Z?er="flex-start":"center"===Tt?(er="center",ye?Je=It:ir=It):ye?"left"===Tt||"end"===Tt?(er="flex-end",ir=It):("right"===Tt||"start"===Tt)&&(er="flex-start",Je=It):"left"===Tt||"start"===Tt?(er="flex-start",ir=It):("right"===Tt||"end"===Tt)&&(er="flex-end",Je=It),Lt.position=this._cssPosition,Lt.marginLeft=Z?"0":ir,Lt.marginTop=it?"0":this._topOffset,Lt.marginBottom=this._bottomOffset,Lt.marginRight=Z?"0":Je,be.justifyContent=er,be.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,se=be.style;be.classList.remove(Ye),se.justifyContent=se.alignItems=Lt.marginTop=Lt.marginBottom=Lt.marginLeft=Lt.marginRight=Lt.position="",this._overlayRef=null,this._isDisposed=!0}}let pe=(()=>{class lr{constructor(be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br}global(){return new ft}flexibleConnectedTo(be){return new gt(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(o.Xj),c.KVO(s.qQ),c.KVO(k.OD),c.KVO(wr))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),Ut=0,Ee=(()=>{class lr{constructor(be,se,Ie,br,mt,$,Z,it,Tt,It,ye,ir){this.scrollStrategies=be,this._overlayContainer=se,this._componentFactoryResolver=Ie,this._positionBuilder=br,this._keyboardDispatcher=mt,this._injector=$,this._ngZone=Z,this._document=it,this._directionality=Tt,this._location=It,this._outsideClickDispatcher=ye,this._animationsModuleType=ir}create(be){const se=this._createHostElement(),Ie=this._createPaneElement(se),br=this._createPortalOutlet(Ie),mt=new at(be);return mt.direction=mt.direction||this._directionality.value,new Wr(br,se,Ie,mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(c.uvJ))}position(){return this._positionBuilder}_createPaneElement(be){const se=this._document.createElement("div");return se.id="cdk-overlay-"+Ut++,se.classList.add("cdk-overlay-pane"),be.appendChild(se),se}_createHostElement(){const be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}_createPortalOutlet(be){return this._appRef||(this._appRef=this._injector.get(c.o8S)),new O.aI(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(nt),c.KVO(wr),c.KVO(c.OM3),c.KVO(pe),c.KVO(Xe),c.KVO(c.zZn),c.KVO(c.SKi),c.KVO(s.qQ),c.KVO(T.dS),c.KVO(s.aZ),c.KVO(kr),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();const ie=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],He=new c.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const lr=(0,c.WQX)(Ee);return()=>lr.scrollStrategies.reposition()}});let Ht=(()=>{class lr{constructor(be){this.elementRef=be}static{this.\u0275fac=function(se){return new(se||lr)(c.rXU(c.aKT))}}static{this.\u0275dir=c.FsC({type:lr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return lr})(),Me=(()=>{class lr{get offsetX(){return this._offsetX}set offsetX(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(be){this._disposeOnNavigation=be}constructor(be,se,Ie,br,mt){this._overlay=be,this._dir=mt,this._backdropSubscription=Y.yU.EMPTY,this._attachSubscription=Y.yU.EMPTY,this._detachSubscription=Y.yU.EMPTY,this._positionSubscription=Y.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,c.WQX)(c.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new c.bkB,this.positionChange=new c.bkB,this.attach=new c.bkB,this.detach=new c.bkB,this.overlayKeydown=new c.bkB,this.overlayOutsideClick=new c.bkB,this._templatePortal=new O.VA(se,Ie),this._scrollStrategyFactory=br,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ie);const be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=be.detachments().subscribe(()=>this.detach.emit()),be.keydownEvents().subscribe(se=>{this.overlayKeydown.next(se),se.keyCode===q._f&&!this.disableClose&&!(0,q.rp)(se)&&(se.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(se=>{const Ie=this._getOriginElement(),br=(0,k.Fb)(se);(!Ie||Ie!==br&&!Ie.contains(br))&&this.overlayOutsideClick.next(se)})}_buildConfig(){const be=this._position=this.positionStrategy||this._createPositionStrategy(),se=new at({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(se.width=this.width),(this.height||0===this.height)&&(se.height=this.height),(this.minWidth||0===this.minWidth)&&(se.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(se.minHeight=this.minHeight),this.backdropClass&&(se.backdropClass=this.backdropClass),this.panelClass&&(se.panelClass=this.panelClass),se}_updatePositionStrategy(be){const se=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return be.setOrigin(this._getOrigin()).withPositions(se).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const be=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(be),be}_getOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ht?this.origin.elementRef.nativeElement:this.origin instanceof c.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(be=>{this.backdropClick.emit(be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,M.v)(()=>this.positionChange.observers.length>0)).subscribe(be=>{this._ngZone.run(()=>this.positionChange.emit(be)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(se){return new(se||lr)(c.rXU(Ee),c.rXU(c.C4Q),c.rXU(c.c1b),c.rXU(He),c.rXU(T.dS,8))}}static{this.\u0275dir=c.FsC({type:lr,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",c.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",c.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.L39],push:[2,"cdkConnectedOverlayPush","push",c.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[c.GFd,c.OA$]})}}return lr})();const We={provide:He,deps:[Ee],useFactory:function Pe(lr){return()=>lr.scrollStrategies.reposition()}};let Or=(()=>{class lr{static{this.\u0275fac=function(se){return new(se||lr)}}static{this.\u0275mod=c.$C({type:lr})}static{this.\u0275inj=c.G2t({providers:[Ee,We],imports:[T.jI,O.jc,o.E9,o.E9]})}}return lr})()},6860:(i,a,r)=>{"use strict";r.d(a,{BD:()=>dt,BQ:()=>L,CZ:()=>ct,Fb:()=>St,KT:()=>Mt,MU:()=>M,OD:()=>y,r5:()=>Y,v8:()=>kt,vc:()=>$t});var o=r(4438),s=r(177);let c;try{c=typeof Intl<"u"&&Intl.v8BreakIterator}catch{c=!1}let A,y=(()=>{class nt{constructor(rt){this._platformId=rt,this.isBrowser=this._platformId?(0,s.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();const I=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function M(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(I),A;let nt=document.createElement("input");return A=new Set(I.filter(at=>(nt.setAttribute("type",at),nt.type===at))),A}let T;function L(nt){return function O(){if(null==T&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>T=!0}))}finally{T=T||!1}return T}()?nt:!!nt.capture}var Y=function(nt){return nt[nt.NORMAL=0]="NORMAL",nt[nt.NEGATED=1]="NEGATED",nt[nt.INVERTED=2]="INVERTED",nt}(Y||{});let z,q,tt;function ct(){if(null==q){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return q=!1,q;if("scrollBehavior"in document.documentElement.style)q=!0;else{const nt=Element.prototype.scrollTo;q=!!nt&&!/\{\s*\[native code\]\s*\}/.test(nt.toString())}}return q}function dt(){if("object"!=typeof document||!document)return Y.NORMAL;if(null==z){const nt=document.createElement("div"),at=nt.style;nt.dir="rtl",at.width="1px",at.overflow="auto",at.visibility="hidden",at.pointerEvents="none",at.position="absolute";const rt=document.createElement("div"),yt=rt.style;yt.width="2px",yt.height="1px",nt.appendChild(rt),document.body.appendChild(nt),z=Y.NORMAL,0===nt.scrollLeft&&(nt.scrollLeft=1,z=0===nt.scrollLeft?Y.NEGATED:Y.INVERTED),nt.remove()}return z}function Mt(nt){if(function vt(){if(null==tt){const nt=typeof document<"u"?document.head:null;tt=!(!nt||!nt.createShadowRoot&&!nt.attachShadow)}return tt}()){const at=nt.getRootNode?nt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&at instanceof ShadowRoot)return at}return null}function $t(){let nt=typeof document<"u"&&document?document.activeElement:null;for(;nt&&nt.shadowRoot;){const at=nt.shadowRoot.activeElement;if(at===nt)break;nt=at}return nt}function St(nt){return nt.composedPath?nt.composedPath()[0]:nt.target}function kt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(i,a,r)=>{"use strict";r.d(a,{A8:()=>O,I3:()=>Mt,VA:()=>L,aI:()=>ct,jc:()=>St,lb:()=>z});var o=r(4438),s=r(177);class T{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class O extends T{constructor(at,rt,yt,Ct,Vt){super(),this.component=at,this.viewContainerRef=rt,this.injector=yt,this.componentFactoryResolver=Ct,this.projectableNodes=Vt}}class L extends T{constructor(at,rt,yt,Ct){super(),this.templateRef=at,this.viewContainerRef=rt,this.context=yt,this.injector=Ct}get origin(){return this.templateRef.elementRef}attach(at,rt=this.context){return this.context=rt,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class Y extends T{constructor(at){super(),this.element=at instanceof o.aKT?at.nativeElement:at}}class z{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof O?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof L?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof Y?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ct extends z{constructor(at,rt,yt,Ct,Vt){super(),this.outletElement=at,this._componentFactoryResolver=rt,this._appRef=yt,this._defaultInjector=Ct,this.attachDomPortal=Xt=>{const oe=Xt.element,Xe=this._document.createComment("dom-portal");oe.parentNode.insertBefore(Xe,oe),this.outletElement.appendChild(oe),this._attachedPortal=Xt,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(oe,Xe)})},this._document=Vt}attachComponentPortal(at){const yt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let Ct;return at.viewContainerRef?(Ct=at.viewContainerRef.createComponent(yt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector,at.projectableNodes||void 0),this.setDisposeFn(()=>Ct.destroy())):(Ct=yt.create(at.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(Ct.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ct.hostView),Ct.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ct)),this._attachedPortal=at,Ct}attachTemplatePortal(at){let rt=at.viewContainerRef,yt=rt.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return yt.rootNodes.forEach(Ct=>this.outletElement.appendChild(Ct)),yt.detectChanges(),this.setDisposeFn(()=>{let Ct=rt.indexOf(yt);-1!==Ct&&rt.remove(Ct)}),this._attachedPortal=at,yt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let Mt=(()=>{class nt extends z{constructor(rt,yt,Ct){super(),this._componentFactoryResolver=rt,this._viewContainerRef=yt,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=Vt=>{const Xt=Vt.element,oe=this._document.createComment("dom-portal");Vt.setAttachedHost(this),Xt.parentNode.insertBefore(oe,Xt),this._getRootNode().appendChild(Xt),this._attachedPortal=Vt,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(Xt,oe)})},this._document=Ct}get portal(){return this._attachedPortal}set portal(rt){this.hasAttached()&&!rt&&!this._isInitialized||(this.hasAttached()&&super.detach(),rt&&super.attach(rt),this._attachedPortal=rt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(rt){rt.setAttachedHost(this);const yt=null!=rt.viewContainerRef?rt.viewContainerRef:this._viewContainerRef,Vt=(rt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(rt.component),Xt=yt.createComponent(Vt,yt.length,rt.injector||yt.injector,rt.projectableNodes||void 0);return yt!==this._viewContainerRef&&this._getRootNode().appendChild(Xt.hostView.rootNodes[0]),super.setDisposeFn(()=>Xt.destroy()),this._attachedPortal=rt,this._attachedRef=Xt,this.attached.emit(Xt),Xt}attachTemplatePortal(rt){rt.setAttachedHost(this);const yt=this._viewContainerRef.createEmbeddedView(rt.templateRef,rt.context,{injector:rt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=rt,this._attachedRef=yt,this.attached.emit(yt),yt}_getRootNode(){const rt=this._viewContainerRef.element.nativeElement;return rt.nodeType===rt.ELEMENT_NODE?rt:rt.parentNode}static{this.\u0275fac=function(yt){return new(yt||nt)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(s.qQ))}}static{this.\u0275dir=o.FsC({type:nt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[o.Vt3]})}}return nt})(),St=(()=>{class nt{static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275mod=o.$C({type:nt})}static{this.\u0275inj=o.G2t({})}}return nt})()},5542:(i,a,r)=>{"use strict";r.d(a,{uv:()=>oe,Gj:()=>de,R:()=>Xt,E9:()=>jt,Xj:()=>kr});var o=r(4085),s=r(4438),c=r(1413),y=r(7673),k=r(1985),A=r(3726),I=r(6780),M=r(8359);const T={schedule(De){let Ye=requestAnimationFrame,ft=cancelAnimationFrame;const{delegate:pe}=T;pe&&(Ye=pe.requestAnimationFrame,ft=pe.cancelAnimationFrame);const Ut=Ye(Ee=>{ft=void 0,De(Ee)});return new M.yU(()=>ft?.(Ut))},requestAnimationFrame(...De){const{delegate:Ye}=T;return(Ye?.requestAnimationFrame||requestAnimationFrame)(...De)},cancelAnimationFrame(...De){const{delegate:Ye}=T;return(Ye?.cancelAnimationFrame||cancelAnimationFrame)(...De)},delegate:void 0};var L=r(9687);new class Y extends L.q{flush(Ye){this._active=!0;const ft=this._scheduled;this._scheduled=void 0;const{actions:pe}=this;let Ut;Ye=Ye||pe.shift();do{if(Ut=Ye.execute(Ye.state,Ye.delay))break}while((Ye=pe[0])&&Ye.id===ft&&pe.shift());if(this._active=!1,Ut){for(;(Ye=pe[0])&&Ye.id===ft&&pe.shift();)Ye.unsubscribe();throw Ut}}}(class O extends I.R{constructor(Ye,ft){super(Ye,ft),this.scheduler=Ye,this.work=ft}requestAsyncId(Ye,ft,pe=0){return null!==pe&&pe>0?super.requestAsyncId(Ye,ft,pe):(Ye.actions.push(this),Ye._scheduled||(Ye._scheduled=T.requestAnimationFrame(()=>Ye.flush(void 0))))}recycleAsyncId(Ye,ft,pe=0){var Ut;if(null!=pe?pe>0:this.delay>0)return super.recycleAsyncId(Ye,ft,pe);const{actions:Ee}=Ye;null!=ft&&(null===(Ut=Ee[Ee.length-1])||void 0===Ut?void 0:Ut.id)!==ft&&(T.cancelAnimationFrame(ft),Ye._scheduled=void 0)}});r(5007);var dt=r(3798),tt=r(5964),vt=r(6977),Mt=r(6860),$t=r(177),St=r(8203);let Xt=(()=>{class De{constructor(ft,pe,Ut){this._ngZone=ft,this._platform=pe,this._scrolled=new c.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ut}register(ft){this.scrollContainers.has(ft)||this.scrollContainers.set(ft,ft.elementScrolled().subscribe(()=>this._scrolled.next(ft)))}deregister(ft){const pe=this.scrollContainers.get(ft);pe&&(pe.unsubscribe(),this.scrollContainers.delete(ft))}scrolled(ft=20){return this._platform.isBrowser?new k.c(pe=>{this._globalSubscription||this._addGlobalListener();const Ut=ft>0?this._scrolled.pipe((0,dt.Z)(ft)).subscribe(pe):this._scrolled.subscribe(pe);return this._scrolledCount++,()=>{Ut.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ft,pe)=>this.deregister(pe)),this._scrolled.complete()}ancestorScrolled(ft,pe){const Ut=this.getAncestorScrollContainers(ft);return this.scrolled(pe).pipe((0,tt.p)(Ee=>!Ee||Ut.indexOf(Ee)>-1))}getAncestorScrollContainers(ft){const pe=[];return this.scrollContainers.forEach((Ut,Ee)=>{this._scrollableContainsElement(Ee,ft)&&pe.push(Ee)}),pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ft,pe){let Ut=(0,o.i8)(pe),Ee=ft.getElementRef().nativeElement;do{if(Ut==Ee)return!0}while(Ut=Ut.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ft=this._getWindow();return(0,A.R)(ft.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(s.SKi),s.KVO(Mt.OD),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),oe=(()=>{class De{constructor(ft,pe,Ut,Ee){this.elementRef=ft,this.scrollDispatcher=pe,this.ngZone=Ut,this.dir=Ee,this._destroyed=new c.B,this._elementScrolled=new k.c(ie=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,vt.Q)(this._destroyed)).subscribe(ie)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ft){const pe=this.elementRef.nativeElement,Ut=this.dir&&"rtl"==this.dir.value;null==ft.left&&(ft.left=Ut?ft.end:ft.start),null==ft.right&&(ft.right=Ut?ft.start:ft.end),null!=ft.bottom&&(ft.top=pe.scrollHeight-pe.clientHeight-ft.bottom),Ut&&(0,Mt.BD)()!=Mt.r5.NORMAL?(null!=ft.left&&(ft.right=pe.scrollWidth-pe.clientWidth-ft.left),(0,Mt.BD)()==Mt.r5.INVERTED?ft.left=ft.right:(0,Mt.BD)()==Mt.r5.NEGATED&&(ft.left=ft.right?-ft.right:ft.right)):null!=ft.right&&(ft.left=pe.scrollWidth-pe.clientWidth-ft.right),this._applyScrollToOptions(ft)}_applyScrollToOptions(ft){const pe=this.elementRef.nativeElement;(0,Mt.CZ)()?pe.scrollTo(ft):(null!=ft.top&&(pe.scrollTop=ft.top),null!=ft.left&&(pe.scrollLeft=ft.left))}measureScrollOffset(ft){const pe="left",Ee=this.elementRef.nativeElement;if("top"==ft)return Ee.scrollTop;if("bottom"==ft)return Ee.scrollHeight-Ee.clientHeight-Ee.scrollTop;const ie=this.dir&&"rtl"==this.dir.value;return"start"==ft?ft=ie?"right":pe:"end"==ft&&(ft=ie?pe:"right"),ie&&(0,Mt.BD)()==Mt.r5.INVERTED?ft==pe?Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft:Ee.scrollLeft:ie&&(0,Mt.BD)()==Mt.r5.NEGATED?ft==pe?Ee.scrollLeft+Ee.scrollWidth-Ee.clientWidth:-Ee.scrollLeft:ft==pe?Ee.scrollLeft:Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(Xt),s.rXU(s.SKi),s.rXU(St.dS,8))}}static{this.\u0275dir=s.FsC({type:De,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return De})(),kr=(()=>{class De{constructor(ft,pe,Ut){this._platform=ft,this._change=new c.B,this._changeListener=Ee=>{this._change.next(Ee)},this._document=Ut,pe.runOutsideAngular(()=>{if(ft.isBrowser){const Ee=this._getWindow();Ee.addEventListener("resize",this._changeListener),Ee.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ft=this._getWindow();ft.removeEventListener("resize",this._changeListener),ft.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ft={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ft}getViewportRect(){const ft=this.getViewportScrollPosition(),{width:pe,height:Ut}=this.getViewportSize();return{top:ft.top,left:ft.left,bottom:ft.top+Ut,right:ft.left+pe,height:Ut,width:pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ft=this._document,pe=this._getWindow(),Ut=ft.documentElement,Ee=Ut.getBoundingClientRect();return{top:-Ee.top||ft.body.scrollTop||pe.scrollY||Ut.scrollTop||0,left:-Ee.left||ft.body.scrollLeft||pe.scrollX||Ut.scrollLeft||0}}change(ft=20){return ft>0?this._change.pipe((0,dt.Z)(ft)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ft=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ft.innerWidth,height:ft.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(Mt.OD),s.KVO(s.SKi),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),de=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[St.jI,de,St.jI,de]})}}return De})()},7403:(i,a,r)=>{"use strict";r.d(a,{EE:()=>q,P8:()=>L,xb:()=>z});var o=r(6860),s=r(4438),c=r(4085),y=r(983),k=r(1413),A=r(3726),I=r(3798),M=r(6977),T=r(177);const O=(0,o.BQ)({passive:!0});let L=(()=>{class ct{constructor(tt,vt){this._platform=tt,this._ngZone=vt,this._monitoredElements=new Map}monitor(tt){if(!this._platform.isBrowser)return y.w;const vt=(0,c.i8)(tt),Mt=this._monitoredElements.get(vt);if(Mt)return Mt.subject;const $t=new k.B,St="cdk-text-field-autofilled",kt=nt=>{"cdk-text-field-autofill-start"!==nt.animationName||vt.classList.contains(St)?"cdk-text-field-autofill-end"===nt.animationName&&vt.classList.contains(St)&&(vt.classList.remove(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!1}))):(vt.classList.add(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{vt.addEventListener("animationstart",kt,O),vt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(vt,{subject:$t,unlisten:()=>{vt.removeEventListener("animationstart",kt,O)}}),$t}stopMonitoring(tt){const vt=(0,c.i8)(tt),Mt=this._monitoredElements.get(vt);Mt&&(Mt.unlisten(),Mt.subject.complete(),vt.classList.remove("cdk-text-field-autofill-monitored"),vt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(vt))}ngOnDestroy(){this._monitoredElements.forEach((tt,vt)=>this.stopMonitoring(vt))}static{this.\u0275fac=function(vt){return new(vt||ct)(s.KVO(o.OD),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})(),z=(()=>{class ct{get minRows(){return this._minRows}set minRows(tt){this._minRows=(0,c.OE)(tt),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(tt){this._maxRows=(0,c.OE)(tt),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(tt){this._enabled!==tt&&((this._enabled=tt)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(tt){this._cachedPlaceholderHeight=void 0,tt?this._textareaElement.setAttribute("placeholder",tt):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(tt,vt,Mt,$t){this._elementRef=tt,this._platform=vt,this._ngZone=Mt,this._destroyed=new k.B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=St=>{this._hasFocus="focus"===St.type},this._document=$t,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const tt=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.minHeight=tt)}_setMaxHeight(){const tt=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.maxHeight=tt)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const tt=this._getWindow();(0,A.R)(tt,"resize").pipe((0,I.Z)(16),(0,M.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let tt=this._textareaElement.cloneNode(!1);tt.rows=1,tt.style.position="absolute",tt.style.visibility="hidden",tt.style.border="none",tt.style.padding="0",tt.style.height="",tt.style.minHeight="",tt.style.maxHeight="",tt.style.overflow="hidden",this._textareaElement.parentNode.appendChild(tt),this._cachedLineHeight=tt.clientHeight,tt.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const tt=this._textareaElement,vt=tt.style.marginBottom||"",Mt=this._platform.FIREFOX,$t=Mt&&this._hasFocus,St=Mt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";$t&&(tt.style.marginBottom=`${tt.clientHeight}px`),tt.classList.add(St);const kt=tt.scrollHeight-4;return tt.classList.remove(St),$t&&(tt.style.marginBottom=vt),kt}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const tt=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=tt}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(tt=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const vt=this._elementRef.nativeElement,Mt=vt.value;if(!tt&&this._minRows===this._previousMinRows&&Mt===this._previousValue)return;const $t=this._measureScrollHeight(),St=Math.max($t,this._cachedPlaceholderHeight||0);vt.style.height=`${St}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(vt)):setTimeout(()=>this._scrollToCaretPosition(vt))}),this._previousValue=Mt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(tt){const{selectionStart:vt,selectionEnd:Mt}=tt;!this._destroyed.isStopped&&this._hasFocus&&tt.setSelectionRange(vt,Mt)}static{this.\u0275fac=function(vt){return new(vt||ct)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(T.qQ,8))}}static{this.\u0275dir=s.FsC({type:ct,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(vt,Mt){1&vt&&s.bIt("input",function(){return Mt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",s.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[s.GFd]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275mod=s.$C({type:ct})}static{this.\u0275inj=s.G2t({})}}return ct})()},177:(i,a,r)=>{"use strict";r.d(a,{AJ:()=>ii,B3:()=>xo,Jj:()=>Fn,MD:()=>Va,N0:()=>ia,P9:()=>ma,PV:()=>ja,QT:()=>c,Sm:()=>dt,Sq:()=>ce,T3:()=>So,UE:()=>Qi,VF:()=>k,Vy:()=>ps,Xr:()=>za,YU:()=>Co,ZD:()=>y,_b:()=>ao,aZ:()=>vt,bT:()=>Dt,fw:()=>tt,hb:()=>q,hj:()=>T,jo:()=>Zi,qQ:()=>I,vh:()=>ka});var o=r(4438);let s=null;function c(){return s}function y(B){s??=B}class k{}const I=new o.nKC("");let M=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(O),providedIn:"platform"})}}return B})();const T=new o.nKC("");let O=(()=>{class B extends M{constructor(){super(),this._doc=(0,o.WQX)(I),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("popstate",x,!1),()=>C.removeEventListener("popstate",x)}onHashChange(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("hashchange",x,!1),()=>C.removeEventListener("hashchange",x)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(x){this._location.pathname=x}pushState(x,C,F){this._history.pushState(x,C,F)}replaceState(x,C,F){this._history.replaceState(x,C,F)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>new B,providedIn:"platform"})}}return B})();function L(B,Et){if(0==B.length)return Et;if(0==Et.length)return B;let x=0;return B.endsWith("/")&&x++,Et.startsWith("/")&&x++,2==x?B+Et.substring(1):1==x?B+Et:B+"/"+Et}function Y(B){const Et=B.match(/#|\?|$/),x=Et&&Et.index||B.length;return B.slice(0,x-("/"===B[x-1]?1:0))+B.slice(x)}function z(B){return B&&"?"!==B[0]?"?"+B:B}let q=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(dt),providedIn:"root"})}}return B})();const ct=new o.nKC("");let dt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=C??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(I).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return L(this._baseHref,x)}path(x=!1){const C=this._platformLocation.pathname+z(this._platformLocation.search),F=this._platformLocation.hash;return F&&x?`${C}${F}`:C}pushState(x,C,F,ht){const Ot=this.prepareExternalUrl(F+z(ht));this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,ht){const Ot=this.prepareExternalUrl(F+z(ht));this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(M),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})(),tt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=C&&(this._baseHref=C)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){const C=this._platformLocation.hash??"#";return C.length>0?C.substring(1):C}prepareExternalUrl(x){const C=L(this._baseHref,x);return C.length>0?"#"+C:C}pushState(x,C,F,ht){let Ot=this.prepareExternalUrl(F+z(ht));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,ht){let Ot=this.prepareExternalUrl(F+z(ht));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(M),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})(),vt=(()=>{class B{constructor(x){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const C=this._locationStrategy.getBaseHref();this._basePath=function kt(B){if(new RegExp("^(https?:)?//").test(B)){const[,x]=B.split(/\/\/[^\/]+/);return x}return B}(Y(St(C))),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,C=""){return this.path()==this.normalize(x+z(C))}normalize(x){return B.stripTrailingSlash(function $t(B,Et){if(!B||!Et.startsWith(B))return Et;const x=Et.substring(B.length);return""===x||["/",";","?","#"].includes(x[0])?x:Et}(this._basePath,St(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,C="",F=null){this._locationStrategy.pushState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+z(C)),F)}replaceState(x,C="",F=null){this._locationStrategy.replaceState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+z(C)),F)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription??=this.subscribe(C=>{this._notifyUrlChangeListeners(C.url,C.state)}),()=>{const C=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(C,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",C){this._urlChangeListeners.forEach(F=>F(x,C))}subscribe(x,C,F){return this._subject.subscribe({next:x,error:C,complete:F})}static{this.normalizeQueryParams=z}static{this.joinWithSlash=L}static{this.stripTrailingSlash=Y}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:B,factory:()=>function Mt(){return new vt((0,o.KVO)(q))}(),providedIn:"root"})}}return B})();function St(B){return B.replace(/\/index.html$/,"")}var rt=function(B){return B[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B}(rt||{}),yt=function(B){return B[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B}(yt||{}),Ct=function(B){return B[B.Narrow=0]="Narrow",B[B.Abbreviated=1]="Abbreviated",B[B.Wide=2]="Wide",B[B.Short=3]="Short",B}(Ct||{}),Vt=function(B){return B[B.Short=0]="Short",B[B.Medium=1]="Medium",B[B.Long=2]="Long",B[B.Full=3]="Full",B}(Vt||{});const Xt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function gt(B,Et){return Ht((0,o.H5H)(B)[o.KH2.DateFormat],Et)}function Nt(B,Et){return Ht((0,o.H5H)(B)[o.KH2.TimeFormat],Et)}function Se(B,Et){return Ht((0,o.H5H)(B)[o.KH2.DateTimeFormat],Et)}function Rt(B,Et){const x=(0,o.H5H)(B),C=x[o.KH2.NumberSymbols][Et];if(typeof C>"u"){if(Et===Xt.CurrencyDecimal)return x[o.KH2.NumberSymbols][Xt.Decimal];if(Et===Xt.CurrencyGroup)return x[o.KH2.NumberSymbols][Xt.Group]}return C}const pe=o.mq5;function Ut(B){if(!B[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ht(B,Et){for(let x=Et;x>-1;x--)if(typeof B[x]<"u")return B[x];throw new Error("Locale data API: locale data undefined")}function Me(B){const[Et,x]=B.split(":");return{hours:+Et,minutes:+x}}const ko=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,lr={},Lt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var be=function(B){return B[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B}(be||{}),se=function(B){return B[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B}(se||{}),Ie=function(B){return B[B.DayPeriods=0]="DayPeriods",B[B.Days=1]="Days",B[B.Months=2]="Months",B[B.Eras=3]="Eras",B}(Ie||{});function br(B,Et,x,C){let F=function Ro(B){if(tr(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[F,ht=1,Ot=1]=B.split("-").map(ae=>+ae);return mt(F,ht-1,Ot)}const x=parseFloat(B);if(!isNaN(B-x))return new Date(x);let C;if(C=B.match(ko))return function Wo(B){const Et=new Date(0);let x=0,C=0;const F=B[8]?Et.setUTCFullYear:Et.setFullYear,ht=B[8]?Et.setUTCHours:Et.setHours;B[9]&&(x=Number(B[9]+B[10]),C=Number(B[9]+B[11])),F.call(Et,Number(B[1]),Number(B[2])-1,Number(B[3]));const Ot=Number(B[4]||0)-x,ae=Number(B[5]||0)-C,Ue=Number(B[6]||0),Ve=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return ht.call(Et,Ot,ae,Ue,Ve),Et}(C)}const Et=new Date(B);if(!tr(Et))throw new Error(`Unable to convert "${B}" into a date`);return Et}(B);Et=$(x,Et)||Et;let ae,Ot=[];for(;Et;){if(ae=Lt.exec(Et),!ae){Ot.push(Et);break}{Ot=Ot.concat(ae.slice(1));const Ze=Ot.pop();if(!Ze)break;Et=Ze}}let Ue=F.getTimezoneOffset();C&&(Ue=ue(C,Ue),F=function Qr(B,Et,x){const C=x?-1:1,F=B.getTimezoneOffset();return function mr(B,Et){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+Et),B}(B,C*(ue(Et,F)-F))}(F,C,!0));let Ve="";return Ot.forEach(Ze=>{const sr=function Pt(B){if(qt[B])return qt[B];let Et;switch(B){case"G":case"GG":case"GGG":Et=ir(Ie.Eras,Ct.Abbreviated);break;case"GGGG":Et=ir(Ie.Eras,Ct.Wide);break;case"GGGGG":Et=ir(Ie.Eras,Ct.Narrow);break;case"y":Et=It(se.FullYear,1,0,!1,!0);break;case"yy":Et=It(se.FullYear,2,0,!0,!0);break;case"yyy":Et=It(se.FullYear,3,0,!1,!0);break;case"yyyy":Et=It(se.FullYear,4,0,!1,!0);break;case"Y":Et=re(1);break;case"YY":Et=re(2,!0);break;case"YYY":Et=re(3);break;case"YYYY":Et=re(4);break;case"M":case"L":Et=It(se.Month,1,1);break;case"MM":case"LL":Et=It(se.Month,2,1);break;case"MMM":Et=ir(Ie.Months,Ct.Abbreviated);break;case"MMMM":Et=ir(Ie.Months,Ct.Wide);break;case"MMMMM":Et=ir(Ie.Months,Ct.Narrow);break;case"LLL":Et=ir(Ie.Months,Ct.Abbreviated,yt.Standalone);break;case"LLLL":Et=ir(Ie.Months,Ct.Wide,yt.Standalone);break;case"LLLLL":Et=ir(Ie.Months,Ct.Narrow,yt.Standalone);break;case"w":Et=Pr(1);break;case"ww":Et=Pr(2);break;case"W":Et=Pr(1,!0);break;case"d":Et=It(se.Date,1);break;case"dd":Et=It(se.Date,2);break;case"c":case"cc":Et=It(se.Day,1);break;case"ccc":Et=ir(Ie.Days,Ct.Abbreviated,yt.Standalone);break;case"cccc":Et=ir(Ie.Days,Ct.Wide,yt.Standalone);break;case"ccccc":Et=ir(Ie.Days,Ct.Narrow,yt.Standalone);break;case"cccccc":Et=ir(Ie.Days,Ct.Short,yt.Standalone);break;case"E":case"EE":case"EEE":Et=ir(Ie.Days,Ct.Abbreviated);break;case"EEEE":Et=ir(Ie.Days,Ct.Wide);break;case"EEEEE":Et=ir(Ie.Days,Ct.Narrow);break;case"EEEEEE":Et=ir(Ie.Days,Ct.Short);break;case"a":case"aa":case"aaa":Et=ir(Ie.DayPeriods,Ct.Abbreviated);break;case"aaaa":Et=ir(Ie.DayPeriods,Ct.Wide);break;case"aaaaa":Et=ir(Ie.DayPeriods,Ct.Narrow);break;case"b":case"bb":case"bbb":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Standalone,!0);break;case"bbbb":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Standalone,!0);break;case"bbbbb":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Standalone,!0);break;case"B":case"BB":case"BBB":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Format,!0);break;case"BBBB":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Format,!0);break;case"BBBBB":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Format,!0);break;case"h":Et=It(se.Hours,1,-12);break;case"hh":Et=It(se.Hours,2,-12);break;case"H":Et=It(se.Hours,1);break;case"HH":Et=It(se.Hours,2);break;case"m":Et=It(se.Minutes,1);break;case"mm":Et=It(se.Minutes,2);break;case"s":Et=It(se.Seconds,1);break;case"ss":Et=It(se.Seconds,2);break;case"S":Et=It(se.FractionalSeconds,1);break;case"SS":Et=It(se.FractionalSeconds,2);break;case"SSS":Et=It(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Et=er(be.Short);break;case"ZZZZZ":Et=er(be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Et=er(be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Et=er(be.Long);break;default:return null}return qt[B]=Et,Et}(Ze);Ve+=sr?sr(F,x,Ue):"''"===Ze?"'":Ze.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ve}function mt(B,Et,x){const C=new Date(0);return C.setFullYear(B,Et,x),C.setHours(0,0,0),C}function $(B,Et){const x=function Xe(B){return(0,o.H5H)(B)[o.KH2.LocaleId]}(B);if(lr[x]??={},lr[x][Et])return lr[x][Et];let C="";switch(Et){case"shortDate":C=gt(B,Vt.Short);break;case"mediumDate":C=gt(B,Vt.Medium);break;case"longDate":C=gt(B,Vt.Long);break;case"fullDate":C=gt(B,Vt.Full);break;case"shortTime":C=Nt(B,Vt.Short);break;case"mediumTime":C=Nt(B,Vt.Medium);break;case"longTime":C=Nt(B,Vt.Long);break;case"fullTime":C=Nt(B,Vt.Full);break;case"short":const F=$(B,"shortTime"),ht=$(B,"shortDate");C=Z(Se(B,Vt.Short),[F,ht]);break;case"medium":const Ot=$(B,"mediumTime"),ae=$(B,"mediumDate");C=Z(Se(B,Vt.Medium),[Ot,ae]);break;case"long":const Ue=$(B,"longTime"),Ve=$(B,"longDate");C=Z(Se(B,Vt.Long),[Ue,Ve]);break;case"full":const Ze=$(B,"fullTime"),sr=$(B,"fullDate");C=Z(Se(B,Vt.Full),[Ze,sr])}return C&&(lr[x][Et]=C),C}function Z(B,Et){return Et&&(B=B.replace(/\{([^}]+)}/g,function(x,C){return null!=Et&&C in Et?Et[C]:x})),B}function it(B,Et,x="-",C,F){let ht="";(B<0||F&&B<=0)&&(F?B=1-B:(B=-B,ht=x));let Ot=String(B);for(;Ot.length0||ae>-x)&&(ae+=x),B===se.Hours)0===ae&&-12===x&&(ae=12);else if(B===se.FractionalSeconds)return function Tt(B,Et){return it(B,3).substring(0,Et)}(ae,Et);const Ue=Rt(Ot,Xt.MinusSign);return it(ae,Et,Ue,C,F)}}function ir(B,Et,x=yt.Format,C=!1){return function(F,ht){return function Je(B,Et,x,C,F,ht){switch(x){case Ie.Months:return function wr(B,Et,x){const C=(0,o.H5H)(B),ht=Ht([C[o.KH2.MonthsFormat],C[o.KH2.MonthsStandalone]],Et);return Ht(ht,x)}(Et,F,C)[B.getMonth()];case Ie.Days:return function gr(B,Et,x){const C=(0,o.H5H)(B),ht=Ht([C[o.KH2.DaysFormat],C[o.KH2.DaysStandalone]],Et);return Ht(ht,x)}(Et,F,C)[B.getDay()];case Ie.DayPeriods:const Ot=B.getHours(),ae=B.getMinutes();if(ht){const Ve=function Ee(B){const Et=(0,o.H5H)(B);return Ut(Et),(Et[o.KH2.ExtraData][2]||[]).map(C=>"string"==typeof C?Me(C):[Me(C[0]),Me(C[1])])}(Et),Ze=function ie(B,Et,x){const C=(0,o.H5H)(B);Ut(C);const ht=Ht([C[o.KH2.ExtraData][0],C[o.KH2.ExtraData][1]],Et)||[];return Ht(ht,x)||[]}(Et,F,C),sr=Ve.findIndex(Ir=>{if(Array.isArray(Ir)){const[ze,nr]=Ir,_r=Ot>=ze.hours&&ae>=ze.minutes,Yr=Ot0?Math.floor(F/60):Math.ceil(F/60);switch(B){case be.Short:return(F>=0?"+":"")+it(Ot,2,ht)+it(Math.abs(F%60),2,ht);case be.ShortGMT:return"GMT"+(F>=0?"+":"")+it(Ot,1,ht);case be.Long:return"GMT"+(F>=0?"+":"")+it(Ot,2,ht)+":"+it(Math.abs(F%60),2,ht);case be.Extended:return 0===C?"Z":(F>=0?"+":"")+it(Ot,2,ht)+":"+it(Math.abs(F%60),2,ht);default:throw new Error(`Unknown zone width "${B}"`)}}}const Hr=0,eo=4;function fr(B){const Et=B.getDay(),x=0===Et?-3:eo-Et;return mt(B.getFullYear(),B.getMonth(),B.getDate()+x)}function Pr(B,Et=!1){return function(x,C){let F;if(Et){const ht=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,Ot=x.getDate();F=1+Math.floor((Ot+ht)/7)}else{const ht=fr(x),Ot=function Bo(B){const Et=mt(B,Hr,1).getDay();return mt(B,0,1+(Et<=eo?eo:eo+7)-Et)}(ht.getFullYear()),ae=ht.getTime()-Ot.getTime();F=1+Math.round(ae/6048e5)}return it(F,B,Rt(C,Xt.MinusSign))}}function re(B,Et=!1){return function(x,C){return it(fr(x).getFullYear(),B,Rt(C,Xt.MinusSign),Et)}}const qt={};function ue(B,Et){B=B.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(x)?Et:x}function tr(B){return B instanceof Date&&!isNaN(B.valueOf())}let Ke=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:function(C){let F=null;return C?F=new C:(ht=o.KVO(o.xe9),F=new Lr(ht)),F;var ht},providedIn:"root"})}}return B})();let Lr=(()=>{class B extends Ke{constructor(x){super(),this.locale=x}getPluralCategory(x,C){switch(pe(C||this.locale)(x)){case rt.Zero:return"zero";case rt.One:return"one";case rt.Two:return"two";case rt.Few:return"few";case rt.Many:return"many";default:return"other"}}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(o.xe9))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})();function ao(B,Et){Et=encodeURIComponent(Et);for(const x of B.split(";")){const C=x.indexOf("="),[F,ht]=-1==C?[x,""]:[x.slice(0,C),x.slice(C+1)];if(F.trim()===Et)return decodeURIComponent(ht)}return null}const no=/\s+/,vo=[];let Co=(()=>{class B{constructor(x,C){this._ngEl=x,this._renderer=C,this.initialClasses=vo,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(no):vo}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(no):x}ngDoCheck(){for(const C of this.initialClasses)this._updateState(C,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const C of x)this._updateState(C,!0);else if(null!=x)for(const C of Object.keys(x))this._updateState(C,!!x[C]);this._applyStateDiff()}_updateState(x,C){const F=this.stateMap.get(x);void 0!==F?(F.enabled!==C&&(F.changed=!0,F.enabled=C),F.touched=!0):this.stateMap.set(x,{enabled:C,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const C=x[0],F=x[1];F.changed?(this._toggleClass(C,F.enabled),F.changed=!1):F.touched||(F.enabled&&this._toggleClass(C,!1),this.stateMap.delete(C)),F.touched=!1}}_toggleClass(x,C){(x=x.trim()).length>0&&x.split(no).forEach(F=>{C?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return B})();class he{constructor(Et,x,C,F){this.$implicit=Et,this.ngForOf=x,this.index=C,this.count=F}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ce=(()=>{class B{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,C,F){this._viewContainer=x,this._template=C,this._differs=F,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const C=this._viewContainer;x.forEachOperation((F,ht,Ot)=>{if(null==F.previousIndex)C.createEmbeddedView(this._template,new he(F.item,this._ngForOf,-1,-1),null===Ot?void 0:Ot);else if(null==Ot)C.remove(null===ht?void 0:ht);else if(null!==ht){const ae=C.get(ht);C.move(ae,Ot),pt(ae,F)}});for(let F=0,ht=C.length;F{pt(C.get(F.currentIndex),F)})}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return B})();function pt(B,Et){B.context.$implicit=Et.item}let Dt=(()=>{class B{constructor(x,C){this._viewContainer=x,this._context=new ne,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=C}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Re("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Re("ngIfElse",x),this._elseTemplateRef=x,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return B})();class ne{constructor(){this.$implicit=null,this.ngIf=null}}function Re(B,Et){if(Et&&!Et.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,o.Tbb)(Et)}'.`)}let xo=(()=>{class B{constructor(x,C,F){this._ngEl=x,this._differs=C,this._renderer=F,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,C){const[F,ht]=x.split("."),Ot=-1===F.indexOf("-")?void 0:o.czy.DashCase;null!=C?this._renderer.setStyle(this._ngEl.nativeElement,F,ht?`${C}${ht}`:C,Ot):this._renderer.removeStyle(this._ngEl.nativeElement,F,Ot)}_applyChanges(x){x.forEachRemovedItem(C=>this._setStyle(C.key,null)),x.forEachAddedItem(C=>this._setStyle(C.key,C.currentValue)),x.forEachChangedItem(C=>this._setStyle(C.key,C.currentValue))}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.MKu),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return B})(),So=(()=>{class B{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(x){if(this._shouldRecreateView(x)){const C=this._viewContainerRef;if(this._viewRef&&C.remove(C.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const F=this._createContextForwardProxy();this._viewRef=C.createEmbeddedView(this.ngTemplateOutlet,F,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(x){return!!x.ngTemplateOutlet||!!x.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(x,C,F)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,C,F),get:(x,C,F)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,C,F)}})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return B})();function io(B,Et){return new o.wOt(2100,!1)}class Yn{createSubscription(Et,x){return(0,o.O8t)(()=>Et.subscribe({next:x,error:C=>{throw C}}))}dispose(Et){(0,o.O8t)(()=>Et.unsubscribe())}}class Di{createSubscription(Et,x){return Et.then(x,C=>{throw C})}dispose(Et){}}const jn=new Di,Uo=new Yn;let Fn=(()=>{class B{constructor(x){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){if(!this._obj){if(x)try{this.markForCheckOnValueUpdate=!1,this._subscribe(x)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,C=>this._updateLatestValue(x,C))}_selectStrategy(x){if((0,o.jNT)(x))return jn;if((0,o.zjR)(x))return Uo;throw io()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,C){x===this._obj&&(this._latestValue=C,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:B,pure:!1,standalone:!0})}}return B})();const nn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ja=(()=>{class B{transform(x){if(null==x)return null;if("string"!=typeof x)throw io();return x.replace(nn,C=>C[0].toUpperCase()+C.slice(1).toLowerCase())}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"titlecase",type:B,pure:!0,standalone:!0})}}return B})();const us=new o.nKC(""),da=new o.nKC("");let ka=(()=>{class B{constructor(x,C,F){this.locale=x,this.defaultTimezone=C,this.defaultOptions=F}transform(x,C,F,ht){if(null==x||""===x||x!=x)return null;try{return br(x,C??this.defaultOptions?.dateFormat??"mediumDate",ht||this.locale,F??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ot){throw io()}}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.xe9,16),o.rXU(us,24),o.rXU(da,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:B,pure:!0,standalone:!0})}}return B})();const Ai=/#/g;let Zi=(()=>{class B{constructor(x){this._localization=x}transform(x,C,F){if(null==x)return"";if("object"!=typeof C||null===C)throw io();return C[function Dr(B,Et,x,C){let F=`=${B}`;if(Et.indexOf(F)>-1||(F=x.getPluralCategory(B,C),Et.indexOf(F)>-1))return F;if(Et.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${B}"`)}(x,Object.keys(C),this._localization,F)].replace(Ai,x.toString())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(Ke,16))}}static{this.\u0275pipe=o.EJ8({name:"i18nPlural",type:B,pure:!0,standalone:!0})}}return B})(),ma=(()=>{class B{transform(x,C,F){if(null==x)return null;if(!this.supports(x))throw io();return x.slice(C,F)}supports(x){return"string"==typeof x||Array.isArray(x)}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"slice",type:B,pure:!1,standalone:!0})}}return B})(),Va=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275mod=o.$C({type:B})}static{this.\u0275inj=o.G2t({})}}return B})();const ii="browser",mi="server";function Qi(B){return B===ii}function ps(B){return B===mi}let za=(()=>{class B{static{this.\u0275prov=(0,o.jDH)({token:B,providedIn:"root",factory:()=>Qi((0,o.WQX)(o.Agw))?new hi((0,o.WQX)(I),window):new On})}}return B})();class hi{constructor(Et,x){this.document=Et,this.window=x,this.offset=()=>[0,0]}setOffset(Et){this.offset=Array.isArray(Et)?()=>Et:Et}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Et){this.window.scrollTo(Et[0],Et[1])}scrollToAnchor(Et){const x=function Jo(B,Et){const x=B.getElementById(Et)||B.getElementsByName(Et)[0];if(x)return x;if("function"==typeof B.createTreeWalker&&B.body&&"function"==typeof B.body.attachShadow){const C=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let F=C.currentNode;for(;F;){const ht=F.shadowRoot;if(ht){const Ot=ht.getElementById(Et)||ht.querySelector(`[name="${Et}"]`);if(Ot)return Ot}F=C.nextNode()}}return null}(this.document,Et);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(Et){this.window.history.scrollRestoration=Et}scrollToElement(Et){const x=Et.getBoundingClientRect(),C=x.left+this.window.pageXOffset,F=x.top+this.window.pageYOffset,ht=this.offset();this.window.scrollTo(C-ht[0],F-ht[1])}}class On{setOffset(Et){}getScrollPosition(){return[0,0]}scrollToPosition(Et){}scrollToAnchor(Et){}setHistoryScrollRestoration(Et){}}class ia{}},1626:(i,a,r)=>{"use strict";r.d(a,{$R:()=>Qr,Nl:()=>kt,Qq:()=>Se,b$:()=>Ro,cS:()=>wr,yz:()=>Wr});var o=r(467),s=r(4438),c=r(7673),y=r(1985),k=r(6648),A=r(274),I=r(5964),M=r(6354),T=r(980),O=r(5558),L=r(177);class Y{}class z{}class q{constructor(he){this.normalizedNames=new Map,this.lazyUpdate=null,he?"string"==typeof he?this.lazyInit=()=>{this.headers=new Map,he.split("\n").forEach(ce=>{const pt=ce.indexOf(":");if(pt>0){const Gt=ce.slice(0,pt),Dt=Gt.toLowerCase(),ne=ce.slice(pt+1).trim();this.maybeSetNormalizedName(Gt,Dt),this.headers.has(Dt)?this.headers.get(Dt).push(ne):this.headers.set(Dt,[ne])}})}:typeof Headers<"u"&&he instanceof Headers?(this.headers=new Map,he.forEach((ce,pt)=>{this.setHeaderEntries(pt,ce)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(he).forEach(([ce,pt])=>{this.setHeaderEntries(ce,pt)})}:this.headers=new Map}has(he){return this.init(),this.headers.has(he.toLowerCase())}get(he){this.init();const ce=this.headers.get(he.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(he){return this.init(),this.headers.get(he.toLowerCase())||null}append(he,ce){return this.clone({name:he,value:ce,op:"a"})}set(he,ce){return this.clone({name:he,value:ce,op:"s"})}delete(he,ce){return this.clone({name:he,value:ce,op:"d"})}maybeSetNormalizedName(he,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,he)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(he=>this.applyUpdate(he)),this.lazyUpdate=null))}copyFrom(he){he.init(),Array.from(he.headers.keys()).forEach(ce=>{this.headers.set(ce,he.headers.get(ce)),this.normalizedNames.set(ce,he.normalizedNames.get(ce))})}clone(he){const ce=new q;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([he]),ce}applyUpdate(he){const ce=he.name.toLowerCase();switch(he.op){case"a":case"s":let pt=he.value;if("string"==typeof pt&&(pt=[pt]),0===pt.length)return;this.maybeSetNormalizedName(he.name,ce);const Gt=("a"===he.op?this.headers.get(ce):void 0)||[];Gt.push(...pt),this.headers.set(ce,Gt);break;case"d":const Dt=he.value;if(Dt){let ne=this.headers.get(ce);if(!ne)return;ne=ne.filter(Re=>-1===Dt.indexOf(Re)),0===ne.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,ne)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}setHeaderEntries(he,ce){const pt=(Array.isArray(ce)?ce:[ce]).map(Dt=>Dt.toString()),Gt=he.toLowerCase();this.headers.set(Gt,pt),this.maybeSetNormalizedName(he,Gt)}forEach(he){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>he(this.normalizedNames.get(ce),this.headers.get(ce)))}}class dt{encodeKey(he){return $t(he)}encodeValue(he){return $t(he)}decodeKey(he){return decodeURIComponent(he)}decodeValue(he){return decodeURIComponent(he)}}const vt=/%(\d[a-f0-9])/gi,Mt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $t(zt){return encodeURIComponent(zt).replace(vt,(he,ce)=>Mt[ce]??he)}function St(zt){return`${zt}`}class kt{constructor(he={}){if(this.updates=null,this.cloneFrom=null,this.encoder=he.encoder||new dt,he.fromString){if(he.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tt(zt,he){const ce=new Map;return zt.length>0&&zt.replace(/^\?/,"").split("&").forEach(Gt=>{const Dt=Gt.indexOf("="),[ne,Re]=-1==Dt?[he.decodeKey(Gt),""]:[he.decodeKey(Gt.slice(0,Dt)),he.decodeValue(Gt.slice(Dt+1))],Ce=ce.get(ne)||[];Ce.push(Re),ce.set(ne,Ce)}),ce}(he.fromString,this.encoder)}else he.fromObject?(this.map=new Map,Object.keys(he.fromObject).forEach(ce=>{const pt=he.fromObject[ce],Gt=Array.isArray(pt)?pt.map(St):[St(pt)];this.map.set(ce,Gt)})):this.map=null}has(he){return this.init(),this.map.has(he)}get(he){this.init();const ce=this.map.get(he);return ce?ce[0]:null}getAll(he){return this.init(),this.map.get(he)||null}keys(){return this.init(),Array.from(this.map.keys())}append(he,ce){return this.clone({param:he,value:ce,op:"a"})}appendAll(he){const ce=[];return Object.keys(he).forEach(pt=>{const Gt=he[pt];Array.isArray(Gt)?Gt.forEach(Dt=>{ce.push({param:pt,value:Dt,op:"a"})}):ce.push({param:pt,value:Gt,op:"a"})}),this.clone(ce)}set(he,ce){return this.clone({param:he,value:ce,op:"s"})}delete(he,ce){return this.clone({param:he,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(he=>{const ce=this.encoder.encodeKey(he);return this.map.get(he).map(pt=>ce+"="+this.encoder.encodeValue(pt)).join("&")}).filter(he=>""!==he).join("&")}clone(he){const ce=new kt({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(he),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(he=>this.map.set(he,this.cloneFrom.map.get(he))),this.updates.forEach(he=>{switch(he.op){case"a":case"s":const ce=("a"===he.op?this.map.get(he.param):void 0)||[];ce.push(St(he.value)),this.map.set(he.param,ce);break;case"d":if(void 0===he.value){this.map.delete(he.param);break}{let pt=this.map.get(he.param)||[];const Gt=pt.indexOf(St(he.value));-1!==Gt&&pt.splice(Gt,1),pt.length>0?this.map.set(he.param,pt):this.map.delete(he.param)}}}),this.cloneFrom=this.updates=null)}}class at{constructor(){this.map=new Map}set(he,ce){return this.map.set(he,ce),this}get(he){return this.map.has(he)||this.map.set(he,he.defaultValue()),this.map.get(he)}delete(he){return this.map.delete(he),this}has(he){return this.map.has(he)}keys(){return this.map.keys()}}function yt(zt){return typeof ArrayBuffer<"u"&&zt instanceof ArrayBuffer}function Ct(zt){return typeof Blob<"u"&&zt instanceof Blob}function Vt(zt){return typeof FormData<"u"&&zt instanceof FormData}class oe{constructor(he,ce,pt,Gt){let Dt;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=he.toUpperCase(),function rt(zt){switch(zt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Gt?(this.body=void 0!==pt?pt:null,Dt=Gt):Dt=pt,Dt&&(this.reportProgress=!!Dt.reportProgress,this.withCredentials=!!Dt.withCredentials,Dt.responseType&&(this.responseType=Dt.responseType),Dt.headers&&(this.headers=Dt.headers),Dt.context&&(this.context=Dt.context),Dt.params&&(this.params=Dt.params),this.transferCache=Dt.transferCache),this.headers??=new q,this.context??=new at,this.params){const ne=this.params.toString();if(0===ne.length)this.urlWithParams=ce;else{const Re=ce.indexOf("?");this.urlWithParams=ce+(-1===Re?"?":ReNr.set(Fr,he.setHeaders[Fr]),or)),he.setParams&&(Cr=Object.keys(he.setParams).reduce((Nr,Fr)=>Nr.set(Fr,he.setParams[Fr]),Cr)),new oe(ce,pt,ne,{params:Cr,headers:or,context:Er,reportProgress:Ce,responseType:Gt,withCredentials:Re,transferCache:Dt})}}var Xe=function(zt){return zt[zt.Sent=0]="Sent",zt[zt.UploadProgress=1]="UploadProgress",zt[zt.ResponseHeader=2]="ResponseHeader",zt[zt.DownloadProgress=3]="DownloadProgress",zt[zt.Response=4]="Response",zt[zt.User=5]="User",zt}(Xe||{});class kr{constructor(he,ce=200,pt="OK"){this.headers=he.headers||new q,this.status=void 0!==he.status?he.status:ce,this.statusText=he.statusText||pt,this.url=he.url||null,this.ok=this.status>=200&&this.status<300}}class gr extends kr{constructor(he={}){super(he),this.type=Xe.ResponseHeader}clone(he={}){return new gr({headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class wr extends kr{constructor(he={}){super(he),this.type=Xe.Response,this.body=void 0!==he.body?he.body:null}clone(he={}){return new wr({body:void 0!==he.body?he.body:this.body,headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class Wr extends kr{constructor(he){super(he,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${he.url||"(unknown url)"}`:`Http failure response for ${he.url||"(unknown url)"}: ${he.status} ${he.statusText}`,this.error=he.error||null}}function Nt(zt,he){return{body:he,headers:zt.headers,context:zt.context,observe:zt.observe,params:zt.params,reportProgress:zt.reportProgress,responseType:zt.responseType,withCredentials:zt.withCredentials,transferCache:zt.transferCache}}let Se=(()=>{class zt{constructor(ce){this.handler=ce}request(ce,pt,Gt={}){let Dt;if(ce instanceof oe)Dt=ce;else{let Ce,or;Ce=Gt.headers instanceof q?Gt.headers:new q(Gt.headers),Gt.params&&(or=Gt.params instanceof kt?Gt.params:new kt({fromObject:Gt.params})),Dt=new oe(ce,pt,void 0!==Gt.body?Gt.body:null,{headers:Ce,context:Gt.context,params:or,reportProgress:Gt.reportProgress,responseType:Gt.responseType||"json",withCredentials:Gt.withCredentials,transferCache:Gt.transferCache})}const ne=(0,c.of)(Dt).pipe((0,A.H)(Ce=>this.handler.handle(Ce)));if(ce instanceof oe||"events"===Gt.observe)return ne;const Re=ne.pipe((0,I.p)(Ce=>Ce instanceof wr));switch(Gt.observe||"body"){case"body":switch(Dt.responseType){case"arraybuffer":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ce.body}));case"blob":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof Blob))throw new Error("Response is not a Blob.");return Ce.body}));case"text":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&"string"!=typeof Ce.body)throw new Error("Response is not a string.");return Ce.body}));default:return Re.pipe((0,M.T)(Ce=>Ce.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${Gt.observe}}`)}}delete(ce,pt={}){return this.request("DELETE",ce,pt)}get(ce,pt={}){return this.request("GET",ce,pt)}head(ce,pt={}){return this.request("HEAD",ce,pt)}jsonp(ce,pt){return this.request("JSONP",ce,{params:(new kt).append(pt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,pt={}){return this.request("OPTIONS",ce,pt)}patch(ce,pt,Gt={}){return this.request("PATCH",ce,Nt(Gt,pt))}post(ce,pt,Gt={}){return this.request("POST",ce,Nt(Gt,pt))}put(ce,pt,Gt={}){return this.request("PUT",ce,Nt(Gt,pt))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(Y))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const Rt=/^\)\]\}',?\n/;function jt(zt){if(zt.url)return zt.url;const he="X-Request-URL".toLocaleLowerCase();return zt.headers.get(he)}let De=(()=>{class zt{constructor(){this.fetchImpl=(0,s.WQX)(Ye,{optional:!0})?.fetch??((...ce)=>globalThis.fetch(...ce)),this.ngZone=(0,s.WQX)(s.SKi)}handle(ce){return new y.c(pt=>{const Gt=new AbortController;return this.doRequest(ce,Gt.signal,pt).then(ft,Dt=>pt.error(new Wr({error:Dt}))),()=>Gt.abort()})}doRequest(ce,pt,Gt){var Dt=this;return(0,o.A)(function*(){const ne=Dt.createRequestInit(ce);let Re;try{const qr=Dt.ngZone.runOutsideAngular(()=>Dt.fetchImpl(ce.urlWithParams,{signal:pt,...ne}));(function pe(zt){zt.then(ft,ft)})(qr),Gt.next({type:Xe.Sent}),Re=yield qr}catch(qr){return void Gt.error(new Wr({error:qr,status:qr.status??0,statusText:qr.statusText,url:ce.urlWithParams,headers:qr.headers}))}const Ce=new q(Re.headers),or=Re.statusText,Cr=jt(Re)??ce.urlWithParams;let Er=Re.status,Nr=null;if(ce.reportProgress&&Gt.next(new gr({headers:Ce,status:Er,statusText:or,url:Cr})),Re.body){const qr=Re.headers.get("content-length"),to=[],xo=Re.body.getReader();let po,io,So=0;const Yn=typeof Zone<"u"&&Zone.current;yield Dt.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:jn,value:Uo}=yield xo.read();if(jn)break;if(to.push(Uo),So+=Uo.length,ce.reportProgress){io="text"===ce.responseType?(io??"")+(po??=new TextDecoder).decode(Uo,{stream:!0}):void 0;const Fn=()=>Gt.next({type:Xe.DownloadProgress,total:qr?+qr:void 0,loaded:So,partialText:io});Yn?Yn.run(Fn):Fn()}}}));const Di=Dt.concatChunks(to,So);try{const jn=Re.headers.get("Content-Type")??"";Nr=Dt.parseBody(ce,Di,jn)}catch(jn){return void Gt.error(new Wr({error:jn,headers:new q(Re.headers),status:Re.status,statusText:Re.statusText,url:jt(Re)??ce.urlWithParams}))}}0===Er&&(Er=Nr?200:0),Er>=200&&Er<300?(Gt.next(new wr({body:Nr,headers:Ce,status:Er,statusText:or,url:Cr})),Gt.complete()):Gt.error(new Wr({error:Nr,headers:Ce,status:Er,statusText:or,url:Cr}))})()}parseBody(ce,pt,Gt){switch(ce.responseType){case"json":const Dt=(new TextDecoder).decode(pt).replace(Rt,"");return""===Dt?null:JSON.parse(Dt);case"text":return(new TextDecoder).decode(pt);case"blob":return new Blob([pt],{type:Gt});case"arraybuffer":return pt.buffer}}createRequestInit(ce){const pt={},Gt=ce.withCredentials?"include":void 0;if(ce.headers.forEach((Dt,ne)=>pt[Dt]=ne.join(",")),ce.headers.has("Accept")||(pt.Accept="application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const Dt=ce.detectContentTypeHeader();null!==Dt&&(pt["Content-Type"]=Dt)}return{body:ce.serializeBody(),method:ce.method,headers:pt,credentials:Gt}}concatChunks(ce,pt){const Gt=new Uint8Array(pt);let Dt=0;for(const ne of ce)Gt.set(ne,Dt),Dt+=ne.length;return Gt}static{this.\u0275fac=function(pt){return new(pt||zt)}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();class Ye{}function ft(){}function Ut(zt,he){return he(zt)}const Ht=new s.nKC(""),Me=new s.nKC(""),Pe=new s.nKC("",{providedIn:"root",factory:()=>!0});let lr=(()=>{class zt extends Y{constructor(ce,pt){super(),this.backend=ce,this.injector=pt,this.chain=null,this.pendingTasks=(0,s.WQX)(s.TgB),this.contributeToStability=(0,s.WQX)(Pe)}handle(ce){if(null===this.chain){const pt=Array.from(new Set([...this.injector.get(Ht),...this.injector.get(Me,[])]));this.chain=pt.reduceRight((Gt,Dt)=>function ie(zt,he,ce){return(pt,Gt)=>(0,s.N4e)(ce,()=>he(pt,Dt=>zt(Dt,Gt)))}(Gt,Dt,this.injector),Ut)}if(this.contributeToStability){const pt=this.pendingTasks.add();return this.chain(ce,Gt=>this.backend.handle(Gt)).pipe((0,T.j)(()=>this.pendingTasks.remove(pt)))}return this.chain(ce,pt=>this.backend.handle(pt))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(z),s.KVO(s.uvJ))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const ye=/^\)\]\}',?\n/;let Je=(()=>{class zt{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new s.wOt(-2800,!1);const pt=this.xhrFactory;return(pt.\u0275loadImpl?(0,k.H)(pt.\u0275loadImpl()):(0,c.of)(null)).pipe((0,O.n)(()=>new y.c(Dt=>{const ne=pt.build();if(ne.open(ce.method,ce.urlWithParams),ce.withCredentials&&(ne.withCredentials=!0),ce.headers.forEach((to,xo)=>ne.setRequestHeader(to,xo.join(","))),ce.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const to=ce.detectContentTypeHeader();null!==to&&ne.setRequestHeader("Content-Type",to)}if(ce.responseType){const to=ce.responseType.toLowerCase();ne.responseType="json"!==to?to:"text"}const Re=ce.serializeBody();let Ce=null;const or=()=>{if(null!==Ce)return Ce;const to=ne.statusText||"OK",xo=new q(ne.getAllResponseHeaders()),So=function ir(zt){return"responseURL"in zt&&zt.responseURL?zt.responseURL:/^X-Request-URL:/m.test(zt.getAllResponseHeaders())?zt.getResponseHeader("X-Request-URL"):null}(ne)||ce.url;return Ce=new gr({headers:xo,status:ne.status,statusText:to,url:So}),Ce},Cr=()=>{let{headers:to,status:xo,statusText:So,url:po}=or(),io=null;204!==xo&&(io=typeof ne.response>"u"?ne.responseText:ne.response),0===xo&&(xo=io?200:0);let Yn=xo>=200&&xo<300;if("json"===ce.responseType&&"string"==typeof io){const Di=io;io=io.replace(ye,"");try{io=""!==io?JSON.parse(io):null}catch(jn){io=Di,Yn&&(Yn=!1,io={error:jn,text:io})}}Yn?(Dt.next(new wr({body:io,headers:to,status:xo,statusText:So,url:po||void 0})),Dt.complete()):Dt.error(new Wr({error:io,headers:to,status:xo,statusText:So,url:po||void 0}))},Er=to=>{const{url:xo}=or(),So=new Wr({error:to,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:xo||void 0});Dt.error(So)};let Nr=!1;const Fr=to=>{Nr||(Dt.next(or()),Nr=!0);let xo={type:Xe.DownloadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),"text"===ce.responseType&&ne.responseText&&(xo.partialText=ne.responseText),Dt.next(xo)},qr=to=>{let xo={type:Xe.UploadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),Dt.next(xo)};return ne.addEventListener("load",Cr),ne.addEventListener("error",Er),ne.addEventListener("timeout",Er),ne.addEventListener("abort",Er),ce.reportProgress&&(ne.addEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.addEventListener("progress",qr)),ne.send(Re),Dt.next({type:Xe.Sent}),()=>{ne.removeEventListener("error",Er),ne.removeEventListener("abort",Er),ne.removeEventListener("load",Cr),ne.removeEventListener("timeout",Er),ce.reportProgress&&(ne.removeEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.removeEventListener("progress",qr)),ne.readyState!==ne.DONE&&ne.abort()}})))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(L.N0))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const er=new s.nKC(""),eo=new s.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),fr=new s.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Pr{}let re=(()=>{class zt{constructor(ce,pt,Gt){this.doc=ce,this.platform=pt,this.cookieName=Gt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L._b)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(L.qQ),s.KVO(s.Agw),s.KVO(eo))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();function qt(zt,he){const ce=zt.url.toLowerCase();if(!(0,s.WQX)(er)||"GET"===zt.method||"HEAD"===zt.method||ce.startsWith("http://")||ce.startsWith("https://"))return he(zt);const pt=(0,s.WQX)(Pr).getToken(),Gt=(0,s.WQX)(fr);return null!=pt&&!zt.headers.has(Gt)&&(zt=zt.clone({headers:zt.headers.set(Gt,pt)})),he(zt)}var ue=function(zt){return zt[zt.Interceptors=0]="Interceptors",zt[zt.LegacyInterceptors=1]="LegacyInterceptors",zt[zt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",zt[zt.NoXsrfProtection=3]="NoXsrfProtection",zt[zt.JsonpSupport=4]="JsonpSupport",zt[zt.RequestsMadeViaParent=5]="RequestsMadeViaParent",zt[zt.Fetch=6]="Fetch",zt}(ue||{});function Qr(...zt){const he=[Se,Je,lr,{provide:Y,useExisting:lr},{provide:z,useFactory:()=>(0,s.WQX)(De,{optional:!0})??(0,s.WQX)(Je)},{provide:Ht,useValue:qt,multi:!0},{provide:er,useValue:!0},{provide:Pr,useClass:re}];for(const ce of zt)he.push(...ce.\u0275providers);return(0,s.EmA)(he)}function Ro(zt){return function mr(zt,he){return{\u0275kind:zt,\u0275providers:he}}(ue.Interceptors,zt.map(he=>({provide:Ht,useValue:he,multi:!0})))}},4438:(i,a,r)=>{"use strict";function o(t,e){return Object.is(t,e)}r.d(a,{bc$:()=>Go,iLQ:()=>Dw,sZ2:()=>oo,hnV:()=>Ek,wjH:()=>Bp,o8S:()=>Ql,BIS:()=>Dn,gRc:()=>Uk,Ql9:()=>$8,OM3:()=>qf,Ocv:()=>G8,Z63:()=>Br,aKT:()=>bd,uvJ:()=>ai,zcH:()=>uc,bkB:()=>dc,$GK:()=>nn,nKC:()=>ro,zZn:()=>Za,_q3:()=>Uv,MKu:()=>$v,xe9:()=>Rv,Co$:()=>px,Vns:()=>Lp,SKi:()=>Bi,Xx1:()=>hi,Agw:()=>_o,PLl:()=>Ho,rOR:()=>pl,sFG:()=>YE,_9s:()=>fy,czy:()=>Qh,WPN:()=>$l,kdw:()=>On,C4Q:()=>Od,NYb:()=>R8,giA:()=>_k,RxE:()=>gk,c1b:()=>qb,gXe:()=>bn,mal:()=>aw,Tzd:()=>_x,L39:()=>GD,EWP:()=>ZD,sbv:()=>k5,Ol2:()=>Oy,w6W:()=>j5,QZP:()=>bE,Rfq:()=>re,oKB:()=>vc,WQX:()=>Vo,naY:()=>rD,Hps:()=>Ay,QuC:()=>Ji,EmA:()=>Oi,Udg:()=>XD,HJs:()=>rA,N4e:()=>ca,vPA:()=>K1,O8t:()=>QD,H3F:()=>fk,H8p:()=>ki,KH2:()=>Pg,TgB:()=>Ol,wOt:()=>We,WHO:()=>vk,e01:()=>xk,lNU:()=>Pe,h9k:()=>Jm,$MX:()=>Hh,ZF7:()=>Du,Kcf:()=>Kw,e5t:()=>Zw,UyX:()=>Xw,cWb:()=>Gw,osQ:()=>Yw,H5H:()=>sv,Zy3:()=>Or,mq5:()=>k2,JZv:()=>ye,TL3:()=>AD,LfX:()=>Ke,plB:()=>Bu,jNT:()=>Tv,zjR:()=>kk,ngT:()=>Vs,TL$:()=>Sr,Tbb:()=>eo,rcV:()=>Zc,nM4:()=>sx,Vt3:()=>Ty,GFd:()=>ux,OA$:()=>vs,Jv_:()=>R_,aNF:()=>N_,R7$:()=>Db,BMQ:()=>Wy,HbH:()=>o2,ZvI:()=>u2,AVh:()=>qy,BUC:()=>p2,vxM:()=>m2,wni:()=>n_,C6U:()=>c_,VBU:()=>Wa,FsC:()=>ql,jDH:()=>Fo,G2t:()=>ei,$C:()=>Ea,EJ8:()=>Jc,rXU:()=>Vl,nrm:()=>ov,eu8:()=>nv,bVm:()=>fw,qex:()=>gw,k0s:()=>hw,j41:()=>pw,RV6:()=>_2,xGo:()=>is,Mr5:()=>iv,KVO:()=>Nn,kS0:()=>pd,QTQ:()=>Ab,bIt:()=>dv,lsd:()=>s_,joV:()=>sh,qSk:()=>Yd,XpG:()=>G2,nI1:()=>X_,bMT:()=>Y_,i5U:()=>Z_,SdG:()=>Y2,NAR:()=>X2,Y8G:()=>Yy,FS9:()=>hv,Mz_:()=>vw,lJ4:()=>F_,eq3:()=>B_,l_i:()=>U_,sMw:()=>$_,ziG:()=>j_,lV:()=>V_,NyB:()=>l_,mGM:()=>a_,sdS:()=>d_,Dyx:()=>y2,Z7z:()=>w2,Vm6:()=>b2,Njj:()=>Vd,eBV:()=>Xu,npT:()=>tb,f$h:()=>_f,B4B:()=>xf,n$t:()=>rb,Aen:()=>ml,xc7:()=>Qy,Kam:()=>uv,zvX:()=>av,DNE:()=>Ny,C5r:()=>Q_,EFF:()=>v_,JRh:()=>fv,SpI:()=>xw,Lme:()=>mv,DH7:()=>T_,mxI:()=>wv,R50:()=>bv,GBs:()=>i_});let s=null,c=!1,y=1;const k=Symbol("SIGNAL");function A(t){const e=s;return s=t,e}const O={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 L(t){if(c)throw new Error("");if(null===s)return;s.consumerOnSignalRead(t);const e=s.nextProducerIndex++;at(s),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Mt(t){at(t);for(let e=0;e0}function at(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function rt(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function yt(t){return void 0!==t.producerNode}function Ct(t){const e=Object.create(Xe);e.computation=t;const n=()=>{if(z(e),L(e),e.value===oe)throw e.error;return e.value};return n[k]=e,n}const Vt=Symbol("UNSET"),Xt=Symbol("COMPUTING"),oe=Symbol("ERRORED"),Xe={...O,value:Vt,dirty:!0,error:null,equal:o,producerMustRecompute:t=>t.value===Vt||t.value===Xt,producerRecomputeValue(t){if(t.value===Xt)throw new Error("Detected cycle in computations.");const e=t.value;t.value=Xt;const n=tt(t);let l;try{l=t.computation()}catch(g){l=oe,t.error=g}finally{vt(t,n)}e!==Vt&&e!==oe&&l!==oe&&t.equal(e,l)?t.value=e:(t.value=l,t.version++)}};let gr=function kr(){throw new Error};function wr(){gr()}let xe=null;function Se(t,e){ct()||wr(),t.equal(t.value,e)||(t.value=e,function De(t){t.version++,function Y(){y++}(),q(t),xe?.()}(t))}const jt={...O,equal:o,value:void 0};const ft=()=>{},pe={...O,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ft};var Ee=r(4412),ie=r(1413),He=r(8359),Ht=r(6354);const Pe="https://g.co/ng/security#xss";class We extends Error{constructor(e,n){super(Or(e,n)),this.code=e}}function Or(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}function Ie(t){return{toString:t}.toString()}const mt="__parameters__";function Tt(t,e,n){return Ie(()=>{const l=function it(t){return function(...n){if(t){const l=t(...n);for(const g in l)this[g]=l[g]}}}(e);function g(...w){if(this instanceof g)return l.apply(this,w),this;const E=new g(...w);return R.annotation=E,R;function R(U,ot,xt){const Jt=U.hasOwnProperty(mt)?U[mt]:Object.defineProperty(U,mt,{value:[]})[mt];for(;Jt.length<=xt;)Jt.push(null);return(Jt[xt]=Jt[xt]||[]).push(E),U}}return n&&(g.prototype=Object.create(n.prototype)),g.prototype.ngMetadataName=t,g.annotationCls=g,g})}const ye=globalThis;function er(t){for(let e in t)if(t[e]===er)return e;throw Error("Could not find renamed property on target object.")}function Hr(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function eo(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(eo).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Bo(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Pr=er({__forward_ref__:er});function re(t){return t.__forward_ref__=re,t.toString=function(){return eo(this())},t}function qt(t){return Pt(t)?t():t}function Pt(t){return"function"==typeof t&&t.hasOwnProperty(Pr)&&t.__forward_ref__===re}function Fo(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ei(t){return{providers:t.providers||[],imports:t.imports||[]}}function Oe(t){return Dr(t,ao)||Dr(t,vo)}function Ke(t){return null!==Oe(t)}function Dr(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ur(t){return t&&(t.hasOwnProperty(no)||t.hasOwnProperty(Co))?t[no]:null}const ao=er({\u0275prov:er}),no=er({\u0275inj:er}),vo=er({ngInjectableDef:er}),Co=er({ngInjectorDef:er});class ro{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Fo({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cr(t){return t&&!!t.\u0275providers}const Er=er({\u0275cmp:er}),Nr=er({\u0275dir:er}),Fr=er({\u0275pipe:er}),qr=er({\u0275mod:er}),to=er({\u0275fac:er}),xo=er({__NG_ELEMENT_ID__:er}),So=er({__NG_ENV_ID__:er});function po(t){return"string"==typeof t?t:null==t?"":String(t)}function zi(t,e){throw new We(-201,!1)}var nn=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(nn||{});let ja;function Tn(){return ja}function vi(t){const e=ja;return ja=t,e}function us(t,e,n){const l=Oe(t);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:n&nn.Optional?null:void 0!==e?e:void zi()}const Ai={},Zi="__NG_DI_FLAG__",Zn="ngTempTokenPath",Mn=/\n/gm,fi="__source";let Ko;function Qn(t){const e=Ko;return Ko=t,e}function qn(t,e=nn.Default){if(void 0===Ko)throw new We(-203,!1);return null===Ko?us(t,void 0,e):Ko.get(t,e&nn.Optional?null:void 0,e)}function Nn(t,e=nn.Default){return(Tn()||qn)(qt(t),e)}function Vo(t,e=nn.Default){return Nn(t,Va(e))}function Va(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ii(t){const e=[];for(let n=0;nArray.isArray(n)?xi(n,e):e(n))}function ci(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ui(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _i(t,e,n){let l=G(t,e);return l>=0?t[1|l]=n:(l=~l,function wa(t,e,n,l){let g=t.length;if(g==e)t.push(n,l);else if(1===g)t.push(l,t[0]),t[0]=n;else{for(g--,t.push(t[g-1],t[g]);g>e;)t[g]=t[g-2],g--;t[e]=n,t[e+1]=l}}(t,l,e,n)),l}function os(t,e){const n=G(t,e);if(n>=0)return t[1|n]}function G(t,e){return function et(t,e,n){let l=0,g=t.length>>n;for(;g!==l;){const w=l+(g-l>>1),E=t[w<e?g=w:l=w+1}return~(g<e){E=w-1;break}}}for(;w-1){let w;for(;++gw?"":g[xt+1].toLowerCase(),2&l&&ot!==Jt){if(bt(l))return!1;E=!0}}}}else{if(!E&&!bt(l)&&!bt(U))return!1;if(E&&bt(U))continue;E=!1,l=U|1&l}}return bt(l)||E}function bt(t){return!(1&t)}function X(t,e,n,l){if(null===e)return-1;let g=0;if(l||!n){let w=!1;for(;g-1)for(n++;n0?'="'+R+'"':"")+"]"}else 8&l?g+="."+E:4&l&&(g+=" "+E);else""!==g&&!bt(E)&&(e+=Ns(w,g),g=""),l=E,w=w||!bt(l);n++}return""!==g&&(e+=Ns(w,g)),e}function Wa(t){return Ie(()=>{const e=zs(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===rn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||bn.Emulated,styles:t.styles||le,_:null,schemas:t.schemas||null,tView:null,id:""};As(n);const l=t.dependencies;return n.directiveDefs=sa(l,!1),n.pipeDefs=sa(l,!0),n.id=function Ss(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const g of n)e=Math.imul(31,e)+g.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function yn(t){return ln(t)||Li(t)}function Fs(t){return null!==t}function Ea(t){return Ie(()=>({type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function hs(t,e){if(null==t)return te;const n={};for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];let w,E,R=Lo.None;Array.isArray(g)?(R=g[0],w=g[1],E=g[2]??w):(w=g,E=g),e?(n[w]=R!==Lo.None?[l,R]:l,e[w]=E):n[w]=l}return n}function ql(t){return Ie(()=>{const e=zs(t);return As(e),e})}function Jc(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[Er]||null}function Li(t){return t[Nr]||null}function on(t){return t[Fr]||null}function Ji(t){const e=ln(t)||Li(t)||on(t);return null!==e&&e.standalone}function $i(t,e){const n=t[qr]||null;if(!n&&!0===e)throw new Error(`Type ${eo(t)} does not have '\u0275mod' property.`);return n}function zs(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||te,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hs(t.inputs,e),outputs:hs(t.outputs),debugInfo:null}}function As(t){t.features?.forEach(e=>e(t))}function sa(t,e){if(!t)return null;const n=e?on:yn;return()=>("function"==typeof t?t():t).map(l=>n(l)).filter(Fs)}function Oi(t){return{\u0275providers:t}}function vc(...t){return{\u0275providers:Nc(0,t),\u0275fromNgModule:!0}}function Nc(t,...e){const n=[],l=new Set;let g;const w=E=>{n.push(E)};return xi(e,E=>{const R=E;xc(R,w,[],l)&&(g||=[],g.push(R))}),void 0!==g&&tl(g,w),n}function tl(t,e){for(let n=0;n{e(w,l)})}}function xc(t,e,n,l){if(!(t=qt(t)))return!1;let g=null,w=Ur(t);const E=!w&&ln(t);if(w||E){if(E&&!E.standalone)return!1;g=t}else{const U=t.ngModule;if(w=Ur(U),!w)return!1;g=U}const R=l.has(g);if(E){if(R)return!1;if(l.add(g),E.dependencies){const U="function"==typeof E.dependencies?E.dependencies():E.dependencies;for(const ot of U)xc(ot,e,n,l)}}else{if(!w)return!1;{if(null!=w.imports&&!R){let ot;l.add(g);try{xi(w.imports,xt=>{xc(xt,e,n,l)&&(ot||=[],ot.push(xt))})}finally{}void 0!==ot&&tl(ot,e)}if(!R){const ot=bi(g)||(()=>new g);e({provide:g,useFactory:ot,deps:le},g),e({provide:Oo,useValue:g,multi:!0},g),e({provide:Br,useValue:()=>Nn(g),multi:!0},g)}const U=w.providers;if(null!=U&&!R){const ot=t;kc(U,xt=>{e(xt,ot)})}}}return g!==t&&void 0!==t.providers}function kc(t,e){for(let n of t)Cr(n)&&(n=n.\u0275providers),Array.isArray(n)?kc(n,e):e(n)}const Lc=er({provide:String,useValue:er});function Ka(t){return null!==t&&"object"==typeof t&&Lc in t}function Ca(t){return"function"==typeof t}const ki=new ro(""),ta={},Jl={};let Xi;function Ts(){return void 0===Xi&&(Xi=new so),Xi}class ai{}class Hs extends ai{get destroyed(){return this._destroyed}constructor(e,n,l,g){super(),this.parent=n,this.source=l,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Is(e,E=>this.processProvider(E)),this.records.set(jr,gs(void 0,this)),g.has("environment")&&this.records.set(ai,gs(void 0,this));const w=this.records.get(ki);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(Oo,le,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=A(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of n)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=Qn(this),l=vi(void 0);try{return e()}finally{Qn(n),vi(l)}}get(e,n=Ai,l=nn.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(So))return e[So](this);l=Va(l);const w=Qn(this),E=vi(void 0);try{if(!(l&nn.SkipSelf)){let U=this.records.get(e);if(void 0===U){const ot=function ic(t){return"function"==typeof t||"object"==typeof t&&t instanceof ro}(e)&&Oe(e);U=ot&&this.injectableDefInScope(ot)?gs(Ms(e),ta):null,this.records.set(e,U)}if(null!=U)return this.hydrate(e,U)}return(l&nn.Self?Ts():this.parent).get(e,n=l&nn.Optional&&n===Ai?null:n)}catch(R){if("NullInjectorError"===R.name){if((R[Zn]=R[Zn]||[]).unshift(eo(e)),w)throw R;return function ps(t,e,n,l){const g=t[Zn];throw e[fi]&&g.unshift(e[fi]),t.message=function ba(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let g=eo(e);if(Array.isArray(e))g=e.map(eo).join(" -> ");else if("object"==typeof e){let w=[];for(let E in e)if(e.hasOwnProperty(E)){let R=e[E];w.push(E+":"+("string"==typeof R?JSON.stringify(R):eo(R)))}g=`{${w.join(", ")}}`}return`${n}${l?"("+l+")":""}[${g}]: ${t.replace(Mn,"\n ")}`}("\n"+t.message,g,n,l),t.ngTokenPath=g,t[Zn]=null,t}(R,e,"R3InjectorError",this.source)}throw R}finally{vi(E),Qn(w)}}resolveInjectorInitializers(){const e=A(null),n=Qn(this),l=vi(void 0);try{const w=this.get(Br,le,nn.Self);for(const E of w)E()}finally{Qn(n),vi(l),A(e)}}toString(){const e=[],n=this.records;for(const l of n.keys())e.push(eo(l));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new We(205,!1)}processProvider(e){let n=Ca(e=qt(e))?e:qt(e&&e.provide);const l=function Ln(t){return Ka(t)?gs(void 0,t.useValue):gs(Ga(t),ta)}(e);if(!Ca(e)&&!0===e.multi){let g=this.records.get(n);g||(g=gs(void 0,ta,!0),g.factory=()=>ii(g.multi),this.records.set(n,g)),n=e,g.multi.push(e)}this.records.set(n,l)}hydrate(e,n){const l=A(null);try{return n.value===ta&&(n.value=Jl,n.value=n.factory()),"object"==typeof n.value&&n.value&&function fs(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(l)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=qt(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ms(t){const e=Oe(t),n=null!==e?e.factory:bi(t);if(null!==n)return n;if(t instanceof ro)throw new We(204,!1);if(t instanceof Function)return function Da(t){if(t.length>0)throw new We(204,!1);const n=function Lr(t){return t&&(t[ao]||t[vo])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new We(204,!1)}function Ga(t,e,n){let l;if(Ca(t)){const g=qt(t);return bi(g)||Ms(g)}if(Ka(t))l=()=>qt(t.useValue);else if(function Us(t){return!(!t||!t.useFactory)}(t))l=()=>t.useFactory(...ii(t.deps||[]));else if(function Bs(t){return!(!t||!t.useExisting)}(t))l=()=>Nn(qt(t.useExisting));else{const g=qt(t&&(t.useClass||t.provide));if(!function gi(t){return!!t.deps}(t))return bi(g)||Ms(g);l=()=>new g(...ii(t.deps))}return l}function gs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Is(t,e){for(const n of t)Array.isArray(n)?Is(n,e):n&&Cr(n)?Is(n.\u0275providers,e):e(n)}function ca(t,e){t instanceof Hs&&t.assertNotDestroyed();const l=Qn(t),g=vi(void 0);try{return e()}finally{Qn(l),vi(g)}}function bs(){return void 0!==Tn()||null!=function pa(){return Ko}()}function fn(t){if(!bs())throw new We(-203,!1)}const ze=0,nr=1,_r=2,Yr=3,Mr=4,Gr=5,Jr=6,go=7,Vr=8,Do=9,Io=10,Xr=11,tn=12,Xo=13,En=14,Qo=15,xn=16,Ei=17,oi=18,Hi=19,To=20,uo=21,vn=22,Rn=23,fo=25,Mi=1,Fi=7,ya=9,yi=10;var Po=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Po||{});function li(t){return Array.isArray(t)&&"object"==typeof t[Mi]}function Ii(t){return Array.isArray(t)&&!0===t[Mi]}function Xa(t){return!!(4&t.flags)}function la(t){return t.componentOffset>-1}function $o(t){return!(1&~t.flags)}function Ci(t){return!!t.template}function Aa(t){return!!(512&t[_r])}class Ta{constructor(e,n,l){this.previousValue=e,this.currentValue=n,this.firstChange=l}isFirstChange(){return this.firstChange}}function Os(t,e,n,l){null!==e?e.applyValueToInputSignal(e,l):t[n]=l}function vs(){return Fc}function Fc(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ya),Ws}function Ws(){const t=Wp(this),e=t?.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let l in e)n[l]=e[l];t.current=null,this.ngOnChanges(e)}}function Ya(t,e,n,l,g){const w=this.declaredInputs[l],E=Wp(t)||function $g(t,e){return t[ol]=e}(t,{previous:te,current:null}),R=E.current||(E.current={}),U=E.previous,ot=U[w];R[w]=new Ta(ot&&ot.currentValue,n,U===te),Os(t,e,g,n)}vs.ngInherit=!0;const ol="__ngSimpleChanges__";function Wp(t){return t[ol]||null}const Ks=function(t,e,n){},Gp="svg";function Hn(t){for(;Array.isArray(t);)t=t[ze];return t}function xl(t,e){return Hn(e[t])}function Ma(t,e){return Hn(e[t.index])}function Cc(t,e){return t.data[e]}function _l(t,e){return t[e]}function xs(t,e){const n=e[t];return li(n)?n:n[ze]}function Xs(t){return!(128&~t[_r])}function _s(t,e){return null==e?null:t[e]}function Ld(t){t[Ei]=0}function Pd(t){1024&t[_r]||(t[_r]|=1024,Xs(t)&&kl(t))}function ed(t){return!!(9216&t[_r]||t[Rn]?.dirty)}function Hu(t){t[Io].changeDetectionScheduler?.notify(8),64&t[_r]&&(t[_r]|=1024),ed(t)&&kl(t)}function kl(t){t[Io].changeDetectionScheduler?.notify(0);let e=$s(t);for(;null!==e&&!(8192&e[_r])&&(e[_r]|=8192,Xs(e));)e=$s(e)}function Fd(t,e){if(!(256&~t[_r]))throw new We(911,!1);null===t[uo]&&(t[uo]=[]),t[uo].push(e)}function $s(t){const e=t[Yr];return Ii(e)?e[Yr]:e}const mn={lFrame:oh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ku=!1;function rd(){return mn.bindingsEnabled}function nl(){return null!==mn.skipHydrationRootTNode}function Rr(){return mn.lFrame.lView}function Cn(){return mn.lFrame.tView}function Xu(t){return mn.lFrame.contextLView=t,t[Vr]}function Vd(t){return mn.lFrame.contextLView=null,t}function Wn(){let t=zd();for(;null!==t&&64===t.type;)t=t.parent;return t}function zd(){return mn.lFrame.currentTNode}function Zs(t,e){const n=mn.lFrame;n.currentTNode=t,n.isParent=e}function Yu(){return mn.lFrame.isParent}function Hd(){mn.lFrame.isParent=!1}function Kd(){return Ku}function Zu(t){Ku=t}function ga(){const t=mn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function sc(){return mn.lFrame.bindingIndex++}function Ac(t){const e=mn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Qu(t,e){const n=mn.lFrame;n.bindingIndex=n.bindingRootIndex=t,od(e)}function od(t){mn.lFrame.currentDirectiveIndex=t}function th(t){const e=mn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function eh(){return mn.lFrame.currentQueryIndex}function nd(t){mn.lFrame.currentQueryIndex=t}function Cm(t){const e=t[nr];return 2===e.type?e.declTNode:1===e.type?t[Gr]:null}function Hg(t,e,n){if(n&nn.SkipSelf){let g=e,w=t;for(;!(g=g.parent,null!==g||n&nn.Host||(g=Cm(w),null===g||(w=w[En],10&g.type))););if(null===g)return!1;e=g,t=w}const l=mn.lFrame=id();return l.currentTNode=e,l.lView=t,!0}function rh(t){const e=id(),n=t[nr];mn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function id(){const t=mn.lFrame,e=null===t?null:t.child;return null===e?oh(t):e}function oh(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function nh(){const t=mn.lFrame;return mn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ih=nh;function Cl(){const t=nh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function va(){return mn.lFrame.selectedIndex}function Uc(t){mn.lFrame.selectedIndex=t}function Ri(){const t=mn.lFrame;return Cc(t.tView,t.selectedIndex)}function Yd(){mn.lFrame.currentNamespace=Gp}function sh(){!function Wg(){mn.lFrame.currentNamespace=null}()}let lh=!0;function ad(){return lh}function cc(t){lh=t}function Dl(t,e){for(let n=e.directiveStart,l=e.directiveEnd;n=l)break}else e[U]<0&&(t[Ei]+=65536),(R>14>16&&(3&t[_r])===e&&(t[_r]+=16384,uh(R,w)):uh(R,w)}const sd=-1;class sl{constructor(e,n,l){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=l}}const ld={};class lc{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,l){l=Va(l);const g=this.injector.get(e,ld,l);return g!==ld||n===ld?g:this.parentInjector.get(e,n,l)}}function gh(t){return t!==sd}function ll(t){return 32767&t}function Sl(t,e){let n=function fh(t){return t>>16}(t),l=e;for(;n>0;)l=l[En],n--;return l}let Ju=!0;function dd(t){const e=Ju;return Ju=t,e}const tp=255,mh=5;let qd=0;const qs={};function $c(t,e){const n=bh(t,e);if(-1!==n)return n;const l=e[nr];l.firstCreatePass&&(t.injectorIndex=e.length,ud(l.data,t),ud(e,null),ud(l.blueprint,null));const g=Jd(t,e),w=t.injectorIndex;if(gh(g)){const E=ll(g),R=Sl(g,e),U=R[nr].data;for(let ot=0;ot<8;ot++)e[w+ot]=R[E+ot]|U[E+ot]}return e[w+8]=g,w}function ud(t,e){t.push(0,0,0,0,0,0,0,0,e)}function bh(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Jd(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,l=null,g=e;for(;null!==g;){if(l=vh(g),null===l)return sd;if(n++,g=g[En],-1!==l.injectorIndex)return l.injectorIndex|n<<16}return sd}function tu(t,e,n){!function ep(t,e,n){let l;"string"==typeof n?l=n.charCodeAt(0)||0:n.hasOwnProperty(xo)&&(l=n[xo]),null==l&&(l=n[xo]=qd++);const g=l&tp;e.data[t+(g>>mh)]|=1<=0?e&tp:yh:e}(n);if("function"==typeof w){if(!Hg(e,t,l))return l&nn.Host?ns(g,0,l):ru(e,n,l,g);try{let E;if(E=w(l),null!=E||l&nn.Optional)return E;zi()}finally{ih()}}else if("number"==typeof w){let E=null,R=bh(t,e),U=sd,ot=l&nn.Host?e[Qo][Gr]:null;for((-1===R||l&nn.SkipSelf)&&(U=-1===R?Jd(t,e):e[R+8],U!==sd&&dl(l,!1)?(E=e[nr],R=ll(U),e=Sl(U,e)):R=-1);-1!==R;){const xt=e[nr];if(op(w,R,xt.data)){const Jt=rp(R,e,n,E,l,ot);if(Jt!==qs)return Jt}U=e[R+8],U!==sd&&dl(l,e[nr].data[R+8]===ot)&&op(w,R,e)?(E=xt,R=ll(U),e=Sl(U,e)):R=-1}}return g}function rp(t,e,n,l,g,w){const E=e[nr],R=E.data[t+8],xt=nu(R,E,n,null==l?la(R)&&Ju:l!=E&&!!(3&R.type),g&nn.Host&&w===R);return null!==xt?jc(e,E,xt,R):qs}function nu(t,e,n,l,g){const w=t.providerIndexes,E=e.data,R=1048575&w,U=t.directiveStart,xt=w>>20,Fe=g?R+xt:t.directiveEnd;for(let Ge=l?R:R+xt;Ge=U&&hr.type===n)return Ge}if(g){const Ge=E[U];if(Ge&&Ci(Ge)&&Ge.type===n)return U}return null}function jc(t,e,n,l){let g=t[n];const w=e.data;if(function Zd(t){return t instanceof sl}(g)){const E=g;E.resolving&&function jn(t,e){throw e&&e.join(" > "),new We(-200,t)}(function io(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():po(t)}(w[n]));const R=dd(E.canSeeViewProviders);E.resolving=!0;const ot=E.injectImpl?vi(E.injectImpl):null;Hg(t,l,nn.Default);try{g=t[n]=E.factory(void 0,w,t,l),e.firstCreatePass&&n>=l.directiveStart&&function il(t,e,n){const{ngOnChanges:l,ngOnInit:g,ngDoCheck:w}=e.type.prototype;if(l){const E=Fc(e);(n.preOrderHooks??=[]).push(t,E),(n.preOrderCheckHooks??=[]).push(t,E)}g&&(n.preOrderHooks??=[]).push(0-t,g),w&&((n.preOrderHooks??=[]).push(t,w),(n.preOrderCheckHooks??=[]).push(t,w))}(n,w[n],e)}finally{null!==ot&&vi(ot),dd(R),E.resolving=!1,ih()}}return g}function op(t,e,n){return!!(n[e+(t>>mh)]&1<{const e=t.prototype.constructor,n=e[to]||Vc(e),l=Object.prototype;let g=Object.getPrototypeOf(t.prototype).constructor;for(;g&&g!==l;){const w=g[to]||Vc(g);if(w&&w!==n)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function Vc(t){return Pt(t)?()=>{const e=Vc(qt(t));return e&&e()}:bi(t)}function vh(t){const e=t[nr],n=e.type;return 2===n?e.declTNode:1===n?t[Gr]:null}function pd(t){return function eu(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const l=n.length;let g=0;for(;gNn(jr)})}static{this.__NG_ELEMENT_ID__=-1}}new ro("").__NG_ELEMENT_ID__=t=>{const e=Wn();if(null===e)throw new We(204,!1);if(2&e.type)return e.value;if(t&nn.Optional)return null;throw new We(204,!1)};function sp(t){return t.ngOriginalError}const Ah=!0;let du=(()=>{class t{static{this.__NG_ELEMENT_ID__=Im}static{this.__NG_ENV_ID__=n=>n}}return t})();class Qg extends du{constructor(e){super(),this._lView=e}onDestroy(e){return Fd(this._lView,e),()=>function Ys(t,e){if(null===t[uo])return;const n=t[uo].indexOf(e);-1!==n&&t[uo].splice(n,1)}(this._lView,e)}}function Im(){return new Qg(Rr())}let Ol=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();const dc=class hd extends ie.B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,bs()&&(this.destroyRef=Vo(du,{optional:!0})??void 0,this.pendingTasks=Vo(Ol,{optional:!0})??void 0)}emit(e){const n=A(null);try{super.next(e)}finally{A(n)}}subscribe(e,n,l){let g=e,w=n||(()=>null),E=l;if(e&&"object"==typeof e){const U=e;g=U.next?.bind(U),w=U.error?.bind(U),E=U.complete?.bind(U)}this.__isAsync&&(w=this.wrapInTimeout(w),g&&(g=this.wrapInTimeout(g)),E&&(E=this.wrapInTimeout(E)));const R=super.subscribe({next:g,error:w,complete:E});return e instanceof He.yU&&e.add(R),R}wrapInTimeout(e){return n=>{const l=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==l&&this.pendingTasks?.remove(l)})}}};function Ia(...t){}function Sh(t){let e,n;function l(){t=Ia;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),l()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),l()})),()=>l()}function ul(t){return queueMicrotask(()=>t()),()=>{t=Ia}}const Hc="isAngularZone",Rl=Hc+"_ID";let Qa=0;class Bi{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dc(!1),this.onMicrotaskEmpty=new dc(!1),this.onStable=new dc(!1),this.onError=new dc(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1,scheduleInRootZone:w=Ah}=e;if(typeof Zone>"u")throw new We(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!g&&l,E.shouldCoalesceRunChangeDetection=g,E.callbackScheduled=!1,E.scheduleInRootZone=w,function Jg(t){const e=()=>{!function qg(t){function e(){Sh(()=>{t.callbackScheduled=!1,gd(t),t.isCheckStableRunning=!0,cp(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),gd(t))}(t)},n=Qa++;t._inner=t._inner.fork({name:"angular",properties:{[Hc]:!0,[Rl]:n,[Rl+n]:!0},onInvokeTask:(l,g,w,E,R,U)=>{if(function md(t){return dp(t,"__ignore_ng_zone__")}(U))return l.invokeTask(w,E,R,U);try{return lp(t),l.invokeTask(w,E,R,U)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||t.shouldCoalesceRunChangeDetection)&&e(),Th(t)}},onInvoke:(l,g,w,E,R,U,ot)=>{try{return lp(t),l.invoke(w,E,R,U,ot)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Nl(t){return dp(t,"__scheduler_tick__")}(U)&&e(),Th(t)}},onHasTask:(l,g,w,E)=>{l.hasTask(w,E),g===w&&("microTask"==E.change?(t._hasPendingMicrotasks=E.microTask,gd(t),cp(t)):"macroTask"==E.change&&(t.hasPendingMacrotasks=E.macroTask))},onHandleError:(l,g,w,E)=>(l.handleError(w,E),t.runOutsideAngular(()=>t.onError.emit(E)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Hc)}static assertInAngularZone(){if(!Bi.isInAngularZone())throw new We(909,!1)}static assertNotInAngularZone(){if(Bi.isInAngularZone())throw new We(909,!1)}run(e,n,l){return this._inner.run(e,n,l)}runTask(e,n,l,g){const w=this._inner,E=w.scheduleEventTask("NgZoneEvent: "+g,e,pu,Ia,Ia);try{return w.runTask(E,n,l)}finally{w.cancelTask(E)}}runGuarded(e,n,l){return this._inner.runGuarded(e,n,l)}runOutsideAngular(e){return this._outer.run(e)}}const pu={};function cp(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function gd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function lp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Th(t){t._nesting--,cp(t)}class fd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new dc,this.onMicrotaskEmpty=new dc,this.onStable=new dc,this.onError=new dc}run(e,n,l){return e.apply(n,l)}runGuarded(e,n,l){return e.apply(n,l)}runOutsideAngular(e){return e()}runTask(e,n,l,g){return e.apply(n,l)}}function dp(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class uc{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&sp(e);for(;n&&sp(n);)n=sp(n);return n||null}}const hu=new ro("",{providedIn:"root",factory:()=>{const t=Vo(Bi),e=Vo(uc);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function Oh(){return Mc(Wn(),Rr())}function Mc(t,e){return new bd(Ma(t,e))}let bd=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Oh}}return t})();function pp(t){return t instanceof bd?t.nativeElement:t}function rf(){return this._results[Symbol.iterator]()}class pl{get changes(){return this._changes??=new dc}constructor(e=!1){this._emitDistinctChangesOnly=e,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;const n=pl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=rf)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const l=function Vn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function es(t,e,n){if(t.length!==e.length)return!1;for(let l=0;llo}),lo="ng",Ho=new ro(""),_o=new ro("",{providedIn:"platform",factory:()=>"unknown"}),Go=new ro(""),Dn=new ro("",{providedIn:"root",factory:()=>Tr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Js=()=>null;function vu(t,e,n=!1){return Js(t,e,n)}const Bm=new ro("",{providedIn:"root",factory:()=>!1});let Vh,zh;function Eu(t){return function gf(){if(void 0===Vh&&(Vh=null,ye.trustedTypes))try{Vh=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vh}()?.createHTML(t)||t}function ff(){if(void 0===zh&&(zh=null,ye.trustedTypes))try{zh=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zh}function jm(t){return ff()?.createHTML(t)||t}function mf(t){return ff()?.createScriptURL(t)||t}class Cd{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pe})`}}class Dd extends Cd{getTypeName(){return"HTML"}}class zm extends Cd{getTypeName(){return"Style"}}class Cu extends Cd{getTypeName(){return"Script"}}class bf extends Cd{getTypeName(){return"URL"}}class Yc extends Cd{getTypeName(){return"ResourceURL"}}function Zc(t){return t instanceof Cd?t.changingThisBreaksApplicationSecurity:t}function Du(t,e){const n=function Ww(t){return t instanceof Cd&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Pe})`)}return n===e}function Kw(t){return new Dd(t)}function Gw(t){return new zm(t)}function Xw(t){return new Cu(t)}function Yw(t){return new bf(t)}function Zw(t){return new Yc(t)}class Wm{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(Eu(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class Qw{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=Eu(e),n}}const Kv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hh(t){return(t=String(t)).match(Kv)?t:"unsafe:"+t}function Ul(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ad(...t){const e={};for(const n of t)for(const l in n)n.hasOwnProperty(l)&&(e[l]=!0);return e}const Km=Ul("area,br,col,hr,img,wbr"),Gm=Ul("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wf=Ul("rp,rt"),Wh=Ad(Km,Ad(Gm,Ul("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")),Ad(wf,Ul("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")),Ad(wf,Gm)),yf=Ul("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=Ad(yf,Ul("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"),Ul("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")),Jw=Ul("script,style,template");class t0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,l=!0,g=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?l=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,l&&n.firstChild)g.push(n),n=o0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let w=r0(n);if(w){n=w;break}n=g.pop()}return this.buf.join("")}startElement(e){const n=Ym(e).toLowerCase();if(!Wh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const l=e.attributes;for(let g=0;g"),!0}endElement(e){const n=Ym(e).toLowerCase();Wh.hasOwnProperty(n)&&!Km.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(kp(e))}}function r0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function o0(t){const e=t.firstChild;if(e&&function e0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Zm(e);return e}function Ym(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Qm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function kp(t){return t.replace(/&/g,"&").replace(Qm,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(qm,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Ep;function Jm(t,e){let n=null;try{Ep=Ep||function Hm(t){const e=new Qw(t);return function qw(){try{return!!(new window.DOMParser).parseFromString(Eu(""),"text/html")}catch{return!1}}()?new Wm(e):e}(t);let l=e?String(e):"";n=Ep.getInertBodyElement(l);let g=5,w=l;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,l=w,w=n.innerHTML,n=Ep.getInertBodyElement(l)}while(l!==w);return Eu((new t0).sanitizeChildren(vf(n)||n))}finally{if(n){const l=vf(n)||n;for(;l.firstChild;)l.firstChild.remove()}}}function vf(t){return"content"in t&&function n0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var $l=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}($l||{});function tb(t){const e=Cp();return e?jm(e.sanitize($l.HTML,t)||""):Du(t,"HTML")?jm(Zc(t)):Jm(Tr(),po(t))}function xf(t){const e=Cp();return e?e.sanitize($l.URL,t)||"":Du(t,"URL")?Zc(t):Hh(po(t))}function _f(t){const e=Cp();if(e)return mf(e.sanitize($l.RESOURCE_URL,t)||"");if(Du(t,"ResourceURL"))return mf(Zc(t));throw new We(904,!1)}function rb(t,e,n){return function l0(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?_f:xf}(e,n)(t)}function Cp(){const t=Rr();return t&&t[Io].sanitizer}const d0=/^>|^->||--!>|)/g,p0="\u200b$1\u200b";function tc(t){return t instanceof Function?t():t}function ec(t){return"browser"===(t??Vo(Za)).get(_o)}var Qh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qh||{});let Df;function Af(t,e){return Df(t,e)}function Su(t,e,n,l,g){if(null!=l){let w,E=!1;Ii(l)?w=l:li(l)&&(E=!0,l=l[ze]);const R=Hn(l);0===t&&null!==n?null==g?bb(e,n,R):Sd(e,n,R,g||null,!0):1===t&&null!==n?Sd(e,n,R,g||null,!0):2===t?function Ou(t,e,n){t.removeChild(null,e,n)}(e,R,E):3===t&&e.destroyNode(R),null!=w&&function _b(t,e,n,l,g){const w=n[Fi];w!==Hn(n)&&Su(e,t,l,w,g);for(let R=yi;Re.replace(u0,p0))}(e))}function Tu(t,e,n){return t.createElement(e,n)}function pb(t,e){e[Io].changeDetectionScheduler?.notify(9),ag(t,e,e[Xr],2,null,null)}function gb(t,e){const n=t[ya],l=e[Yr];(li(l)||e[Qo]!==l[Yr][Qo])&&(t[_r]|=Po.HasTransplantedViews),null===n?t[ya]=[e]:n.push(e)}function If(t,e){const n=t[ya],l=n.indexOf(e);n.splice(l,1)}function Mu(t,e){if(t.length<=yi)return;const n=yi+e,l=t[n];if(l){const g=l[xn];null!==g&&g!==t&&If(g,l),e>0&&(t[n-1][Mr]=l[Mr]);const w=Ui(t,yi+e);!function v0(t,e){pb(t,e),e[ze]=null,e[Gr]=null}(l[nr],l);const E=w[oi];null!==E&&E.detachView(w[nr]),l[Yr]=null,l[Mr]=null,l[_r]&=-129}return l}function qh(t,e){if(!(256&e[_r])){const n=e[Xr];n.destroyNode&&ag(t,e,n,3,null,null),function hb(t){let e=t[tn];if(!e)return Of(t[nr],t);for(;e;){let n=null;if(li(e))n=e[tn];else{const l=e[yi];l&&(n=l)}if(!n){for(;e&&!e[Mr]&&e!==t;)li(e)&&Of(e[nr],e),e=e[Yr];null===e&&(e=t),li(e)&&Of(e[nr],e),n=e&&e[Mr]}e=n}}(e)}}function Of(t,e){if(256&e[_r])return;const n=A(null);try{e[_r]&=-129,e[_r]|=256,e[Rn]&&$t(e[Rn]),function k0(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let l=0;l=0?l[E]():l[-E].unsubscribe(),w+=2}else n[w].call(l[n[w+1]]);null!==l&&(e[go]=null);const g=e[uo];if(null!==g){e[uo]=null;for(let w=0;w-1){const{encapsulation:w}=t.data[l.directiveStart+g];if(w===bn.None||w===bn.Emulated)return null}return Ma(l,n)}}(t,e.parent,n)}function Sd(t,e,n,l,g){t.insertBefore(e,n,l,g)}function bb(t,e,n){t.appendChild(e,n)}function wb(t,e,n,l,g){null!==l?Sd(t,e,n,l,g):bb(t,e,n)}function Iu(t,e){return t.parentNode(e)}function yb(t,e,n){return rg(t,e,n)}let Rf,rg=function eg(t,e,n){return 40&t.type?Ma(t,n):null};function ng(t,e,n,l){const g=Jh(t,l,e),w=e[Xr],R=yb(l.parent||e[Gr],l,e);if(null!=g)if(Array.isArray(n))for(let U=0;Ufo&&jl(t,e,fo,!1),Ks(E?2:0,g),n(l,g)}finally{Uc(w),Ks(E?3:1,g)}}function Pf(t,e,n){if(Xa(e)){const l=A(null);try{const w=e.directiveEnd;for(let E=e.directiveStart;Enull;function Ib(t,e,n,l,g){for(let w in e){if(!e.hasOwnProperty(w))continue;const E=e[w];if(void 0===E)continue;l??={};let R,U=Lo.None;Array.isArray(E)?(R=E[0],U=E[1]):R=E;let ot=w;if(null!==g){if(!g.hasOwnProperty(w))continue;ot=g[w]}0===t?Ob(l,n,ot,R,U):Ob(l,n,ot,R)}return l}function Ob(t,e,n,l,g){let w;t.hasOwnProperty(n)?(w=t[n]).push(e,l):w=t[n]=[e,l],void 0!==g&&w.push(g)}function js(t,e,n,l,g,w,E,R){const U=Ma(e,n);let xt,ot=e.inputs;!R&&null!=ot&&(xt=ot[l])?(zf(t,n,xt,l,g),la(e)&&function L0(t,e){const n=xs(e,t);16&n[_r]||(n[_r]|=64)}(n,e.index)):3&e.type&&(l=function N0(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(l),g=null!=E?E(g,e.value||"",l):g,w.setProperty(U,l,g))}function Uf(t,e,n,l){if(rd()){const g=null===l?null:{"":-1},w=function j0(t,e){const n=t.directiveRegistry;let l=null,g=null;if(n)for(let w=0;w0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(E)!=R&&E.push(R),E.push(n,l,w)}}(t,e,l,Ap(t,n,g.hostVars,An),g)}function Oc(t,e,n,l,g,w){const E=Ma(t,e);!function Ru(t,e,n,l,g,w,E){if(null==w)t.removeAttribute(e,g,n);else{const R=null==E?po(w):E(w,l||"",g);t.setAttribute(e,g,R,n)}}(e[Xr],E,w,t.value,n,l,g)}function Pb(t,e,n,l,g,w){const E=w[e];if(null!==E)for(let R=0;R0&&(n[g-1][Mr]=e),l{kl(t.lView)},consumerOnSignalRead(){this.lView[Rn]=this}},ty={...O,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=$s(t.lView);for(;e&&!Hb(e[nr]);)e=$s(e);e&&Pd(e)},consumerOnSignalRead(){this.lView[Rn]=this}};function Hb(t){return 2!==t.type}const ey=100;function pg(t,e=!0,n=0){const l=t[Io],g=l.rendererFactory;g.begin?.();try{!function ry(t,e){const n=Kd();try{Zu(!0),Gf(t,e);let l=0;for(;ed(t);){if(l===ey)throw new We(103,!1);l++,Gf(t,1)}}finally{Zu(n)}}(t,n)}catch(E){throw e&&ug(t,E),E}finally{g.end?.(),l.inlineEffectRunner?.flush()}}function oy(t,e,n,l){const g=e[_r];if(!(256&~g))return;e[Io].inlineEffectRunner?.flush(),rh(e);let R=!0,U=null,ot=null;Hb(t)?(ot=function Y0(t){return t[Rn]??function Z0(t){const e=zb.pop()??Object.create(q0);return e.lView=t,e}(t)}(e),U=tt(ot)):null===function I(){return s}()?(R=!1,ot=function J0(t){const e=t[Rn]??Object.create(ty);return e.lView=t,e}(e),U=tt(ot)):e[Rn]&&($t(e[Rn]),e[Rn]=null);try{Ld(e),function Gd(t){return mn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Tb(t,e,n,2,l);const xt=!(3&~g);if(xt){const Ge=t.preOrderCheckHooks;null!==Ge&&Al(e,Ge,null)}else{const Ge=t.preOrderHooks;null!==Ge&&al(e,Ge,0,null),qu(e,0)}if(function ny(t){for(let e=_d(t);null!==e;e=wp(e)){if(!(e[_r]&Po.HasTransplantedViews))continue;const n=e[ya];for(let l=0;l-1&&(Mu(e,l),Ui(n,l))}this._attachedToViewContainer=!1}qh(this._lView[nr],this._lView)}onDestroy(e){Fd(this._lView,e)}markForCheck(){Tp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_r]&=-129}reattach(){Hu(this._lView),this._lView[_r]|=128}detectChanges(){this._lView[_r]|=1024,pg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new We(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Aa(this._lView),n=this._lView[xn];null!==n&&!e&&If(n,this._lView),pb(this._lView[nr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new We(902,!1);this._appRef=e;const n=Aa(this._lView),l=this._lView[xn];null!==l&&!n&&gb(l,this._lView),Hu(this._lView)}}let Od=(()=>{class t{static{this.__NG_ELEMENT_ID__=ay}}return t})();const h1=Od,iy=class extends h1{constructor(e,n,l){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,l){const g=Nu(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:l});return new Mp(g)}};function ay(){return Ip(Wn(),Rr())}function Ip(t,e){return 4&t.type?new iy(e,t,Mc(t,e)):null}let E1=()=>null;function Np(t,e){return E1(t,e)}class mg{}const Qf=new ro("",{providedIn:"root",factory:()=>!1}),C1=new ro(""),gy=new ro("");class KE{}class D1{}class XE{resolveComponentFactory(e){throw function GE(t){const e=Error(`No component factory found for ${eo(t)}.`);return e.ngComponent=t,e}(e)}}class qf{static{this.NULL=new XE}}class fy{}let YE=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function ZE(){const t=Rr(),n=xs(Wn().index,t);return(li(n)?n:t)[Xr]}()}}return t})(),QE=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>null})}}return t})();function Bu(t){return!!$i(t)}function Qb(t,e,n){let l=n?t.styles:null,g=n?t.classes:null,w=0;if(null!==e)for(let E=0;E0&&Eb(t,n,w.join(" "))}}(Fe,$a,hr,l),void 0!==n&&function s5(t,e,n){const l=t.projection=[];for(let g=0;g{class t{static{this.__NG_ELEMENT_ID__=l5}}return t})();function l5(){return N1(Wn(),Rr())}const d5=qb,O1=class extends d5{constructor(e,n,l){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=l}get element(){return Mc(this._hostTNode,this._hostLView)}get injector(){return new ra(this._hostTNode,this._hostLView)}get parentInjector(){const e=Jd(this._hostTNode,this._hostLView);if(gh(e)){const n=Sl(e,this._hostLView),l=ll(e);return new ra(n[nr].data[l+8],n)}return new ra(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=R1(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(e,n,l){let g,w;"number"==typeof l?g=l:null!=l&&(g=l.index,w=l.injector);const E=Np(this._lContainer,e.ssrId),R=e.createEmbeddedViewImpl(n||{},w,E);return this.insertImpl(R,g,Md(this._hostTNode,E)),R}createComponent(e,n,l,g,w){const E=e&&!function F(t){return"function"==typeof t}(e);let R;if(E)R=n;else{const hr=n||{};R=hr.index,l=hr.injector,g=hr.projectableNodes,w=hr.environmentInjector||hr.ngModuleRef}const U=E?e:new em(ln(e)),ot=l||this.parentInjector;if(!w&&null==U.ngModule){const zr=(E?ot:this.parentInjector).get(ai,null);zr&&(w=zr)}const xt=ln(U.componentType??{}),Jt=Np(this._lContainer,xt?.id??null),Ge=U.create(ot,g,Jt?.firstChild??null,w);return this.insertImpl(Ge.hostView,R,Md(this._hostTNode,Jt)),Ge}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,l){const g=e._lView;if(function Nd(t){return Ii(t[Yr])}(g)){const R=this.indexOf(e);if(-1!==R)this.detach(R);else{const U=g[Yr],ot=new O1(U,U[Gr],U[Yr]);ot.detach(ot.indexOf(e))}}const w=this._adjustIndex(n),E=this._lContainer;return Lu(E,g,w,l),e.attachToViewContainerRef(),ci(wy(E),w,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=R1(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),l=Mu(this._lContainer,n);l&&(Ui(wy(this._lContainer),n),qh(l[nr],l))}detach(e){const n=this._adjustIndex(e,-1),l=Mu(this._lContainer,n);return l&&null!=Ui(wy(this._lContainer),n)?new Mp(l):null}_adjustIndex(e,n=0){return e??this.length+n}};function R1(t){return t[8]}function wy(t){return t[8]||(t[8]=[])}function N1(t,e){let n;const l=e[t.index];return Ii(l)?n=l:(n=Fb(l,e,null,t),e[t.index]=n,dg(e,n)),L1(n,e,t,l),new O1(n,t,e)}let L1=function F1(t,e,n,l){if(t[Fi])return;let g;g=8&n.type?Hn(l):function u5(t,e){const n=t[Xr],l=n.createComment(""),g=Ma(e,t);return Sd(n,Iu(n,g),l,function tg(t,e){return t.nextSibling(e)}(n,g),!1),l}(e,n),t[Fi]=g},yy=()=>!1;class vy{constructor(e){this.queryList=e,this.matches=null}clone(){return new vy(this.queryList)}setDirty(){this.queryList.setDirty()}}class xy{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const l=null!==e.contentQueries?e.contentQueries[0]:n.length,g=[];for(let w=0;we.trim())}(e):e}}class _y{constructor(e=[]){this.queries=e}elementStart(e,n){for(let l=0;l0)l.push(E[R/2]);else{const ot=w[R+1],xt=e[-U];for(let Jt=yi;Jt(L(e),e.value);return n[k]=e,n}(t),l=n[k];return e?.equal&&(l.equal=e.equal),n.set=g=>Se(l,g),n.update=g=>function Rt(t,e){ct()||wr(),Se(t,e(t.value))}(l,g),n.asReadonly=G1.bind(n),n}function G1(){const t=this[k];if(void 0===t.readonlyFn){const e=()=>this();e[k]=t,t.readonlyFn=e}return t.readonlyFn}function X1(t){return Ay(t)&&"function"==typeof t.set}function Sy(t,e){let n;const l=Ct(()=>{n._dirtyCounter();const g=function x5(t,e){const n=t._lView,l=t._queryIndex;if(void 0===n||void 0===l||4&n[_r])return e?void 0:le;const g=Cy(n,l),w=H1(n,l);return g.reset(w,pp),e?g.first:g._changesDetected||void 0===t._flatValue?t._flatValue=g.toArray():t._flatValue}(n,t);if(e&&void 0===g)throw new We(-951,!1);return g});return n=l[k],n._dirtyCounter=K1(0),n._flatValue=void 0,l}function J1(t,e){return function Y1(){return Sy(!0,!1)}()}const k5=(J1.required=function _5(t,e){return function Z1(){return Sy(!0,!0)}()},J1);function Ty(t){let e=function ax(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const l=[t];for(;e;){let g;if(Ci(t))g=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new We(903,!1);g=e.\u0275dir}if(g){if(n){l.push(g);const E=t;E.inputs=tw(t.inputs),E.inputTransforms=tw(t.inputTransforms),E.declaredInputs=tw(t.declaredInputs),E.outputs=tw(t.outputs);const R=g.hostBindings;R&&P5(t,R);const U=g.viewQuery,ot=g.contentQueries;if(U&&N5(t,U),ot&&L5(t,ot),O5(t,g),Hr(t.outputs,g.outputs),Ci(g)&&g.data.animation){const xt=t.data;xt.animation=(xt.animation||[]).concat(g.data.animation)}}const w=g.features;if(w)for(let E=0;E=0;l--){const g=t[l];g.hostVars=e+=g.hostVars,g.hostAttrs=wi(g.hostAttrs,n=wi(n,g.hostAttrs))}}(l)}function O5(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const l=e.inputs[n];if(void 0!==l&&(t.inputs[n]=l,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const g=Array.isArray(l)?l[0]:l;if(!e.inputTransforms.hasOwnProperty(g))continue;t.inputTransforms??={},t.inputTransforms[g]=e.inputTransforms[g]}}}function tw(t){return t===te?{}:t===le?[]:t}function N5(t,e){const n=t.viewQuery;t.viewQuery=n?(l,g)=>{e(l,g),n(l,g)}:e}function L5(t,e){const n=t.contentQueries;t.contentQueries=n?(l,g,w)=>{e(l,g,w),n(l,g,w)}:e}function P5(t,e){const n=t.hostBindings;t.hostBindings=n?(l,g)=>{e(l,g),n(l,g)}:e}function sx(t){const e=n=>{const l=(Array.isArray(t)?t:t()).map(g=>"function"==typeof g?{directive:qt(g),inputs:te,outputs:te}:{directive:qt(g.directive),inputs:lx(g.inputs),outputs:lx(g.outputs)});null===n.hostDirectives?(n.findHostDirectiveDefs=cx,n.hostDirectives=l):n.hostDirectives.unshift(...l)};return e.ngInherit=!0,e}function cx(t,e,n){if(null!==t.hostDirectives)for(const l of t.hostDirectives){const g=Li(l.directive);$5(g.declaredInputs,l.inputs),cx(g,e,n),n.set(g,l),e.push(g)}}function lx(t){if(void 0===t||0===t.length)return te;const e={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Iy extends px{constructor(e){super(),this.moduleType=e}create(e){return new My(this.moduleType,e,[])}}class hx extends Lp{constructor(e){super(),this.componentFactoryResolver=new M1(this),this.instance=null;const n=new Hs([...e.providers,{provide:Lp,useValue:this},{provide:qf,useValue:this.componentFactoryResolver}],e.parent||Ts(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Oy(t,e,n=null){return new hx({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function ew(t){return!!Ry(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Ry(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Yl(t,e,n){return t[e]=n}function om(t,e){return t[e]}function Fa(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Pp(t,e,n,l){const g=Fa(t,e,n);return Fa(t,e+1,l)||g}function qc(t,e,n,l,g,w){const E=Pp(t,e,n,l);return Pp(t,e+2,g,w)||E}function nm(t,e,n,l,g,w,E,R,U,ot){const xt=n+fo,Jt=e.firstCreatePass?function G5(t,e,n,l,g,w,E,R,U){const ot=e.consts,xt=zl(e,t,4,E||null,R||null);Uf(e,n,xt,_s(ot,U)),Dl(e,xt);const Jt=xt.tView=lg(2,xt,l,g,w,e.directiveRegistry,e.pipeRegistry,null,e.schemas,ot,null);return null!==e.queries&&(e.queries.template(e,xt),Jt.queries=e.queries.embeddedTView(xt)),xt}(xt,e,t,l,g,w,E,R,U):e.data[xt];Zs(Jt,!1);const Fe=gx(e,t,Jt,n);ad()&&ng(e,t,Fe,Jt),qa(Fe,t);const Ge=Fb(Fe,t,Fe,Jt);return t[xt]=Ge,dg(t,Ge),function P1(t,e,n){return yy(t,e,n)}(Ge,Jt,t),$o(Jt)&&Ff(e,t,Jt),null!=U&&cg(t,Jt,ot),Jt}function Ny(t,e,n,l,g,w,E,R){const U=Rr(),ot=Cn();return nm(U,ot,t,e,n,l,g,_s(ot.consts,w),E,R),Ny}let gx=function fx(t,e,n,l){return cc(!0),e[Xr].createComment("")};var Bp=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Bp||{});let xx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();class sm{constructor(){this.ngZone=Vo(Bi),this.scheduler=Vo(mg),this.errorHandler=Vo(uc,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Bp.EarlyRead,Bp.Write,Bp.MixedReadWrite,Bp.Read]}execute(){this.executing=!0;for(const e of sm.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[e])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(l){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static{this.\u0275prov=Fo({token:sm,providedIn:"root",factory:()=>new sm})}}class Q5{constructor(e,n,l,g){this.impl=e,this.hooks=n,this.once=l,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function _x(t,e){!e?.injector&&fn();const n=e?.injector??Vo(Za);return ec(n)?(Vs("NgAfterRender"),kx(t,n,e,!1)):Ex}function aw(t,e){!e?.injector&&fn();const n=e?.injector??Vo(Za);return ec(n)?(Vs("NgAfterNextRender"),kx(t,n,e,!0)):Ex}function kx(t,e,n,l){const g=e.get(xx);g.impl??=e.get(sm);const w=n?.phase??Bp.MixedReadWrite,E=!0!==n?.manualCleanup?e.get(du):null,R=new Q5(g.impl,function q5(t,e){if(t instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[e]=t,n}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,w),l,E);return g.impl.register(R),R}const Ex={destroy(){}};function Wy(t,e,n,l){const g=Rr();return Fa(g,sc(),e)&&(Cn(),Oc(Ri(),g,t,e,n,l)),Wy}function Dg(t,e,n,l){return Fa(t,sc(),n)?e+po(n)+l:An}function Ag(t,e,n,l,g,w){const R=Pp(t,function Dc(){return mn.lFrame.bindingIndex}(),n,g);return Ac(2),R?e+po(n)+l+po(g)+w:An}function lw(t,e){return t<<17|e<<2}function ju(t){return t>>17&32767}function Ky(t){return 2|t}function $p(t){return(131068&t)>>2}function Gy(t,e){return-131069&t|e<<2}function Xy(t){return 1|t}function Zx(t,e,n,l){const g=t[n+1],w=null===e;let E=l?ju(g):$p(g),R=!1;for(;0!==E&&(!1===R||w);){const ot=t[E+1];N3(t[E],e)&&(R=!0,t[E+1]=l?Xy(ot):Ky(ot)),E=l?ju(ot):$p(ot)}R&&(t[n+1]=l?Ky(g):Xy(g))}function N3(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&G(t,e)>=0}const ls={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Qx(t){return t.substring(ls.key,ls.keyEnd)}function L3(t){return t.substring(ls.value,ls.valueEnd)}function qx(t,e){const n=ls.textEnd;return n===e?-1:(e=ls.keyEnd=function B3(t,e,n){for(;e32;)e++;return e}(t,ls.key=e,n),Ng(t,e,n))}function Jx(t,e){const n=ls.textEnd;let l=ls.key=Ng(t,e,n);return n===l?-1:(l=ls.keyEnd=function U3(t,e,n){let l;for(;e=65&&(-33&l)<=90||l>=48&&l<=57);)e++;return e}(t,l,n),l=e2(t,l,n),l=ls.value=Ng(t,l,n),l=ls.valueEnd=function $3(t,e,n){let l=-1,g=-1,w=-1,E=e,R=E;for(;E32&&(R=E),w=g,g=l,l=-33&U}return R}(t,l,n),e2(t,l,n))}function t2(t){ls.key=0,ls.keyEnd=0,ls.value=0,ls.valueEnd=0,ls.textEnd=t.length}function Ng(t,e,n){for(;e=0;n=Jx(e,n))s2(t,Qx(e),L3(e))}function o2(t){wl(G3,Zl,t,!0)}function Zl(t,e){for(let n=function P3(t){return t2(t),qx(t,Ng(t,0,ls.textEnd))}(e);n>=0;n=qx(e,n))_i(t,Qx(e),!0)}function bl(t,e,n,l){const g=Rr(),w=Cn(),E=Ac(2);w.firstUpdatePass&&a2(w,t,E,l),e!==An&&Fa(g,E,e)&&c2(w,w.data[va()],g,g[Xr],t,g[E+1]=function Y3(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=eo(Zc(t)))),t}(e,n),l,E)}function wl(t,e,n,l){const g=Cn(),w=Ac(2);g.firstUpdatePass&&a2(g,null,w,l);const E=Rr();if(n!==An&&Fa(E,w,n)){const R=g.data[va()];if(d2(R,l)&&!n2(g,w)){let U=l?R.classesWithoutHost:R.stylesWithoutHost;null!==U&&(n=Bo(U,n||"")),Zy(g,R,E,n,l)}else!function X3(t,e,n,l,g,w,E,R){g===An&&(g=le);let U=0,ot=0,xt=0=t.expandoStartIndex}function a2(t,e,n,l){const g=t.data;if(null===g[n+1]){const w=g[va()],E=n2(t,n);d2(w,l)&&null===e&&!E&&(e=!1),e=function V3(t,e,n,l){const g=th(t);let w=l?e.residualClasses:e.residualStyles;if(null===g)0===(l?e.classBindings:e.styleBindings)&&(n=lm(n=Jy(null,t,e,n,l),e.attrs,l),w=null);else{const E=e.directiveStylingLast;if(-1===E||t[E]!==g)if(n=Jy(g,t,e,n,l),null===w){let U=function z3(t,e,n){const l=n?e.classBindings:e.styleBindings;if(0!==$p(l))return t[ju(l)]}(t,e,l);void 0!==U&&Array.isArray(U)&&(U=Jy(null,t,e,U[1],l),U=lm(U,e.attrs,l),function H3(t,e,n,l){t[ju(n?e.classBindings:e.styleBindings)]=l}(t,e,l,U))}else w=function W3(t,e,n){let l;const g=e.directiveEnd;for(let w=1+e.directiveStylingLast;w0)&&(ot=!0)):xt=n,g)if(0!==U){const Fe=ju(t[R+1]);t[l+1]=lw(Fe,R),0!==Fe&&(t[Fe+1]=Gy(t[Fe+1],l)),t[R+1]=function M3(t,e){return 131071&t|e<<17}(t[R+1],l)}else t[l+1]=lw(R,0),0!==R&&(t[R+1]=Gy(t[R+1],l)),R=l;else t[l+1]=lw(U,0),0===R?R=l:t[U+1]=Gy(t[U+1],l),U=l;ot&&(t[l+1]=Ky(t[l+1])),Zx(t,xt,l,!0),Zx(t,xt,l,!1),function R3(t,e,n,l,g){const w=g?t.residualClasses:t.residualStyles;null!=w&&"string"==typeof e&&G(w,e)>=0&&(n[l+1]=Xy(n[l+1]))}(e,xt,t,l,w),E=lw(R,U),w?e.classBindings=E:e.styleBindings=E}(g,w,e,n,E,l)}}function Jy(t,e,n,l,g){let w=null;const E=n.directiveEnd;let R=n.directiveStylingLast;for(-1===R?R=n.directiveStart:R++;R0;){const U=t[g],ot=Array.isArray(U),xt=ot?U[1]:U,Jt=null===xt;let Fe=n[g+1];Fe===An&&(Fe=Jt?le:void 0);let Ge=Jt?os(Fe,l):xt===l?Fe:void 0;if(ot&&!dw(Ge)&&(Ge=os(U,l)),dw(Ge)&&(R=Ge,E))return R;const hr=t[g+1];g=E?ju(hr):$p(hr)}if(null!==e){let U=w?e.residualClasses:e.residualStyles;null!=U&&(R=os(U,l))}return R}function dw(t){return void 0!==t}function d2(t,e){return!!(t.flags&(e?8:16))}function u2(t,e,n){wl(_i,Zl,Dg(Rr(),t,e,n),!0)}function p2(){return Rr()[Qo][Vr]}class nC{destroy(e){}updateValue(e,n){}swap(e,n){const l=Math.min(e,n),g=Math.max(e,n),w=this.detach(g);if(g-l>1){const E=this.detach(l);this.attach(l,w),this.attach(g,E)}else this.attach(l,w)}move(e,n){this.attach(n,this.detach(e))}}function tv(t,e,n,l,g){return t===n&&Object.is(e,l)?1:Object.is(g(t,e),g(n,l))?-1:0}function ev(t,e,n,l){return!(void 0===e||!e.has(l)||(t.attach(n,e.get(l)),e.delete(l),0))}function h2(t,e,n,l,g){if(ev(t,e,l,n(l,g)))t.updateValue(l,g);else{const w=t.create(l,g);t.attach(l,w)}}function g2(t,e,n,l){const g=new Set;for(let w=e;w<=n;w++)g.add(l(w,t.at(w)));return g}class f2{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const n=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let l=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const g=this._vMap;for(;g.has(l);)l=g.get(l);g.set(l,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,l]of this.kvMap)if(e(l,n),void 0!==this._vMap){const g=this._vMap;for(;g.has(l);)l=g.get(l),e(l,n)}}}function m2(t,e){Vs("NgControlFlow");const n=Rr(),l=sc(),g=n[l]!==An?n[l]:-1,w=-1!==g?uw(n,fo+g):void 0;if(Fa(n,l,t)){const R=A(null);try{if(void 0!==w&&Kf(w,0),-1!==t){const U=fo+t,ot=uw(n,U),xt=rv(n[nr],U),Jt=Np(ot,xt.tView.ssrId);Lu(ot,Nu(n,xt,e,{dehydratedView:Jt}),0,Md(xt,Jt))}}finally{A(R)}}else if(void 0!==w){const R=Wf(w,0);void 0!==R&&(R[Vr]=e)}}class aC{constructor(e,n,l){this.lContainer=e,this.$implicit=n,this.$index=l}get $count(){return this.lContainer.length-yi}}function b2(t){return t}class cC{constructor(e,n,l){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=l}}function w2(t,e,n,l,g,w,E,R,U,ot,xt,Jt,Fe){Vs("NgControlFlow");const Ge=Rr(),hr=Cn(),zr=void 0!==U,ho=Rr(),Mo=R?E.bind(ho[Qo][Vr]):E,$r=new cC(zr,Mo);ho[fo+t]=$r,nm(Ge,hr,t+1,e,n,l,g,_s(hr.consts,w)),zr&&nm(Ge,hr,t+2,U,ot,xt,Jt,_s(hr.consts,Fe))}class lC extends nC{constructor(e,n,l){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=l,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-yi}at(e){return this.getLView(e)[Vr].$implicit}attach(e,n){const l=n[Jr];this.needsIndexUpdate||=e!==this.length,Lu(this.lContainer,n,e,Md(this.templateTNode,l))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function dC(t,e){return Mu(t,e)}(this.lContainer,e)}create(e,n){const l=Np(this.lContainer,this.templateTNode.tView.ssrId),g=Nu(this.hostLView,this.templateTNode,new aC(this.lContainer,n,e),{dehydratedView:l});return this.operationsCounter?.recordCreate(),g}destroy(e){qh(e[nr],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[Vr].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(U)})}(U,t,w.trackByFn),U.updateIndexes(),w.hasEmptyBlock){const ot=sc(),xt=0===U.length;if(Fa(l,ot,xt)){const Jt=n+2,Fe=uw(l,Jt);if(xt){const Ge=rv(g,Jt),hr=Np(Fe,Ge.tView.ssrId);Lu(Fe,Nu(l,Ge,void 0,{dehydratedView:hr}),0,Md(Ge,hr))}else Kf(Fe,0)}}}finally{A(e)}}function uw(t,e){return t[e]}function rv(t,e){return Cc(t,e)}function pw(t,e,n,l){const g=Rr(),w=Cn(),E=fo+t,R=g[Xr],U=w.firstCreatePass?function pC(t,e,n,l,g,w){const E=e.consts,U=zl(e,t,2,l,_s(E,g));return Uf(e,n,U,_s(E,w)),null!==U.attrs&&Qb(U,U.attrs,!1),null!==U.mergedAttrs&&Qb(U,U.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,U),U}(E,w,g,e,n,l):w.data[E],ot=v2(w,g,U,R,e,t);g[E]=ot;const xt=$o(U);return Zs(U,!0),Cb(R,ot,U),!function wg(t){return!(32&~t.flags)}(U)&&ad()&&ng(w,g,ot,U),0===function jg(){return mn.lFrame.elementDepthCount}()&&qa(ot,g),function Ud(){mn.lFrame.elementDepthCount++}(),xt&&(Ff(w,g,U),Pf(w,U,g)),null!==l&&cg(g,U),pw}function hw(){let t=Wn();Yu()?Hd():(t=t.parent,Zs(t,!1));const e=t;(function Zp(t){return mn.skipHydrationRootTNode===t})(e)&&function jd(){mn.skipHydrationRootTNode=null}(),function $d(){mn.lFrame.elementDepthCount--}();const n=Cn();return n.firstCreatePass&&(Dl(n,t),Xa(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Kg(t){return!!(8&t.flags)}(e)&&Zy(n,e,Rr(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ph(t){return!!(16&t.flags)}(e)&&Zy(n,e,Rr(),e.stylesWithoutHost,!1),hw}function ov(t,e,n,l){return pw(t,e,n,l),hw(),ov}let v2=(t,e,n,l,g,w)=>(cc(!0),Tu(l,g,function ch(){return mn.lFrame.currentNamespace}()));function gw(t,e,n){const l=Rr(),g=Cn(),w=t+fo,E=g.firstCreatePass?function fC(t,e,n,l,g){const w=e.consts,E=_s(w,l),R=zl(e,t,8,"ng-container",E);return null!==E&&Qb(R,E,!0),Uf(e,n,R,_s(w,g)),null!==e.queries&&e.queries.elementStart(e,R),R}(w,g,l,e,n):g.data[w];Zs(E,!0);const R=x2(g,l,E,t);return l[w]=R,ad()&&ng(g,l,R,E),qa(R,l),$o(E)&&(Ff(g,l,E),Pf(g,E,l)),null!=n&&cg(l,E),gw}function fw(){let t=Wn();const e=Cn();return Yu()?Hd():(t=t.parent,Zs(t,!1)),e.firstCreatePass&&(Dl(e,t),Xa(t)&&e.queries.elementEnd(t)),fw}function nv(t,e,n){return gw(t,e,n),fw(),nv}let x2=(t,e,n,l)=>(cc(!0),Mf(e[Xr],""));function _2(){return Rr()}function iv(t,e,n){const l=Rr();return Fa(l,sc(),e)&&js(Cn(),Ri(),l,t,e,l[Xr],n,!0),iv}function av(t,e,n){const l=Rr();if(Fa(l,sc(),e)){const w=Cn(),E=Ri();js(w,E,l,t,e,$b(th(w.data),E,l),n,!0)}return av}const jp=void 0;var yC=["en",[["a","p"],["AM","PM"],jp],[["AM","PM"],jp,jp],[["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"]],jp,[["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"]],jp,[["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}",jp,"{1} 'at' {0}",jp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function wC(t){const n=Math.floor(Math.abs(t)),l=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===l?1:5}];let Lg={};function sv(t){const e=function vC(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=E2(e);if(n)return n;const l=e.split("-")[0];if(n=E2(l),n)return n;if("en"===l)return yC;throw new We(701,!1)}function k2(t){return sv(t)[Pg.PluralCase]}function E2(t){return t in Lg||(Lg[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),Lg[t]}var Pg=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Pg||{});const mw="en-US";let C2=mw,z2=(t,e,n)=>{};function dv(t,e,n,l){const g=Rr(),w=Cn(),E=Wn();return pv(w,g,g[Xr],E,t,e,l),dv}function uv(t,e){const n=Wn(),l=Rr(),g=Cn();return pv(g,l,$b(th(g.data),n,l),n,t,e),uv}function pv(t,e,n,l,g,w,E){const R=$o(l),ot=t.firstCreatePass&&Ub(t),xt=e[Vr],Jt=Vf(e);let Fe=!0;if(3&l.type||E){const zr=Ma(l,e),ho=E?E(zr):zr,Mo=Jt.length,$r=E?di=>E(Hn(di[l.index])):l.index;let kn=null;if(!E&&R&&(kn=function c4(t,e,n,l){const g=t.cleanup;if(null!=g)for(let w=0;wU?R[U]:null}"string"==typeof E&&(w+=2)}return null}(t,e,g,l.index)),null!==kn)(kn.__ngLastListenerFn__||kn).__ngNextListenerFn__=w,kn.__ngLastListenerFn__=w,Fe=!1;else{w=K2(l,e,xt,w),z2(zr,g,w);const di=n.listen(ho,g,w);Jt.push(w,di),ot&&ot.push(g,$r,Mo,Mo+1)}}else w=K2(l,e,xt,w);const Ge=l.outputs;let hr;if(Fe&&null!==Ge&&(hr=Ge[g])){const zr=hr.length;if(zr)for(let ho=0;ho-1?xs(t.index,e):e,5);let R=W2(e,n,l,w),U=g.__ngNextListenerFn__;for(;U;)R=W2(e,n,U,w)&&R,U=U.__ngNextListenerFn__;return R}}function G2(t=1){return function Xd(t){return(mn.lFrame.contextLView=function ks(t,e){for(;t>0;)e=e[En],t--;return e}(t,mn.lFrame.contextLView))[Vr]}(t)}function l4(t,e){let n=null;const l=function je(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let g=0;gn._dirtyCounter.update(l=>l+1))}(e,V1(t,n,l,g))}function l_(t=1){nd(eh()+t)}function d_(t){return _l(function Qs(){return mn.lFrame.contextLView}(),fo+t)}function v_(t,e=""){const n=Rr(),l=Cn(),g=t+fo,w=l.firstCreatePass?zl(l,g,1,e,null):l.data[g],E=x_(l,n,w,e,t);n[g]=E,ad()&&ng(l,n,E,w),Zs(w,!1)}let x_=(t,e,n,l,g)=>(cc(!0),function Sf(t,e){return t.createText(e)}(e[Xr],l));function fv(t){return xw("",t,""),fv}function xw(t,e,n){const l=Rr(),g=Dg(l,t,e,n);return g!==An&&gl(l,va(),g),xw}function mv(t,e,n,l,g){const w=Rr(),E=Ag(w,t,e,n,l,g);return E!==An&&gl(w,va(),E),mv}function bv(t,e,n){X1(e)&&(e=e());const l=Rr();return Fa(l,sc(),e)&&js(Cn(),Ri(),l,t,e,l[Xr],n,!1),bv}function T_(t,e){const n=X1(t);return n&&t.set(e),n}function wv(t,e){const n=Rr(),l=Cn(),g=Wn();return pv(l,n,n[Xr],g,t,e),wv}function yv(t,e,n,l,g){if(t=qt(t),Array.isArray(t))for(let w=0;w>20;if(Ca(t)||!t.multi){const Ge=new sl(ot,g,Vl),hr=xv(U,e,g?xt:xt+Fe,Jt);-1===hr?(tu($c(R,E),w,U),vv(w,t,e.length),e.push(U),R.directiveStart++,R.directiveEnd++,g&&(R.providerIndexes+=1048576),n.push(Ge),E.push(Ge)):(n[hr]=Ge,E[hr]=Ge)}else{const Ge=xv(U,e,xt+Fe,Jt),hr=xv(U,e,xt,xt+Fe),ho=hr>=0&&n[hr];if(g&&!ho||!g&&!(Ge>=0&&n[Ge])){tu($c(R,E),w,U);const Mo=function S4(t,e,n,l,g){const w=new sl(t,n,Vl);return w.multi=[],w.index=e,w.componentProviders=0,O_(w,g,l&&!n),w}(g?A4:D4,n.length,g,l,ot);!g&&ho&&(n[hr].providerFactory=Mo),vv(w,t,e.length,0),e.push(U),R.directiveStart++,R.directiveEnd++,g&&(R.providerIndexes+=1048576),n.push(Mo),E.push(Mo)}else vv(w,t,Ge>-1?Ge:hr,O_(n[g?hr:Ge],ot,!g&&l));!g&&l&&ho&&n[hr].componentProviders++}}}function vv(t,e,n,l){const g=Ca(e),w=function el(t){return!!t.useClass}(e);if(g||w){const U=(w?qt(e.useClass):e).prototype.ngOnDestroy;if(U){const ot=t.destroyHooks||(t.destroyHooks=[]);if(!g&&e.multi){const xt=ot.indexOf(n);-1===xt?ot.push(n,[l,U]):ot[xt+1].push(l,U)}else ot.push(n,U)}}}function O_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function xv(t,e,n,l){for(let g=n;g{n.providersResolver=(l,g)=>function C4(t,e,n){const l=Cn();if(l.firstCreatePass){const g=Ci(t);yv(n,l.data,l.blueprint,g,!0),yv(e,l.data,l.blueprint,g,!1)}}(l,g?g(t):t,e)}}let T4=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const l=Nc(0,n.type),g=l.length>0?Oy([l],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,g)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Fo({token:t,providedIn:"environment",factory:()=>new t(Nn(ai))})}}return t})();function N_(t){Vs("NgStandalone"),t.getStandaloneInjector=e=>e.get(T4).getOrCreateStandaloneInjector(t)}function F_(t,e,n){const l=ga()+t,g=Rr();return g[l]===An?Yl(g,l,n?e.call(n):e()):om(g,l)}function B_(t,e,n,l){return z_(Rr(),ga(),t,e,n,l)}function U_(t,e,n,l,g){return H_(Rr(),ga(),t,e,n,l,g)}function $_(t,e,n,l,g,w){return function W_(t,e,n,l,g,w,E,R){const U=e+n;return function rw(t,e,n,l,g){const w=Pp(t,e,n,l);return Fa(t,e+2,g)||w}(t,U,g,w,E)?Yl(t,U+3,R?l.call(R,g,w,E):l(g,w,E)):fm(t,U+3)}(Rr(),ga(),t,e,n,l,g,w)}function j_(t,e,n,l,g,w,E){return function K_(t,e,n,l,g,w,E,R,U){const ot=e+n;return qc(t,ot,g,w,E,R)?Yl(t,ot+4,U?l.call(U,g,w,E,R):l(g,w,E,R)):fm(t,ot+4)}(Rr(),ga(),t,e,n,l,g,w,E)}function V_(t,e,n,l,g,w,E,R,U,ot,xt){const Jt=ga()+t,Fe=Rr(),Ge=qc(Fe,Jt,n,l,g,w);return qc(Fe,Jt+4,E,R,U,ot)||Ge?Yl(Fe,Jt+8,xt?e.call(xt,n,l,g,w,E,R,U,ot):e(n,l,g,w,E,R,U,ot)):om(Fe,Jt+8)}function fm(t,e){const n=t[e];return n===An?void 0:n}function z_(t,e,n,l,g,w){const E=e+n;return Fa(t,E,g)?Yl(t,E+1,w?l.call(w,g):l(g)):fm(t,E+1)}function H_(t,e,n,l,g,w,E){const R=e+n;return Pp(t,R,g,w)?Yl(t,R+2,E?l.call(E,g,w):l(g,w)):fm(t,R+2)}function X_(t,e){const n=Cn();let l;const g=t+fo;n.firstCreatePass?(l=function F4(t,e){if(e)for(let n=e.length-1;n>=0;n--){const l=e[n];if(t===l.name)return l}}(e,n.pipeRegistry),n.data[g]=l,l.onDestroy&&(n.destroyHooks??=[]).push(g,l.onDestroy)):l=n.data[g];const w=l.factory||(l.factory=bi(l.type)),R=vi(Vl);try{const U=dd(!1),ot=w();return dd(U),function gv(t,e,n,l){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=l}(n,Rr(),g,ot),ot}finally{vi(R)}}function Y_(t,e,n){const l=t+fo,g=Rr(),w=_l(g,l);return mm(g,l)?z_(g,ga(),e,w.transform,n,w):w.transform(n)}function Z_(t,e,n,l){const g=t+fo,w=Rr(),E=_l(w,g);return mm(w,g)?H_(w,ga(),e,E.transform,n,l,E):E.transform(n,l)}function mm(t,e){return t[nr].data[e].pure}function Q_(t,e){return Ip(t,e)}class gk{constructor(e){this.full=e;const n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let fk=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const vk=new ro(""),xk=new ro("");let Sv,R8=(()=>{class t{constructor(n,l,g){this._ngZone=n,this.registry=l,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Sv||(function N8(t){Sv=t}(g),g.addToWindow(l)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(n)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,l,g){let w=-1;l&&l>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(E=>E.timeoutId!==w),n()},l)),this._callbacks.push({doneCb:n,timeoutId:w,updateCb:g})}whenStable(n,l,g){if(g&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,l,g),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,l,g){return[]}static{this.\u0275fac=function(l){return new(l||t)(Nn(Bi),Nn(_k),Nn(xk))}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac})}}return t})(),_k=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,l){this._applications.set(n,l)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,l=!0){return Sv?.findTestabilityInTree(this,n,l)??null}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function Tv(t){return!!t&&"function"==typeof t.then}function kk(t){return!!t&&"function"==typeof t.subscribe}const Ek=new ro("");let Ck=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,l)=>{this.resolve=n,this.reject=l}),this.appInits=Vo(Ek,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const g of this.appInits){const w=g();if(Tv(w))n.push(w);else if(kk(w)){const E=new Promise((R,U)=>{w.subscribe({complete:R,error:U})});n.push(E)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{l()}).catch(g=>{this.reject(g)}),0===n.length&&l(),this.initialized=!0}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Dw=new ro("");let Ql=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vo(hu),this.afterRenderManager=Vo(xx),this.zonelessEnabled=Vo(Qf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie.B,this.afterTick=new ie.B,this.componentTypes=[],this.components=[],this.isStable=Vo(Ol).hasPendingTasks.pipe((0,Ht.T)(n=>!n)),this._injector=Vo(ai)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(l=>{n=this.isStable.subscribe({next:g=>{g&&l()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,l){const g=n instanceof D1;if(!this._injector.get(Ck).done)throw!g&&Ji(n),new We(405,!1);let E;E=g?n:this._injector.get(qf).resolveComponentFactory(n),this.componentTypes.push(E.componentType);const R=function L8(t){return t.isBoundToModule}(E)?void 0:this._injector.get(Lp),ot=E.create(Za.NULL,[],l||E.selector,R),xt=ot.location.nativeElement,Jt=ot.injector.get(vk,null);return Jt?.registerApplication(xt),ot.onDestroy(()=>{this.detachView(ot.hostView),Aw(this.components,ot),Jt?.unregisterApplication(xt)}),this._loadComponent(ot),ot}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new We(101,!1);const n=A(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,A(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(fy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let l=0;for(;0!==this.dirtyFlags&&l++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(l);for(let{_lView:g,notifyErrorHandler:w}of this._views)B8(g,w,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>ed(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const l=n;this._views.push(l),l.attachToAppRef(this)}detachView(n){const l=n;Aw(this._views,l),l.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const l=this._injector.get(Dw,[]);[...this._bootstrapListeners,...l].forEach(g=>g(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),()=>Aw(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new We(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Aw(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function B8(t,e,n,l){(n||ed(t))&&pg(t,e,n&&!l?0:1)}class U8{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let $8=(()=>{class t{compileModuleSync(n){return new Iy(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const l=this.compileModuleSync(n),w=tc($i(n).declarations).reduce((E,R)=>{const U=ln(R);return U&&E.push(new em(U)),E},[]);return new U8(l,w)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),z8=(()=>{class t{constructor(){this.zone=Vo(Bi),this.changeDetectionScheduler=Vo(mg),this.applicationRef=Vo(Ql)}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(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Mv({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Bi({...Iv(),scheduleInRootZone:n}),[{provide:Bi,useFactory:t},{provide:Br,multi:!0,useFactory:()=>{const l=Vo(z8,{optional:!0});return()=>l.initialize()}},{provide:Br,multi:!0,useFactory:()=>{const l=Vo(W8);return()=>{l.initialize()}}},!0===e?{provide:C1,useValue:!0}:[],{provide:gy,useValue:n??Ah}]}function Iv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let W8=(()=>{class t{constructor(){this.subscription=new He.yU,this.initialized=!1,this.zone=Vo(Bi),this.pendingTasks=Vo(Ol)}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(()=>{Bi.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Bi.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ym=(()=>{class t{constructor(){this.appRef=Vo(Ql),this.taskService=Vo(Ol),this.ngZone=Vo(Bi),this.zonelessEnabled=Vo(Qf),this.disableScheduling=Vo(C1,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new He.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rl):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Vo(gy,{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 fd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)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;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?ul:Sh;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(n),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ul(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Rv=new ro("",{providedIn:"root",factory:()=>Vo(Rv,nn.Optional|nn.SkipSelf)||function K8(){return typeof $localize<"u"&&$localize.locale||mw}()}),G8=new ro("",{providedIn:"root",factory:()=>"USD"}),Tw=new ro("");function Mw(t){return!t.moduleRef}let Vu=null;function rD(){return!1}let Uk=(()=>{class t{static{this.__NG_ELEMENT_ID__=oD}}return t})();function oD(t){return function nD(t,e,n){if(la(t)&&!n){const l=xs(t.index,e);return new Mp(l,l)}return 175&t.type?new Mp(e[Qo],e):null}(Wn(),Rr(),!(16&~t))}class zk{constructor(){}supports(e){return ew(e)}create(e){return new lD(e)}}const cD=(t,e)=>e;class lD{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||cD}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,l=this._removalsHead,g=0,w=null;for(;n||l;){const E=!l||n&&n.currentIndex{E=this._trackByFn(g,R),null!==n&&Object.is(n.trackById,E)?(l&&(n=this._verifyReinsertion(n,R,E,g)),Object.is(n.item,R)||this._addIdentityChange(n,R)):(n=this._mismatch(n,R,E,g),l=!0),n=n._next,g++}),this.length=g;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,l,g){let w;return null===e?w=this._itTail:(w=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,w,g)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(l,g))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,w,g)):e=this._addAfter(new dD(n,l),w,g),e}_verifyReinsertion(e,n,l,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==w?e=this._reinsertAfter(w,e._prev,g):e.currentIndex!=g&&(e.currentIndex=g,this._addToMoves(e,g)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const g=e._prevRemoved,w=e._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(e,n,l),this._addToMoves(e,l),e}_moveAfter(e,n,l){return this._unlink(e),this._insertAfter(e,n,l),this._addToMoves(e,l),e}_addAfter(e,n,l){return this._insertAfter(e,n,l),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,l){const g=null===n?this._itHead:n._next;return e._next=g,e._prev=n,null===g?this._itTail=e:g._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new Hk),this._linkedRecords.put(e),e.currentIndex=l,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,l=e._next;return null===n?this._itHead=l:n._next=l,null===l?this._itTail=n:l._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Hk),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class dD{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class uD{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===n||n<=l.currentIndex)&&Object.is(l.trackById,e))return l;return null}remove(e){const n=e._prevDup,l=e._nextDup;return null===n?this._head=l:n._nextDup=l,null===l?this._tail=n:l._prevDup=n,null===this._head}}class Hk{constructor(){this.map=new Map}put(e){const n=e.trackById;let l=this.map.get(n);l||(l=new uD,this.map.set(n,l)),l.add(e)}get(e,n){const g=this.map.get(e);return g?g.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Wk(t,e,n){const l=t.previousIndex;if(null===l)return l;let g=0;return n&&l{if(n&&n.key===g)this._maybeAddToChanges(n,l),this._appendAfter=n,n=n._next;else{const w=this._getOrCreateRecordForKey(g,l);n=this._insertBeforeOrAppend(n,w)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let l=n;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const l=e._prev;return n._next=e,n._prev=l,e._prev=n,l&&(l._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const g=this._records.get(e);this._maybeAddToChanges(g,n);const w=g._prev,E=g._next;return w&&(w._next=E),E&&(E._prev=w),g._next=null,g._prev=null,g}const l=new hD(e);return this._records.set(e,l),l.currentValue=n,this._addToAdditions(l),l}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(l=>n(e[l],l))}}class hD{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Gk(){return new Uv([new zk])}let Uv=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Gk})}constructor(n){this.factories=n}static create(n,l){if(null!=l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Gk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(null!=l)return l;throw new We(901,!1)}}return t})();function Xk(){return new $v([new Kk])}let $v=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Xk})}constructor(n){this.factories=n}static create(n,l){if(l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Xk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(l)return l;throw new We(901,!1)}}return t})();function AD(t){try{const{rootComponent:e,appProviders:n,platformProviders:l}=t,g=function eD(t=[]){if(Vu)return Vu;const e=function Pk(t=[],e){return Za.create({name:e,providers:[{provide:ki,useValue:"platform"},{provide:Tw,useValue:new Set([()=>Vu=null])},...t]})}(t);return Vu=e,function Dk(){!function Wr(t){gr=t}(()=>{throw new We(600,!1)})}(),function Fk(t){t.get(Ho,null)?.forEach(n=>n())}(e),e}(l),w=[Mv({}),{provide:mg,useExisting:ym},...n||[]];return function Rk(t){const e=Mw(t)?t.r3Injector:t.moduleRef.injector,n=e.get(Bi);return n.run(()=>{Mw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const l=e.get(uc,null);let g;if(n.runOutsideAngular(()=>{g=n.onError.subscribe({next:w=>{l.handleError(w)}})}),Mw(t)){const w=()=>e.destroy(),E=t.platformInjector.get(Tw);E.add(w),e.onDestroy(()=>{g.unsubscribe(),E.delete(w)})}else{const w=()=>t.moduleRef.destroy(),E=t.platformInjector.get(Tw);E.add(w),t.moduleRef.onDestroy(()=>{Aw(t.allPlatformModules,t.moduleRef),g.unsubscribe(),E.delete(w)})}return function F8(t,e,n){try{const l=n();return Tv(l)?l.catch(g=>{throw e.runOutsideAngular(()=>t.handleError(g)),g}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(l,n,()=>{const w=e.get(Ck);return w.runInitializers(),w.donePromise.then(()=>{if(function EC(t){"string"==typeof t&&(C2=t.toLowerCase().replace(/_/g,"-"))}(e.get(Rv,mw)||mw),Mw(t)){const R=e.get(Ql);return void 0!==t.rootComponent&&R.bootstrap(t.rootComponent),R}return function q8(t,e){const n=t.injector.get(Ql);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(l=>n.bootstrap(l));else{if(!t.instance.ngDoBootstrap)throw new We(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new hx({providers:w,parent:g,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:g,rootComponent:e})}catch(e){return Promise.reject(e)}}function GD(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function XD(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function ZD(t,e){Vs("NgSignals");const n=Ct(t);return e?.equal&&(n[k].equal=e.equal),n}function QD(t){const e=A(null);try{return t()}finally{A(e)}}const qD=new ro("",{providedIn:"root",factory:()=>Vo(JD)});let JD=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new tA})}}return t})();class tA{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Vo(Ol),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){const n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const l=this.queues.get(n);l.has(e)||(this.queuedEffectCount++,l.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,n]of this.queues)null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(const n of e)e.delete(n),this.queuedEffectCount--,n.run()}}class eA{constructor(e,n,l,g,w,E){this.scheduler=e,this.effectFn=n,this.creationZone=l,this.injector=w,this.watcher=function Ye(t,e,n){const l=Object.create(pe);n&&(l.consumerAllowSignalWrites=!0),l.fn=t,l.schedule=e;const g=U=>{l.cleanupFn=U};return l.ref={notify:()=>dt(l),run:()=>{if(null===l.fn)return;if(function M(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(l.dirty=!1,l.hasRun&&!Mt(l))return;l.hasRun=!0;const U=tt(l);try{l.cleanupFn(),l.cleanupFn=ft,l.fn(g)}finally{vt(l,U)}},cleanup:()=>l.cleanupFn(),destroy:()=>function E(U){(function w(U){return null===U.fn&&null===U.schedule})(U)||($t(U),U.cleanupFn(),U.fn=null,U.schedule=null,U.cleanupFn=ft)}(l),[k]:l},l.ref}(R=>this.runEffect(R),()=>this.schedule(),E),this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(uc,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function bE(t,e){Vs("NgSignals"),!e?.injector&&fn();const n=e?.injector??Vo(Za),l=!0!==e?.manualCleanup?n.get(du):null,g=new eA(n.get(qD),t,typeof Zone>"u"?null:Zone.current,l,n,e?.allowSignalWrites??!1),w=n.get(Uk,null,{optional:!0});return w&&8&w._lView[_r]?(w._lView[vn]??=[]).push(g.watcher.notify):g.watcher.notify(),g}function rA(t){const e=ln(t);if(!e)return null;const n=new em(e);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 e.standalone},get isSignal(){return e.signals}}}},9417:(i,a,r)=>{"use strict";r.d(a,{BC:()=>Pe,JD:()=>ii,Q0:()=>us,X1:()=>Gi,YN:()=>zn,YS:()=>_i,cV:()=>Nr,cb:()=>We,cz:()=>vt,hs:()=>xo,j4:()=>pa,k0:()=>St,kq:()=>T,l_:()=>fi,me:()=>ct,ok:()=>wi,qT:()=>Tn,vO:()=>ie,vS:()=>ja,xq:()=>os,ze:()=>ri});var o=r(4438),s=r(177),c=r(6648),y=r(7468),k=r(1413),A=r(6354);let I=(()=>{class st{constructor(X,Ft){this._renderer=X,this._elementRef=Ft,this.onChange=je=>{},this.onTouched=()=>{}}setProperty(X,Ft){this._renderer.setProperty(this._elementRef.nativeElement,X,Ft)}registerOnTouched(X){this.onTouched=X}registerOnChange(X){this.onChange=X}setDisabledState(X){this.setProperty("disabled",X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:st})}}return st})(),M=(()=>{class st extends I{static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,features:[o.Vt3]})}}return st})();const T=new o.nKC(""),Y={provide:T,useExisting:(0,o.Rfq)(()=>ct),multi:!0},q=new o.nKC("");let ct=(()=>{class st extends I{constructor(X,Ft,je){super(X,Ft),this._compositionMode=je,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function z(){const st=(0,s.QT)()?(0,s.QT)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(X){this.setProperty("value",X??"")}_handleInput(X){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(X)}_compositionStart(){this._composing=!0}_compositionEnd(X){this._composing=!1,this._compositionMode&&this.onChange(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(q,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("input",function(gn){return je._handleInput(gn.target.value)})("blur",function(){return je.onTouched()})("compositionstart",function(){return je._compositionStart()})("compositionend",function(gn){return je._compositionEnd(gn.target.value)})},features:[o.Jv_([Y]),o.Vt3]})}}return st})();function dt(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function tt(st){return null!=st&&"number"==typeof st.length}const vt=new o.nKC(""),Mt=new o.nKC(""),$t=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class St{static min(bt){return function kt(st){return bt=>{if(dt(bt.value)||dt(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X{if(dt(bt.value)||dt(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X>st?{max:{max:st,actual:bt.value}}:null}}(bt)}static required(bt){return at(bt)}static requiredTrue(bt){return rt(bt)}static email(bt){return function yt(st){return dt(st.value)||$t.test(st.value)?null:{email:!0}}(bt)}static minLength(bt){return function Ct(st){return bt=>dt(bt.value)||!tt(bt.value)?null:bt.value.lengthtt(bt.value)&&bt.value.length>st?{maxlength:{requiredLength:st,actualLength:bt.value.length}}:null}(bt)}static pattern(bt){return function Xt(st){if(!st)return oe;let bt,X;return"string"==typeof st?(X="","^"!==st.charAt(0)&&(X+="^"),X+=st,"$"!==st.charAt(st.length-1)&&(X+="$"),bt=new RegExp(X)):(X=st.toString(),bt=st),Ft=>{if(dt(Ft.value))return null;const je=Ft.value;return bt.test(je)?null:{pattern:{requiredPattern:X,actualValue:je}}}}(bt)}static nullValidator(bt){return null}static compose(bt){return Le(bt)}static composeAsync(bt){return Nt(bt)}}function at(st){return dt(st.value)?{required:!0}:null}function rt(st){return!0===st.value?null:{required:!0}}function oe(st){return null}function Xe(st){return null!=st}function kr(st){return(0,o.jNT)(st)?(0,c.H)(st):st}function gr(st){let bt={};return st.forEach(X=>{bt=null!=X?{...bt,...X}:bt}),0===Object.keys(bt).length?null:bt}function wr(st,bt){return bt.map(X=>X(st))}function xe(st){return st.map(bt=>function Wr(st){return!st.validate}(bt)?bt:X=>bt.validate(X))}function Le(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){return gr(wr(X,bt))}}function gt(st){return null!=st?Le(xe(st)):null}function Nt(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){const Ft=wr(X,bt).map(kr);return(0,y.p)(Ft).pipe((0,A.T)(gr))}}function Se(st){return null!=st?Nt(xe(st)):null}function Rt(st,bt){return null===st?[bt]:Array.isArray(st)?[...st,bt]:[st,bt]}function de(st){return st._rawValidators}function jt(st){return st._rawAsyncValidators}function De(st){return st?Array.isArray(st)?st:[st]:[]}function Ye(st,bt){return Array.isArray(st)?st.includes(bt):st===bt}function ft(st,bt){const X=De(bt);return De(st).forEach(je=>{Ye(X,je)||X.push(je)}),X}function pe(st,bt){return De(bt).filter(X=>!Ye(st,X))}class Ut{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(bt){this._rawValidators=bt||[],this._composedValidatorFn=gt(this._rawValidators)}_setAsyncValidators(bt){this._rawAsyncValidators=bt||[],this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(bt){this._onDestroyCallbacks.push(bt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(bt=>bt()),this._onDestroyCallbacks=[]}reset(bt=void 0){this.control&&this.control.reset(bt)}hasError(bt,X){return!!this.control&&this.control.hasError(bt,X)}getError(bt,X){return this.control?this.control.getError(bt,X):null}}class Ee extends Ut{get formDirective(){return null}get path(){return null}}class ie extends Ut{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class He{constructor(bt){this._cd=bt}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Pe=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(ie,2))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,je){2&Ft&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)},features:[o.Vt3]})}}return st})(),We=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,10))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,je){2&Ft&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)("ng-submitted",je.isSubmitted)},features:[o.Vt3]})}}return st})();const Hr="VALID",eo="INVALID",Bo="PENDING",fr="DISABLED";class Pr{}class re extends Pr{constructor(bt,X){super(),this.value=bt,this.source=X}}class qt extends Pr{constructor(bt,X){super(),this.pristine=bt,this.source=X}}class Pt extends Pr{constructor(bt,X){super(),this.touched=bt,this.source=X}}class ue extends Pr{constructor(bt,X){super(),this.status=bt,this.source=X}}class mr extends Pr{constructor(bt){super(),this.source=bt}}class Qr extends Pr{constructor(bt){super(),this.source=bt}}function Ro(st){return(_e(st)?st.validators:st)||null}function tr(st,bt){return(_e(bt)?bt.asyncValidators:st)||null}function _e(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function qe(st,bt,X){const Ft=st.controls;if(!(bt?Object.keys(Ft):Ft).length)throw new o.wOt(1e3,"");if(!Ft[X])throw new o.wOt(1001,"")}function ke(st,bt,X){st._forEachChild((Ft,je)=>{if(void 0===X[je])throw new o.wOt(1002,"")})}class me{constructor(bt,X){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new k.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(bt),this._assignAsyncValidators(X)}get validator(){return this._composedValidatorFn}set validator(bt){this._rawValidators=this._composedValidatorFn=bt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(bt){this._rawAsyncValidators=this._composedAsyncValidatorFn=bt}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(bt){(0,o.O8t)(()=>this.statusReactive.set(bt))}get valid(){return this.status===Hr}get invalid(){return this.status===eo}get pending(){return this.status==Bo}get disabled(){return this.status===fr}get enabled(){return this.status!==fr}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(bt){(0,o.O8t)(()=>this.pristineReactive.set(bt))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(bt){(0,o.O8t)(()=>this.touchedReactive.set(bt))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(bt){this._assignValidators(bt)}setAsyncValidators(bt){this._assignAsyncValidators(bt)}addValidators(bt){this.setValidators(ft(bt,this._rawValidators))}addAsyncValidators(bt){this.setAsyncValidators(ft(bt,this._rawAsyncValidators))}removeValidators(bt){this.setValidators(pe(bt,this._rawValidators))}removeAsyncValidators(bt){this.setAsyncValidators(pe(bt,this._rawAsyncValidators))}hasValidator(bt){return Ye(this._rawValidators,bt)}hasAsyncValidator(bt){return Ye(this._rawAsyncValidators,bt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(bt={}){const X=!1===this.touched;this.touched=!0;const Ft=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsTouched({...bt,sourceControl:Ft}),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!0,Ft))}markAllAsTouched(bt={}){this.markAsTouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:this}),this._forEachChild(X=>X.markAllAsTouched(bt))}markAsUntouched(bt={}){const X=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ft=bt.sourceControl??this;this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:Ft})}),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,Ft),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!1,Ft))}markAsDirty(bt={}){const X=!0===this.pristine;this.pristine=!1;const Ft=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsDirty({...bt,sourceControl:Ft}),X&&!1!==bt.emitEvent&&this._events.next(new qt(!1,Ft))}markAsPristine(bt={}){const X=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ft=bt.sourceControl??this;this._forEachChild(je=>{je.markAsPristine({onlySelf:!0,emitEvent:bt.emitEvent})}),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,Ft),X&&!1!==bt.emitEvent&&this._events.next(new qt(!0,Ft))}markAsPending(bt={}){this.status=Bo;const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new ue(this.status,X)),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.markAsPending({...bt,sourceControl:X})}disable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=fr,this.errors=null,this._forEachChild(je=>{je.disable({...bt,onlySelf:!0})}),this._updateValue();const Ft=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,Ft)),this._events.next(new ue(this.status,Ft)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(je=>je(!0))}enable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=Hr,this._forEachChild(Ft=>{Ft.enable({...bt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent}),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(bt,X){this._parent&&!bt.onlySelf&&(this._parent.updateValueAndValidity(bt),bt.skipPristineCheck||this._parent._updatePristine({},X),this._parent._updateTouched({},X))}setParent(bt){this._parent=bt}getRawValue(){return this.value}updateValueAndValidity(bt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ft=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hr||this.status===Bo)&&this._runAsyncValidator(Ft,bt.emitEvent)}const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,X)),this._events.next(new ue(this.status,X)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.updateValueAndValidity({...bt,sourceControl:X})}_updateTreeValidity(bt={emitEvent:!0}){this._forEachChild(X=>X._updateTreeValidity(bt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fr:Hr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(bt,X){if(this.asyncValidator){this.status=Bo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==X};const Ft=kr(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe(je=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(je,{emitEvent:X,shouldHaveEmitted:bt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const bt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,bt}return!1}setErrors(bt,X={}){this.errors=bt,this._updateControlsErrors(!1!==X.emitEvent,this,X.shouldHaveEmitted)}get(bt){let X=bt;return null==X||(Array.isArray(X)||(X=X.split(".")),0===X.length)?null:X.reduce((Ft,je)=>Ft&&Ft._find(je),this)}getError(bt,X){const Ft=X?this.get(X):this;return Ft&&Ft.errors?Ft.errors[bt]:null}hasError(bt,X){return!!this.getError(bt,X)}get root(){let bt=this;for(;bt._parent;)bt=bt._parent;return bt}_updateControlsErrors(bt,X,Ft){this.status=this._calculateStatus(),bt&&this.statusChanges.emit(this.status),(bt||Ft)&&this._events.next(new ue(this.status,X)),this._parent&&this._parent._updateControlsErrors(bt,X,Ft)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fr:this.errors?eo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bo)?Bo:this._anyControlsHaveStatus(eo)?eo:Hr}_anyControlsHaveStatus(bt){return this._anyControls(X=>X.status===bt)}_anyControlsDirty(){return this._anyControls(bt=>bt.dirty)}_anyControlsTouched(){return this._anyControls(bt=>bt.touched)}_updatePristine(bt,X){const Ft=!this._anyControlsDirty(),je=this.pristine!==Ft;this.pristine=Ft,this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,X),je&&this._events.next(new qt(this.pristine,X))}_updateTouched(bt={},X){this.touched=this._anyControlsTouched(),this._events.next(new Pt(this.touched,X)),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,X)}_registerOnCollectionChange(bt){this._onCollectionChange=bt}_setUpdateStrategy(bt){_e(bt)&&null!=bt.updateOn&&(this._updateOn=bt.updateOn)}_parentMarkedDirty(bt){return!bt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(bt){return null}_assignValidators(bt){this._rawValidators=Array.isArray(bt)?bt.slice():bt,this._composedValidatorFn=function Wo(st){return Array.isArray(st)?gt(st):st||null}(this._rawValidators)}_assignAsyncValidators(bt){this._rawAsyncValidators=Array.isArray(bt)?bt.slice():bt,this._composedAsyncValidatorFn=function $e(st){return Array.isArray(st)?Se(st):st||null}(this._rawAsyncValidators)}}class Yt extends me{constructor(bt,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(bt,X){return this.controls[bt]?this.controls[bt]:(this.controls[bt]=X,X.setParent(this),X._registerOnCollectionChange(this._onCollectionChange),X)}addControl(bt,X,Ft={}){this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(bt,X={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}setControl(bt,X,Ft={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],X&&this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(bt){return this.controls.hasOwnProperty(bt)&&this.controls[bt].enabled}setValue(bt,X={}){ke(this,0,bt),Object.keys(bt).forEach(Ft=>{qe(this,!0,Ft),this.controls[Ft].setValue(bt[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(Object.keys(bt).forEach(Ft=>{const je=this.controls[Ft];je&&je.patchValue(bt[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt={},X={}){this._forEachChild((Ft,je)=>{Ft.reset(bt?bt[je]:null,{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this._reduceChildren({},(bt,X,Ft)=>(bt[Ft]=X.getRawValue(),bt))}_syncPendingControls(){let bt=this._reduceChildren(!1,(X,Ft)=>!!Ft._syncPendingControls()||X);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){Object.keys(this.controls).forEach(X=>{const Ft=this.controls[X];Ft&&bt(Ft,X)})}_setUpControls(){this._forEachChild(bt=>{bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(bt){for(const[X,Ft]of Object.entries(this.controls))if(this.contains(X)&&bt(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(X,Ft,je)=>((Ft.enabled||this.disabled)&&(X[je]=Ft.value),X))}_reduceChildren(bt,X){let Ft=bt;return this._forEachChild((je,No)=>{Ft=X(Ft,je,No)}),Ft}_allControlsDisabled(){for(const bt of Object.keys(this.controls))if(this.controls[bt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(bt){return this.controls.hasOwnProperty(bt)?this.controls[bt]:null}}class Eo extends Yt{}const Xn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yo}),Yo="always";function ni(st,bt){return[...bt.path,st]}function Fo(st,bt,X=Yo){Ke(st,bt),bt.valueAccessor.writeValue(st.value),(st.disabled||"always"===X)&&bt.valueAccessor.setDisabledState?.(st.disabled),function Lr(st,bt){bt.valueAccessor.registerOnChange(X=>{st._pendingValue=X,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&ao(st,bt)})}(st,bt),function no(st,bt){const X=(Ft,je)=>{bt.valueAccessor.writeValue(Ft),je&&bt.viewToModelUpdate(Ft)};st.registerOnChange(X),bt._registerOnDestroy(()=>{st._unregisterOnChange(X)})}(st,bt),function Ur(st,bt){bt.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&ao(st,bt),"submit"!==st.updateOn&&st.markAsTouched()})}(st,bt),function Oe(st,bt){if(bt.valueAccessor.setDisabledState){const X=Ft=>{bt.valueAccessor.setDisabledState(Ft)};st.registerOnDisabledChange(X),bt._registerOnDestroy(()=>{st._unregisterOnDisabledChange(X)})}}(st,bt)}function pi(st,bt,X=!0){const Ft=()=>{};bt.valueAccessor&&(bt.valueAccessor.registerOnChange(Ft),bt.valueAccessor.registerOnTouched(Ft)),Dr(st,bt),st&&(bt._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function ei(st,bt){st.forEach(X=>{X.registerOnValidatorChange&&X.registerOnValidatorChange(bt)})}function Ke(st,bt){const X=de(st);null!==bt.validator?st.setValidators(Rt(X,bt.validator)):"function"==typeof X&&st.setValidators([X]);const Ft=jt(st);null!==bt.asyncValidator?st.setAsyncValidators(Rt(Ft,bt.asyncValidator)):"function"==typeof Ft&&st.setAsyncValidators([Ft]);const je=()=>st.updateValueAndValidity();ei(bt._rawValidators,je),ei(bt._rawAsyncValidators,je)}function Dr(st,bt){let X=!1;if(null!==st){if(null!==bt.validator){const je=de(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(gn=>gn!==bt.validator);No.length!==je.length&&(X=!0,st.setValidators(No))}}if(null!==bt.asyncValidator){const je=jt(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(gn=>gn!==bt.asyncValidator);No.length!==je.length&&(X=!0,st.setAsyncValidators(No))}}}const Ft=()=>{};return ei(bt._rawValidators,Ft),ei(bt._rawAsyncValidators,Ft),X}function ao(st,bt){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),bt.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function vo(st,bt){Ke(st,bt)}function Gt(st,bt){if(!st.hasOwnProperty("model"))return!1;const X=st.model;return!!X.isFirstChange()||!Object.is(bt,X.currentValue)}function ne(st,bt){st._syncPendingControls(),bt.forEach(X=>{const Ft=X.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(X.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function Re(st,bt){if(!bt)return null;let X,Ft,je;return Array.isArray(bt),bt.forEach(No=>{No.constructor===ct?X=No:function Dt(st){return Object.getPrototypeOf(st.constructor)===M}(No)?Ft=No:je=No}),je||Ft||X||null}const Cr={provide:Ee,useExisting:(0,o.Rfq)(()=>Nr)},Er=Promise.resolve();let Nr=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this.submittedReactive)}constructor(X,Ft,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,o.vPA)(!1),this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Yt({},gt(X),Se(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(X){Er.then(()=>{const Ft=this._findContainer(X.path);X.control=Ft.registerControl(X.name,X.control),Fo(X.control,X,this.callSetDisabledState),X.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(X)})}getControl(X){return this.form.get(X.path)}removeControl(X){Er.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name),this._directives.delete(X)})}addFormGroup(X){Er.then(()=>{const Ft=this._findContainer(X.path),je=new Yt({});vo(je,X),Ft.registerControl(X.name,je),je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(X){Er.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name)})}getFormGroup(X){return this.form.get(X.path)}updateModel(X,Ft){Er.then(()=>{this.form.get(X.path).setValue(Ft)})}setValue(X){this.control.setValue(X)}onSubmit(X){return this.submittedReactive.set(!0),ne(this.form,this._directives),this.ngSubmit.emit(X),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(X){return X.pop(),X.length?this.form.get(X):this.form}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("submit",function(gn){return je.onSubmit(gn)})("reset",function(){return je.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Cr]),o.Vt3]})}}return st})();function Fr(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}function qr(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const to=class extends me{constructor(bt=null,X,Ft){super(Ro(X),tr(Ft,X)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(bt),this._setUpdateStrategy(X),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(X)&&(X.nonNullable||X.initialValueIsDefault)&&(this.defaultValue=qr(bt)?bt.value:bt)}setValue(bt,X={}){this.value=this._pendingValue=bt,this._onChange.length&&!1!==X.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==X.emitViewToModelChange)),this.updateValueAndValidity(X)}patchValue(bt,X={}){this.setValue(bt,X)}reset(bt=this.defaultValue,X={}){this._applyFormState(bt),this.markAsPristine(X),this.markAsUntouched(X),this.setValue(this.value,X),this._pendingChange=!1}_updateValue(){}_anyControls(bt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(bt){this._onChange.push(bt)}_unregisterOnChange(bt){Fr(this._onChange,bt)}registerOnDisabledChange(bt){this._onDisabledChange.push(bt)}_unregisterOnDisabledChange(bt){Fr(this._onDisabledChange,bt)}_forEachChild(bt){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(bt){qr(bt)?(this.value=this._pendingValue=bt.value,bt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=bt}},xo=to,zi={provide:ie,useExisting:(0,o.Rfq)(()=>ja)},nn=Promise.resolve();let ja=(()=>{class st extends ie{constructor(X,Ft,je,No,gn,ha){super(),this._changeDetectorRef=gn,this.callSetDisabledState=ha,this.control=new to,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=X,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){if(this._checkForErrors(),!this._registered||"name"in X){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=X.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in X&&this._updateDisabled(X),Gt(X,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(X){nn.then(()=>{this.control.setValue(X,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(X){const Ft=X.isDisabled.currentValue,je=0!==Ft&&(0,o.L39)(Ft);nn.then(()=>{je&&!this.control.disabled?this.control.disable():!je&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(X){return this._parent?ni(X,this._parent):[X]}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,9),o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(o.gRc,8),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([zi]),o.Vt3,o.OA$]})}}return st})(),Tn=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return st})();const vi={provide:T,useExisting:(0,o.Rfq)(()=>us),multi:!0};let us=(()=>{class st extends M{writeValue(X){this.setProperty("value",X??"")}registerOnChange(X){this.onChange=Ft=>{X(""==Ft?null:parseFloat(Ft))}}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("input",function(gn){return je.onChange(gn.target.value)})("blur",function(){return je.onTouched()})},features:[o.Jv_([vi]),o.Vt3]})}}return st})();const Mn=new o.nKC(""),na={provide:ie,useExisting:(0,o.Rfq)(()=>fi)};let fi=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,je,No,gn){super(),this._ngModelWarningConfig=No,this.callSetDisabledState=gn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(X),this._setAsyncValidators(Ft),this.valueAccessor=Re(0,je)}ngOnChanges(X){if(this._isControlChanged(X)){const Ft=X.form.previousValue;Ft&&pi(Ft,this,!1),Fo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(X,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pi(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_isControlChanged(X){return X.hasOwnProperty("form")}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(Mn,8),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([na]),o.Vt3,o.OA$]})}}return st})();const Ko={provide:Ee,useExisting:(0,o.Rfq)(()=>pa)};let pa=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(X){this._submittedReactive.set(X)}constructor(X,Ft,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(X),this._setAsyncValidators(Ft)}ngOnChanges(X){this._checkFormPresent(),X.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(X){const Ft=this.form.get(X.path);return Fo(Ft,X,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(X),Ft}getControl(X){return this.form.get(X.path)}removeControl(X){pi(X.control||null,X,!1),function Ce(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}(this.directives,X)}addFormGroup(X){this._setUpFormContainer(X)}removeFormGroup(X){this._cleanUpFormContainer(X)}getFormGroup(X){return this.form.get(X.path)}addFormArray(X){this._setUpFormContainer(X)}removeFormArray(X){this._cleanUpFormContainer(X)}getFormArray(X){return this.form.get(X.path)}updateModel(X,Ft){this.form.get(X.path).setValue(Ft)}onSubmit(X){return this._submittedReactive.set(!0),ne(this.form,this.directives),this.ngSubmit.emit(X),this.form._events.next(new mr(this.control)),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this._submittedReactive.set(!1),this.form._events.next(new Qr(this.form))}_updateDomValue(){this.directives.forEach(X=>{const Ft=X.control,je=this.form.get(X.path);Ft!==je&&(pi(Ft||null,X),(st=>st instanceof to)(je)&&(Fo(je,X,this.callSetDisabledState),X.control=je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(X){const Ft=this.form.get(X.path);vo(Ft,X),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(X){if(this.form){const Ft=this.form.get(X.path);Ft&&function Co(st,bt){return Dr(st,bt)}(Ft,X)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ke(this.form,this),this._oldForm&&Dr(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroup",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("submit",function(gn){return je.onSubmit(gn)})("reset",function(){return je.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Ko]),o.Vt3,o.OA$]})}}return st})();const Va={provide:ie,useExisting:(0,o.Rfq)(()=>ii)};let ii=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,je,No,gn){super(),this._ngModelWarningConfig=gn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=X,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){this._added||this._setUpControl(),Gt(X,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}get path(){return ni(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,13),o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(Mn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([Va]),o.Vt3,o.OA$]})}}return st})(),ci=(()=>{class st{constructor(){this._validator=oe}ngOnChanges(X){if(this.inputName in X){const Ft=this.normalizeInput(X[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):oe,this._onChange&&this._onChange()}}validate(X){return this._validator(X)}registerOnValidatorChange(X){this._onChange=X}enabled(X){return null!=X}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,features:[o.OA$]})}}return st})();const wa={provide:vt,useExisting:(0,o.Rfq)(()=>_i),multi:!0},rs={provide:vt,useExisting:(0,o.Rfq)(()=>os),multi:!0};let _i=(()=>{class st extends ci{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=X=>at}enabled(X){return X}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&o.BMQ("required",je._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([wa]),o.Vt3]})}}return st})(),os=(()=>{class st extends _i{constructor(){super(...arguments),this.createValidator=X=>rt}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&o.BMQ("required",je._enabled?"":null)},features:[o.Jv_([rs]),o.Vt3]})}}return st})(),Lo=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({})}}return st})();class In extends me{constructor(bt,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(bt){return this.controls[this._adjustIndex(bt)]}push(bt,X={}){this.controls.push(bt),this._registerControl(bt),this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}insert(bt,X,Ft={}){this.controls.splice(bt,0,X),this._registerControl(X),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(bt,X={}){let Ft=this._adjustIndex(bt);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:X.emitEvent})}setControl(bt,X,Ft={}){let je=this._adjustIndex(bt);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),X&&(this.controls.splice(je,0,X),this._registerControl(X)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(bt,X={}){ke(this,0,bt),bt.forEach((Ft,je)=>{qe(this,!1,je),this.at(je).setValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(bt.forEach((Ft,je)=>{this.at(je)&&this.at(je).patchValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt=[],X={}){this._forEachChild((Ft,je)=>{Ft.reset(bt[je],{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this.controls.map(bt=>bt.getRawValue())}clear(bt={}){this.controls.length<1||(this._forEachChild(X=>X._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:bt.emitEvent}))}_adjustIndex(bt){return bt<0?bt+this.length:bt}_syncPendingControls(){let bt=this.controls.reduce((X,Ft)=>!!Ft._syncPendingControls()||X,!1);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){this.controls.forEach((X,Ft)=>{bt(X,Ft)})}_updateValue(){this.value=this.controls.filter(bt=>bt.enabled||this.disabled).map(bt=>bt.value)}_anyControls(bt){return this.controls.some(X=>X.enabled&&bt(X))}_setUpControls(){this._forEachChild(bt=>this._registerControl(bt))}_allControlsDisabled(){for(const bt of this.controls)if(bt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(bt){bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)}_find(bt){return this.at(bt)??null}}function Ti(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let wi=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const X=new st;return X.useNonNullable=!0,X}group(X,Ft=null){const je=this._reduceControls(X);let No={};return Ti(Ft)?No=Ft:null!==Ft&&(No.validators=Ft.validator,No.asyncValidators=Ft.asyncValidator),new Yt(je,No)}record(X,Ft=null){const je=this._reduceControls(X);return new Eo(je,Ft)}control(X,Ft,je){let No={};return this.useNonNullable?(Ti(Ft)?No=Ft:(No.validators=Ft,No.asyncValidators=je),new to(X,{...No,nonNullable:!0})):new to(X,Ft,je)}array(X,Ft,je){const No=X.map(gn=>this._createControl(gn));return new In(No,Ft,je)}_reduceControls(X){const Ft={};return Object.keys(X).forEach(je=>{Ft[je]=this._createControl(X[je])}),Ft}_createControl(X){return X instanceof to||X instanceof me?X:Array.isArray(X)?this.control(X[0],X.length>1?X[1]:null,X.length>2?X[2]:null):this.control(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),ri=(()=>{class st extends wi{group(X,Ft=null){return super.group(X,Ft)}control(X,Ft,je){return super.control(X,Ft,je)}array(X,Ft,je){return super.array(X,Ft,je)}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),zn=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Xn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})(),Gi=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Mn,useValue:X.warnOnNgModelWithFormControl??"always"},{provide:Xn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})()},8834:(i,a,r)=>{"use strict";r.d(a,{$0:()=>Vt,$z:()=>kt,Hl:()=>gr,iY:()=>Xe,pQ:()=>kr});var o=r(6860),s=r(4438),c=r(9888),y=r(6600);const k=["mat-button",""],A=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],I=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],T=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",L=["mat-mini-fab",""],z=["mat-icon-button",""],q=["*"],dt=new s.nKC("MAT_BUTTON_CONFIG"),vt=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Mt=(()=>{class wr{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(xe){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,xe)}get disableRipple(){return this._disableRipple}set disableRipple(xe){this._disableRipple=xe,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(xe){this._disabled=xe,this._updateRippleDisabled()}constructor(xe,Le,gt,Nt){this._elementRef=xe,this._platform=Le,this._ngZone=gt,this._animationMode=Nt,this._focusMonitor=(0,s.WQX)(c.FN),this._rippleLoader=(0,s.WQX)(y.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Se=(0,s.WQX)(dt,{optional:!0}),Rt=xe.nativeElement,de=Rt.classList;this.disabledInteractive=Se?.disabledInteractive??!1,this.color=Se?.color??null,this._rippleLoader?.configureRipple(Rt,{className:"mat-mdc-button-ripple"});for(const{attribute:jt,mdcClasses:De}of vt)Rt.hasAttribute(jt)&&de.add(...De)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(xe="program",Le){xe?this._focusMonitor.focusVia(this._elementRef.nativeElement,xe,Le):this._elementRef.nativeElement.focus(Le)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:wr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39]},features:[s.GFd]})}}return wr})(),St=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._haltDisabledEvents=Se=>{this.disabled&&(Se.preventDefault(),Se.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled||null}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:wr,inputs:{tabIndex:[2,"tabIndex","tabIndex",xe=>null==xe?void 0:(0,s.Udg)(xe)]},features:[s.GFd,s.Vt3]})}}return wr})(),kt=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:k,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(A),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return wr})();const at=new s.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:rt});function rt(){return{color:"accent"}}const yt=rt();let Vt=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt,Se){super(xe,Le,gt,Nt),this._options=Se,this._isFab=!0,this._options=this._options||yt,this.color=this._options.color||yt.color}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8),s.rXU(at,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:L,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(A),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return wr})(),Xe=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:z,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',T],encapsulation:2,changeDetection:0})}}return wr})(),kr=(()=>{class wr extends St{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("tabindex",gt.disabled&&!gt.disabledInteractive?-1:gt.tabIndex)("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.Vt3,s.aNF],attrs:z,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',T],encapsulation:2,changeDetection:0})}}return wr})(),gr=(()=>{class wr{static{this.\u0275fac=function(Le){return new(Le||wr)}}static{this.\u0275mod=s.$C({type:wr})}static{this.\u0275inj=s.G2t({imports:[y.yE,y.pZ,y.yE]})}}return wr})()},6600:(i,a,r)=>{"use strict";r.d(a,{MJ:()=>gt,es:()=>Ut,N:()=>at,de:()=>Nt,Ju:()=>xe,QC:()=>ir,is:()=>It,yE:()=>rt,wT:()=>eo,Sy:()=>Pr,MI:()=>Hr,r6:()=>$,Ej:()=>Ro,pZ:()=>Z,X0:()=>gr,tO:()=>Wo,jb:()=>Bo,TL:()=>fr});var o=r(4438),s=r(9888),c=r(8203),k=r(177),A=r(6860),I=r(4085),M=r(1413),T=r(7336);const Y=["text"],z=[[["mat-icon"]],"*"],q=["mat-icon","*"];function ct(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",1),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)("state",_e.selected?"checked":"unchecked")}}function dt(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",3),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)}}function tt(tr,$e){if(1&tr&&(o.j41(0,"span",4),o.EFF(1),o.k0s()),2&tr){const _e=o.XpG();o.R7$(),o.SpI("(",_e.group.label,")")}}const vt=["mat-internal-form-field",""],Mt=["*"],at=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function nt(){return!0}});let rt=(()=>{class tr{constructor(_e,qe,ke){this._sanityChecks=qe,this._document=ke,this._hasDoneGlobalChecks=!1,_e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(_e){return!(0,A.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[_e])}static{this.\u0275fac=function(qe){return new(qe||tr)(o.KVO(s.Q_),o.KVO(at,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[c.jI,c.jI]})}}return tr})();class gr{constructor($e,_e,qe,ke,me){this._defaultMatcher=$e,this.ngControl=_e,this._parentFormGroup=qe,this._parentForm=ke,this._stateChanges=me,this.errorState=!1}updateErrorState(){const $e=this.errorState,_e=this._parentFormGroup||this._parentForm,qe=this.matcher||this._defaultMatcher,ke=this.ngControl?this.ngControl.control:null,me=qe?.isErrorState(ke,_e)??!1;me!==$e&&(this.errorState=me,this._stateChanges.next())}}const xe=new o.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function Le(){return(0,o.WQX)(o.xe9)}});class gt{constructor(){this._localeChanges=new M.B,this.localeChanges=this._localeChanges}getValidDateOrNull($e){return this.isDateInstance($e)&&this.isValid($e)?$e:null}deserialize($e){return null==$e||this.isDateInstance($e)&&this.isValid($e)?$e:this.invalid()}setLocale($e){this.locale=$e,this._localeChanges.next()}compareDate($e,_e){return this.getYear($e)-this.getYear(_e)||this.getMonth($e)-this.getMonth(_e)||this.getDate($e)-this.getDate(_e)}sameDate($e,_e){if($e&&_e){let qe=this.isValid($e),ke=this.isValid(_e);return qe&&ke?!this.compareDate($e,_e):qe==ke}return $e==_e}clampDate($e,_e,qe){return _e&&this.compareDate($e,_e)<0?_e:qe&&this.compareDate($e,qe)>0?qe:$e}}const Nt=new o.nKC("mat-date-formats");let Ut=(()=>{class tr{isErrorState(_e,qe){return!!(_e&&_e.invalid&&(_e.touched||qe&&qe.submitted))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})();var Me=function(tr){return tr[tr.FADING_IN=0]="FADING_IN",tr[tr.VISIBLE=1]="VISIBLE",tr[tr.FADING_OUT=2]="FADING_OUT",tr[tr.HIDDEN=3]="HIDDEN",tr}(Me||{});class Pe{constructor($e,_e,qe,ke=!1){this._renderer=$e,this.element=_e,this.config=qe,this._animationForciblyDisabledThroughCss=ke,this.state=Me.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const We=(0,A.BQ)({passive:!0,capture:!0});class Or{constructor(){this._events=new Map,this._delegateEventHandler=$e=>{const _e=(0,A.Fb)($e);_e&&this._events.get($e.type)?.forEach((qe,ke)=>{(ke===_e||ke.contains(_e))&&qe.forEach(me=>me.handleEvent($e))})}}addHandler($e,_e,qe,ke){const me=this._events.get(_e);if(me){const Yt=me.get(qe);Yt?Yt.add(ke):me.set(qe,new Set([ke]))}else this._events.set(_e,new Map([[qe,new Set([ke])]])),$e.runOutsideAngular(()=>{document.addEventListener(_e,this._delegateEventHandler,We)})}removeHandler($e,_e,qe){const ke=this._events.get($e);if(!ke)return;const me=ke.get(_e);me&&(me.delete(qe),0===me.size&&ke.delete(_e),0===ke.size&&(this._events.delete($e),document.removeEventListener($e,this._delegateEventHandler,We)))}}const ko={enterDuration:225,exitDuration:150},Lt=(0,A.BQ)({passive:!0,capture:!0}),be=["mousedown","touchstart"],se=["mouseup","mouseleave","touchend","touchcancel"];class Ie{static{this._eventManager=new Or}constructor($e,_e,qe,ke){this._target=$e,this._ngZone=_e,this._platform=ke,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ke.isBrowser&&(this._containerElement=(0,I.i8)(qe))}fadeInRipple($e,_e,qe={}){const ke=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),me={...ko,...qe.animation};qe.centered&&($e=ke.left+ke.width/2,_e=ke.top+ke.height/2);const Yt=qe.radius||function br(tr,$e,_e){const qe=Math.max(Math.abs(tr-_e.left),Math.abs(tr-_e.right)),ke=Math.max(Math.abs($e-_e.top),Math.abs($e-_e.bottom));return Math.sqrt(qe*qe+ke*ke)}($e,_e,ke),Ae=$e-ke.left,ar=_e-ke.top,yr=me.enterDuration,Eo=document.createElement("div");Eo.classList.add("mat-ripple-element"),Eo.style.left=Ae-Yt+"px",Eo.style.top=ar-Yt+"px",Eo.style.height=2*Yt+"px",Eo.style.width=2*Yt+"px",null!=qe.color&&(Eo.style.backgroundColor=qe.color),Eo.style.transitionDuration=`${yr}ms`,this._containerElement.appendChild(Eo);const $n=window.getComputedStyle(Eo),Yo=$n.transitionDuration,ni="none"===$n.transitionProperty||"0s"===Yo||"0s, 0s"===Yo||0===ke.width&&0===ke.height,Fo=new Pe(this,Eo,qe,ni);Eo.style.transform="scale3d(1, 1, 1)",Fo.state=Me.FADING_IN,qe.persistent||(this._mostRecentTransientRipple=Fo);let pi=null;return!ni&&(yr||me.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ei=()=>{pi&&(pi.fallbackTimer=null),clearTimeout(Ke),this._finishRippleTransition(Fo)},Oe=()=>this._destroyRipple(Fo),Ke=setTimeout(Oe,yr+100);Eo.addEventListener("transitionend",ei),Eo.addEventListener("transitioncancel",Oe),pi={onTransitionEnd:ei,onTransitionCancel:Oe,fallbackTimer:Ke}}),this._activeRipples.set(Fo,pi),(ni||!yr)&&this._finishRippleTransition(Fo),Fo}fadeOutRipple($e){if($e.state===Me.FADING_OUT||$e.state===Me.HIDDEN)return;const _e=$e.element,qe={...ko,...$e.config.animation};_e.style.transitionDuration=`${qe.exitDuration}ms`,_e.style.opacity="0",$e.state=Me.FADING_OUT,($e._animationForciblyDisabledThroughCss||!qe.exitDuration)&&this._finishRippleTransition($e)}fadeOutAll(){this._getActiveRipples().forEach($e=>$e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach($e=>{$e.config.persistent||$e.fadeOut()})}setupTriggerEvents($e){const _e=(0,I.i8)($e);!this._platform.isBrowser||!_e||_e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=_e,be.forEach(qe=>{Ie._eventManager.addHandler(this._ngZone,qe,_e,this)}))}handleEvent($e){"mousedown"===$e.type?this._onMousedown($e):"touchstart"===$e.type?this._onTouchStart($e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{se.forEach(_e=>{this._triggerElement.addEventListener(_e,this,Lt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition($e){$e.state===Me.FADING_IN?this._startFadeOutTransition($e):$e.state===Me.FADING_OUT&&this._destroyRipple($e)}_startFadeOutTransition($e){const _e=$e===this._mostRecentTransientRipple,{persistent:qe}=$e.config;$e.state=Me.VISIBLE,!qe&&(!_e||!this._isPointerDown)&&$e.fadeOut()}_destroyRipple($e){const _e=this._activeRipples.get($e)??null;this._activeRipples.delete($e),this._activeRipples.size||(this._containerRect=null),$e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),$e.state=Me.HIDDEN,null!==_e&&($e.element.removeEventListener("transitionend",_e.onTransitionEnd),$e.element.removeEventListener("transitioncancel",_e.onTransitionCancel),null!==_e.fallbackTimer&&clearTimeout(_e.fallbackTimer)),$e.element.remove()}_onMousedown($e){const _e=(0,s._G)($e),qe=this._lastTouchStartEvent&&Date.now(){!$e.config.persistent&&($e.state===Me.VISIBLE||$e.config.terminateOnPointerUp&&$e.state===Me.FADING_IN)&&$e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const $e=this._triggerElement;$e&&(be.forEach(_e=>Ie._eventManager.removeHandler(_e,$e,this)),this._pointerUpEventsRegistered&&(se.forEach(_e=>$e.removeEventListener(_e,this,Lt)),this._pointerUpEventsRegistered=!1))}}const mt=new o.nKC("mat-ripple-global-options");let $=(()=>{class tr{get disabled(){return this._disabled}set disabled(_e){_e&&this.fadeOutAllNonPersistent(),this._disabled=_e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(_e){this._trigger=_e,this._setupTriggerEventsIfEnabled()}constructor(_e,qe,ke,me,Yt){this._elementRef=_e,this._animationMode=Yt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=me||{},this._rippleRenderer=new Ie(this,qe,_e,ke)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(_e,qe=0,ke){return"number"==typeof _e?this._rippleRenderer.fadeInRipple(_e,qe,{...this.rippleConfig,...ke}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,..._e})}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(A.OD),o.rXU(mt,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:tr,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-ripple-unbounded",ke.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return tr})(),Z=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt,rt]})}}return tr})(),it=(()=>{class tr{constructor(_e){this._animationMode=_e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===ke.state)("mat-pseudo-checkbox-checked","checked"===ke.state)("mat-pseudo-checkbox-disabled",ke.disabled)("mat-pseudo-checkbox-minimal","minimal"===ke.appearance)("mat-pseudo-checkbox-full","full"===ke.appearance)("_mat-animation-noopable","NoopAnimations"===ke._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(qe,ke){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return tr})(),Tt=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt]})}}return tr})();const It=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),ir=new o.nKC("MatOptgroup");let er=0;class Hr{constructor($e,_e=!1){this.source=$e,this.isUserInput=_e}}let eo=(()=>{class tr{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(_e){this._disabled=_e}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(_e,qe,ke,me){this._element=_e,this._changeDetectorRef=qe,this._parent=ke,this.group=me,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+er++,this.onSelectionChange=new o.bkB,this._stateChanges=new M.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(_e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}deselect(_e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}focus(_e,qe){const ke=this._getHostElement();"function"==typeof ke.focus&&ke.focus(qe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(_e){(_e.keyCode===T.Fm||_e.keyCode===T.t6)&&!(0,T.rp)(_e)&&(this._selectViaInteraction(),_e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const _e=this.viewValue;_e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=_e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(_e=!1){this.onSelectionChange.emit(new Hr(this,_e))}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(It,8),o.rXU(ir,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-option"]],viewQuery:function(qe,ke){if(1&qe&&o.GBs(Y,7),2&qe){let me;o.mGM(me=o.lsd())&&(ke._text=me.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(qe,ke){1&qe&&o.bIt("click",function(){return ke._selectViaInteraction()})("keydown",function(Yt){return ke._handleKeydown(Yt)}),2&qe&&(o.Mr5("id",ke.id),o.BMQ("aria-selected",ke.selected)("aria-disabled",ke.disabled.toString()),o.AVh("mdc-list-item--selected",ke.selected)("mat-mdc-option-multiple",ke.multiple)("mat-mdc-option-active",ke.active)("mdc-list-item--disabled",ke.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",o.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:q,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(qe,ke){1&qe&&(o.NAR(z),o.DNE(0,ct,1,2,"mat-pseudo-checkbox",1),o.SdG(1),o.j41(2,"span",2,0),o.SdG(4,1),o.k0s(),o.DNE(5,dt,1,1,"mat-pseudo-checkbox",3)(6,tt,2,1,"span",4),o.nrm(7,"div",5)),2&qe&&(o.vxM(ke.multiple?0:-1),o.R7$(5),o.vxM(ke.multiple||!ke.selected||ke.hideSingleSelectionIndicator?-1:5),o.R7$(),o.vxM(ke.group&&ke.group._inert?6:-1),o.R7$(),o.Y8G("matRippleTrigger",ke._getHostElement())("matRippleDisabled",ke.disabled||ke.disableRipple))},dependencies:[it,$],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return tr})();function Bo(tr,$e,_e){if(_e.length){let qe=$e.toArray(),ke=_e.toArray(),me=0;for(let Yt=0;Yt_e+qe?Math.max(0,tr-qe+$e):_e}let Pr=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[Z,rt,Tt]})}}return tr})();const re={capture:!0},qt=["focus","mousedown","mouseenter","touchstart"],Pt="mat-ripple-loader-uninitialized",ue="mat-ripple-loader-class-name",mr="mat-ripple-loader-centered",Qr="mat-ripple-loader-disabled";let Ro=(()=>{class tr{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(mt,{optional:!0}),this._platform=(0,o.WQX)(A.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=_e=>{const qe=(0,A.Fb)(_e);if(qe instanceof HTMLElement){const ke=qe.closest(`[${Pt}="${this._globalRippleOptions?.namespace??""}"]`);ke&&this._createRipple(ke)}},this._ngZone.runOutsideAngular(()=>{for(const _e of qt)this._document?.addEventListener(_e,this._onInteraction,re)})}ngOnDestroy(){const _e=this._hosts.keys();for(const qe of _e)this.destroyRipple(qe);for(const qe of qt)this._document?.removeEventListener(qe,this._onInteraction,re)}configureRipple(_e,qe){_e.setAttribute(Pt,this._globalRippleOptions?.namespace??""),(qe.className||!_e.hasAttribute(ue))&&_e.setAttribute(ue,qe.className||""),qe.centered&&_e.setAttribute(mr,""),qe.disabled&&_e.setAttribute(Qr,"")}getRipple(_e){return this._hosts.get(_e)||this._createRipple(_e)}setDisabled(_e,qe){const ke=this._hosts.get(_e);ke?ke.disabled=qe:qe?_e.setAttribute(Qr,""):_e.removeAttribute(Qr)}_createRipple(_e){if(!this._document)return;const qe=this._hosts.get(_e);if(qe)return qe;_e.querySelector(".mat-ripple")?.remove();const ke=this._document.createElement("span");ke.classList.add("mat-ripple",_e.getAttribute(ue)),_e.append(ke);const me=new $(new o.aKT(ke),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return me._isInitialized=!0,me.trigger=_e,me.centered=_e.hasAttribute(mr),me.disabled=_e.hasAttribute(Qr),this.attachRipple(_e,me),me}attachRipple(_e,qe){_e.removeAttribute(Pt),this._hosts.set(_e,qe)}destroyRipple(_e){const qe=this._hosts.get(_e);qe&&(qe.ngOnDestroy(),this._hosts.delete(_e))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})(),Wo=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mdc-form-field--align-end","before"===ke.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[o.aNF],attrs:vt,ngContentSelectors:Mt,decls:1,vars:0,template:function(qe,ke){1&qe&&(o.NAR(),o.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return tr})()},5351:(i,a,r)=>{"use strict";r.d(a,{Vh:()=>pe,bZ:()=>Me,E7:()=>Lt,tx:()=>We,Yi:()=>lr,hM:()=>Ie,CP:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(9888),k=r(6860),A=r(6939),I=r(7336),M=r(1413),T=r(9030),O=r(7673),L=r(8203),Y=r(9172);function z($,Z){}class q{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let dt=(()=>{class $ extends A.lb{constructor(it,Tt,It,ye,ir,Je,er,Hr){super(),this._elementRef=it,this._focusTrapFactory=Tt,this._config=ye,this._interactivityChecker=ir,this._ngZone=Je,this._overlayRef=er,this._focusMonitor=Hr,this._platform=(0,c.WQX)(k.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,c.WQX)(c.gRc),this._injector=(0,c.WQX)(c.zZn),this._isDestroyed=!1,this.attachDomPortal=eo=>{this._portalOutlet.hasAttached();const Bo=this._portalOutlet.attachDomPortal(eo);return this._contentAttached(),Bo},this._document=It,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(it){this._ariaLabelledByQueue.push(it),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(it){const Tt=this._ariaLabelledByQueue.indexOf(it);Tt>-1&&(this._ariaLabelledByQueue.splice(Tt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachComponentPortal(it);return this._contentAttached(),Tt}attachTemplatePortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachTemplatePortal(it);return this._contentAttached(),Tt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(it,Tt){this._interactivityChecker.isFocusable(it)||(it.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const It=()=>{it.removeEventListener("blur",It),it.removeEventListener("mousedown",It),it.removeAttribute("tabindex")};it.addEventListener("blur",It),it.addEventListener("mousedown",It)})),it.focus(Tt)}_focusByCssSelector(it,Tt){let It=this._elementRef.nativeElement.querySelector(it);It&&this._forceFocus(It,Tt)}_trapFocus(){this._isDestroyed||(0,c.mal)(()=>{const it=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||it.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}},{injector:this._injector})}_restoreFocus(){const it=this._config.restoreFocus;let Tt=null;if("string"==typeof it?Tt=this._document.querySelector(it):"boolean"==typeof it?Tt=it?this._elementFocusedBeforeDialogWasOpened:null:it&&(Tt=it),this._config.restoreFocus&&Tt&&"function"==typeof Tt.focus){const It=(0,k.vc)(),ye=this._elementRef.nativeElement;(!It||It===this._document.body||It===ye||ye.contains(It))&&(this._focusMonitor?(this._focusMonitor.focusVia(Tt,this._closeInteractionType),this._closeInteractionType=null):Tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const it=this._elementRef.nativeElement,Tt=(0,k.vc)();return it===Tt||it.contains(Tt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(q),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["cdk-dialog-container"]],viewQuery:function(Tt,It){if(1&Tt&&c.GBs(A.I3,7),2&Tt){let ye;c.mGM(ye=c.lsd())&&(It._portalOutlet=ye.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.BMQ("id",It._config.id||null)("role",It._config.role)("aria-modal",It._config.ariaModal)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null)},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&c.DNE(0,z,0,0,"ng-template",0)},dependencies:[A.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return $})();class tt{constructor(Z,it){this.overlayRef=Z,this.config=it,this.closed=new M.B,this.disableClose=it.disableClose,this.backdropClick=Z.backdropClick(),this.keydownEvents=Z.keydownEvents(),this.outsidePointerEvents=Z.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(Tt=>{Tt.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Tt)&&(Tt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Z.detachments().subscribe(()=>{!1!==it.closeOnOverlayDetachments&&this.close()})}close(Z,it){if(this.containerInstance){const Tt=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Tt.next(Z),Tt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Z="",it=""){return this.overlayRef.updateSize({width:Z,height:it}),this}addPanelClass(Z){return this.overlayRef.addPanelClass(Z),this}removePanelClass(Z){return this.overlayRef.removePanelClass(Z),this}}const vt=new c.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}}),Mt=new c.nKC("DialogData"),$t=new c.nKC("DefaultDialogConfig");let nt=0,at=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(it,Tt,It,ye,ir,Je){this._overlay=it,this._injector=Tt,this._defaultOptions=It,this._parentDialog=ye,this._overlayContainer=ir,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.B,this._afterOpenedAtThisLevel=new M.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.Z)(void 0))),this._scrollStrategy=Je}open(it,Tt){(Tt={...this._defaultOptions||new q,...Tt}).id=Tt.id||"cdk-dialog-"+nt++,Tt.id&&this.getDialogById(Tt.id);const ye=this._getOverlayConfig(Tt),ir=this._overlay.create(ye),Je=new tt(ir,Tt),er=this._attachContainer(ir,Je,Tt);return Je.containerInstance=er,this._attachDialogContent(it,Je,er,Tt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Je),Je.closed.subscribe(()=>this._removeOpenDialog(Je,!0)),this.afterOpened.next(Je),Je}closeAll(){rt(this.openDialogs,it=>it.close())}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){rt(this._openDialogsAtThisLevel,it=>{!1===it.config.closeOnDestroy&&this._removeOpenDialog(it,!1)}),rt(this._openDialogsAtThisLevel,it=>it.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(it){const Tt=new o.rR({positionStrategy:it.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:it.scrollStrategy||this._scrollStrategy(),panelClass:it.panelClass,hasBackdrop:it.hasBackdrop,direction:it.direction,minWidth:it.minWidth,minHeight:it.minHeight,maxWidth:it.maxWidth,maxHeight:it.maxHeight,width:it.width,height:it.height,disposeOnNavigation:it.closeOnNavigation});return it.backdropClass&&(Tt.backdropClass=it.backdropClass),Tt}_attachContainer(it,Tt,It){const ye=It.injector||It.viewContainerRef?.injector,ir=[{provide:q,useValue:It},{provide:tt,useValue:Tt},{provide:o.yY,useValue:it}];let Je;It.container?"function"==typeof It.container?Je=It.container:(Je=It.container.type,ir.push(...It.container.providers(It))):Je=dt;const er=new A.A8(Je,It.viewContainerRef,c.zZn.create({parent:ye||this._injector,providers:ir}),It.componentFactoryResolver);return it.attach(er).instance}_attachDialogContent(it,Tt,It,ye){if(it instanceof c.C4Q){const ir=this._createInjector(ye,Tt,It,void 0);let Je={$implicit:ye.data,dialogRef:Tt};ye.templateContext&&(Je={...Je,..."function"==typeof ye.templateContext?ye.templateContext():ye.templateContext}),It.attachTemplatePortal(new A.VA(it,null,Je,ir))}else{const ir=this._createInjector(ye,Tt,It,this._injector),Je=It.attachComponentPortal(new A.A8(it,ye.viewContainerRef,ir,ye.componentFactoryResolver));Tt.componentRef=Je,Tt.componentInstance=Je.instance}}_createInjector(it,Tt,It,ye){const ir=it.injector||it.viewContainerRef?.injector,Je=[{provide:Mt,useValue:it.data},{provide:tt,useValue:Tt}];return it.providers&&("function"==typeof it.providers?Je.push(...it.providers(Tt,it,It)):Je.push(...it.providers)),it.direction&&(!ir||!ir.get(L.dS,null,{optional:!0}))&&Je.push({provide:L.dS,useValue:{value:it.direction,change:(0,O.of)()}}),c.zZn.create({parent:ir||ye,providers:Je})}_removeOpenDialog(it,Tt){const It=this.openDialogs.indexOf(it);It>-1&&(this.openDialogs.splice(It,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ye,ir)=>{ye?ir.setAttribute("aria-hidden",ye):ir.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Tt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const it=this._overlayContainer.getContainerElement();if(it.parentElement){const Tt=it.parentElement.children;for(let It=Tt.length-1;It>-1;It--){const ye=Tt[It];ye!==it&&"SCRIPT"!==ye.nodeName&&"STYLE"!==ye.nodeName&&!ye.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ye,ye.getAttribute("aria-hidden")),ye.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO($t,8),c.KVO($,12),c.KVO(o.Sf),c.KVO(vt))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();function rt($,Z){let it=$.length;for(;it--;)Z($[it])}let yt=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[at],imports:[o.z_,A.jc,y.Pd,A.jc]})}}return $})();var Ct=r(4085),Vt=r(7786),Xt=r(5964),oe=r(6697),Xe=r(5542),kr=r(6600);function wr($,Z){}r(9969);class Wr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const xe="mdc-dialog--open",Le="mdc-dialog--opening",gt="mdc-dialog--closing";let Rt=(()=>{class $ extends dt{constructor(it,Tt,It,ye,ir,Je,er,Hr,eo){super(it,Tt,It,ye,ir,Je,er,eo),this._animationMode=Hr,this._animationStateChanged=new c.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?jt(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?jt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Le,xe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(xe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(xe),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gt)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(it){this._actionSectionCount+=it,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Le,gt)}_waitForAnimationToComplete(it,Tt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Tt,it)}_requestAnimationFrame(it){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(it):it()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(it){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(it){const Tt=super.attachComponentPortal(it);return Tt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Tt}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(Wr),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(c.bc$,8),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Tt,It){2&Tt&&(c.Mr5("id",It._config.id),c.BMQ("aria-modal",It._config.ariaModal)("role",It._config.role)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null),c.AVh("_mat-animation-noopable",!It._animationsEnabled)("mat-mdc-dialog-container-with-actions",It._actionSectionCount>0))},standalone:!0,features:[c.Vt3,c.aNF],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&(c.j41(0,"div",0)(1,"div",1),c.DNE(2,wr,0,0,"ng-template",2),c.k0s()())},dependencies:[A.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return $})();const de="--mat-dialog-transition-duration";function jt($){return null==$?null:"number"==typeof $?$:$.endsWith("ms")?(0,Ct.OE)($.substring(0,$.length-2)):$.endsWith("s")?1e3*(0,Ct.OE)($.substring(0,$.length-1)):"0"===$?0:null}var De=function($){return $[$.OPEN=0]="OPEN",$[$.CLOSING=1]="CLOSING",$[$.CLOSED=2]="CLOSED",$}(De||{});class Ye{constructor(Z,it,Tt){this._ref=Z,this._containerInstance=Tt,this._afterOpened=new M.B,this._beforeClosed=new M.B,this._state=De.OPEN,this.disableClose=it.disableClose,this.id=Z.id,Z.addPanelClass("mat-mdc-dialog-panel"),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"opened"===It.state),(0,oe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"closed"===It.state),(0,oe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Z.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Vt.h)(this.backdropClick(),this.keydownEvents().pipe((0,Xt.p)(It=>It.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(It)))).subscribe(It=>{this.disableClose||(It.preventDefault(),ft(this,"keydown"===It.type?"keyboard":"mouse"))})}close(Z){this._result=Z,this._containerInstance._animationStateChanged.pipe((0,Xt.p)(it=>"closing"===it.state),(0,oe.s)(1)).subscribe(it=>{this._beforeClosed.next(Z),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.totalTime+100)}),this._state=De.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Z){let it=this._ref.config.positionStrategy;return Z&&(Z.left||Z.right)?Z.left?it.left(Z.left):it.right(Z.right):it.centerHorizontally(),Z&&(Z.top||Z.bottom)?Z.top?it.top(Z.top):it.bottom(Z.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(Z="",it=""){return this._ref.updateSize(Z,it),this}addPanelClass(Z){return this._ref.addPanelClass(Z),this}removePanelClass(Z){return this._ref.removePanelClass(Z),this}getState(){return this._state}_finishDialogClose(){this._state=De.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ft($,Z,it){return $._closeInteractionType=Z,$.close(it)}const pe=new c.nKC("MatMdcDialogData"),Ut=new c.nKC("mat-mdc-dialog-default-options"),Ee=new c.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}});let Ht=0,Me=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(it,Tt,It,ye,ir,Je,er,Hr){this._overlay=it,this._defaultOptions=ye,this._scrollStrategy=ir,this._parentDialog=Je,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.B,this._afterOpenedAtThisLevel=new M.B,this.dialogConfigClass=Wr,this.afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.Z)(void 0))),this._dialog=Tt.get(at),this._dialogRefConstructor=Ye,this._dialogContainerType=Rt,this._dialogDataToken=pe}open(it,Tt){let It;(Tt={...this._defaultOptions||new Wr,...Tt}).id=Tt.id||"mat-mdc-dialog-"+Ht++,Tt.scrollStrategy=Tt.scrollStrategy||this._scrollStrategy();const ye=this._dialog.open(it,{...Tt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Tt},{provide:q,useValue:Tt}]},templateContext:()=>({dialogRef:It}),providers:(ir,Je,er)=>(It=new this._dialogRefConstructor(ir,Tt,er),It.updatePosition(Tt?.position),[{provide:this._dialogContainerType,useValue:er},{provide:this._dialogDataToken,useValue:Je.data},{provide:this._dialogRefConstructor,useValue:It}])});return It.componentRef=ye.componentRef,It.componentInstance=ye.componentInstance,this.openDialogs.push(It),this.afterOpened.next(It),It.afterClosed().subscribe(()=>{const ir=this.openDialogs.indexOf(It);ir>-1&&(this.openDialogs.splice(ir,1),this.openDialogs.length||this._getAfterAllClosed().next())}),It}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(it){let Tt=it.length;for(;Tt--;)it[Tt].close()}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO(s.aZ,8),c.KVO(Ut,8),c.KVO(Ee),c.KVO($,12),c.KVO(o.Sf),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),We=(()=>{class ${constructor(it,Tt,It){this.dialogRef=it,this._elementRef=Tt,this._dialog=It,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=be(this._elementRef,this._dialog.openDialogs))}ngOnChanges(it){const Tt=it._matDialogClose||it._matDialogCloseResult;Tt&&(this.dialogResult=Tt.currentValue)}_onButtonClick(it){ft(this.dialogRef,0===it.screenX&&0===it.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Tt,It){1&Tt&&c.bIt("click",function(ir){return It._onButtonClick(ir)}),2&Tt&&c.BMQ("aria-label",It.ariaLabel||null)("type",It.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[c.OA$]})}}return $})(),Or=(()=>{class ${constructor(it,Tt,It){this._dialogRef=it,this._elementRef=Tt,this._dialog=It}ngOnInit(){this._dialogRef||(this._dialogRef=be(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,standalone:!0})}}return $})(),lr=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[c.nM4([Xe.uv])]})}}return $})(),Lt=(()=>{class $ extends Or{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let it;return function(It){return(it||(it=c.xGo($)))(It||$)}})()}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.AVh("mat-mdc-dialog-actions-align-start","start"===It.align)("mat-mdc-dialog-actions-align-center","center"===It.align)("mat-mdc-dialog-actions-align-end","end"===It.align)},inputs:{align:"align"},standalone:!0,features:[c.Vt3]})}}return $})();function be($,Z){let it=$.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?Z.find(Tt=>Tt.id===it.id):null}let Ie=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[Me],imports:[yt,o.z_,A.jc,kr.yE,kr.yE]})}}return $})()},1997:(i,a,r)=>{"use strict";r.d(a,{q:()=>y,w:()=>k});var o=r(4438),s=r(4085),c=r(6600);let y=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(M){this._vertical=(0,s.he)(M)}get inset(){return this._inset}set inset(M){this._inset=(0,s.he)(M)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275cmp=o.VBU({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(T,O){2&T&&(o.BMQ("aria-orientation",O.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(T,O){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return A})(),k=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275mod=o.$C({type:A})}static{this.\u0275inj=o.G2t({imports:[c.yE,c.yE]})}}return A})()},2102:(i,a,r)=>{"use strict";r.d(a,{xb:()=>Tt,U$:()=>It,TL:()=>Ee,rl:()=>eo,qT:()=>mt,RG:()=>Bo,MV:()=>He,nJ:()=>ft,JW:()=>Me,yw:()=>We});var o=r(4438),s=r(8203),c=r(4085),y=r(6860),k=r(177),A=r(8359),I=r(1413),M=r(7786),T=r(6977),O=r(1985),L=r(5964),Y=r(4668);class q{constructor(Pr){this._box=Pr,this._destroyed=new I.B,this._resizeSubject=new I.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(re=>this._resizeSubject.next(re)))}observe(Pr){return this._elementObservables.has(Pr)||this._elementObservables.set(Pr,new O.c(re=>{const qt=this._resizeSubject.subscribe(re);return this._resizeObserver?.observe(Pr,{box:this._box}),()=>{this._resizeObserver?.unobserve(Pr),qt.unsubscribe(),this._elementObservables.delete(Pr)}}).pipe((0,L.p)(re=>re.some(qt=>qt.target===Pr)),(0,Y.t)({bufferSize:1,refCount:!0}),(0,T.Q)(this._destroyed))),this._elementObservables.get(Pr)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let ct=(()=>{class fr{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,re]of this._observers)re.destroy();this._observers.clear()}observe(re,qt){const Pt=qt?.box||"content-box";return this._observers.has(Pt)||this._observers.set(Pt,new q(Pt)),this._observers.get(Pt).observe(re)}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275prov=o.jDH({token:fr,factory:fr.\u0275fac,providedIn:"root"})}}return fr})();var dt=r(9969),tt=r(2318),vt=r(6600);const Mt=["notch"],$t=["matFormFieldNotchedOutline",""],St=["*"],kt=["textField"],nt=["iconPrefixContainer"],at=["textPrefixContainer"],rt=["iconSuffixContainer"],yt=["textSuffixContainer"],Ct=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Vt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xt(fr,Pr){1&fr&&o.nrm(0,"span",21)}function oe(fr,Pr){if(1&fr&&(o.j41(0,"label",20),o.SdG(1,1),o.DNE(2,Xt,1,0,"span",21),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("floating",re._shouldLabelFloat())("monitorResize",re._hasOutline())("id",re._labelId),o.BMQ("for",re._control.disableAutomaticLabeling?null:re._control.id),o.R7$(2),o.vxM(!re.hideRequiredMarker&&re._control.required?2:-1)}}function Xe(fr,Pr){if(1&fr&&o.DNE(0,oe,3,5,"label",20),2&fr){const re=o.XpG();o.vxM(re._hasFloatingLabel()?0:-1)}}function kr(fr,Pr){1&fr&&o.nrm(0,"div",7)}function gr(fr,Pr){}function wr(fr,Pr){if(1&fr&&o.DNE(0,gr,0,0,"ng-template",13),2&fr){o.XpG(2);const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Wr(fr,Pr){if(1&fr&&(o.j41(0,"div",9),o.DNE(1,wr,1,1,null,13),o.k0s()),2&fr){const re=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",re._shouldLabelFloat()),o.R7$(),o.vxM(re._forceDisplayInfixLabel()?-1:1)}}function xe(fr,Pr){1&fr&&(o.j41(0,"div",10,2),o.SdG(2,2),o.k0s())}function Le(fr,Pr){1&fr&&(o.j41(0,"div",11,3),o.SdG(2,3),o.k0s())}function gt(fr,Pr){}function Nt(fr,Pr){if(1&fr&&o.DNE(0,gt,0,0,"ng-template",13),2&fr){o.XpG();const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Se(fr,Pr){1&fr&&(o.j41(0,"div",14,4),o.SdG(2,4),o.k0s())}function Rt(fr,Pr){1&fr&&(o.j41(0,"div",15,5),o.SdG(2,5),o.k0s())}function de(fr,Pr){1&fr&&o.nrm(0,"div",16)}function jt(fr,Pr){if(1&fr&&(o.j41(0,"div",18),o.SdG(1,6),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState)}}function De(fr,Pr){if(1&fr&&(o.j41(0,"mat-hint",22),o.EFF(1),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("id",re._hintLabelId),o.R7$(),o.JRh(re.hintLabel)}}function Ye(fr,Pr){if(1&fr&&(o.j41(0,"div",19),o.DNE(1,De,2,2,"mat-hint",22),o.SdG(2,7),o.nrm(3,"div",23),o.SdG(4,8),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState),o.R7$(),o.vxM(re.hintLabel?1:-1)}}let ft=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-label"]],standalone:!0})}}return fr})(),pe=0;const Ut=new o.nKC("MatError");let Ee=(()=>{class fr{constructor(re,qt){this.id="mat-mdc-error-"+pe++,re||qt.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(qt){return new(qt||fr)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(qt,Pt){2&qt&&o.Mr5("id",Pt.id)},inputs:{id:"id"},standalone:!0,features:[o.Jv_([{provide:Ut,useExisting:fr}])]})}}return fr})(),ie=0,He=(()=>{class fr{constructor(){this.align="start",this.id="mat-mdc-hint-"+ie++}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(qt,Pt){2&qt&&(o.Mr5("id",Pt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Pt.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return fr})();const Ht=new o.nKC("MatPrefix");let Me=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Ht,useExisting:fr}])]})}}return fr})();const Pe=new o.nKC("MatSuffix");let We=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Pe,useExisting:fr}])]})}}return fr})();const Or=new o.nKC("FloatingLabelParent");let ko=(()=>{class fr{get floating(){return this._floating}set floating(re){this._floating=re,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(re){this._monitorResize=re,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(re){this._elementRef=re,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(ct),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Or),this._resizeSubscription=new A.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function lr(fr){if(null!==fr.offsetParent)return fr.scrollWidth;const re=fr.cloneNode(!0);re.style.setProperty("position","absolute"),re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(re);const qt=re.scrollWidth;return re.remove(),qt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-floating-label--float-above",Pt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return fr})();const Lt="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let se=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._handleTransitionEnd=Pt=>{const ue=this._elementRef.nativeElement.classList,mr=ue.contains(be);"opacity"===Pt.propertyName&&mr&&ue.remove(Lt,be)},qt.runOutsideAngular(()=>{re.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const re=this._elementRef.nativeElement.classList;re.remove(be),re.add(Lt)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return fr})(),Ie=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._ngZone=qt,this.open=!1}ngAfterViewInit(){const re=this._elementRef.nativeElement.querySelector(".mdc-floating-label");re?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>re.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(re){this._notch.nativeElement.style.width=this.open&&re?`calc(${re}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(qt,Pt){if(1&qt&&o.GBs(Mt,5),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._notch=ue.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-notched-outline--notched",Pt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[o.aNF],attrs:$t,ngContentSelectors:St,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(qt,Pt){1&qt&&(o.NAR(),o.nrm(0,"div",1),o.j41(1,"div",2,0),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fr})();const br={transitionMessages:(0,dt.hZ)("transitionMessages",[(0,dt.wk)("enter",(0,dt.iF)({opacity:1,transform:"translateY(0%)"})),(0,dt.kY)("void => enter",[(0,dt.iF)({opacity:0,transform:"translateY(-5px)"}),(0,dt.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mt=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr})}}return fr})();const Tt=new o.nKC("MatFormField"),It=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ye=0,eo=(()=>{class fr{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(re){this._hideRequiredMarker=(0,c.he)(re)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(re){re!==this._floatLabel&&(this._floatLabel=re,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(re){const qt=this._appearance;this._appearance=re||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==qt&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(re){this._subscriptSizing=re||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(re){this._hintLabel=re,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(re){this._explicitFormFieldControl=re}constructor(re,qt,Pt,ue,mr,Qr,Ro,Wo){this._elementRef=re,this._changeDetectorRef=qt,this._dir=ue,this._platform=mr,this._defaults=Qr,this._animationMode=Ro,this._labelChild=(0,o.sbv)(ft),this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ye++,this._hintLabelId="mat-mdc-hint-"+ye++,this._subscriptAnimationState="",this._destroyed=new I.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=(0,o.WQX)(o.zZn),this.getLabelId=(0,o.EWP)(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=(0,o.EWP)(()=>!!this._labelChild()),Qr&&(Qr.appearance&&(this.appearance=Qr.appearance),this._hideRequiredMarker=!!Qr?.hideRequiredMarker,Qr.color&&(this.color=Qr.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(re){const qt=this._control,Pt="mat-mdc-form-field-type-";re&&this._elementRef.nativeElement.classList.remove(Pt+re.controlType),qt.controlType&&this._elementRef.nativeElement.classList.add(Pt+qt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=qt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),qt.ngControl&&qt.ngControl.valueChanges&&(this._valueChanges=qt.ngControl.valueChanges.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(re=>!re._isText),this._hasTextPrefix=!!this._prefixChildren.find(re=>re._isText),this._hasIconSuffix=!!this._suffixChildren.find(re=>!re._isText),this._hasTextSuffix=!!this._suffixChildren.find(re=>re._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,M.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,o.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(re){const qt=this._control?this._control.ngControl:null;return qt&&qt[re]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let re=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&re.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const qt=this._hintChildren?this._hintChildren.find(ue=>"start"===ue.align):null,Pt=this._hintChildren?this._hintChildren.find(ue=>"end"===ue.align):null;qt?re.push(qt.id):this._hintLabel&&re.push(this._hintLabelId),Pt&&re.push(Pt.id)}else this._errorChildren&&re.push(...this._errorChildren.map(qt=>qt.id));this._control.setDescribedByIds(re)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const re=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(re.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const qt=this._iconPrefixContainer?.nativeElement,Pt=this._textPrefixContainer?.nativeElement,ue=this._iconSuffixContainer?.nativeElement,mr=this._textSuffixContainer?.nativeElement,Qr=qt?.getBoundingClientRect().width??0,Ro=Pt?.getBoundingClientRect().width??0,Wo=ue?.getBoundingClientRect().width??0,tr=mr?.getBoundingClientRect().width??0;re.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Qr+Ro}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Qr+Ro+Wo+tr}px)`)}_isAttachedToDom(){const re=this._elementRef.nativeElement;if(re.getRootNode){const qt=re.getRootNode();return qt&&qt!==re}return document.documentElement.contains(re)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(s.dS),o.rXU(y.OD),o.rXU(It,8),o.rXU(o.bc$,8),o.rXU(k.qQ))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["mat-form-field"]],contentQueries:function(qt,Pt,ue){if(1&qt&&(o.C6U(ue,Pt._labelChild,ft,5),o.wni(ue,mt,5),o.wni(ue,Ht,5),o.wni(ue,Pe,5),o.wni(ue,Ut,5),o.wni(ue,He,5)),2&qt){let mr;o.NyB(),o.mGM(mr=o.lsd())&&(Pt._formFieldControl=mr.first),o.mGM(mr=o.lsd())&&(Pt._prefixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._suffixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._errorChildren=mr),o.mGM(mr=o.lsd())&&(Pt._hintChildren=mr)}},viewQuery:function(qt,Pt){if(1&qt&&(o.GBs(kt,5),o.GBs(nt,5),o.GBs(at,5),o.GBs(rt,5),o.GBs(yt,5),o.GBs(ko,5),o.GBs(Ie,5),o.GBs(se,5)),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._textField=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._floatingLabel=ue.first),o.mGM(ue=o.lsd())&&(Pt._notchedOutline=ue.first),o.mGM(ue=o.lsd())&&(Pt._lineRipple=ue.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(qt,Pt){2&qt&&o.AVh("mat-mdc-form-field-label-always-float",Pt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Pt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Pt._hasIconSuffix)("mat-form-field-invalid",Pt._control.errorState)("mat-form-field-disabled",Pt._control.disabled)("mat-form-field-autofilled",Pt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Pt._animationMode)("mat-form-field-appearance-fill","fill"==Pt.appearance)("mat-form-field-appearance-outline","outline"==Pt.appearance)("mat-form-field-hide-placeholder",Pt._hasFloatingLabel()&&!Pt._shouldLabelFloat())("mat-focused",Pt._control.focused)("mat-primary","accent"!==Pt.color&&"warn"!==Pt.color)("mat-accent","accent"===Pt.color)("mat-warn","warn"===Pt.color)("ng-untouched",Pt._shouldForward("untouched"))("ng-touched",Pt._shouldForward("touched"))("ng-pristine",Pt._shouldForward("pristine"))("ng-dirty",Pt._shouldForward("dirty"))("ng-valid",Pt._shouldForward("valid"))("ng-invalid",Pt._shouldForward("invalid"))("ng-pending",Pt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[o.Jv_([{provide:Tt,useExisting:fr},{provide:Or,useExisting:fr}]),o.aNF],ngContentSelectors:Vt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(qt,Pt){if(1&qt){const ue=o.RV6();o.NAR(Ct),o.DNE(0,Xe,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",6,1),o.bIt("click",function(Qr){return o.eBV(ue),o.Njj(Pt._control.onContainerClick(Qr))}),o.DNE(4,kr,1,0,"div",7),o.j41(5,"div",8),o.DNE(6,Wr,2,2,"div",9)(7,xe,3,0,"div",10)(8,Le,3,0,"div",11),o.j41(9,"div",12),o.DNE(10,Nt,1,1,null,13),o.SdG(11),o.k0s(),o.DNE(12,Se,3,0,"div",14)(13,Rt,3,0,"div",15),o.k0s(),o.DNE(14,de,1,0,"div",16),o.k0s(),o.j41(15,"div",17),o.DNE(16,jt,2,1,"div",18)(17,Ye,5,2,"div",19),o.k0s()}if(2&qt){let ue;o.R7$(2),o.AVh("mdc-text-field--filled",!Pt._hasOutline())("mdc-text-field--outlined",Pt._hasOutline())("mdc-text-field--no-label",!Pt._hasFloatingLabel())("mdc-text-field--disabled",Pt._control.disabled)("mdc-text-field--invalid",Pt._control.errorState),o.R7$(2),o.vxM(Pt._hasOutline()||Pt._control.disabled?-1:4),o.R7$(2),o.vxM(Pt._hasOutline()?6:-1),o.R7$(),o.vxM(Pt._hasIconPrefix?7:-1),o.R7$(),o.vxM(Pt._hasTextPrefix?8:-1),o.R7$(2),o.vxM(!Pt._hasOutline()||Pt._forceDisplayInfixLabel()?10:-1),o.R7$(2),o.vxM(Pt._hasTextSuffix?12:-1),o.R7$(),o.vxM(Pt._hasIconSuffix?13:-1),o.R7$(),o.vxM(Pt._hasOutline()?-1:14),o.R7$(),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Pt.subscriptSizing),o.R7$(),o.vxM("error"===(ue=Pt._getDisplayedMessages())?16:"hint"===ue?17:-1)}},dependencies:[ko,Ie,k.T3,se,He],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[br.transitionMessages]},changeDetection:0})}}return fr})(),Bo=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275mod=o.$C({type:fr})}static{this.\u0275inj=o.G2t({imports:[vt.yE,k.MD,tt.w5,vt.yE]})}}return fr})()},9213:(i,a,r)=>{"use strict";r.d(a,{An:()=>Le,m_:()=>gt,tp:()=>rt});var o=r(4438),s=r(6600),c=r(177),y=r(7673),k=r(8810),A=r(7468),I=r(8359),M=r(8141),T=r(6354),O=r(9437),L=r(980),Y=r(7647),z=r(6697),q=r(1626),ct=r(345);const dt=["*"];let tt;function Mt(Nt){return function vt(){if(void 0===tt&&(tt=null,typeof window<"u")){const Nt=window;void 0!==Nt.trustedTypes&&(tt=Nt.trustedTypes.createPolicy("angular#components",{createHTML:Se=>Se}))}return tt}()?.createHTML(Nt)||Nt}function $t(Nt){return Error(`Unable to find icon with the name "${Nt}"`)}function kt(Nt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Nt}".`)}function nt(Nt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Nt}".`)}class at{constructor(Se,Rt,de){this.url=Se,this.svgText=Rt,this.options=de}}let rt=(()=>{class Nt{constructor(Rt,de,jt,De){this._httpClient=Rt,this._sanitizer=de,this._errorHandler=De,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=jt}addSvgIcon(Rt,de,jt){return this.addSvgIconInNamespace("",Rt,de,jt)}addSvgIconLiteral(Rt,de,jt){return this.addSvgIconLiteralInNamespace("",Rt,de,jt)}addSvgIconInNamespace(Rt,de,jt,De){return this._addSvgIconConfig(Rt,de,new at(jt,null,De))}addSvgIconResolver(Rt){return this._resolvers.push(Rt),this}addSvgIconLiteralInNamespace(Rt,de,jt,De){const Ye=this._sanitizer.sanitize(o.WPN.HTML,jt);if(!Ye)throw nt(jt);const ft=Mt(Ye);return this._addSvgIconConfig(Rt,de,new at("",ft,De))}addSvgIconSet(Rt,de){return this.addSvgIconSetInNamespace("",Rt,de)}addSvgIconSetLiteral(Rt,de){return this.addSvgIconSetLiteralInNamespace("",Rt,de)}addSvgIconSetInNamespace(Rt,de,jt){return this._addSvgIconSetConfig(Rt,new at(de,null,jt))}addSvgIconSetLiteralInNamespace(Rt,de,jt){const De=this._sanitizer.sanitize(o.WPN.HTML,de);if(!De)throw nt(de);const Ye=Mt(De);return this._addSvgIconSetConfig(Rt,new at("",Ye,jt))}registerFontClassAlias(Rt,de=Rt){return this._fontCssClassesByAlias.set(Rt,de),this}classNameForFontAlias(Rt){return this._fontCssClassesByAlias.get(Rt)||Rt}setDefaultFontSetClass(...Rt){return this._defaultFontSetClass=Rt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Rt){const de=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Rt);if(!de)throw kt(Rt);const jt=this._cachedIconsByUrl.get(de);return jt?(0,y.of)(Vt(jt)):this._loadSvgIconFromConfig(new at(Rt,null)).pipe((0,M.M)(De=>this._cachedIconsByUrl.set(de,De)),(0,T.T)(De=>Vt(De)))}getNamedSvgIcon(Rt,de=""){const jt=Xt(de,Rt);let De=this._svgIconConfigs.get(jt);if(De)return this._getSvgFromConfig(De);if(De=this._getIconConfigFromResolvers(de,Rt),De)return this._svgIconConfigs.set(jt,De),this._getSvgFromConfig(De);const Ye=this._iconSetConfigs.get(de);return Ye?this._getSvgFromIconSetConfigs(Rt,Ye):(0,k.$)($t(jt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Rt){return Rt.svgText?(0,y.of)(Vt(this._svgElementFromConfig(Rt))):this._loadSvgIconFromConfig(Rt).pipe((0,T.T)(de=>Vt(de)))}_getSvgFromIconSetConfigs(Rt,de){const jt=this._extractIconWithNameFromAnySet(Rt,de);if(jt)return(0,y.of)(jt);const De=de.filter(Ye=>!Ye.svgText).map(Ye=>this._loadSvgIconSetFromConfig(Ye).pipe((0,O.W)(ft=>{const Ut=`Loading icon set URL: ${this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Ye.url)} failed: ${ft.message}`;return this._errorHandler.handleError(new Error(Ut)),(0,y.of)(null)})));return(0,A.p)(De).pipe((0,T.T)(()=>{const Ye=this._extractIconWithNameFromAnySet(Rt,de);if(!Ye)throw $t(Rt);return Ye}))}_extractIconWithNameFromAnySet(Rt,de){for(let jt=de.length-1;jt>=0;jt--){const De=de[jt];if(De.svgText&&De.svgText.toString().indexOf(Rt)>-1){const Ye=this._svgElementFromConfig(De),ft=this._extractSvgIconFromSet(Ye,Rt,De.options);if(ft)return ft}}return null}_loadSvgIconFromConfig(Rt){return this._fetchIcon(Rt).pipe((0,M.M)(de=>Rt.svgText=de),(0,T.T)(()=>this._svgElementFromConfig(Rt)))}_loadSvgIconSetFromConfig(Rt){return Rt.svgText?(0,y.of)(null):this._fetchIcon(Rt).pipe((0,M.M)(de=>Rt.svgText=de))}_extractSvgIconFromSet(Rt,de,jt){const De=Rt.querySelector(`[id="${de}"]`);if(!De)return null;const Ye=De.cloneNode(!0);if(Ye.removeAttribute("id"),"svg"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(Ye,jt);if("symbol"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ye),jt);const ft=this._svgElementFromString(Mt(""));return ft.appendChild(Ye),this._setSvgAttributes(ft,jt)}_svgElementFromString(Rt){const de=this._document.createElement("DIV");de.innerHTML=Rt;const jt=de.querySelector("svg");if(!jt)throw Error(" tag not found");return jt}_toSvgElement(Rt){const de=this._svgElementFromString(Mt("")),jt=Rt.attributes;for(let De=0;DeMt(Ut)),(0,L.j)(()=>this._inProgressUrlFetches.delete(Ye)),(0,Y.u)());return this._inProgressUrlFetches.set(Ye,pe),pe}_addSvgIconConfig(Rt,de,jt){return this._svgIconConfigs.set(Xt(Rt,de),jt),this}_addSvgIconSetConfig(Rt,de){const jt=this._iconSetConfigs.get(Rt);return jt?jt.push(de):this._iconSetConfigs.set(Rt,[de]),this}_svgElementFromConfig(Rt){if(!Rt.svgElement){const de=this._svgElementFromString(Rt.svgText);this._setSvgAttributes(de,Rt.options),Rt.svgElement=de}return Rt.svgElement}_getIconConfigFromResolvers(Rt,de){for(let jt=0;jtSe?Se.pathname+Se.search:""}}}),wr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Wr=wr.map(Nt=>`[${Nt}]`).join(", "),xe=/^url\(['"]?#(.*?)['"]?\)$/;let Le=(()=>{class Nt{get color(){return this._color||this._defaultColor}set color(Rt){this._color=Rt}get svgIcon(){return this._svgIcon}set svgIcon(Rt){Rt!==this._svgIcon&&(Rt?this._updateSvgIcon(Rt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Rt)}get fontSet(){return this._fontSet}set fontSet(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontSet&&(this._fontSet=de,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontIcon&&(this._fontIcon=de,this._updateFontIconClasses())}constructor(Rt,de,jt,De,Ye,ft){this._elementRef=Rt,this._iconRegistry=de,this._location=De,this._errorHandler=Ye,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=I.yU.EMPTY,ft&&(ft.color&&(this.color=this._defaultColor=ft.color),ft.fontSet&&(this.fontSet=ft.fontSet)),jt||Rt.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Rt){if(!Rt)return["",""];const de=Rt.split(":");switch(de.length){case 1:return["",de[0]];case 2:return de;default:throw Error(`Invalid icon name: "${Rt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Rt=this._elementsWithExternalReferences;if(Rt&&Rt.size){const de=this._location.getPathname();de!==this._previousPath&&(this._previousPath=de,this._prependPathToReferences(de))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Rt){this._clearSvgElement();const de=this._location.getPathname();this._previousPath=de,this._cacheChildrenWithExternalReferences(Rt),this._prependPathToReferences(de),this._elementRef.nativeElement.appendChild(Rt)}_clearSvgElement(){const Rt=this._elementRef.nativeElement;let de=Rt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();de--;){const jt=Rt.childNodes[de];(1!==jt.nodeType||"svg"===jt.nodeName.toLowerCase())&&jt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Rt=this._elementRef.nativeElement,de=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(jt=>jt.length>0);this._previousFontSetClass.forEach(jt=>Rt.classList.remove(jt)),de.forEach(jt=>Rt.classList.add(jt)),this._previousFontSetClass=de,this.fontIcon!==this._previousFontIconClass&&!de.includes("mat-ligature-font")&&(this._previousFontIconClass&&Rt.classList.remove(this._previousFontIconClass),this.fontIcon&&Rt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Rt){return"string"==typeof Rt?Rt.trim().split(" ")[0]:Rt}_prependPathToReferences(Rt){const de=this._elementsWithExternalReferences;de&&de.forEach((jt,De)=>{jt.forEach(Ye=>{De.setAttribute(Ye.name,`url('${Rt}#${Ye.value}')`)})})}_cacheChildrenWithExternalReferences(Rt){const de=Rt.querySelectorAll(Wr),jt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let De=0;De{const ft=de[De],pe=ft.getAttribute(Ye),Ut=pe?pe.match(xe):null;if(Ut){let Ee=jt.get(ft);Ee||(Ee=[],jt.set(ft,Ee)),Ee.push({name:Ye,value:Ut[1]})}})}_updateSvgIcon(Rt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Rt){const[de,jt]=this._splitIconName(Rt);de&&(this._svgNamespace=de),jt&&(this._svgName=jt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(jt,de).pipe((0,z.s)(1)).subscribe(De=>this._setSvgElement(De),De=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${de}:${jt}! ${De.message}`))})}}static{this.\u0275fac=function(de){return new(de||Nt)(o.rXU(o.aKT),o.rXU(rt),o.kS0("aria-hidden"),o.rXU(kr),o.rXU(o.zcH),o.rXU(Xe,8))}}static{this.\u0275cmp=o.VBU({type:Nt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(de,jt){2&de&&(o.BMQ("data-mat-icon-type",jt._usingFontIcon()?"font":"svg")("data-mat-icon-name",jt._svgName||jt.fontIcon)("data-mat-icon-namespace",jt._svgNamespace||jt.fontSet)("fontIcon",jt._usingFontIcon()?jt.fontIcon:null),o.HbH(jt.color?"mat-"+jt.color:""),o.AVh("mat-icon-inline",jt.inline)("mat-icon-no-color","primary"!==jt.color&&"accent"!==jt.color&&"warn"!==jt.color))},inputs:{color:"color",inline:[2,"inline","inline",o.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:dt,decls:1,vars:0,template:function(de,jt){1&de&&(o.NAR(),o.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return Nt})(),gt=(()=>{class Nt{static{this.\u0275fac=function(de){return new(de||Nt)}}static{this.\u0275mod=o.$C({type:Nt})}static{this.\u0275inj=o.G2t({imports:[s.yE,s.yE]})}}return Nt})()},9042:(i,a,r)=>{"use strict";r.d(a,{fS:()=>q,fg:()=>z});var o=r(4085),s=r(6860),c=r(7403),y=r(4438),k=r(9417),A=r(6600),I=r(2102),M=r(1413);const O=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),L=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0,z=(()=>{class ct{get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,o.he)(tt),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(tt){this._id=tt||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(k.k0.required)??!1}set required(tt){this._required=(0,o.he)(tt)}get type(){return this._type}set type(tt){this._type=tt||"text",this._validateType(),!this._isTextarea&&(0,s.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(tt){this._errorStateTracker.matcher=tt}get value(){return this._inputValueAccessor.value}set value(tt){tt!==this.value&&(this._inputValueAccessor.value=tt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(tt){this._readonly=(0,o.he)(tt)}get errorState(){return this._errorStateTracker.errorState}set errorState(tt){this._errorStateTracker.errorState=tt}constructor(tt,vt,Mt,$t,St,kt,nt,at,rt,yt){this._elementRef=tt,this._platform=vt,this.ngControl=Mt,this._autofillMonitor=at,this._ngZone=rt,this._formField=yt,this._uid="mat-input-"+Y++,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new M.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Xt=>(0,s.MU)().has(Xt)),this._iOSKeyupListener=Xt=>{const oe=Xt.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};const Ct=this._elementRef.nativeElement,Vt=Ct.nodeName.toLowerCase();this._inputValueAccessor=nt||Ct,this._previousNativeValue=this.value,this.id=this.id,vt.IOS&&rt.runOutsideAngular(()=>{tt.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new A.X0(kt,Mt,St,$t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Vt,this._isTextarea="textarea"===Vt,this._isInFormField=!!yt,this._isNativeSelect&&(this.controlType=Ct.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(tt=>{this.autofilled=tt.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(tt){this._elementRef.nativeElement.focus(tt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(tt){tt!==this.focused&&(this.focused=tt,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const tt=this._elementRef.nativeElement.value;this._previousNativeValue!==tt&&(this._previousNativeValue=tt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const tt=this._getPlaceholder();if(tt!==this._previousPlaceholder){const vt=this._elementRef.nativeElement;this._previousPlaceholder=tt,tt?vt.setAttribute("placeholder",tt):vt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){L.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let tt=this._elementRef.nativeElement.validity;return tt&&tt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const tt=this._elementRef.nativeElement,vt=tt.options[0];return this.focused||tt.multiple||!this.empty||!!(tt.selectedIndex>-1&&vt&&vt.label)}return this.focused||!this.empty}setDescribedByIds(tt){tt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",tt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const tt=this._elementRef.nativeElement;return this._isNativeSelect&&(tt.multiple||tt.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&"number"!==this._type&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(vt){return new(vt||ct)(y.rXU(y.aKT),y.rXU(s.OD),y.rXU(k.vO,10),y.rXU(k.cV,8),y.rXU(k.j4,8),y.rXU(A.es),y.rXU(O,10),y.rXU(c.P8),y.rXU(y.SKi),y.rXU(I.xb,8))}}static{this.\u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(vt,Mt){1&vt&&y.bIt("focus",function(){return Mt._focusChanged(!0)})("blur",function(){return Mt._focusChanged(!1)})("input",function(){return Mt._onInput()}),2&vt&&(y.Mr5("id",Mt.id)("disabled",Mt.disabled)("required",Mt.required),y.BMQ("name",Mt.name||null)("readonly",Mt.readonly&&!Mt._isNativeSelect||null)("aria-invalid",Mt.empty&&Mt.required?null:Mt.errorState)("aria-required",Mt.required)("id",Mt.id),y.AVh("mat-input-server",Mt._isServer)("mat-mdc-form-field-textarea-control",Mt._isInFormField&&Mt._isTextarea)("mat-mdc-form-field-input-control",Mt._isInFormField)("mdc-text-field__input",Mt._isInFormField)("mat-mdc-native-select-inline",Mt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[y.Jv_([{provide:I.qT,useExisting:ct}]),y.OA$]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275mod=y.$C({type:ct})}static{this.\u0275inj=y.G2t({imports:[A.yE,I.RG,I.RG,c.EE,A.yE]})}}return ct})()},9115:(i,a,r)=>{"use strict";r.d(a,{Cn:()=>Ee,Cp:()=>Ut,fb:()=>oe,kk:()=>de});var o=r(4438),s=r(9888),c=r(7336),y=r(1413),k=r(7786),A=r(8359),I=r(7673),M=r(5007),T=r(9172),O=r(5558),L=r(6977),Y=r(5964),z=r(6697),q=r(1986),ct=r(177),dt=r(6600),tt=r(6939),vt=r(9969),Mt=r(8203),$t=r(7987),St=r(6860),kt=r(5542);const nt=["mat-menu-item",""],at=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],rt=["mat-icon, [matMenuItemIcon]","*"];function yt(ie,He){1&ie&&(o.qSk(),o.j41(0,"svg",2),o.nrm(1,"polygon",3),o.k0s())}const Ct=["*"];function Vt(ie,He){if(1&ie){const Ht=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._handleKeydown(Pe))})("click",function(){o.eBV(Ht);const Pe=o.XpG();return o.Njj(Pe.closed.emit("click"))})("@transformMenu.start",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._onAnimationStart(Pe))})("@transformMenu.done",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._onAnimationDone(Pe))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&ie){const Ht=o.XpG();o.HbH(Ht._classList),o.Y8G("id",Ht.panelId)("@transformMenu",Ht._panelAnimationState),o.BMQ("aria-label",Ht.ariaLabel||null)("aria-labelledby",Ht.ariaLabelledby||null)("aria-describedby",Ht.ariaDescribedby||null)}}const Xt=new o.nKC("MAT_MENU_PANEL");let oe=(()=>{class ie{constructor(Ht,Me,Pe,We,Or){this._elementRef=Ht,this._document=Me,this._focusMonitor=Pe,this._parentMenu=We,this._changeDetectorRef=Or,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.B,this._focused=new y.B,this._highlighted=!1,this._triggersSubmenu=!1,We?.addItem?.(this)}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._getHostElement(),Ht,Me):this._getHostElement().focus(Me),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ht){this.disabled&&(Ht.preventDefault(),Ht.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ht=this._elementRef.nativeElement.cloneNode(!0),Me=Ht.querySelectorAll("mat-icon, .material-icons");for(let Pe=0;Pe enter",(0,vt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,vt.iF)({opacity:1,transform:"scale(1)"}))),(0,vt.kY)("* => void",(0,vt.i0)("100ms 25ms linear",(0,vt.iF)({opacity:0})))]),fadeInItems:(0,vt.hZ)("fadeInItems",[(0,vt.wk)("showing",(0,vt.iF)({opacity:1})),(0,vt.kY)("void => *",[(0,vt.iF)({opacity:0}),(0,vt.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Nt=0;const Se=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Rt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let de=(()=>{class ie{get xPosition(){return this._xPosition}set xPosition(Ht){this._xPosition=Ht,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ht){this._yPosition=Ht,this.setPositionClasses()}set panelClass(Ht){const Me=this._previousPanelClass,Pe={...this._classList};Me&&Me.length&&Me.split(" ").forEach(We=>{Pe[We]=!1}),this._previousPanelClass=Ht,Ht&&Ht.length&&(Ht.split(" ").forEach(We=>{Pe[We]=!0}),this._elementRef.nativeElement.className=""),this._classList=Pe}get classList(){return this.panelClass}set classList(Ht){this.panelClass=Ht}constructor(Ht,Me,Pe,We){this._elementRef=Ht,this._changeDetectorRef=We,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new y.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Nt++,this._injector=(0,o.WQX)(o.zZn),this.overlayPanelClass=Pe.overlayPanelClass||"",this._xPosition=Pe.xPosition,this._yPosition=Pe.yPosition,this.backdropClass=Pe.backdropClass,this.overlapTrigger=Pe.overlapTrigger,this.hasBackdrop=Pe.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,T.Z)(this._directDescendantItems),(0,O.n)(Ht=>(0,k.h)(...Ht.map(Me=>Me._focused)))).subscribe(Ht=>this._keyManager.updateActiveItem(Ht)),this._directDescendantItems.changes.subscribe(Ht=>{const Me=this._keyManager;if("enter"===this._panelAnimationState&&Me.activeItem?._hasFocus()){const Pe=Ht.toArray(),We=Math.max(0,Math.min(Pe.length-1,Me.activeItemIndex||0));Pe[We]&&!Pe[We].disabled?Me.setActiveItem(We):Me.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe((0,T.Z)(this._directDescendantItems),(0,O.n)(Me=>(0,k.h)(...Me.map(Pe=>Pe._hovered))))}addItem(Ht){}removeItem(Ht){}_handleKeydown(Ht){const Me=Ht.keyCode,Pe=this._keyManager;switch(Me){case c._f:(0,c.rp)(Ht)||(Ht.preventDefault(),this.closed.emit("keydown"));break;case c.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case c.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Me===c.i7||Me===c.n6)&&Pe.setFocusOrigin("keyboard"),void Pe.onKeydown(Ht)}Ht.stopPropagation()}focusFirstItem(Ht="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,o.mal)(()=>{let Me=null;if(this._directDescendantItems.length&&(Me=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Me||!Me.contains(document.activeElement)){const Pe=this._keyManager;Pe.setFocusOrigin(Ht).setFirstItemActive(),!Pe.activeItem&&Me&&Me.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ht){if(null===this._baseElevation){const ko=("function"==typeof getComputedStyle?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(ko)}const Me=Math.min(this._baseElevation+Ht,24),Pe=`${this._elevationPrefix}${Me}`,We=Object.keys(this._classList).find(Or=>Or.startsWith(this._elevationPrefix));if(!We||We===this._previousElevation){const Or={...this._classList};this._previousElevation&&(Or[this._previousElevation]=!1),Or[Pe]=!0,this._previousElevation=Pe,this._classList=Or}}setPositionClasses(Ht=this.xPosition,Me=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ht,"mat-menu-after":"after"===Ht,"mat-menu-above":"above"===Me,"mat-menu-below":"below"===Me},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ht){this._animationDone.next(Ht),this._isAnimating=!1}_onAnimationStart(Ht){this._isAnimating=!0,"enter"===Ht.toState&&0===this._keyManager.activeItemIndex&&(Ht.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,T.Z)(this._allItems)).subscribe(Ht=>{this._directDescendantItems.reset(Ht.filter(Me=>Me._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Se),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:ie,selectors:[["mat-menu"]],contentQueries:function(Me,Pe,We){if(1&Me&&(o.wni(We,wr,5),o.wni(We,oe,5),o.wni(We,oe,4)),2&Me){let Or;o.mGM(Or=o.lsd())&&(Pe.lazyContent=Or.first),o.mGM(Or=o.lsd())&&(Pe._allItems=Or),o.mGM(Or=o.lsd())&&(Pe.items=Or)}},viewQuery:function(Me,Pe){if(1&Me&&o.GBs(o.C4Q,5),2&Me){let We;o.mGM(We=o.lsd())&&(Pe.templateRef=We.first)}},hostVars:3,hostBindings:function(Me,Pe){2&Me&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",o.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ht=>null==Ht?null:(0,o.L39)(Ht)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[o.Jv_([{provide:Xt,useExisting:ie}]),o.GFd,o.aNF],ngContentSelectors:Ct,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Me,Pe){1&Me&&(o.NAR(),o.DNE(0,Vt,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0})}}return ie})();const jt=new o.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const ie=(0,o.WQX)($t.hJ);return()=>ie.scrollStrategies.reposition()}}),Ye={provide:jt,deps:[$t.hJ],useFactory:function De(ie){return()=>ie.scrollStrategies.reposition()}},ft=(0,St.BQ)({passive:!0});let Ut=(()=>{class ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ht){this.menu=Ht}get menu(){return this._menu}set menu(Ht){Ht!==this._menu&&(this._menu=Ht,this._menuCloseSubscription.unsubscribe(),Ht&&(this._menuCloseSubscription=Ht.close.subscribe(Me=>{this._destroyMenu(Me),("click"===Me||"tab"===Me)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Me)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ht,Me,Pe,We,Or,ko,lr,Lt,be){this._overlay=Ht,this._element=Me,this._viewContainerRef=Pe,this._menuItemInstance=ko,this._dir=lr,this._focusMonitor=Lt,this._ngZone=be,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.yU.EMPTY,this._hoverSubscription=A.yU.EMPTY,this._menuCloseSubscription=A.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=se=>{(0,s.w6)(se)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=We,this._parentMaterialMenu=Or instanceof de?Or:void 0,Me.nativeElement.addEventListener("touchstart",this._handleTouchStart,ft)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ft),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ht=this.menu;if(this._menuOpen||!Ht)return;const Me=this._createOverlay(Ht),Pe=Me.getConfig(),We=Pe.positionStrategy;this._setPosition(Ht,We),Pe.hasBackdrop=null==Ht.hasBackdrop?!this.triggersSubmenu():Ht.hasBackdrop,Me.attach(this._getPortal(Ht)),Ht.lazyContent&&Ht.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ht),Ht instanceof de&&(Ht._startAnimation(),Ht._directDescendantItems.changes.pipe((0,L.Q)(Ht.close)).subscribe(()=>{We.withLockedPosition(!1).reapplyLastPosition(),We.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._element,Ht,Me):this._element.nativeElement.focus(Me)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ht){if(!this._overlayRef||!this.menuOpen)return;const Me=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ht||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Me instanceof de?(Me._resetAnimation(),Me.lazyContent?Me._animationDone.pipe((0,Y.p)(Pe=>"void"===Pe.toState),(0,z.s)(1),(0,L.Q)(Me.lazyContent._attached)).subscribe({next:()=>Me.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Me?.lazyContent?.detach())}_initMenu(Ht){Ht.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ht.direction=this.dir,this._setMenuElevation(Ht),Ht.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ht){if(Ht.setElevation){let Me=0,Pe=Ht.parentMenu;for(;Pe;)Me++,Pe=Pe.parentMenu;Ht.setElevation(Me)}}_setIsMenuOpen(Ht){Ht!==this._menuOpen&&(this._menuOpen=Ht,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ht),this._changeDetectorRef.markForCheck())}_createOverlay(Ht){if(!this._overlayRef){const Me=this._getOverlayConfig(Ht);this._subscribeToPositions(Ht,Me.positionStrategy),this._overlayRef=this._overlay.create(Me),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ht){return new $t.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ht.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ht.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ht,Me){Ht.setPositionClasses&&Me.positionChanges.subscribe(Pe=>{const We="start"===Pe.connectionPair.overlayX?"after":"before",Or="top"===Pe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ht.setPositionClasses(We,Or)):Ht.setPositionClasses(We,Or)})}_setPosition(Ht,Me){let[Pe,We]="before"===Ht.xPosition?["end","start"]:["start","end"],[Or,ko]="above"===Ht.yPosition?["bottom","top"]:["top","bottom"],[lr,Lt]=[Or,ko],[be,se]=[Pe,We],Ie=0;if(this.triggersSubmenu()){if(se=Pe="before"===Ht.xPosition?"start":"end",We=be="end"===Pe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const br=this._parentMaterialMenu.items.first;this._parentInnerPadding=br?br._getHostElement().offsetTop:0}Ie="bottom"===Or?this._parentInnerPadding:-this._parentInnerPadding}}else Ht.overlapTrigger||(lr="top"===Or?"bottom":"top",Lt="top"===ko?"bottom":"top");Me.withPositions([{originX:Pe,originY:lr,overlayX:be,overlayY:Or,offsetY:Ie},{originX:We,originY:lr,overlayX:se,overlayY:Or,offsetY:Ie},{originX:Pe,originY:Lt,overlayX:be,overlayY:ko,offsetY:-Ie},{originX:We,originY:Lt,overlayX:se,overlayY:ko,offsetY:-Ie}])}_menuClosingActions(){const Ht=this._overlayRef.backdropClick(),Me=this._overlayRef.detachments(),Pe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,I.of)(),We=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Y.p)(Or=>Or!==this._menuItemInstance),(0,Y.p)(()=>this._menuOpen)):(0,I.of)();return(0,k.h)(Ht,Pe,We,Me)}_handleMousedown(Ht){(0,s._G)(Ht)||(this._openedBy=0===Ht.button?"mouse":void 0,this.triggersSubmenu()&&Ht.preventDefault())}_handleKeydown(Ht){const Me=Ht.keyCode;(Me===c.Fm||Me===c.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Me===c.LE&&"ltr"===this.dir||Me===c.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ht){this.triggersSubmenu()?(Ht.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Y.p)(Ht=>Ht===this._menuItemInstance&&!Ht.disabled),(0,q.c)(0,M.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof de&&this.menu._isAnimating?this.menu._animationDone.pipe((0,z.s)(1),(0,q.c)(0,M.$),(0,L.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ht){return(!this._portal||this._portal.templateRef!==Ht.templateRef)&&(this._portal=new tt.VA(Ht.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU($t.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(jt),o.rXU(Xt,8),o.rXU(oe,10),o.rXU(Mt.dS,8),o.rXU(s.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Me,Pe){1&Me&&o.bIt("click",function(Or){return Pe._handleClick(Or)})("mousedown",function(Or){return Pe._handleMousedown(Or)})("keydown",function(Or){return Pe._handleKeydown(Or)}),2&Me&&o.BMQ("aria-haspopup",Pe.menu?"menu":null)("aria-expanded",Pe.menuOpen)("aria-controls",Pe.menuOpen?Pe.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return ie})(),Ee=(()=>{class ie{static{this.\u0275fac=function(Me){return new(Me||ie)}}static{this.\u0275mod=o.$C({type:ie})}static{this.\u0275inj=o.G2t({providers:[Ye],imports:[ct.MD,dt.pZ,dt.yE,$t.z_,kt.Gj,dt.yE]})}}return ie})()},7575:(i,a,r)=>{"use strict";r.d(a,{HM:()=>M,PO:()=>O});var o=r(4438),c=(r(177),r(6600));function y(L,Y){1&L&&o.nrm(0,"div",2)}const k=new o.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let M=(()=>{class L{constructor(z,q,ct,dt,tt){this._elementRef=z,this._ngZone=q,this._changeDetectorRef=ct,this._animationMode=dt,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new o.bkB,this._mode="determinate",this._transitionendHandler=vt=>{0===this.animationEnd.observers.length||!vt.target||!vt.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===dt,tt&&(tt.color&&(this.color=this._defaultColor=tt.color),this.mode=tt.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(z){this._color=z}get value(){return this._value}set value(z){this._value=T(z||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(z){this._bufferValue=T(z||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(z){this._mode=z,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static{this.\u0275fac=function(q){return new(q||L)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(o.gRc),o.rXU(o.bc$,8),o.rXU(k,8))}}static{this.\u0275cmp=o.VBU({type:L,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(q,ct){2&q&&(o.BMQ("aria-valuenow",ct._isIndeterminate()?null:ct.value)("mode",ct.mode),o.HbH("mat-"+ct.color),o.AVh("_mat-animation-noopable",ct._isNoopAnimation)("mdc-linear-progress--animation-ready",!ct._isNoopAnimation)("mdc-linear-progress--indeterminate",ct._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",o.Udg],bufferValue:[2,"bufferValue","bufferValue",o.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[o.GFd,o.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(q,ct){1&q&&(o.j41(0,"div",0),o.nrm(1,"div",1),o.DNE(2,y,1,0,"div",2),o.k0s(),o.j41(3,"div",3),o.nrm(4,"span",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"span",4),o.k0s()),2&q&&(o.R7$(),o.xc7("flex-basis",ct._getBufferBarFlexBasis()),o.R7$(),o.vxM("buffer"===ct.mode?2:-1),o.R7$(),o.xc7("transform",ct._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}"],encapsulation:2,changeDetection:0})}}return L})();function T(L,Y=0,z=100){return Math.max(Y,Math.min(z,L))}let O=(()=>{class L{static{this.\u0275fac=function(q){return new(q||L)}}static{this.\u0275mod=o.$C({type:L})}static{this.\u0275inj=o.G2t({imports:[c.yE]})}}return L})()},2798:(i,a,r)=>{"use strict";r.d(a,{$2:()=>De,VO:()=>jt,Ve:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(6600),k=r(2102),A=r(5542),I=r(9888),M=r(8203),T=r(5024),O=r(7336),L=r(9417),Y=r(1413),z=r(9030),q=r(7786),ct=r(9172),dt=r(5558),tt=r(5964),vt=r(6354),Mt=r(3294),$t=r(6977),St=r(6697),kt=r(9969);const nt=["trigger"],at=["panel"],rt=[[["mat-select-trigger"]],"*"],yt=["mat-select-trigger","*"];function Ct(ft,pe){if(1&ft&&(c.j41(0,"span",4),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.JRh(Ut.placeholder)}}function Vt(ft,pe){1&ft&&c.SdG(0)}function Xt(ft,pe){if(1&ft&&(c.j41(0,"span",11),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG(2);c.R7$(),c.JRh(Ut.triggerValue)}}function oe(ft,pe){if(1&ft&&(c.j41(0,"span",5),c.DNE(1,Vt,1,0)(2,Xt,2,1,"span",11),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.vxM(Ut.customTrigger?1:2)}}function Xe(ft,pe){if(1&ft){const Ut=c.RV6();c.j41(0,"div",12,1),c.bIt("@transformPanel.done",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._panelDoneAnimatingStream.next(ie.toState))})("keydown",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._handleKeydown(ie))}),c.SdG(2,1),c.k0s()}if(2&ft){const Ut=c.XpG();c.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ut._getPanelTheme(),""),c.Y8G("ngClass",Ut.panelClass)("@transformPanel","showing"),c.BMQ("id",Ut.id+"-panel")("aria-multiselectable",Ut.multiple)("aria-label",Ut.ariaLabel||null)("aria-labelledby",Ut._getPanelAriaLabelledby())}}const kr={transformPanelWrap:(0,kt.hZ)("transformPanelWrap",[(0,kt.kY)("* => void",(0,kt.P)("@transformPanel",[(0,kt.MA)()],{optional:!0}))]),transformPanel:(0,kt.hZ)("transformPanel",[(0,kt.wk)("void",(0,kt.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,kt.kY)("void => showing",(0,kt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,kt.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,kt.kY)("* => void",(0,kt.i0)("100ms linear",(0,kt.iF)({opacity:0})))])};let xe=0;const Le=new c.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ft=(0,c.WQX)(o.hJ);return()=>ft.scrollStrategies.reposition()}}),Nt=new c.nKC("MAT_SELECT_CONFIG"),Se={provide:Le,deps:[o.hJ],useFactory:function gt(ft){return()=>ft.scrollStrategies.reposition()}},Rt=new c.nKC("MatSelectTrigger");class de{constructor(pe,Ut){this.source=pe,this.value=Ut}}let jt=(()=>{class ft{_scrollOptionIntoView(Ut){const Ee=this.options.toArray()[Ut];if(Ee){const ie=this.panel.nativeElement,He=(0,y.jb)(Ut,this.options,this.optionGroups),Ht=Ee._getHostElement();ie.scrollTop=0===Ut&&1===He?0:(0,y.TL)(Ht.offsetTop,Ht.offsetHeight,ie.scrollTop,ie.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ut){return new de(this,Ut)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ut){this._hideSingleSelectionIndicator=Ut,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ut){this._placeholder=Ut,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.k0.required)??!1}set required(Ut){this._required=Ut,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ut){this._multiple=Ut}get compareWith(){return this._compareWith}set compareWith(Ut){this._compareWith=Ut,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ut){this._assignValue(Ut)&&this._onChange(Ut)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ut){this._errorStateTracker.matcher=Ut}get id(){return this._id}set id(Ut){this._id=Ut||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Ut){this._errorStateTracker.errorState=Ut}constructor(Ut,Ee,ie,He,Ht,Me,Pe,We,Or,ko,lr,Lt,be,se){this._viewportRuler=Ut,this._changeDetectorRef=Ee,this._elementRef=Ht,this._dir=Me,this._parentFormField=Or,this.ngControl=ko,this._liveAnnouncer=be,this._defaultOptions=se,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,br)=>Ie===br,this._uid="mat-select-"+xe++,this._triggerAriaLabelledBy=null,this._destroy=new Y.B,this.stateChanges=new Y.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+xe++,this._panelDoneAnimatingStream=new Y.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new Y.B,this.optionSelectionChanges=(0,z.v)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,ct.Z)(Ie),(0,dt.n)(()=>(0,q.h)(...Ie.map(br=>br.onSelectionChange)))):this._initialized.pipe((0,dt.n)(()=>this.optionSelectionChanges))}),this.openedChange=new c.bkB,this._openedStream=this.openedChange.pipe((0,tt.p)(Ie=>Ie),(0,vt.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,tt.p)(Ie=>!Ie),(0,vt.T)(()=>{})),this.selectionChange=new c.bkB,this.valueChange=new c.bkB,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=se?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=se.typeaheadDebounceInterval),this._errorStateTracker=new y.X0(He,ko,We,Pe,this.stateChanges),this._scrollStrategyFactory=Lt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(lr)||0,this.id=this.id}ngOnInit(){this._selectionModel=new T.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Mt.F)(),(0,$t.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,$t.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,$t.Q)(this._destroy)).subscribe(Ut=>{Ut.added.forEach(Ee=>Ee.select()),Ut.removed.forEach(Ee=>Ee.deselect())}),this.options.changes.pipe((0,ct.Z)(null),(0,$t.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ut=this._getTriggerAriaLabelledby(),Ee=this.ngControl;if(Ut!==this._triggerAriaLabelledBy){const ie=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ut,Ut?ie.setAttribute("aria-labelledby",Ut):ie.removeAttribute("aria-labelledby")}Ee&&(this._previousControl!==Ee.control&&(void 0!==this._previousControl&&null!==Ee.disabled&&Ee.disabled!==this.disabled&&(this.disabled=Ee.disabled),this._previousControl=Ee.control),this.updateErrorState())}ngOnChanges(Ut){(Ut.disabled||Ut.userAriaDescribedBy)&&this.stateChanges.next(),Ut.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const Ut=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ut)return;const Ee=`${this.id}-panel`;this._trackedModal&&(0,I.Ae)(this._trackedModal,"aria-owns",Ee),(0,I.px)(Ut,"aria-owns",Ee),this._trackedModal=Ut}_clearFromModal(){this._trackedModal&&((0,I.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(Ut){this._assignValue(Ut)}registerOnChange(Ut){this._onChange=Ut}registerOnTouched(Ut){this._onTouched=Ut}setDisabledState(Ut){this.disabled=Ut,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ut=this._selectionModel.selected.map(Ee=>Ee.viewValue);return this._isRtl()&&Ut.reverse(),Ut.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ut){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ut):this._handleClosedKeydown(Ut))}_handleClosedKeydown(Ut){const Ee=Ut.keyCode,ie=Ee===O.n6||Ee===O.i7||Ee===O.UQ||Ee===O.LE,He=Ee===O.Fm||Ee===O.t6,Ht=this._keyManager;if(!Ht.isTyping()&&He&&!(0,O.rp)(Ut)||(this.multiple||Ut.altKey)&&ie)Ut.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;Ht.onKeydown(Ut);const Pe=this.selected;Pe&&Me!==Pe&&this._liveAnnouncer.announce(Pe.viewValue,1e4)}}_handleOpenKeydown(Ut){const Ee=this._keyManager,ie=Ut.keyCode,He=ie===O.n6||ie===O.i7,Ht=Ee.isTyping();if(He&&Ut.altKey)Ut.preventDefault(),this.close();else if(Ht||ie!==O.Fm&&ie!==O.t6||!Ee.activeItem||(0,O.rp)(Ut))if(!Ht&&this._multiple&&ie===O.A&&Ut.ctrlKey){Ut.preventDefault();const Me=this.options.some(Pe=>!Pe.disabled&&!Pe.selected);this.options.forEach(Pe=>{Pe.disabled||(Me?Pe.select():Pe.deselect())})}else{const Me=Ee.activeItemIndex;Ee.onKeydown(Ut),this._multiple&&He&&Ut.shiftKey&&Ee.activeItem&&Ee.activeItemIndex!==Me&&Ee.activeItem._selectViaInteraction()}else Ut.preventDefault(),Ee.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,St.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ut){if(this.options.forEach(Ee=>Ee.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ut)Array.isArray(Ut),Ut.forEach(Ee=>this._selectOptionByValue(Ee)),this._sortValues();else{const Ee=this._selectOptionByValue(Ut);Ee?this._keyManager.updateActiveItem(Ee):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ut){const Ee=this.options.find(ie=>{if(this._selectionModel.isSelected(ie))return!1;try{return null!=ie.value&&this._compareWith(ie.value,Ut)}catch{return!1}});return Ee&&this._selectionModel.select(Ee),Ee}_assignValue(Ut){return!!(Ut!==this._value||this._multiple&&Array.isArray(Ut))&&(this.options&&this._setSelectionByValue(Ut),this._value=Ut,!0)}_getOverlayWidth(Ut){return"auto"===this.panelWidth?(Ut instanceof o.$Q?Ut.elementRef:Ut||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ut of this.options)Ut._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new I.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ut=(0,q.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,$t.Q)(Ut)).subscribe(Ee=>{this._onSelect(Ee.source,Ee.isUserInput),Ee.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,q.h)(...this.options.map(Ee=>Ee._stateChanges)).pipe((0,$t.Q)(Ut)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ut,Ee){const ie=this._selectionModel.isSelected(Ut);null!=Ut.value||this._multiple?(ie!==Ut.selected&&(Ut.selected?this._selectionModel.select(Ut):this._selectionModel.deselect(Ut)),Ee&&this._keyManager.setActiveItem(Ut),this.multiple&&(this._sortValues(),Ee&&this.focus())):(Ut.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ut.value)),ie!==this._selectionModel.isSelected(Ut)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ut=this.options.toArray();this._selectionModel.sort((Ee,ie)=>this.sortComparator?this.sortComparator(Ee,ie,Ut):Ut.indexOf(Ee)-Ut.indexOf(ie)),this.stateChanges.next()}}_propagateChanges(Ut){let Ee;Ee=this.multiple?this.selected.map(ie=>ie.value):this.selected?this.selected.value:Ut,this._value=Ee,this.valueChange.emit(Ee),this._onChange(Ee),this.selectionChange.emit(this._getChangeEvent(Ee)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ut=-1;for(let Ee=0;Ee0}focus(Ut){this._elementRef.nativeElement.focus(Ut)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ut?Ut+" ":"")+this.ariaLabelledby:Ut}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();let Ee=(Ut?Ut+" ":"")+this._valueId;return this.ariaLabelledby&&(Ee+=" "+this.ariaLabelledby),Ee}_panelDoneAnimating(Ut){this.openedChange.emit(Ut)}setDescribedByIds(Ut){Ut.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ut.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(Ee){return new(Ee||ft)(c.rXU(A.Xj),c.rXU(c.gRc),c.rXU(c.SKi),c.rXU(y.es),c.rXU(c.aKT),c.rXU(M.dS,8),c.rXU(L.cV,8),c.rXU(L.j4,8),c.rXU(k.xb,8),c.rXU(L.vO,10),c.kS0("tabindex"),c.rXU(Le),c.rXU(I.Ai),c.rXU(Nt,8))}}static{this.\u0275cmp=c.VBU({type:ft,selectors:[["mat-select"]],contentQueries:function(Ee,ie,He){if(1&Ee&&(c.wni(He,Rt,5),c.wni(He,y.wT,5),c.wni(He,y.QC,5)),2&Ee){let Ht;c.mGM(Ht=c.lsd())&&(ie.customTrigger=Ht.first),c.mGM(Ht=c.lsd())&&(ie.options=Ht),c.mGM(Ht=c.lsd())&&(ie.optionGroups=Ht)}},viewQuery:function(Ee,ie){if(1&Ee&&(c.GBs(nt,5),c.GBs(at,5),c.GBs(o.WB,5)),2&Ee){let He;c.mGM(He=c.lsd())&&(ie.trigger=He.first),c.mGM(He=c.lsd())&&(ie.panel=He.first),c.mGM(He=c.lsd())&&(ie._overlayDir=He.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ee,ie){1&Ee&&c.bIt("keydown",function(Ht){return ie._handleKeydown(Ht)})("focus",function(){return ie._onFocus()})("blur",function(){return ie._onBlur()}),2&Ee&&(c.BMQ("id",ie.id)("tabindex",ie.disabled?-1:ie.tabIndex)("aria-controls",ie.panelOpen?ie.id+"-panel":null)("aria-expanded",ie.panelOpen)("aria-label",ie.ariaLabel||null)("aria-required",ie.required.toString())("aria-disabled",ie.disabled.toString())("aria-invalid",ie.errorState)("aria-activedescendant",ie._getAriaActiveDescendant()),c.AVh("mat-mdc-select-disabled",ie.disabled)("mat-mdc-select-invalid",ie.errorState)("mat-mdc-select-required",ie.required)("mat-mdc-select-empty",ie.empty)("mat-mdc-select-multiple",ie.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c.L39],disableRipple:[2,"disableRipple","disableRipple",c.L39],tabIndex:[2,"tabIndex","tabIndex",Ut=>null==Ut?0:(0,c.Udg)(Ut)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39],placeholder:"placeholder",required:[2,"required","required",c.L39],multiple:[2,"multiple","multiple",c.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",c.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[c.Jv_([{provide:k.qT,useExisting:ft},{provide:y.is,useExisting:ft}]),c.GFd,c.OA$,c.aNF],ngContentSelectors:yt,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(Ee,ie){if(1&Ee){const He=c.RV6();c.NAR(rt),c.j41(0,"div",2,0),c.bIt("click",function(){return c.eBV(He),c.Njj(ie.open())}),c.j41(3,"div",3),c.DNE(4,Ct,2,1,"span",4)(5,oe,3,1,"span",5),c.k0s(),c.j41(6,"div",6)(7,"div",7),c.qSk(),c.j41(8,"svg",8),c.nrm(9,"path",9),c.k0s()()()(),c.DNE(10,Xe,3,9,"ng-template",10),c.bIt("backdropClick",function(){return c.eBV(He),c.Njj(ie.close())})("attach",function(){return c.eBV(He),c.Njj(ie._onAttached())})("detach",function(){return c.eBV(He),c.Njj(ie.close())})}if(2&Ee){const He=c.sdS(1);c.R7$(3),c.BMQ("id",ie._valueId),c.R7$(),c.vxM(ie.empty?4:5),c.R7$(6),c.Y8G("cdkConnectedOverlayPanelClass",ie._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ie._scrollStrategy)("cdkConnectedOverlayOrigin",ie._preferredOverlayOrigin||He)("cdkConnectedOverlayOpen",ie.panelOpen)("cdkConnectedOverlayPositions",ie._positions)("cdkConnectedOverlayWidth",ie._overlayWidth)}},dependencies:[o.$Q,o.WB,s.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[kr.transformPanel]},changeDetection:0})}}return ft})(),De=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275dir=c.FsC({type:ft,selectors:[["mat-select-trigger"]],standalone:!0,features:[c.Jv_([{provide:Rt,useExisting:ft}])]})}}return ft})(),Ye=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275mod=c.$C({type:ft})}static{this.\u0275inj=c.G2t({providers:[Se],imports:[s.MD,o.z_,y.Sy,y.yE,A.Gj,k.RG,y.Sy,y.yE]})}}return ft})()},882:(i,a,r)=>{"use strict";r.d(a,{$C:()=>Nt,$l:()=>Le,qe:()=>gt,vg:()=>jt});var o=r(5542),s=r(4438),c=r(6600),y=r(9888),k=r(8203),A=r(4085),I=r(7336),M=r(6860),T=r(177),O=r(1413),L=r(3726),Y=r(7786),z=r(5964),q=r(6354),ct=r(3703),dt=r(6977),tt=r(6697),vt=r(9172),Mt=r(152),$t=r(9969);const St=["*"],kt=["content"],nt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],at=["mat-drawer","mat-drawer-content","*"];function rt(De,Ye){if(1&De){const ft=s.RV6();s.j41(0,"div",1),s.bIt("click",function(){s.eBV(ft);const Ut=s.XpG();return s.Njj(Ut._onBackdropClicked())}),s.k0s()}if(2&De){const ft=s.XpG();s.AVh("mat-drawer-shown",ft._isShowingBackdrop())}}function yt(De,Ye){1&De&&(s.j41(0,"mat-drawer-content"),s.SdG(1,2),s.k0s())}const kr={transformDrawer:(0,$t.hZ)("transform",[(0,$t.wk)("open, open-instant",(0,$t.iF)({transform:"none",visibility:"visible"})),(0,$t.wk)("void",(0,$t.iF)({"box-shadow":"none",visibility:"hidden"})),(0,$t.kY)("void => open-instant",(0,$t.i0)("0ms")),(0,$t.kY)("void <=> open, open-instant => void",(0,$t.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},wr=new s.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function xe(){return!1}}),Wr=new s.nKC("MAT_DRAWER_CONTAINER");let Le=(()=>{class De extends o.uv{constructor(ft,pe,Ut,Ee,ie){super(Ut,Ee,ie),this._changeDetectorRef=ft,this._container=pe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.gRc),s.rXU((0,s.Rfq)(()=>Nt)),s.rXU(s.aKT),s.rXU(o.R),s.rXU(s.SKi))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(pe,Ut){2&pe&&s.xc7("margin-left",Ut._container._contentMargins.left,"px")("margin-right",Ut._container._contentMargins.right,"px")},standalone:!0,features:[s.Jv_([{provide:o.uv,useExisting:De}]),s.Vt3,s.aNF],ngContentSelectors:St,decls:1,vars:0,template:function(pe,Ut){1&pe&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})}}return De})(),gt=(()=>{class De{get position(){return this._position}set position(ft){(ft="end"===ft?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ft),this._position=ft,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ft){this._mode=ft,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ft){this._disableClose=(0,A.he)(ft)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ft){("true"===ft||"false"===ft||null==ft)&&(ft=(0,A.he)(ft)),this._autoFocus=ft}get opened(){return this._opened}set opened(ft){this.toggle((0,A.he)(ft))}constructor(ft,pe,Ut,Ee,ie,He,Ht,Me){this._elementRef=ft,this._focusTrapFactory=pe,this._focusMonitor=Ut,this._platform=Ee,this._ngZone=ie,this._interactivityChecker=He,this._doc=Ht,this._container=Me,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new O.B,this._animationEnd=new O.B,this._animationState="void",this.openedChange=new s.bkB(!0),this._openedStream=this.openedChange.pipe((0,z.p)(Pe=>Pe),(0,q.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,z.p)(Pe=>Pe.fromState!==Pe.toState&&0===Pe.toState.indexOf("open")),(0,ct.u)(void 0)),this._closedStream=this.openedChange.pipe((0,z.p)(Pe=>!Pe),(0,q.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,z.p)(Pe=>Pe.fromState!==Pe.toState&&"void"===Pe.toState),(0,ct.u)(void 0)),this._destroyed=new O.B,this.onPositionChanged=new s.bkB,this._modeChanged=new O.B,this._injector=(0,s.WQX)(s.zZn),this._changeDetectorRef=(0,s.WQX)(s.gRc),this.openedChange.pipe((0,dt.Q)(this._destroyed)).subscribe(Pe=>{Pe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,L.R)(this._elementRef.nativeElement,"keydown").pipe((0,z.p)(Pe=>Pe.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Pe)),(0,dt.Q)(this._destroyed)).subscribe(Pe=>this._ngZone.run(()=>{this.close(),Pe.stopPropagation(),Pe.preventDefault()}))}),this._animationEnd.subscribe(Pe=>{const{fromState:We,toState:Or}=Pe;(0===Or.indexOf("open")&&"void"===We||"void"===Or&&0===We.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(ft,pe){this._interactivityChecker.isFocusable(ft)||(ft.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ut=()=>{ft.removeEventListener("blur",Ut),ft.removeEventListener("mousedown",Ut),ft.removeAttribute("tabindex")};ft.addEventListener("blur",Ut),ft.addEventListener("mousedown",Ut)})),ft.focus(pe)}_focusByCssSelector(ft,pe){let Ut=this._elementRef.nativeElement.querySelector(ft);Ut&&this._forceFocus(Ut,pe)}_takeFocus(){if(!this._focusTrap)return;const ft=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,s.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof ft.focus&&ft.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ft){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ft):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ft=this._doc.activeElement;return!!ft&&this._elementRef.nativeElement.contains(ft)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ft){return this.toggle(!0,ft)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ft=!this.opened,pe){ft&&pe&&(this._openedVia=pe);const Ut=this._setOpen(ft,!ft&&this._isFocusWithinDrawer(),this._openedVia||"program");return ft||(this._openedVia=null),Ut}_setOpen(ft,pe,Ut){return this._opened=ft,ft?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",pe&&this._restoreFocus(Ut)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Ee=>{this.openedChange.pipe((0,tt.s)(1)).subscribe(ie=>Ee(ie?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(ft){if(!this._platform.isBrowser)return;const pe=this._elementRef.nativeElement,Ut=pe.parentNode;"end"===ft?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ut.insertBefore(this._anchor,pe)),Ut.appendChild(pe)):this._anchor&&this._anchor.parentNode.insertBefore(pe,this._anchor)}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(y.GX),s.rXU(y.FN),s.rXU(M.OD),s.rXU(s.SKi),s.rXU(y.Z7),s.rXU(T.qQ,8),s.rXU(Wr,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer"]],viewQuery:function(pe,Ut){if(1&pe&&s.GBs(kt,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._content=Ee.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(pe,Ut){1&pe&&s.Kam("@transform.start",function(ie){return Ut._animationStarted.next(ie)})("@transform.done",function(ie){return Ut._animationEnd.next(ie)}),2&pe&&(s.zvX("@transform",Ut._animationState),s.BMQ("align",null),s.AVh("mat-drawer-end","end"===Ut.position)("mat-drawer-over","over"===Ut.mode)("mat-drawer-push","push"===Ut.mode)("mat-drawer-side","side"===Ut.mode)("mat-drawer-opened",Ut.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[s.aNF],ngContentSelectors:St,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(pe,Ut){1&pe&&(s.NAR(),s.j41(0,"div",1,0),s.SdG(2),s.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[kr.transformDrawer]},changeDetection:0})}}return De})(),Nt=(()=>{class De{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ft){this._autosize=(0,A.he)(ft)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(ft){this._backdropOverride=null==ft?null:(0,A.he)(ft)}get scrollable(){return this._userContent||this._content}constructor(ft,pe,Ut,Ee,ie,He=!1,Ht){this._dir=ft,this._element=pe,this._ngZone=Ut,this._changeDetectorRef=Ee,this._animationMode=Ht,this._drawers=new s.rOR,this.backdropClick=new s.bkB,this._destroyed=new O.B,this._doCheckSubject=new O.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new O.B,this._injector=(0,s.WQX)(s.zZn),ft&&ft.change.pipe((0,dt.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ie.change().pipe((0,dt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=He}ngAfterContentInit(){this._allDrawers.changes.pipe((0,vt.Z)(this._allDrawers),(0,dt.Q)(this._destroyed)).subscribe(ft=>{this._drawers.reset(ft.filter(pe=>!pe._container||pe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,vt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ft=>{this._watchDrawerToggle(ft),this._watchDrawerPosition(ft),this._watchDrawerMode(ft)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Mt.B)(10),(0,dt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ft=>ft.open())}close(){this._drawers.forEach(ft=>ft.close())}updateContentMargins(){let ft=0,pe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ft+=this._left._getWidth();else if("push"==this._left.mode){const Ut=this._left._getWidth();ft+=Ut,pe-=Ut}if(this._right&&this._right.opened)if("side"==this._right.mode)pe+=this._right._getWidth();else if("push"==this._right.mode){const Ut=this._right._getWidth();pe+=Ut,ft-=Ut}ft=ft||null,pe=pe||null,(ft!==this._contentMargins.left||pe!==this._contentMargins.right)&&(this._contentMargins={left:ft,right:pe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ft){ft._animationStarted.pipe((0,z.p)(pe=>pe.fromState!==pe.toState),(0,dt.Q)(this._drawers.changes)).subscribe(pe=>{"open-instant"!==pe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ft.mode&&ft.openedChange.pipe((0,dt.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ft.opened))}_watchDrawerPosition(ft){ft&&ft.onPositionChanged.pipe((0,dt.Q)(this._drawers.changes)).subscribe(()=>{(0,s.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:s.wjH.Read})})}_watchDrawerMode(ft){ft&&ft._modeChanged.pipe((0,dt.Q)((0,Y.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ft){const pe=this._element.nativeElement.classList,Ut="mat-drawer-container-has-open";ft?pe.add(Ut):pe.remove(Ut)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ft=>{"end"==ft.position?this._end=ft:this._start=ft}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ft=>ft&&!ft.disableClose&&this._drawerHasBackdrop(ft)).forEach(ft=>ft._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(ft){return null!=ft&&ft.opened}_drawerHasBackdrop(ft){return null==this._backdropOverride?!!ft&&"side"!==ft.mode:this._backdropOverride}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(k.dS,8),s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(s.gRc),s.rXU(o.Xj),s.rXU(wr),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-container"]],contentQueries:function(pe,Ut,Ee){if(1&pe&&(s.wni(Ee,Le,5),s.wni(Ee,gt,5)),2&pe){let ie;s.mGM(ie=s.lsd())&&(Ut._content=ie.first),s.mGM(ie=s.lsd())&&(Ut._allDrawers=ie)}},viewQuery:function(pe,Ut){if(1&pe&&s.GBs(Le,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._userContent=Ee.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(pe,Ut){2&pe&&s.AVh("mat-drawer-container-explicit-backdrop",Ut._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[s.Jv_([{provide:Wr,useExisting:De}]),s.aNF],ngContentSelectors:at,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(pe,Ut){1&pe&&(s.NAR(nt),s.DNE(0,rt,1,2,"div",0),s.SdG(1),s.SdG(2,1),s.DNE(3,yt,2,0,"mat-drawer-content")),2&pe&&(s.vxM(Ut.hasBackdrop?0:-1),s.R7$(3),s.vxM(Ut._content?-1:3))},dependencies:[Le],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[c.yE,o.Gj,o.Gj,c.yE]})}}return De})()},4823:(i,a,r)=>{"use strict";r.d(a,{oV:()=>oe,uc:()=>gr});var o=r(6977),s=r(4085),c=r(7336),y=r(4438),k=r(177),A=r(6860),I=r(9888),M=r(8203),T=r(7987),O=r(5542),L=r(6939),Y=r(1413),q=(r(9969),r(6600));const ct=["tooltip"],vt=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const wr=(0,y.WQX)(T.hJ);return()=>wr.scrollStrategies.reposition({scrollThrottle:20})}}),$t={provide:vt,deps:[T.hJ],useFactory:function Mt(wr){return()=>wr.scrollStrategies.reposition({scrollThrottle:20})}},kt=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function St(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),at="tooltip-panel",rt=(0,A.BQ)({passive:!0});let oe=(()=>{class wr{get position(){return this._position}set position(xe){xe!==this._position&&(this._position=xe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(xe){this._positionAtOrigin=(0,s.he)(xe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(xe){const Le=(0,s.he)(xe);this._disabled!==Le&&(this._disabled=Le,Le?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(xe){this._showDelay=(0,s.OE)(xe)}get hideDelay(){return this._hideDelay}set hideDelay(xe){this._hideDelay=(0,s.OE)(xe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(xe){const Le=this._message;this._message=null!=xe?String(xe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Le)}get tooltipClass(){return this._tooltipClass}set tooltipClass(xe){this._tooltipClass=xe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(xe,Le,gt,Nt,Se,Rt,de,jt,De,Ye,ft,pe){this._overlay=xe,this._elementRef=Le,this._scrollDispatcher=gt,this._viewContainerRef=Nt,this._ngZone=Se,this._platform=Rt,this._ariaDescriber=de,this._focusMonitor=jt,this._dir=Ye,this._defaultOptions=ft,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Xe,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new Y.B,this._injector=(0,y.WQX)(y.zZn),this._scrollStrategy=De,this._document=pe,ft&&(this._showDelay=ft.showDelay,this._hideDelay=ft.hideDelay,ft.position&&(this.position=ft.position),ft.positionAtOrigin&&(this.positionAtOrigin=ft.positionAtOrigin),ft.touchGestures&&(this.touchGestures=ft.touchGestures),ft.tooltipClass&&(this.tooltipClass=ft.tooltipClass)),Ye.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(xe=>{xe?"keyboard"===xe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const xe=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Le,gt])=>{xe.removeEventListener(Le,gt,rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(xe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(xe)}show(xe=this.showDelay,Le){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const gt=this._createOverlay(Le);this._detach(),this._portal=this._portal||new L.A8(this._tooltipComponent,this._viewContainerRef);const Nt=this._tooltipInstance=gt.attach(this._portal).instance;Nt._triggerElement=this._elementRef.nativeElement,Nt._mouseLeaveHideDelay=this._hideDelay,Nt.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Nt.show(xe)}hide(xe=this.hideDelay){const Le=this._tooltipInstance;Le&&(Le.isVisible()?Le.hide(xe):(Le._cancelPendingAnimations(),this._detach()))}toggle(xe){this._isTooltipVisible()?this.hide():this.show(void 0,xe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(xe){if(this._overlayRef){const Nt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!xe)&&Nt._origin instanceof y.aKT)return this._overlayRef;this._detach()}const Le=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),gt=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&xe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Le);return gt.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._updateCurrentPositionClass(Nt.connectionPair),this._tooltipInstance&&Nt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:gt,panelClass:`${this._cssClassPrefix}-${at}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._isTooltipVisible()&&Nt.keyCode===c._f&&!(0,c.rp)(Nt)&&(Nt.preventDefault(),Nt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(xe){const Le=xe.getConfig().positionStrategy,gt=this._getOrigin(),Nt=this._getOverlayPosition();Le.withPositions([this._addOffset({...gt.main,...Nt.main}),this._addOffset({...gt.fallback,...Nt.fallback})])}_addOffset(xe){const gt=!this._dir||"ltr"==this._dir.value;return"top"===xe.originY?xe.offsetY=-8:"bottom"===xe.originY?xe.offsetY=8:"start"===xe.originX?xe.offsetX=gt?-8:8:"end"===xe.originX&&(xe.offsetX=gt?8:-8),xe}_getOrigin(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le||"below"==Le?gt={originX:"center",originY:"above"==Le?"top":"bottom"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={originX:"start",originY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={originX:"end",originY:"center"});const{x:Nt,y:Se}=this._invertPosition(gt.originX,gt.originY);return{main:gt,fallback:{originX:Nt,originY:Se}}}_getOverlayPosition(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le?gt={overlayX:"center",overlayY:"bottom"}:"below"==Le?gt={overlayX:"center",overlayY:"top"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={overlayX:"end",overlayY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={overlayX:"start",overlayY:"center"});const{x:Nt,y:Se}=this._invertPosition(gt.overlayX,gt.overlayY);return{main:gt,fallback:{overlayX:Nt,overlayY:Se}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(xe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=xe,this._tooltipInstance._markForCheck())}_invertPosition(xe,Le){return"above"===this.position||"below"===this.position?"top"===Le?Le="bottom":"bottom"===Le&&(Le="top"):"end"===xe?xe="start":"start"===xe&&(xe="end"),{x:xe,y:Le}}_updateCurrentPositionClass(xe){const{overlayY:Le,originX:gt,originY:Nt}=xe;let Se;if(Se="center"===Le?this._dir&&"rtl"===this._dir.value?"end"===gt?"left":"right":"start"===gt?"left":"right":"bottom"===Le&&"top"===Nt?"above":"below",Se!==this._currentPosition){const Rt=this._overlayRef;if(Rt){const de=`${this._cssClassPrefix}-${at}-`;Rt.removePanelClass(de+this._currentPosition),Rt.addPanelClass(de+Se)}this._currentPosition=Se}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",xe=>{let Le;this._setupPointerExitEventsIfNeeded(),void 0!==xe.x&&void 0!==xe.y&&(Le=xe),this.show(void 0,Le)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",xe=>{const Le=xe.targetTouches?.[0],gt=Le?{x:Le.clientX,y:Le.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,gt)},this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const xe=[];if(this._platformSupportsMouseEvents())xe.push(["mouseleave",Le=>{const gt=Le.relatedTarget;(!gt||!this._overlayRef?.overlayElement.contains(gt))&&this.hide()}],["wheel",Le=>this._wheelListener(Le)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Le=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};xe.push(["touchend",Le],["touchcancel",Le])}this._addListeners(xe),this._passiveListeners.push(...xe)}_addListeners(xe){xe.forEach(([Le,gt])=>{this._elementRef.nativeElement.addEventListener(Le,gt,rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(xe){if(this._isTooltipVisible()){const Le=this._document.elementFromPoint(xe.clientX,xe.clientY),gt=this._elementRef.nativeElement;Le!==gt&&!gt.contains(Le)&&this.hide()}}_disableNativeGesturesIfNecessary(){const xe=this.touchGestures;if("off"!==xe){const Le=this._elementRef.nativeElement,gt=Le.style;("on"===xe||"INPUT"!==Le.nodeName&&"TEXTAREA"!==Le.nodeName)&&(gt.userSelect=gt.msUserSelect=gt.webkitUserSelect=gt.MozUserSelect="none"),("on"===xe||!Le.draggable)&&(gt.webkitUserDrag="none"),gt.touchAction="none",gt.webkitTapHighlightColor="transparent"}}_syncAriaDescription(xe){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,xe,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(Le){return new(Le||wr)(y.rXU(T.hJ),y.rXU(y.aKT),y.rXU(O.R),y.rXU(y.c1b),y.rXU(y.SKi),y.rXU(A.OD),y.rXU(I.vr),y.rXU(I.FN),y.rXU(vt),y.rXU(M.dS),y.rXU(kt,8),y.rXU(k.qQ))}}static{this.\u0275dir=y.FsC({type:wr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Le,gt){2&Le&&y.AVh("mat-mdc-tooltip-disabled",gt.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return wr})(),Xe=(()=>{class wr{constructor(xe,Le,gt){this._changeDetectorRef=xe,this._elementRef=Le,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Y.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===gt}show(xe){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},xe)}hide(xe){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},xe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:xe}){(!xe||!this._triggerElement.contains(xe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const xe=this._elementRef.nativeElement.getBoundingClientRect();return xe.height>24&&xe.width>=200}_handleAnimationEnd({animationName:xe}){(xe===this._showAnimation||xe===this._hideAnimation)&&this._finalizeAnimation(xe===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(xe){xe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(xe){const Le=this._tooltip.nativeElement,gt=this._showAnimation,Nt=this._hideAnimation;if(Le.classList.remove(xe?Nt:gt),Le.classList.add(xe?gt:Nt),this._isVisible!==xe&&(this._isVisible=xe,this._changeDetectorRef.markForCheck()),xe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Se=getComputedStyle(Le);("0s"===Se.getPropertyValue("animation-duration")||"none"===Se.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}xe&&this._onShow(),this._animationsDisabled&&(Le.classList.add("_mat-animation-noopable"),this._finalizeAnimation(xe))}static{this.\u0275fac=function(Le){return new(Le||wr)(y.rXU(y.gRc),y.rXU(y.aKT),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:wr,selectors:[["mat-tooltip-component"]],viewQuery:function(Le,gt){if(1&Le&&y.GBs(ct,7),2&Le){let Nt;y.mGM(Nt=y.lsd())&&(gt._tooltip=Nt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Le,gt){1&Le&&y.bIt("mouseleave",function(Se){return gt._handleMouseLeave(Se)})},standalone:!0,features:[y.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Le,gt){if(1&Le){const Nt=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(Rt){return y.eBV(Nt),y.Njj(gt._handleAnimationEnd(Rt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&Le&&(y.AVh("mdc-tooltip--multiline",gt._isMultiline),y.Y8G("ngClass",gt.tooltipClass),y.R7$(3),y.JRh(gt.message))},dependencies:[k.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return wr})(),gr=(()=>{class wr{static{this.\u0275fac=function(Le){return new(Le||wr)}}static{this.\u0275mod=y.$C({type:wr})}static{this.\u0275inj=y.G2t({providers:[$t],imports:[I.Pd,k.MD,T.z_,q.yE,q.yE,O.Gj]})}}return wr})()},345:(i,a,r)=>{"use strict";r.d(a,{B7:()=>rt,B8:()=>gt,hE:()=>Me,up:()=>Tt});var o=r(177),s=r(4438);class c extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y extends c{static makeCurrent(){(0,o.ZD)(new y)}onAndCancel(qt,Pt,ue){return qt.addEventListener(Pt,ue),()=>{qt.removeEventListener(Pt,ue)}}dispatchEvent(qt,Pt){qt.dispatchEvent(Pt)}remove(qt){qt.remove()}createElement(qt,Pt){return(Pt=Pt||this.getDefaultDocument()).createElement(qt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(qt){return qt.nodeType===Node.ELEMENT_NODE}isShadowRoot(qt){return qt instanceof DocumentFragment}getGlobalEventTarget(qt,Pt){return"window"===Pt?window:"document"===Pt?qt:"body"===Pt?qt.body:null}getBaseHref(qt){const Pt=function A(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==Pt?null:function I(re){return new URL(re,document.baseURI).pathname}(Pt)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(qt){return(0,o._b)(document.cookie,qt)}}let k=null,T=(()=>{class re{build(){return new XMLHttpRequest}static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const O=new s.nKC("");let L=(()=>{class re{constructor(Pt,ue){this._zone=ue,this._eventNameToPlugin=new Map,Pt.forEach(mr=>{mr.manager=this}),this._plugins=Pt.slice().reverse()}addEventListener(Pt,ue,mr){return this._findPluginFor(ue).addEventListener(Pt,ue,mr)}getZone(){return this._zone}_findPluginFor(Pt){let ue=this._eventNameToPlugin.get(Pt);if(ue)return ue;if(ue=this._plugins.find(Qr=>Qr.supports(Pt)),!ue)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Pt,ue),ue}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(O),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class Y{constructor(qt){this._doc=qt}}const z="ng-app-id";let q=(()=>{class re{constructor(Pt,ue,mr,Qr={}){this.doc=Pt,this.appId=ue,this.nonce=mr,this.platformId=Qr,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(Qr),this.resetHostNodes()}addStyles(Pt){for(const ue of Pt)1===this.changeUsageCount(ue,1)&&this.onStyleAdded(ue)}removeStyles(Pt){for(const ue of Pt)this.changeUsageCount(ue,-1)<=0&&this.onStyleRemoved(ue)}ngOnDestroy(){const Pt=this.styleNodesInDOM;Pt&&(Pt.forEach(ue=>ue.remove()),Pt.clear());for(const ue of this.getAllStyles())this.onStyleRemoved(ue);this.resetHostNodes()}addHost(Pt){this.hostNodes.add(Pt);for(const ue of this.getAllStyles())this.addStyleToHost(Pt,ue)}removeHost(Pt){this.hostNodes.delete(Pt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Pt){for(const ue of this.hostNodes)this.addStyleToHost(ue,Pt)}onStyleRemoved(Pt){const ue=this.styleRef;ue.get(Pt)?.elements?.forEach(mr=>mr.remove()),ue.delete(Pt)}collectServerRenderedStyles(){const Pt=this.doc.head?.querySelectorAll(`style[${z}="${this.appId}"]`);if(Pt?.length){const ue=new Map;return Pt.forEach(mr=>{null!=mr.textContent&&ue.set(mr.textContent,mr)}),ue}return null}changeUsageCount(Pt,ue){const mr=this.styleRef;if(mr.has(Pt)){const Qr=mr.get(Pt);return Qr.usage+=ue,Qr.usage}return mr.set(Pt,{usage:ue,elements:[]}),ue}getStyleElement(Pt,ue){const mr=this.styleNodesInDOM,Qr=mr?.get(ue);if(Qr?.parentNode===Pt)return mr.delete(ue),Qr.removeAttribute(z),Qr;{const Ro=this.doc.createElement("style");return this.nonce&&Ro.setAttribute("nonce",this.nonce),Ro.textContent=ue,this.platformIsServer&&Ro.setAttribute(z,this.appId),Pt.appendChild(Ro),Ro}}addStyleToHost(Pt,ue){const mr=this.getStyleElement(Pt,ue),Qr=this.styleRef,Ro=Qr.get(ue)?.elements;Ro?Ro.push(mr):Qr.set(ue,{elements:[mr],usage:1})}resetHostNodes(){const Pt=this.hostNodes;Pt.clear(),Pt.add(this.doc.head)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const ct={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},dt=/%COMP%/g,St=new s.nKC("",{providedIn:"root",factory:()=>!0});function at(re,qt){return qt.map(Pt=>Pt.replace(dt,re))}let rt=(()=>{class re{constructor(Pt,ue,mr,Qr,Ro,Wo,tr,$e=null){this.eventManager=Pt,this.sharedStylesHost=ue,this.appId=mr,this.removeStylesOnCompDestroy=Qr,this.doc=Ro,this.platformId=Wo,this.ngZone=tr,this.nonce=$e,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(Wo),this.defaultRenderer=new yt(Pt,Ro,tr,this.platformIsServer)}createRenderer(Pt,ue){if(!Pt||!ue)return this.defaultRenderer;this.platformIsServer&&ue.encapsulation===s.gXe.ShadowDom&&(ue={...ue,encapsulation:s.gXe.Emulated});const mr=this.getOrCreateRenderer(Pt,ue);return mr instanceof kr?mr.applyToHost(Pt):mr instanceof Xe&&mr.applyStyles(),mr}getOrCreateRenderer(Pt,ue){const mr=this.rendererByCompId;let Qr=mr.get(ue.id);if(!Qr){const Ro=this.doc,Wo=this.ngZone,tr=this.eventManager,$e=this.sharedStylesHost,_e=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(ue.encapsulation){case s.gXe.Emulated:Qr=new kr(tr,$e,ue,this.appId,_e,Ro,Wo,qe);break;case s.gXe.ShadowDom:return new oe(tr,$e,Pt,ue,Ro,Wo,this.nonce,qe);default:Qr=new Xe(tr,$e,ue,_e,Ro,Wo,qe)}mr.set(ue.id,Qr)}return Qr}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(L),s.KVO(q),s.KVO(s.sZ2),s.KVO(St),s.KVO(o.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class yt{constructor(qt,Pt,ue,mr){this.eventManager=qt,this.doc=Pt,this.ngZone=ue,this.platformIsServer=mr,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(qt,Pt){return Pt?this.doc.createElementNS(ct[Pt]||Pt,qt):this.doc.createElement(qt)}createComment(qt){return this.doc.createComment(qt)}createText(qt){return this.doc.createTextNode(qt)}appendChild(qt,Pt){(Xt(qt)?qt.content:qt).appendChild(Pt)}insertBefore(qt,Pt,ue){qt&&(Xt(qt)?qt.content:qt).insertBefore(Pt,ue)}removeChild(qt,Pt){Pt.remove()}selectRootElement(qt,Pt){let ue="string"==typeof qt?this.doc.querySelector(qt):qt;if(!ue)throw new s.wOt(-5104,!1);return Pt||(ue.textContent=""),ue}parentNode(qt){return qt.parentNode}nextSibling(qt){return qt.nextSibling}setAttribute(qt,Pt,ue,mr){if(mr){Pt=mr+":"+Pt;const Qr=ct[mr];Qr?qt.setAttributeNS(Qr,Pt,ue):qt.setAttribute(Pt,ue)}else qt.setAttribute(Pt,ue)}removeAttribute(qt,Pt,ue){if(ue){const mr=ct[ue];mr?qt.removeAttributeNS(mr,Pt):qt.removeAttribute(`${ue}:${Pt}`)}else qt.removeAttribute(Pt)}addClass(qt,Pt){qt.classList.add(Pt)}removeClass(qt,Pt){qt.classList.remove(Pt)}setStyle(qt,Pt,ue,mr){mr&(s.czy.DashCase|s.czy.Important)?qt.style.setProperty(Pt,ue,mr&s.czy.Important?"important":""):qt.style[Pt]=ue}removeStyle(qt,Pt,ue){ue&s.czy.DashCase?qt.style.removeProperty(Pt):qt.style[Pt]=""}setProperty(qt,Pt,ue){null!=qt&&(qt[Pt]=ue)}setValue(qt,Pt){qt.nodeValue=Pt}listen(qt,Pt,ue){if("string"==typeof qt&&!(qt=(0,o.QT)().getGlobalEventTarget(this.doc,qt)))throw new Error(`Unsupported event target ${qt} for event ${Pt}`);return this.eventManager.addEventListener(qt,Pt,this.decoratePreventDefault(ue))}decoratePreventDefault(qt){return Pt=>{if("__ngUnwrap__"===Pt)return qt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>qt(Pt)):qt(Pt))&&Pt.preventDefault()}}}function Xt(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class oe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){super(qt,Qr,Ro,tr),this.sharedStylesHost=Pt,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $e=at(mr.id,mr.styles);for(const _e of $e){const qe=document.createElement("style");Wo&&qe.setAttribute("nonce",Wo),qe.textContent=_e,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(qt){return qt===this.hostEl?this.shadowRoot:qt}appendChild(qt,Pt){return super.appendChild(this.nodeOrShadowRoot(qt),Pt)}insertBefore(qt,Pt,ue){return super.insertBefore(this.nodeOrShadowRoot(qt),Pt,ue)}removeChild(qt,Pt){return super.removeChild(null,Pt)}parentNode(qt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(qt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){super(qt,Qr,Ro,Wo),this.sharedStylesHost=Pt,this.removeStylesOnCompDestroy=mr,this.styles=tr?at(tr,ue.styles):ue.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kr extends Xe{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){const $e=mr+"-"+ue.id;super(qt,Pt,ue,Qr,Ro,Wo,tr,$e),this.contentAttr=function kt(re){return"_ngcontent-%COMP%".replace(dt,re)}($e),this.hostAttr=function nt(re){return"_nghost-%COMP%".replace(dt,re)}($e)}applyToHost(qt){this.applyStyles(),this.setAttribute(qt,this.hostAttr,"")}createElement(qt,Pt){const ue=super.createElement(qt,Pt);return super.setAttribute(ue,this.contentAttr,""),ue}}let gr=(()=>{class re extends Y{constructor(Pt){super(Pt)}supports(Pt){return!0}addEventListener(Pt,ue,mr){return Pt.addEventListener(ue,mr,!1),()=>this.removeEventListener(Pt,ue,mr)}removeEventListener(Pt,ue,mr){return Pt.removeEventListener(ue,mr)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const wr=["alt","control","meta","shift"],Wr={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xe={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let Le=(()=>{class re extends Y{constructor(Pt){super(Pt)}supports(Pt){return null!=re.parseEventName(Pt)}addEventListener(Pt,ue,mr){const Qr=re.parseEventName(ue),Ro=re.eventCallback(Qr.fullKey,mr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(Pt,Qr.domEventName,Ro))}static parseEventName(Pt){const ue=Pt.toLowerCase().split("."),mr=ue.shift();if(0===ue.length||"keydown"!==mr&&"keyup"!==mr)return null;const Qr=re._normalizeKey(ue.pop());let Ro="",Wo=ue.indexOf("code");if(Wo>-1&&(ue.splice(Wo,1),Ro="code."),wr.forEach($e=>{const _e=ue.indexOf($e);_e>-1&&(ue.splice(_e,1),Ro+=$e+".")}),Ro+=Qr,0!=ue.length||0===Qr.length)return null;const tr={};return tr.domEventName=mr,tr.fullKey=Ro,tr}static matchEventFullKeyCode(Pt,ue){let mr=Wr[Pt.key]||Pt.key,Qr="";return ue.indexOf("code.")>-1&&(mr=Pt.code,Qr="code."),!(null==mr||!mr)&&(mr=mr.toLowerCase()," "===mr?mr="space":"."===mr&&(mr="dot"),wr.forEach(Ro=>{Ro!==mr&&(0,xe[Ro])(Pt)&&(Qr+=Ro+".")}),Qr+=mr,Qr===ue)}static eventCallback(Pt,ue,mr){return Qr=>{re.matchEventFullKeyCode(Qr,Pt)&&mr.runGuarded(()=>ue(Qr))}}static _normalizeKey(Pt){return"esc"===Pt?"escape":Pt}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();function gt(re,qt){return(0,s.TL3)({rootComponent:re,...Se(qt)})}function Se(re){return{appProviders:[...Ee,...re?.providers??[]],platformProviders:Ye}}const Ye=[{provide:s.Agw,useValue:o.AJ},{provide:s.PLl,useValue:function de(){y.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function De(){return(0,s.TL$)(document),document},deps:[]}],Ee=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function jt(){return new s.zcH},deps:[]},{provide:O,useClass:gr,multi:!0,deps:[o.qQ,s.SKi,s.Agw]},{provide:O,useClass:Le,multi:!0,deps:[o.qQ]},rt,q,L,{provide:s._9s,useExisting:rt},{provide:o.N0,useClass:T,deps:[]},[]];let Me=(()=>{class re{constructor(Pt){this._doc=Pt}getTitle(){return this._doc.title}setTitle(Pt){this._doc.title=Pt||""}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})(),Tt=(()=>{class re{static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:function(ue){let mr=null;return mr=ue?new(ue||re):s.KVO(It),mr},providedIn:"root"})}}return re})(),It=(()=>{class re extends Tt{constructor(Pt){super(),this._doc=Pt}sanitize(Pt,ue){if(null==ue)return null;switch(Pt){case s.WPN.NONE:return ue;case s.WPN.HTML:return(0,s.ZF7)(ue,"HTML")?(0,s.rcV)(ue):(0,s.h9k)(this._doc,String(ue)).toString();case s.WPN.STYLE:return(0,s.ZF7)(ue,"Style")?(0,s.rcV)(ue):ue;case s.WPN.SCRIPT:if((0,s.ZF7)(ue,"Script"))return(0,s.rcV)(ue);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(ue,"URL")?(0,s.rcV)(ue):(0,s.$MX)(String(ue));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(ue,"ResourceURL"))return(0,s.rcV)(ue);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Pt){return(0,s.Kcf)(Pt)}bypassSecurityTrustStyle(Pt){return(0,s.cWb)(Pt)}bypassSecurityTrustScript(Pt){return(0,s.UyX)(Pt)}bypassSecurityTrustUrl(Pt){return(0,s.osQ)(Pt)}bypassSecurityTrustResourceUrl(Pt){return(0,s.e5t)(Pt)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})()},5245:(i,a,r)=>{"use strict";r.d(a,{nX:()=>ii,wF:()=>Dt,Ix:()=>ze,Wk:()=>Yr,wQ:()=>Mr,iI:()=>la,n3:()=>ia,lh:()=>tn,oH:()=>oi});var o=r(4438),s=r(4402),c=r(6648),y=r(7673),k=r(4412),A=r(4572),I=r(9350),M=r(8793),T=r(9030),O=r(1203),L=r(8810),Y=r(983),z=r(17),q=r(1413),ct=r(8359),dt=r(177),tt=r(6354),vt=r(5558),Mt=r(6697),$t=r(9172),St=r(5964),kt=r(1397),nt=r(9974),at=r(4360);function rt(N){return(0,nt.N)((W,P)=>{let K=!1;W.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>{K||P.next(N),P.complete()}))})}function yt(N=Ct){return(0,nt.N)((W,P)=>{let K=!1;W.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>K?P.complete():P.error(N())))})}function Ct(){return new I.G}var Vt=r(3669);function Xt(N,W){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,(0,Mt.s)(1),P?rt(W):yt(()=>new I.G))}var oe=r(274),Xe=r(8141),kr=r(9437),gr=r(6649);function Wr(N){return N<=0?()=>Y.w:(0,nt.N)((W,P)=>{let K=[];W.subscribe((0,at._)(P,wt=>{K.push(wt),N{for(const wt of K)P.next(wt);P.complete()},void 0,()=>{K=null}))})}var Le=r(3703),gt=r(980),Nt=r(9898),Se=r(6977),Rt=r(6365),de=r(345);const jt="primary",De=Symbol("RouteTitle");class Ye{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const P=this.params[W];return Array.isArray(P)?P[0]:P}return null}getAll(W){if(this.has(W)){const P=this.params[W];return Array.isArray(P)?P:[P]}return[]}get keys(){return Object.keys(this.params)}}function ft(N){return new Ye(N)}function pe(N,W,P){const K=P.path.split("/");if(K.length>N.length||"full"===P.pathMatch&&(W.hasChildren()||K.lengthK[Kt]===wt)}return N===W}function Ht(N){return N.length>0?N[N.length-1]:null}function Me(N){return(0,s.A)(N)?N:(0,o.jNT)(N)?(0,c.H)(Promise.resolve(N)):(0,y.of)(N)}const Pe={exact:function lr(N,W,P){if(!it(N.segments,W.segments)||!Ie(N.segments,W.segments,P)||N.numberOfChildren!==W.numberOfChildren)return!1;for(const K in W.children)if(!N.children[K]||!lr(N.children[K],W.children[K],P))return!1;return!0},subset:be},We={exact:function ko(N,W){return Ee(N,W)},subset:function Lt(N,W){return Object.keys(W).length<=Object.keys(N).length&&Object.keys(W).every(P=>He(N[P],W[P]))},ignored:()=>!0};function Or(N,W,P){return Pe[P.paths](N.root,W.root,P.matrixParams)&&We[P.queryParams](N.queryParams,W.queryParams)&&!("exact"===P.fragment&&N.fragment!==W.fragment)}function be(N,W,P){return se(N,W,W.segments,P)}function se(N,W,P,K){if(N.segments.length>P.length){const wt=N.segments.slice(0,P.length);return!(!it(wt,P)||W.hasChildren()||!Ie(wt,P,K))}if(N.segments.length===P.length){if(!it(N.segments,P)||!Ie(N.segments,P,K))return!1;for(const wt in W.children)if(!N.children[wt]||!be(N.children[wt],W.children[wt],K))return!1;return!0}{const wt=P.slice(0,N.segments.length),Kt=P.slice(N.segments.length);return!!(it(N.segments,wt)&&Ie(N.segments,wt,K)&&N.children[jt])&&se(N.children[jt],W,Kt,K)}}function Ie(N,W,P){return W.every((K,wt)=>We[P](N[wt].parameters,K.parameters))}class br{constructor(W=new mt([],{}),P={},K=null){this.root=W,this.queryParams=P,this.fragment=K}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return ir.serialize(this)}}class mt{constructor(W,P){this.segments=W,this.children=P,this.parent=null,Object.values(P).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}}class ${constructor(W,P){this.path=W,this.parameters=P}get parameterMap(){return this._parameterMap??=ft(this.parameters),this._parameterMap}toString(){return qt(this)}}function it(N,W){return N.length===W.length&&N.every((P,K)=>P.path===W[K].path)}let It=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>new ye,providedIn:"root"})}}return N})();class ye{parse(W){const P=new ke(W);return new br(P.parseRootSegment(),P.parseQueryParams(),P.parseFragment())}serialize(W){const P=`/${er(W.root,!0)}`,K=function ue(N){const W=Object.entries(N).map(([P,K])=>Array.isArray(K)?K.map(wt=>`${eo(P)}=${eo(wt)}`).join("&"):`${eo(P)}=${eo(K)}`).filter(P=>P);return W.length?`?${W.join("&")}`:""}(W.queryParams);return`${P}${K}${"string"==typeof W.fragment?`#${function Bo(N){return encodeURI(N)}(W.fragment)}`:""}`}}const ir=new ye;function Je(N){return N.segments.map(W=>qt(W)).join("/")}function er(N,W){if(!N.hasChildren())return Je(N);if(W){const P=N.children[jt]?er(N.children[jt],!1):"",K=[];return Object.entries(N.children).forEach(([wt,Kt])=>{wt!==jt&&K.push(`${wt}:${er(Kt,!1)}`)}),K.length>0?`${P}(${K.join("//")})`:P}{const P=function Tt(N,W){let P=[];return Object.entries(N.children).forEach(([K,wt])=>{K===jt&&(P=P.concat(W(wt,K)))}),Object.entries(N.children).forEach(([K,wt])=>{K!==jt&&(P=P.concat(W(wt,K)))}),P}(N,(K,wt)=>wt===jt?[er(N.children[jt],!1)]:[`${wt}:${er(K,!1)}`]);return 1===Object.keys(N.children).length&&null!=N.children[jt]?`${Je(N)}/${P[0]}`:`${Je(N)}/(${P.join("//")})`}}function Hr(N){return encodeURIComponent(N).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function eo(N){return Hr(N).replace(/%3B/gi,";")}function fr(N){return Hr(N).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pr(N){return decodeURIComponent(N)}function re(N){return Pr(N.replace(/\+/g,"%20"))}function qt(N){return`${fr(N.path)}${function Pt(N){return Object.entries(N).map(([W,P])=>`;${fr(W)}=${fr(P)}`).join("")}(N.parameters)}`}const mr=/^[^\/()?;#]+/;function Qr(N){const W=N.match(mr);return W?W[0]:""}const Ro=/^[^\/()?;=#]+/,tr=/^[^=?&#]+/,_e=/^[^&#]+/;class ke{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let P={};this.peekStartsWith("/(")&&(this.capture("/"),P=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(W.length>0||Object.keys(P).length>0)&&(K[jt]=new mt(W,P)),K}parseSegment(){const W=Qr(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(W),new $(Pr(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const P=function Wo(N){const W=N.match(Ro);return W?W[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const wt=Qr(this.remaining);wt&&(K=wt,this.capture(K))}W[Pr(P)]=Pr(K)}parseQueryParam(W){const P=function $e(N){const W=N.match(tr);return W?W[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const Te=function qe(N){const W=N.match(_e);return W?W[0]:""}(this.remaining);Te&&(K=Te,this.capture(K))}const wt=re(P),Kt=re(K);if(W.hasOwnProperty(wt)){let Te=W[wt];Array.isArray(Te)||(Te=[Te],W[wt]=Te),Te.push(Kt)}else W[wt]=Kt}parseParens(W){const P={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Qr(this.remaining),wt=this.remaining[K.length];if("/"!==wt&&")"!==wt&&";"!==wt)throw new o.wOt(4010,!1);let Kt;K.indexOf(":")>-1?(Kt=K.slice(0,K.indexOf(":")),this.capture(Kt),this.capture(":")):W&&(Kt=jt);const Te=this.parseChildren();P[Kt]=1===Object.keys(Te).length?Te[jt]:new mt([],Te),this.consumeOptional("//")}return P}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new o.wOt(4011,!1)}}function me(N){return N.segments.length>0?new mt([],{[jt]:N}):N}function Yt(N){const W={};for(const[K,wt]of Object.entries(N.children)){const Kt=Yt(wt);if(K===jt&&0===Kt.segments.length&&Kt.hasChildren())for(const[Te,Ar]of Object.entries(Kt.children))W[Te]=Ar;else(Kt.segments.length>0||Kt.hasChildren())&&(W[K]=Kt)}return function Ae(N){if(1===N.numberOfChildren&&N.children[jt]){const W=N.children[jt];return new mt(N.segments.concat(W.segments),W.children)}return N}(new mt(N.segments,W))}function ar(N){return N instanceof br}function Eo(N){let W;const wt=me(function P(Kt){const Te={};for(const pr of Kt.children){const bo=P(pr);Te[pr.outlet]=bo}const Ar=new mt(Kt.url,Te);return Kt===N&&(W=Ar),Ar}(N.root));return W??wt}function $n(N,W,P,K){let wt=N;for(;wt.parent;)wt=wt.parent;if(0===W.length)return ni(wt,wt,wt,P,K);const Kt=function ei(N){if("string"==typeof N[0]&&1===N.length&&"/"===N[0])return new pi(!0,0,N);let W=0,P=!1;const K=N.reduce((wt,Kt,Te)=>{if("object"==typeof Kt&&null!=Kt){if(Kt.outlets){const Ar={};return Object.entries(Kt.outlets).forEach(([pr,bo])=>{Ar[pr]="string"==typeof bo?bo.split("/"):bo}),[...wt,{outlets:Ar}]}if(Kt.segmentPath)return[...wt,Kt.segmentPath]}return"string"!=typeof Kt?[...wt,Kt]:0===Te?(Kt.split("/").forEach((Ar,pr)=>{0==pr&&"."===Ar||(0==pr&&""===Ar?P=!0:".."===Ar?W++:""!=Ar&&wt.push(Ar))}),wt):[...wt,Kt]},[]);return new pi(P,W,K)}(W);if(Kt.toRoot())return ni(wt,wt,new mt([],{}),P,K);const Te=function Ke(N,W,P){if(N.isAbsolute)return new Oe(W,!0,0);if(!P)return new Oe(W,!1,NaN);if(null===P.parent)return new Oe(P,!0,0);const K=Xn(N.commands[0])?0:1;return function Dr(N,W,P){let K=N,wt=W,Kt=P;for(;Kt>wt;){if(Kt-=wt,K=K.parent,!K)throw new o.wOt(4005,!1);wt=K.segments.length}return new Oe(K,!1,wt-Kt)}(P,P.segments.length-1+K,N.numberOfDoubleDots)}(Kt,wt,N),Ar=Te.processChildren?ao(Te.segmentGroup,Te.index,Kt.commands):Ur(Te.segmentGroup,Te.index,Kt.commands);return ni(wt,Te.segmentGroup,Ar,P,K)}function Xn(N){return"object"==typeof N&&null!=N&&!N.outlets&&!N.segmentPath}function Yo(N){return"object"==typeof N&&null!=N&&N.outlets}function ni(N,W,P,K,wt){let Te,Kt={};K&&Object.entries(K).forEach(([pr,bo])=>{Kt[pr]=Array.isArray(bo)?bo.map(pn=>`${pn}`):`${bo}`}),Te=N===W?P:Fo(N,W,P);const Ar=me(Yt(Te));return new br(Ar,Kt,wt)}function Fo(N,W,P){const K={};return Object.entries(N.children).forEach(([wt,Kt])=>{K[wt]=Kt===W?P:Fo(Kt,W,P)}),new mt(N.segments,K)}class pi{constructor(W,P,K){if(this.isAbsolute=W,this.numberOfDoubleDots=P,this.commands=K,W&&K.length>0&&Xn(K[0]))throw new o.wOt(4003,!1);const wt=K.find(Yo);if(wt&&wt!==Ht(K))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Oe{constructor(W,P,K){this.segmentGroup=W,this.processChildren=P,this.index=K}}function Ur(N,W,P){if(N??=new mt([],{}),0===N.segments.length&&N.hasChildren())return ao(N,W,P);const K=function no(N,W,P){let K=0,wt=W;const Kt={match:!1,pathIndex:0,commandIndex:0};for(;wt=P.length)return Kt;const Te=N.segments[wt],Ar=P[K];if(Yo(Ar))break;const pr=`${Ar}`,bo=K0&&void 0===pr)break;if(pr&&bo&&"object"==typeof bo&&void 0===bo.outlets){if(!zt(pr,bo,Te))return Kt;K+=2}else{if(!zt(pr,{},Te))return Kt;K++}wt++}return{match:!0,pathIndex:wt,commandIndex:K}}(N,W,P),wt=P.slice(K.commandIndex);if(K.match&&K.pathIndexKt!==jt)&&N.children[jt]&&1===N.numberOfChildren&&0===N.children[jt].segments.length){const Kt=ao(N.children[jt],W,P);return new mt(N.segments,Kt.children)}return Object.entries(K).forEach(([Kt,Te])=>{"string"==typeof Te&&(Te=[Te]),null!==Te&&(wt[Kt]=Ur(N.children[Kt],W,Te))}),Object.entries(N.children).forEach(([Kt,Te])=>{void 0===K[Kt]&&(wt[Kt]=Te)}),new mt(N.segments,wt)}}function vo(N,W,P){const K=N.segments.slice(0,W);let wt=0;for(;wt{"string"==typeof K&&(K=[K]),null!==K&&(W[P]=vo(new mt([],{}),0,K))}),W}function ro(N){const W={};return Object.entries(N).forEach(([P,K])=>W[P]=`${K}`),W}function zt(N,W,P){return N==P.path&&Ee(W,P.parameters)}const he="imperative";var ce=function(N){return N[N.NavigationStart=0]="NavigationStart",N[N.NavigationEnd=1]="NavigationEnd",N[N.NavigationCancel=2]="NavigationCancel",N[N.NavigationError=3]="NavigationError",N[N.RoutesRecognized=4]="RoutesRecognized",N[N.ResolveStart=5]="ResolveStart",N[N.ResolveEnd=6]="ResolveEnd",N[N.GuardsCheckStart=7]="GuardsCheckStart",N[N.GuardsCheckEnd=8]="GuardsCheckEnd",N[N.RouteConfigLoadStart=9]="RouteConfigLoadStart",N[N.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N[N.ChildActivationStart=11]="ChildActivationStart",N[N.ChildActivationEnd=12]="ChildActivationEnd",N[N.ActivationStart=13]="ActivationStart",N[N.ActivationEnd=14]="ActivationEnd",N[N.Scroll=15]="Scroll",N[N.NavigationSkipped=16]="NavigationSkipped",N}(ce||{});class pt{constructor(W,P){this.id=W,this.url=P}}class Gt extends pt{constructor(W,P,K="imperative",wt=null){super(W,P),this.type=ce.NavigationStart,this.navigationTrigger=K,this.restoredState=wt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dt extends pt{constructor(W,P,K){super(W,P),this.urlAfterRedirects=K,this.type=ce.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ne=function(N){return N[N.Redirect=0]="Redirect",N[N.SupersededByNewNavigation=1]="SupersededByNewNavigation",N[N.NoDataFromResolver=2]="NoDataFromResolver",N[N.GuardRejected=3]="GuardRejected",N}(ne||{}),Re=function(N){return N[N.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",N[N.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",N}(Re||{});class Ce extends pt{constructor(W,P,K,wt){super(W,P),this.reason=K,this.code=wt,this.type=ce.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends pt{constructor(W,P,K,wt){super(W,P),this.reason=K,this.code=wt,this.type=ce.NavigationSkipped}}class Cr extends pt{constructor(W,P,K,wt){super(W,P),this.error=K,this.target=wt,this.type=ce.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nr extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fr extends pt{constructor(W,P,K,wt,Kt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.shouldActivate=Kt,this.type=ce.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qr extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xo{constructor(W){this.route=W,this.type=ce.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class So{constructor(W){this.route=W,this.type=ce.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class po{constructor(W){this.snapshot=W,this.type=ce.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{constructor(W){this.snapshot=W,this.type=ce.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yn{constructor(W){this.snapshot=W,this.type=ce.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Di{constructor(W){this.snapshot=W,this.type=ce.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jn{constructor(W,P,K){this.routerEvent=W,this.position=P,this.anchor=K,this.type=ce.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Uo{}class Fn{constructor(W,P){this.url=W,this.navigationBehaviorOptions=P}}function Zn(N){return N.outlet||jt}function Mn(N){if(!N)return null;if(N.routeConfig?._injector)return N.routeConfig._injector;for(let W=N.parent;W;W=W.parent){const P=W.routeConfig;if(P?._loadedInjector)return P._loadedInjector;if(P?._injector)return P._injector}return null}class na{get injector(){return Mn(this.route?.snapshot)??this.rootInjector}set injector(W){}constructor(W){this.rootInjector=W,this.outlet=null,this.route=null,this.children=new fi(this.rootInjector),this.attachRef=null}}let fi=(()=>{class N{constructor(P){this.rootInjector=P,this.contexts=new Map}onChildOutletCreated(P,K){const wt=this.getOrCreateContext(P);wt.outlet=K,this.contexts.set(P,wt)}onChildOutletDestroyed(P){const K=this.getContext(P);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const P=this.contexts;return this.contexts=new Map,P}onOutletReAttached(P){this.contexts=P}getOrCreateContext(P){let K=this.getContext(P);return K||(K=new na(this.rootInjector),this.contexts.set(P,K)),K}getContext(P){return this.contexts.get(P)||null}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();class Ko{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const P=this.pathFromRoot(W);return P.length>1?P[P.length-2]:null}children(W){const P=pa(W,this._root);return P?P.children.map(K=>K.value):[]}firstChild(W){const P=pa(W,this._root);return P&&P.children.length>0?P.children[0].value:null}siblings(W){const P=Qn(W,this._root);return P.length<2?[]:P[P.length-2].children.map(wt=>wt.value).filter(wt=>wt!==W)}pathFromRoot(W){return Qn(W,this._root).map(P=>P.value)}}function pa(N,W){if(N===W.value)return W;for(const P of W.children){const K=pa(N,P);if(K)return K}return null}function Qn(N,W){if(N===W.value)return[W];for(const P of W.children){const K=Qn(N,P);if(K.length)return K.unshift(W),K}return[]}class qn{constructor(W,P){this.value=W,this.children=P}toString(){return`TreeNode(${this.value})`}}function Nn(N){const W={};return N&&N.children.forEach(P=>W[P.value.outlet]=P),W}class ma extends Ko{constructor(W,P){super(W),this.snapshot=P,ba(this,W)}toString(){return this.snapshot.toString()}}function Vo(N){const W=function Va(N){const Kt=new Qi([],{},{},"",{},jt,N,null,{});return new ps("",new qn(Kt,[]))}(N),P=new k.t([new $("",{})]),K=new k.t({}),wt=new k.t({}),Kt=new k.t({}),Te=new k.t(""),Ar=new ii(P,K,Kt,Te,wt,jt,N,W.root);return Ar.snapshot=W.root,new ma(new qn(Ar,[]),W)}class ii{constructor(W,P,K,wt,Kt,Te,Ar,pr){this.urlSubject=W,this.paramsSubject=P,this.queryParamsSubject=K,this.fragmentSubject=wt,this.dataSubject=Kt,this.outlet=Te,this.component=Ar,this._futureSnapshot=pr,this.title=this.dataSubject?.pipe((0,tt.T)(bo=>bo[De]))??(0,y.of)(void 0),this.url=W,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,tt.T)(W=>ft(W))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,tt.T)(W=>ft(W))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mi(N,W,P="emptyOnly"){let K;const{routeConfig:wt}=N;return K=null===W||"always"!==P&&""!==wt?.path&&(W.component||W.routeConfig?.loadComponent)?{params:{...N.params},data:{...N.data},resolve:{...N.data,...N._resolvedData??{}}}:{params:{...W.params,...N.params},data:{...W.data,...N.data},resolve:{...N.data,...W.data,...wt?.data,...N._resolvedData}},wt&&On(wt)&&(K.resolve[De]=wt.title),K}class Qi{get title(){return this.data?.[De]}constructor(W,P,K,wt,Kt,Te,Ar,pr,bo){this.url=W,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt,this.outlet=Te,this.component=Ar,this.routeConfig=pr,this._resolve=bo}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ft(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ps extends Ko{constructor(W,P){super(P),this.url=W,ba(this,P)}toString(){return za(this._root)}}function ba(N,W){W.value._routerState=N,W.children.forEach(P=>ba(N,P))}function za(N){const W=N.children.length>0?` { ${N.children.map(za).join(", ")} } `:"";return`${N.value}${W}`}function hi(N){if(N.snapshot){const W=N.snapshot,P=N._futureSnapshot;N.snapshot=P,Ee(W.queryParams,P.queryParams)||N.queryParamsSubject.next(P.queryParams),W.fragment!==P.fragment&&N.fragmentSubject.next(P.fragment),Ee(W.params,P.params)||N.paramsSubject.next(P.params),function Ut(N,W){if(N.length!==W.length)return!1;for(let P=0;PEe(P.parameters,W[K].parameters))}(N.url,W.url);return P&&!(!N.parent!=!W.parent)&&(!N.parent||Jo(N.parent,W.parent))}function On(N){return"string"==typeof N.title||null===N.title}let ia=(()=>{class N{constructor(){this.activated=null,this._activatedRoute=null,this.name=jt,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(es,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(P){if(P.name){const{firstChange:K,previousValue:wt}=P.name;if(K)return;this.isTrackedInParentContexts(wt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(wt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(P){return this.parentContexts.getContext(P)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const P=this.parentContexts.getContext(this.name);P?.route&&(P.attachRef?this.attach(P.attachRef,P.route):this.activateWith(P.route,P.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const P=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(P.instance),P}attach(P,K){this.activated=P,this._activatedRoute=K,this.location.insert(P.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(P.instance)}deactivate(){if(this.activated){const P=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(P)}}activateWith(P,K){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=P;const wt=this.location,Te=P.snapshot.component,Ar=this.parentContexts.getOrCreateContext(this.name).children,pr=new bi(P,Ar,wt.injector);this.activated=wt.createComponent(Te,{index:wt.length,injector:pr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275dir=o.FsC({type:N,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return N})();class bi{__ngOutletInjector(W){return new bi(this.route,this.childContexts,W)}constructor(W,P,K){this.route=W,this.childContexts=P,this.parent=K}get(W,P){return W===ii?this.route:W===fi?this.childContexts:this.parent.get(W,P)}}const es=new o.nKC("");let Vn=(()=>{class N{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(P){this.unsubscribeFromRouteData(P),this.subscribeToRouteData(P)}unsubscribeFromRouteData(P){this.outletDataSubscriptions.get(P)?.unsubscribe(),this.outletDataSubscriptions.delete(P)}subscribeToRouteData(P){const{activatedRoute:K}=P,wt=(0,A.z)([K.queryParams,K.params,K.data]).pipe((0,vt.n)(([Kt,Te,Ar],pr)=>(Ar={...Kt,...Te,...Ar},0===pr?(0,y.of)(Ar):Promise.resolve(Ar)))).subscribe(Kt=>{if(!P.isActivated||!P.activatedComponentRef||P.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(P);const Te=(0,o.HJs)(K.component);if(Te)for(const{templateName:Ar}of Te.inputs)P.activatedComponentRef.setInput(Ar,Kt[Ar]);else this.unsubscribeFromRouteData(P)});this.outletDataSubscriptions.set(P,wt)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function ci(N,W,P){if(P&&N.shouldReuseRoute(W.value,P.value.snapshot)){const K=P.value;K._futureSnapshot=W.value;const wt=function Ui(N,W,P){return W.children.map(K=>{for(const wt of P.children)if(N.shouldReuseRoute(K.value,wt.value.snapshot))return ci(N,K,wt);return ci(N,K)})}(N,W,P);return new qn(K,wt)}{if(N.shouldAttach(W.value)){const Kt=N.retrieve(W.value);if(null!==Kt){const Te=Kt.route;return Te.value._futureSnapshot=W.value,Te.children=W.children.map(Ar=>ci(N,Ar)),Te}}const K=function Jn(N){return new ii(new k.t(N.url),new k.t(N.params),new k.t(N.queryParams),new k.t(N.fragment),new k.t(N.data),N.outlet,N.component,N)}(W.value),wt=W.children.map(Kt=>ci(N,Kt));return new qn(K,wt)}}class aa{constructor(W,P){this.redirectTo=W,this.navigationBehaviorOptions=P}}const Ni="ngNavigationCancelingError";function wa(N,W){const{redirectTo:P,navigationBehaviorOptions:K}=ar(W)?{redirectTo:W,navigationBehaviorOptions:void 0}:W,wt=rs(!1,ne.Redirect);return wt.url=P,wt.navigationBehaviorOptions=K,wt}function rs(N,W){const P=new Error(`NavigationCancelingError: ${N||""}`);return P[Ni]=!0,P.cancellationCode=W,P}function os(N){return!!N&&N[Ni]}class et{constructor(W,P,K,wt,Kt){this.routeReuseStrategy=W,this.futureState=P,this.currState=K,this.forwardEvent=wt,this.inputBindingEnabled=Kt}activate(W){const P=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(P,K,W),hi(this.futureState.root),this.activateChildRoutes(P,K,W)}deactivateChildRoutes(W,P,K){const wt=Nn(P);W.children.forEach(Kt=>{const Te=Kt.value.outlet;this.deactivateRoutes(Kt,wt[Te],K),delete wt[Te]}),Object.values(wt).forEach(Kt=>{this.deactivateRouteAndItsChildren(Kt,K)})}deactivateRoutes(W,P,K){const wt=W.value,Kt=P?P.value:null;if(wt===Kt)if(wt.component){const Te=K.getContext(wt.outlet);Te&&this.deactivateChildRoutes(W,P,Te.children)}else this.deactivateChildRoutes(W,P,K);else Kt&&this.deactivateRouteAndItsChildren(P,K)}deactivateRouteAndItsChildren(W,P){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,P):this.deactivateRouteAndOutlet(W,P)}detachAndStoreRouteSubtree(W,P){const K=P.getContext(W.value.outlet),wt=K&&W.value.component?K.children:P,Kt=Nn(W);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);if(K&&K.outlet){const Te=K.outlet.detach(),Ar=K.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:Te,route:W,contexts:Ar})}}deactivateRouteAndOutlet(W,P){const K=P.getContext(W.value.outlet),wt=K&&W.value.component?K.children:P,Kt=Nn(W);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(W,P,K){const wt=Nn(P);W.children.forEach(Kt=>{this.activateRoutes(Kt,wt[Kt.value.outlet],K),this.forwardEvent(new Di(Kt.value.snapshot))}),W.children.length&&this.forwardEvent(new io(W.value.snapshot))}activateRoutes(W,P,K){const wt=W.value,Kt=P?P.value:null;if(hi(wt),wt===Kt)if(wt.component){const Te=K.getOrCreateContext(wt.outlet);this.activateChildRoutes(W,P,Te.children)}else this.activateChildRoutes(W,P,K);else if(wt.component){const Te=K.getOrCreateContext(wt.outlet);if(this.routeReuseStrategy.shouldAttach(wt.snapshot)){const Ar=this.routeReuseStrategy.retrieve(wt.snapshot);this.routeReuseStrategy.store(wt.snapshot,null),Te.children.onOutletReAttached(Ar.contexts),Te.attachRef=Ar.componentRef,Te.route=Ar.route.value,Te.outlet&&Te.outlet.attach(Ar.componentRef,Ar.route.value),hi(Ar.route.value),this.activateChildRoutes(W,null,Te.children)}else Te.attachRef=null,Te.route=wt,Te.outlet&&Te.outlet.activateWith(wt,Te.injector),this.activateChildRoutes(W,null,Te.children)}else this.activateChildRoutes(W,null,K)}}class te{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class le{constructor(W,P){this.component=W,this.route=P}}function Br(N,W,P){const K=N._root;return so(K,W?W._root:null,P,[K.value])}function Oo(N,W){const P=Symbol(),K=W.get(N,P);return K===P?"function"!=typeof N||(0,o.LfX)(N)?W.get(N):N:K}function so(N,W,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=Nn(W);return N.children.forEach(Te=>{(function rn(N,W,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=N.value,Te=W?W.value:null,Ar=P?P.getContext(N.value.outlet):null;if(Te&&Kt.routeConfig===Te.routeConfig){const pr=function bn(N,W,P){if("function"==typeof P)return P(N,W);switch(P){case"pathParamsChange":return!it(N.url,W.url);case"pathParamsOrQueryParamsChange":return!it(N.url,W.url)||!Ee(N.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jo(N,W)||!Ee(N.queryParams,W.queryParams);default:return!Jo(N,W)}}(Te,Kt,Kt.routeConfig.runGuardsAndResolvers);pr?wt.canActivateChecks.push(new te(K)):(Kt.data=Te.data,Kt._resolvedData=Te._resolvedData),so(N,W,Kt.component?Ar?Ar.children:null:P,K,wt),pr&&Ar&&Ar.outlet&&Ar.outlet.isActivated&&wt.canDeactivateChecks.push(new le(Ar.outlet.component,Te))}else Te&&Lo(W,Ar,wt),wt.canActivateChecks.push(new te(K)),so(N,null,Kt.component?Ar?Ar.children:null:P,K,wt)})(Te,Kt[Te.value.outlet],P,K.concat([Te.value]),wt),delete Kt[Te.value.outlet]}),Object.entries(Kt).forEach(([Te,Ar])=>Lo(Ar,P.getContext(Te),wt)),wt}function Lo(N,W,P){const K=Nn(N),wt=N.value;Object.entries(K).forEach(([Kt,Te])=>{Lo(Te,wt.component?W?W.children.getContext(Kt):null:W,P)}),P.canDeactivateChecks.push(new le(wt.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,wt))}function In(N){return"function"==typeof N}function Ki(N){return N instanceof I.G||"EmptyError"===N?.name}const zn=Symbol("INITIAL_VALUE");function Gi(){return(0,vt.n)(N=>(0,A.z)(N.map(W=>W.pipe((0,Mt.s)(1),(0,$t.Z)(zn)))).pipe((0,tt.T)(W=>{for(const P of W)if(!0!==P){if(P===zn)return zn;if(!1===P||st(P))return P}return!0}),(0,St.p)(W=>W!==zn),(0,Mt.s)(1)))}function st(N){return ar(N)||N instanceof aa}function Ls(N){return(0,O.F)((0,Xe.M)(W=>{if("boolean"!=typeof W)throw wa(0,W)}),(0,tt.T)(W=>!0===W))}class Wa{constructor(W){this.segmentGroup=W||null}}class yn extends Error{constructor(W){super(),this.urlTree=W}}function Fs(N){return(0,L.$)(new Wa(N))}class Jc{constructor(W,P){this.urlSerializer=W,this.urlTree=P}lineralizeSegments(W,P){let K=[],wt=P.root;for(;;){if(K=K.concat(wt.segments),0===wt.numberOfChildren)return(0,y.of)(K);if(wt.numberOfChildren>1||!wt.children[jt])return(0,L.$)(new o.wOt(4e3,!1));wt=wt.children[jt]}}applyRedirectCommands(W,P,K,wt,Kt){if("string"!=typeof P){const Ar=P,{queryParams:pr,fragment:bo,routeConfig:pn,url:_n,outlet:wn,params:Sa,data:Ta,title:Os}=wt,vs=(0,o.N4e)(Kt,()=>Ar({params:Sa,data:Ta,queryParams:pr,fragment:bo,routeConfig:pn,url:_n,outlet:wn,title:Os}));if(vs instanceof br)throw new yn(vs);P=vs}const Te=this.applyRedirectCreateUrlTree(P,this.urlSerializer.parse(P),W,K);if("/"===P[0])throw new yn(Te);return Te}applyRedirectCreateUrlTree(W,P,K,wt){const Kt=this.createSegmentGroup(W,P.root,K,wt);return new br(Kt,this.createQueryParams(P.queryParams,this.urlTree.queryParams),P.fragment)}createQueryParams(W,P){const K={};return Object.entries(W).forEach(([wt,Kt])=>{if("string"==typeof Kt&&":"===Kt[0]){const Ar=Kt.substring(1);K[wt]=P[Ar]}else K[wt]=Kt}),K}createSegmentGroup(W,P,K,wt){const Kt=this.createSegments(W,P.segments,K,wt);let Te={};return Object.entries(P.children).forEach(([Ar,pr])=>{Te[Ar]=this.createSegmentGroup(W,pr,K,wt)}),new mt(Kt,Te)}createSegments(W,P,K,wt){return P.map(Kt=>":"===Kt.path[0]?this.findPosParam(W,Kt,wt):this.findOrReturn(Kt,K))}findPosParam(W,P,K){const wt=K[P.path.substring(1)];if(!wt)throw new o.wOt(4001,!1);return wt}findOrReturn(W,P){let K=0;for(const wt of P){if(wt.path===W.path)return P.splice(K),wt;K++}return W}}const ln={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Li(N,W,P,K,wt){const Kt=on(N,W,P);return Kt.matched?(K=function nn(N,W){return N.providers&&!N._injector&&(N._injector=(0,o.Ol2)(N.providers,W,`Route: ${N.path}`)),N._injector??W}(W,K),function Ps(N,W,P,K){const wt=W.canMatch;if(!wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Ar=Oo(Te,N);return Me(function ri(N){return N&&In(N.canMatch)}(Ar)?Ar.canMatch(W,P):(0,o.N4e)(N,()=>Ar(W,P)))});return(0,y.of)(Kt).pipe(Gi(),Ls())}(K,W,P).pipe((0,tt.T)(Te=>!0===Te?Kt:{...ln}))):(0,y.of)(Kt)}function on(N,W,P){if("**"===W.path)return function Ji(N){return{matched:!0,parameters:N.length>0?Ht(N).parameters:{},consumedSegments:N,remainingSegments:[],positionalParamSegments:{}}}(P);if(""===W.path)return"full"===W.pathMatch&&(N.hasChildren()||P.length>0)?{...ln}:{matched:!0,consumedSegments:[],remainingSegments:P,parameters:{},positionalParamSegments:{}};const wt=(W.matcher||pe)(P,N,W);if(!wt)return{...ln};const Kt={};Object.entries(wt.posParams??{}).forEach(([Ar,pr])=>{Kt[Ar]=pr.path});const Te=wt.consumed.length>0?{...Kt,...wt.consumed[wt.consumed.length-1].parameters}:Kt;return{matched:!0,consumedSegments:wt.consumed,remainingSegments:P.slice(wt.consumed.length),parameters:Te,positionalParamSegments:wt.posParams??{}}}function $i(N,W,P,K){return P.length>0&&function sa(N,W,P){return P.some(K=>Ss(N,W,K)&&Zn(K)!==jt)}(N,P,K)?{segmentGroup:new mt(W,As(K,new mt(P,N.children))),slicedSegments:[]}:0===P.length&&function yc(N,W,P){return P.some(K=>Ss(N,W,K))}(N,P,K)?{segmentGroup:new mt(N.segments,zs(N,P,K,N.children)),slicedSegments:P}:{segmentGroup:new mt(N.segments,N.children),slicedSegments:P}}function zs(N,W,P,K){const wt={};for(const Kt of P)if(Ss(N,W,Kt)&&!K[Zn(Kt)]){const Te=new mt([],{});wt[Zn(Kt)]=Te}return{...K,...wt}}function As(N,W){const P={};P[jt]=W;for(const K of N)if(""===K.path&&Zn(K)!==jt){const wt=new mt([],{});P[Zn(K)]=wt}return P}function Ss(N,W,P){return(!(N.hasChildren()||W.length>0)||"full"!==P.pathMatch)&&""===P.path}class vc{}class xc{constructor(W,P,K,wt,Kt,Te,Ar){this.injector=W,this.configLoader=P,this.rootComponentType=K,this.config=wt,this.urlTree=Kt,this.paramsInheritanceStrategy=Te,this.urlSerializer=Ar,this.applyRedirects=new Jc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(W){return new o.wOt(4002,`'${W.segmentGroup}'`)}recognize(){const W=$i(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(W).pipe((0,tt.T)(({children:P,rootSnapshot:K})=>{const wt=new qn(K,P),Kt=new ps("",wt),Te=function yr(N,W,P=null,K=null){return $n(Eo(N),W,P,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return Te.queryParams=this.urlTree.queryParams,Kt.url=this.urlSerializer.serialize(Te),{state:Kt,tree:Te}}))}match(W){const P=new Qi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),jt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,W,jt,P).pipe((0,tt.T)(K=>({children:K,rootSnapshot:P})),(0,kr.W)(K=>{if(K instanceof yn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof Wa?this.noMatchError(K):K}))}processSegmentGroup(W,P,K,wt,Kt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(W,P,K,Kt):this.processSegment(W,P,K,K.segments,wt,!0,Kt).pipe((0,tt.T)(Te=>Te instanceof qn?[Te]:[]))}processChildren(W,P,K,wt){const Kt=[];for(const Te of Object.keys(K.children))"primary"===Te?Kt.unshift(Te):Kt.push(Te);return(0,c.H)(Kt).pipe((0,oe.H)(Te=>{const Ar=K.children[Te],pr=function ua(N,W){const P=N.filter(K=>Zn(K)===W);return P.push(...N.filter(K=>Zn(K)!==W)),P}(P,Te);return this.processSegmentGroup(W,pr,Ar,Te,wt)}),function wr(N,W){return(0,nt.N)((0,gr.S)(N,W,arguments.length>=2,!0))}((Te,Ar)=>(Te.push(...Ar),Te)),rt(null),function xe(N,W){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,Wr(1),P?rt(W):yt(()=>new I.G))}(),(0,kt.Z)(Te=>{if(null===Te)return Fs(K);const Ar=Lc(Te);return function _c(N){N.sort((W,P)=>W.value.outlet===jt?-1:P.value.outlet===jt?1:W.value.outlet.localeCompare(P.value.outlet))}(Ar),(0,y.of)(Ar)}))}processSegment(W,P,K,wt,Kt,Te,Ar){return(0,c.H)(P).pipe((0,oe.H)(pr=>this.processSegmentAgainstRoute(pr._injector??W,P,pr,K,wt,Kt,Te,Ar).pipe((0,kr.W)(bo=>{if(bo instanceof Wa)return(0,y.of)(null);throw bo}))),Xt(pr=>!!pr),(0,kr.W)(pr=>{if(Ki(pr))return function Oi(N,W,P){return 0===W.length&&!N.children[P]}(K,wt,Kt)?(0,y.of)(new vc):Fs(K);throw pr}))}processSegmentAgainstRoute(W,P,K,wt,Kt,Te,Ar,pr){return Zn(K)===Te||Te!==jt&&Ss(wt,Kt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(W,wt,K,Kt,Te,pr):this.allowRedirects&&Ar?this.expandSegmentAgainstRouteUsingRedirect(W,wt,P,K,Kt,Te,pr):Fs(wt):Fs(wt)}expandSegmentAgainstRouteUsingRedirect(W,P,K,wt,Kt,Te,Ar){const{matched:pr,parameters:bo,consumedSegments:pn,positionalParamSegments:_n,remainingSegments:wn}=on(P,wt,Kt);if(!pr)return Fs(P);"string"==typeof wt.redirectTo&&"/"===wt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Sa=new Qi(Kt,bo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Bs(wt),Zn(wt),wt.component??wt._loadedComponent??null,wt,Us(wt)),Ta=mi(Sa,Ar,this.paramsInheritanceStrategy);Sa.params=Object.freeze(Ta.params),Sa.data=Object.freeze(Ta.data);const Os=this.applyRedirects.applyRedirectCommands(pn,wt.redirectTo,_n,Sa,W);return this.applyRedirects.lineralizeSegments(wt,Os).pipe((0,kt.Z)(vs=>this.processSegment(W,K,P,vs.concat(wn),Te,!1,Ar)))}matchSegmentAgainstRoute(W,P,K,wt,Kt,Te){const Ar=Li(P,K,wt,W);return"**"===K.path&&(P.children={}),Ar.pipe((0,vt.n)(pr=>pr.matched?this.getChildConfig(W=K._injector??W,K,wt).pipe((0,vt.n)(({routes:bo})=>{const pn=K._loadedInjector??W,{parameters:_n,consumedSegments:wn,remainingSegments:Sa}=pr,Ta=new Qi(wn,_n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Bs(K),Zn(K),K.component??K._loadedComponent??null,K,Us(K)),Os=mi(Ta,Te,this.paramsInheritanceStrategy);Ta.params=Object.freeze(Os.params),Ta.data=Object.freeze(Os.data);const{segmentGroup:vs,slicedSegments:Fc}=$i(P,wn,Sa,bo);if(0===Fc.length&&vs.hasChildren())return this.processChildren(pn,bo,vs,Ta).pipe((0,tt.T)(Ya=>new qn(Ta,Ya)));if(0===bo.length&&0===Fc.length)return(0,y.of)(new qn(Ta,[]));const Ws=Zn(K)===Kt;return this.processSegment(pn,bo,vs,Fc,Ws?jt:Kt,!0,Ta).pipe((0,tt.T)(Ya=>new qn(Ta,Ya instanceof qn?[Ya]:[])))})):Fs(P)))}getChildConfig(W,P,K){return P.children?(0,y.of)({routes:P.children,injector:W}):P.loadChildren?void 0!==P._loadedRoutes?(0,y.of)({routes:P._loadedRoutes,injector:P._loadedInjector}):function Ha(N,W,P,K){const wt=W.canLoad;if(void 0===wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Ar=Oo(Te,N);return Me(function Bn(N){return N&&In(N.canLoad)}(Ar)?Ar.canLoad(W,P):(0,o.N4e)(N,()=>Ar(W,P)))});return(0,y.of)(Kt).pipe(Gi(),Ls())}(W,P,K).pipe((0,kt.Z)(wt=>wt?this.configLoader.loadChildren(W,P).pipe((0,Xe.M)(Kt=>{P._loadedRoutes=Kt.routes,P._loadedInjector=Kt.injector})):function ql(){return(0,L.$)(rs(!1,ne.GuardRejected))}())):(0,y.of)({routes:[],injector:W})}}function kc(N){const W=N.value.routeConfig;return W&&""===W.path}function Lc(N){const W=[],P=new Set;for(const K of N){if(!kc(K)){W.push(K);continue}const wt=W.find(Kt=>K.value.routeConfig===Kt.value.routeConfig);void 0!==wt?(wt.children.push(...K.children),P.add(wt)):W.push(K)}for(const K of P){const wt=Lc(K.children);W.push(new qn(K.value,wt))}return W.filter(K=>!P.has(K))}function Bs(N){return N.data||{}}function Us(N){return N.resolve||{}}function ki(N){const W=N.children.map(P=>ki(P)).flat();return[N,...W]}function Ts(N){return(0,vt.n)(W=>{const P=N(W);return P?(0,c.H)(P).pipe((0,tt.T)(()=>W)):(0,y.of)(W)})}let ai=(()=>{class N{buildTitle(P){let K,wt=P.root;for(;void 0!==wt;)K=this.getResolvedTitleForRoute(wt)??K,wt=wt.children.find(Kt=>Kt.outlet===jt);return K}getResolvedTitleForRoute(P){return P.data[De]}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(Hs),providedIn:"root"})}}return N})(),Hs=(()=>{class N extends ai{constructor(P){super(),this.title=P}updateTitle(P){const K=this.buildTitle(P);void 0!==K&&this.title.setTitle(K)}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(de.hE))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Ms=new o.nKC("",{providedIn:"root",factory:()=>({})});let Da=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275cmp=o.VBU({type:N,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(K,wt){1&K&&o.nrm(0,"router-outlet")},dependencies:[ia],encapsulation:2})}}return N})();function Ln(N){const W=N.children&&N.children.map(Ln),P=W?{...N,children:W}:{...N};return!P.component&&!P.loadComponent&&(W||P.loadChildren)&&P.outlet&&P.outlet!==jt&&(P.component=Da),P}const Ga=new o.nKC("");let gs=(()=>{class N{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(P){if(this.componentLoaders.get(P))return this.componentLoaders.get(P);if(P._loadedComponent)return(0,y.of)(P._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(P);const K=Me(P.loadComponent()).pipe((0,tt.T)(ic),(0,Xe.M)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(P),P._loadedComponent=Kt}),(0,gt.j)(()=>{this.componentLoaders.delete(P)})),wt=new z.G(K,()=>new q.B).pipe((0,Nt.B)());return this.componentLoaders.set(P,wt),wt}loadChildren(P,K){if(this.childrenLoaders.get(K))return this.childrenLoaders.get(K);if(K._loadedRoutes)return(0,y.of)({routes:K._loadedRoutes,injector:K._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(K);const Kt=function gi(N,W,P,K){return Me(N.loadChildren()).pipe((0,tt.T)(ic),(0,kt.Z)(wt=>wt instanceof o.Co$||Array.isArray(wt)?(0,y.of)(wt):(0,c.H)(W.compileModuleAsync(wt))),(0,tt.T)(wt=>{K&&K(N);let Kt,Te,Ar=!1;return Array.isArray(wt)?(Te=wt,!0):(Kt=wt.create(P).injector,Te=Kt.get(Ga,[],{optional:!0,self:!0}).flat()),{routes:Te.map(Ln),injector:Kt}}))}(K,this.compiler,P,this.onLoadEndListener).pipe((0,gt.j)(()=>{this.childrenLoaders.delete(K)})),Te=new z.G(Kt,()=>new q.B).pipe((0,Nt.B)());return this.childrenLoaders.set(K,Te),Te}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function ic(N){return function fs(N){return N&&"object"==typeof N&&"default"in N}(N)?N.default:N}let Is=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ca),providedIn:"root"})}}return N})(),ca=(()=>{class N{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,K){return P}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const bs=new o.nKC(""),fn=new o.nKC("");function ac(N,W,P){const K=N.get(fn),wt=N.get(dt.qQ);return N.get(o.SKi).runOutsideAngular(()=>{if(!wt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(bo=>setTimeout(bo));let Kt;const Te=new Promise(bo=>{Kt=bo}),Ar=wt.startViewTransition(()=>(Kt(),function Ec(N){return new Promise(W=>{(0,o.mal)({read:()=>setTimeout(W)},{injector:N})})}(N))),{onViewTransitionCreated:pr}=K;return pr&&(0,o.N4e)(N,()=>pr({transition:Ar,from:W,to:P})),Te})}const B=new o.nKC("");let Et=(()=>{class N{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.B,this.transitionAbortSubject=new q.B,this.configLoader=(0,o.WQX)(gs),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(It),this.rootContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(dt.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(es,{optional:!0}),this.titleStrategy=(0,o.WQX)(ai),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Is),this.createViewTransition=(0,o.WQX)(bs,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(B,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=wt=>this.events.next(new So(wt)),this.configLoader.onLoadStartListener=wt=>this.events.next(new xo(wt))}complete(){this.transitions?.complete()}handleNavigationRequest(P){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...P,id:K})}setupNavigations(P,K,wt){return this.transitions=new k.t({id:0,currentUrlTree:K,currentRawUrl:K,extractedUrl:this.urlHandlingStrategy.extract(K),urlAfterRedirects:this.urlHandlingStrategy.extract(K),rawUrl:K,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:he,restoredState:null,currentSnapshot:wt.snapshot,targetSnapshot:null,currentRouterState:wt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,St.p)(Kt=>0!==Kt.id),(0,tt.T)(Kt=>({...Kt,extractedUrl:this.urlHandlingStrategy.extract(Kt.rawUrl)})),(0,vt.n)(Kt=>{let Te=!1,Ar=!1;return(0,y.of)(Kt).pipe((0,vt.n)(pr=>{if(this.navigationId>Kt.id)return this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),Y.w;this.currentTransition=Kt,this.currentNavigation={id:pr.id,initialUrl:pr.rawUrl,extractedUrl:pr.extractedUrl,targetBrowserUrl:"string"==typeof pr.extras.browserUrl?this.urlSerializer.parse(pr.extras.browserUrl):pr.extras.browserUrl,trigger:pr.source,extras:pr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const bo=!P.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!bo&&"reload"!==(pr.extras.onSameUrlNavigation??P.onSameUrlNavigation)){const _n="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.rawUrl),_n,Re.IgnoredSameUrlNavigation)),pr.resolve(!1),Y.w}if(this.urlHandlingStrategy.shouldProcessUrl(pr.rawUrl))return(0,y.of)(pr).pipe((0,vt.n)(_n=>{const wn=this.transitions?.getValue();return this.events.next(new Gt(_n.id,this.urlSerializer.serialize(_n.extractedUrl),_n.source,_n.restoredState)),wn!==this.transitions?.getValue()?Y.w:Promise.resolve(_n)}),function Ca(N,W,P,K,wt,Kt){return(0,kt.Z)(Te=>function Nc(N,W,P,K,wt,Kt,Te="emptyOnly"){return new xc(N,W,P,K,wt,Te,Kt).recognize()}(N,W,P,K,Te.extractedUrl,wt,Kt).pipe((0,tt.T)(({state:Ar,tree:pr})=>({...Te,targetSnapshot:Ar,urlAfterRedirects:pr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,P.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Xe.M)(_n=>{Kt.targetSnapshot=_n.targetSnapshot,Kt.urlAfterRedirects=_n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:_n.urlAfterRedirects};const wn=new Er(_n.id,this.urlSerializer.serialize(_n.extractedUrl),this.urlSerializer.serialize(_n.urlAfterRedirects),_n.targetSnapshot);this.events.next(wn)}));if(bo&&this.urlHandlingStrategy.shouldProcessUrl(pr.currentRawUrl)){const{id:_n,extractedUrl:wn,source:Sa,restoredState:Ta,extras:Os}=pr,vs=new Gt(_n,this.urlSerializer.serialize(wn),Sa,Ta);this.events.next(vs);const Fc=Vo(this.rootComponentType).snapshot;return this.currentTransition=Kt={...pr,targetSnapshot:Fc,urlAfterRedirects:wn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=wn,(0,y.of)(Kt)}{const _n="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.extractedUrl),_n,Re.IgnoredByUrlHandlingStrategy)),pr.resolve(!1),Y.w}}),(0,Xe.M)(pr=>{const bo=new Nr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot);this.events.next(bo)}),(0,tt.T)(pr=>(this.currentTransition=Kt={...pr,guards:Br(pr.targetSnapshot,pr.currentSnapshot,this.rootContexts)},Kt)),function bt(N,W){return(0,kt.Z)(P=>{const{targetSnapshot:K,currentSnapshot:wt,guards:{canActivateChecks:Kt,canDeactivateChecks:Te}}=P;return 0===Te.length&&0===Kt.length?(0,y.of)({...P,guardsResult:!0}):function X(N,W,P,K){return(0,c.H)(N).pipe((0,kt.Z)(wt=>function Ns(N,W,P,K,wt){const Kt=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!Kt||0===Kt.length)return(0,y.of)(!0);const Te=Kt.map(Ar=>{const pr=Mn(W)??wt,bo=Oo(Ar,pr);return Me(function qi(N){return N&&In(N.canDeactivate)}(bo)?bo.canDeactivate(N,W,P,K):(0,o.N4e)(pr,()=>bo(N,W,P,K))).pipe(Xt())});return(0,y.of)(Te).pipe(Gi())}(wt.component,wt.route,P,W,K)),Xt(wt=>!0!==wt,!0))}(Te,K,wt,N).pipe((0,kt.Z)(Ar=>Ar&&function Si(N){return"boolean"==typeof N}(Ar)?function Ft(N,W,P,K){return(0,c.H)(W).pipe((0,oe.H)(wt=>(0,M.x)(function No(N,W){return null!==N&&W&&W(new po(N)),(0,y.of)(!0)}(wt.route.parent,K),function je(N,W){return null!==N&&W&&W(new Yn(N)),(0,y.of)(!0)}(wt.route,K),function ha(N,W,P){const K=W[W.length-1],Kt=W.slice(0,W.length-1).reverse().map(Te=>function jr(N){const W=N.routeConfig?N.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:N,guards:W}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,T.v)(()=>{const Ar=Te.guards.map(pr=>{const bo=Mn(Te.node)??P,pn=Oo(pr,bo);return Me(function wi(N){return N&&In(N.canActivateChild)}(pn)?pn.canActivateChild(K,N):(0,o.N4e)(bo,()=>pn(K,N))).pipe(Xt())});return(0,y.of)(Ar).pipe(Gi())}));return(0,y.of)(Kt).pipe(Gi())}(N,wt.path,P),function gn(N,W,P){const K=W.routeConfig?W.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const wt=K.map(Kt=>(0,T.v)(()=>{const Te=Mn(W)??P,Ar=Oo(Kt,Te);return Me(function Ti(N){return N&&In(N.canActivate)}(Ar)?Ar.canActivate(W,N):(0,o.N4e)(Te,()=>Ar(W,N))).pipe(Xt())}));return(0,y.of)(wt).pipe(Gi())}(N,wt.route,P))),Xt(wt=>!0!==wt,!0))}(K,Kt,N,W):(0,y.of)(Ar)),(0,tt.T)(Ar=>({...P,guardsResult:Ar})))})}(this.environmentInjector,pr=>this.events.next(pr)),(0,Xe.M)(pr=>{if(Kt.guardsResult=pr.guardsResult,pr.guardsResult&&"boolean"!=typeof pr.guardsResult)throw wa(0,pr.guardsResult);const bo=new Fr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot,!!pr.guardsResult);this.events.next(bo)}),(0,St.p)(pr=>!!pr.guardsResult||(this.cancelNavigationTransition(pr,"",ne.GuardRejected),!1)),Ts(pr=>{if(pr.guards.canActivateChecks.length)return(0,y.of)(pr).pipe((0,Xe.M)(bo=>{const pn=new qr(bo.id,this.urlSerializer.serialize(bo.extractedUrl),this.urlSerializer.serialize(bo.urlAfterRedirects),bo.targetSnapshot);this.events.next(pn)}),(0,vt.n)(bo=>{let pn=!1;return(0,y.of)(bo).pipe(function el(N,W){return(0,kt.Z)(P=>{const{targetSnapshot:K,guards:{canActivateChecks:wt}}=P;if(!wt.length)return(0,y.of)(P);const Kt=new Set(wt.map(pr=>pr.route)),Te=new Set;for(const pr of Kt)if(!Te.has(pr))for(const bo of ki(pr))Te.add(bo);let Ar=0;return(0,c.H)(Te).pipe((0,oe.H)(pr=>Kt.has(pr)?function ta(N,W,P,K){const wt=N.routeConfig,Kt=N._resolve;return void 0!==wt?.title&&!On(wt)&&(Kt[De]=wt.title),function Jl(N,W,P,K){const wt=ie(N);if(0===wt.length)return(0,y.of)({});const Kt={};return(0,c.H)(wt).pipe((0,kt.Z)(Te=>function Xi(N,W,P,K){const wt=Mn(W)??K,Kt=Oo(N,wt);return Me(Kt.resolve?Kt.resolve(W,P):(0,o.N4e)(wt,()=>Kt(W,P)))}(N[Te],W,P,K).pipe(Xt(),(0,Xe.M)(Ar=>{if(Ar instanceof aa)throw wa(new ye,Ar);Kt[Te]=Ar}))),Wr(1),(0,Le.u)(Kt),(0,kr.W)(Te=>Ki(Te)?Y.w:(0,L.$)(Te)))}(Kt,N,W,K).pipe((0,tt.T)(Te=>(N._resolvedData=Te,N.data=mi(N,N.parent,P).resolve,null)))}(pr,K,N,W):(pr.data=mi(pr,pr.parent,N).resolve,(0,y.of)(void 0))),(0,Xe.M)(()=>Ar++),Wr(1),(0,kt.Z)(pr=>Ar===Te.size?(0,y.of)(P):Y.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>pn=!0,complete:()=>{pn||this.cancelNavigationTransition(bo,"",ne.NoDataFromResolver)}}))}),(0,Xe.M)(bo=>{const pn=new to(bo.id,this.urlSerializer.serialize(bo.extractedUrl),this.urlSerializer.serialize(bo.urlAfterRedirects),bo.targetSnapshot);this.events.next(pn)}))}),Ts(pr=>{const bo=pn=>{const _n=[];pn.routeConfig?.loadComponent&&!pn.routeConfig._loadedComponent&&_n.push(this.configLoader.loadComponent(pn.routeConfig).pipe((0,Xe.M)(wn=>{pn.component=wn}),(0,tt.T)(()=>{})));for(const wn of pn.children)_n.push(...bo(wn));return _n};return(0,A.z)(bo(pr.targetSnapshot.root)).pipe(rt(null),(0,Mt.s)(1))}),Ts(()=>this.afterPreactivation()),(0,vt.n)(()=>{const{currentSnapshot:pr,targetSnapshot:bo}=Kt,pn=this.createViewTransition?.(this.environmentInjector,pr.root,bo.root);return pn?(0,c.H)(pn).pipe((0,tt.T)(()=>Kt)):(0,y.of)(Kt)}),(0,tt.T)(pr=>{const bo=function xi(N,W,P){const K=ci(N,W._root,P?P._root:void 0);return new ma(K,W)}(P.routeReuseStrategy,pr.targetSnapshot,pr.currentRouterState);return this.currentTransition=Kt={...pr,targetRouterState:bo},this.currentNavigation.targetRouterState=bo,Kt}),(0,Xe.M)(()=>{this.events.next(new Uo)}),((N,W,P,K)=>(0,tt.T)(wt=>(new et(W,wt.targetRouterState,wt.currentRouterState,P,K).activate(N),wt)))(this.rootContexts,P.routeReuseStrategy,pr=>this.events.next(pr),this.inputBindingEnabled),(0,Mt.s)(1),(0,Xe.M)({next:pr=>{Te=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Dt(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects))),this.titleStrategy?.updateTitle(pr.targetRouterState.snapshot),pr.resolve(!0)},complete:()=>{Te=!0}}),(0,Se.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pr=>{throw pr}))),(0,gt.j)(()=>{!Te&&!Ar&&this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),this.currentTransition?.id===Kt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,kr.W)(pr=>{if(Ar=!0,os(pr))this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr.message,pr.cancellationCode)),function _i(N){return os(N)&&ar(N.url)}(pr)?this.events.next(new Fn(pr.url,pr.navigationBehaviorOptions)):Kt.resolve(!1);else{const bo=new Cr(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr,Kt.targetSnapshot??void 0);try{const pn=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(bo));if(pn instanceof aa){const{message:_n,cancellationCode:wn}=wa(0,pn);this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),_n,wn)),this.events.next(new Fn(pn.redirectTo,pn.navigationBehaviorOptions))}else{this.events.next(bo);const _n=P.errorHandler(pr);Kt.resolve(!!_n)}}catch(pn){this.options.resolveNavigationPromiseOnError?Kt.resolve(!1):Kt.reject(pn)}}return Y.w}))}))}cancelNavigationTransition(P,K,wt){const Kt=new Ce(P.id,this.urlSerializer.serialize(P.extractedUrl),K,wt);this.events.next(Kt),P.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const P=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return P.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function x(N){return N!==he}let C=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ht),providedIn:"root"})}}return N})();class F{shouldDetach(W){return!1}store(W,P){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,P){return W.routeConfig===P.routeConfig}}let ht=(()=>{class N extends F{static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Ot=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ae),providedIn:"root"})}}return N})(),ae=(()=>{class N extends Ot{constructor(){super(...arguments),this.location=(0,o.WQX)(dt.aZ),this.urlSerializer=(0,o.WQX)(It),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Is),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new br,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Vo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(P){return this.location.subscribe(K=>{"popstate"===K.type&&P(K.url,K.state)})}handleRouterEvent(P,K){if(P instanceof Gt)this.stateMemento=this.createStateMemento();else if(P instanceof or)this.rawUrlTree=K.initialUrl;else if(P instanceof Er){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const wt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??wt,K)}}else P instanceof Uo?(this.currentUrlTree=K.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&!K.extras.skipLocationChange&&this.setBrowserUrl(K.targetBrowserUrl??this.rawUrlTree,K)):P instanceof Ce&&(P.code===ne.GuardRejected||P.code===ne.NoDataFromResolver)?this.restoreHistory(K):P instanceof Cr?this.restoreHistory(K,!0):P instanceof Dt&&(this.lastSuccessfulId=P.id,this.currentPageId=this.browserPageId)}setBrowserUrl(P,K){const wt=P instanceof br?this.urlSerializer.serialize(P):P;if(this.location.isCurrentPathEqualTo(wt)||K.extras.replaceUrl){const Te={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(wt,"",Te)}else{const Kt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(wt,"",Kt)}}restoreHistory(P,K=!1){if("computed"===this.canceledNavigationResolution){const Kt=this.currentPageId-this.browserPageId;0!==Kt?this.location.historyGo(Kt):this.currentUrlTree===P.finalUrl&&0===Kt&&(this.resetState(P),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(P),this.resetUrlToCurrentUrlTree())}resetState(P){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,P.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(P,K){return"computed"===this.canceledNavigationResolution?{navigationId:P,\u0275routerPageId:K}:{navigationId:P}}static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();var Ue=function(N){return N[N.COMPLETE=0]="COMPLETE",N[N.FAILED=1]="FAILED",N[N.REDIRECTING=2]="REDIRECTING",N}(Ue||{});function Ve(N,W){N.events.pipe((0,St.p)(P=>P instanceof Dt||P instanceof Ce||P instanceof Cr||P instanceof or),(0,tt.T)(P=>P instanceof Dt||P instanceof or?Ue.COMPLETE:P instanceof Ce&&(P.code===ne.Redirect||P.code===ne.SupersededByNewNavigation)?Ue.REDIRECTING:Ue.FAILED),(0,St.p)(P=>P!==Ue.REDIRECTING),(0,Mt.s)(1)).subscribe(()=>{W()})}function Ze(N){throw N}const sr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ir={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ze=(()=>{class N{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(Ot),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Et),this.urlSerializer=(0,o.WQX)(It),this.location=(0,o.WQX)(dt.aZ),this.urlHandlingStrategy=(0,o.WQX)(Is),this._events=new q.B,this.errorHandler=this.options.errorHandler||Ze,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(C),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(Ga,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(es,{optional:!0}),this.eventsSubscription=new ct.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:P=>{this.console.warn(P)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const P=this.navigationTransitions.events.subscribe(K=>{try{const wt=this.navigationTransitions.currentTransition,Kt=this.navigationTransitions.currentNavigation;if(null!==wt&&null!==Kt)if(this.stateManager.handleRouterEvent(K,Kt),K instanceof Ce&&K.code!==ne.Redirect&&K.code!==ne.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Dt)this.navigated=!0;else if(K instanceof Fn){const Te=K.navigationBehaviorOptions,Ar=this.urlHandlingStrategy.merge(K.url,wt.currentRawUrl),pr={browserUrl:wt.extras.browserUrl,info:wt.extras.info,skipLocationChange:wt.extras.skipLocationChange,replaceUrl:wt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||x(wt.source),...Te};this.scheduleNavigation(Ar,he,null,pr,{resolve:wt.resolve,reject:wt.reject,promise:wt.promise})}(function _r(N){return!(N instanceof Uo||N instanceof Fn)})(K)&&this._events.next(K)}catch(wt){this.navigationTransitions.transitionAbortSubject.next(wt)}});this.eventsSubscription.add(P)}resetRootComponentType(P){this.routerState.root.component=P,this.navigationTransitions.rootComponentType=P}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),he,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((P,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(P,"popstate",K)},0)})}navigateToSyncWithBrowser(P,K,wt){const Kt={replaceUrl:!0},Te=wt?.navigationId?wt:null;if(wt){const pr={...wt};delete pr.navigationId,delete pr.\u0275routerPageId,0!==Object.keys(pr).length&&(Kt.state=pr)}const Ar=this.parseUrl(P);this.scheduleNavigation(Ar,K,Te,Kt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(P){this.config=P.map(Ln),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(P,K={}){const{relativeTo:wt,queryParams:Kt,fragment:Te,queryParamsHandling:Ar,preserveFragment:pr}=K,bo=pr?this.currentUrlTree.fragment:Te;let _n,pn=null;switch(Ar??this.options.defaultQueryParamsHandling){case"merge":pn={...this.currentUrlTree.queryParams,...Kt};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=Kt||null}null!==pn&&(pn=this.removeEmptyProps(pn));try{_n=Eo(wt?wt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof P[0]||"/"!==P[0][0])&&(P=[]),_n=this.currentUrlTree.root}return $n(_n,P,pn,bo??null)}navigateByUrl(P,K={skipLocationChange:!1}){const wt=ar(P)?P:this.parseUrl(P),Kt=this.urlHandlingStrategy.merge(wt,this.rawUrlTree);return this.scheduleNavigation(Kt,he,null,K)}navigate(P,K={skipLocationChange:!1}){return function nr(N){for(let W=0;W(null!=Kt&&(K[wt]=Kt),K),{})}scheduleNavigation(P,K,wt,Kt,Te){if(this.disposed)return Promise.resolve(!1);let Ar,pr,bo;Te?(Ar=Te.resolve,pr=Te.reject,bo=Te.promise):bo=new Promise((_n,wn)=>{Ar=_n,pr=wn});const pn=this.pendingTasks.add();return Ve(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(pn))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:wt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:P,extras:Kt,resolve:Ar,reject:pr,promise:bo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bo.catch(_n=>Promise.reject(_n))}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Yr=(()=>{class N{constructor(P,K,wt,Kt,Te,Ar){this.router=P,this.route=K,this.tabIndexAttribute=wt,this.renderer=Kt,this.el=Te,this.locationStrategy=Ar,this.href=null,this.onChanges=new q.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const pr=Te.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pr||"area"===pr,this.isAnchorElement?this.subscription=P.events.subscribe(bo=>{bo instanceof Dt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(P){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",P)}ngOnChanges(P){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(P){null==P?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ar(P)||Array.isArray(P)?P:[P],this.setTabIndexIfNotOnNativeEl("0"))}onClick(P,K,wt,Kt,Te){const Ar=this.urlTree;return!!(null===Ar||this.isAnchorElement&&(0!==P||K||wt||Kt||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ar,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const P=this.urlTree;this.href=null!==P&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(P)):null;const K=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(P,K){const wt=this.renderer,Kt=this.el.nativeElement;null!==K?wt.setAttribute(Kt,P,K):wt.removeAttribute(Kt,P)}get urlTree(){return null===this.routerLinkInput?null:ar(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(ii),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(dt.hb))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,wt){1&K&&o.bIt("click",function(Te){return wt.onClick(Te.button,Te.ctrlKey,Te.shiftKey,Te.altKey,Te.metaKey)}),2&K&&o.BMQ("target",wt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return N})(),Mr=(()=>{class N{get isActive(){return this._isActive}constructor(P,K,wt,Kt,Te){this.router=P,this.element=K,this.renderer=wt,this.cdr=Kt,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.bkB,this.routerEventsSubscription=P.events.subscribe(Ar=>{Ar instanceof Dt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Rt.U)()).subscribe(P=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const P=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,c.H)(P).pipe((0,Rt.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(P){const K=Array.isArray(P)?P:P.split(" ");this.classes=K.filter(wt=>!!wt)}ngOnChanges(P){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const P=this.hasActiveLinks();this.classes.forEach(K=>{P?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),P&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==P&&(this._isActive=P,this.cdr.markForCheck(),this.isActiveChange.emit(P))})}isLinkActive(P){const K=function Gr(N){return!!N.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return wt=>{const Kt=wt.urlTree;return!!Kt&&P.isActive(Kt,K)}}hasActiveLinks(){const P=this.isLinkActive(this.router);return this.link&&P(this.link)||this.links.some(P)}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Yr,8))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLinkActive",""]],contentQueries:function(K,wt,Kt){if(1&K&&o.wni(Kt,Yr,5),2&K){let Te;o.mGM(Te=o.lsd())&&(wt.links=Te)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.OA$]})}}return N})();class Jr{}let Do=(()=>{class N{constructor(P,K,wt,Kt,Te){this.router=P,this.injector=wt,this.preloadingStrategy=Kt,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,St.p)(P=>P instanceof Dt),(0,oe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(P,K){const wt=[];for(const Kt of K){Kt.providers&&!Kt._injector&&(Kt._injector=(0,o.Ol2)(Kt.providers,P,`Route: ${Kt.path}`));const Te=Kt._injector??P,Ar=Kt._loadedInjector??Te;(Kt.loadChildren&&!Kt._loadedRoutes&&void 0===Kt.canLoad||Kt.loadComponent&&!Kt._loadedComponent)&&wt.push(this.preloadConfig(Te,Kt)),(Kt.children||Kt._loadedRoutes)&&wt.push(this.processRoutes(Ar,Kt.children??Kt._loadedRoutes))}return(0,c.H)(wt).pipe((0,Rt.U)())}preloadConfig(P,K){return this.preloadingStrategy.preload(K,()=>{let wt;wt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(P,K):(0,y.of)(null);const Kt=wt.pipe((0,kt.Z)(Te=>null===Te?(0,y.of)(void 0):(K._loadedRoutes=Te.routes,K._loadedInjector=Te.injector,this.processRoutes(Te.injector??P,Te.routes))));if(K.loadComponent&&!K._loadedComponent){const Te=this.loader.loadComponent(K);return(0,c.H)([Kt,Te]).pipe((0,Rt.U)())}return Kt})}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(ze),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Jr),o.KVO(gs))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Io=new o.nKC("");let Xr=(()=>{class N{constructor(P,K,wt,Kt,Te={}){this.urlSerializer=P,this.transitions=K,this.viewportScroller=wt,this.zone=Kt,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration||="disabled",Te.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=P.navigationTrigger,this.restoredId=P.restoredState?P.restoredState.navigationId:0):P instanceof Dt?(this.lastId=P.id,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.urlAfterRedirects).fragment)):P instanceof or&&P.code===Re.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof jn&&(P.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(P.position):P.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(P.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(P,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jn(P,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(K){o.QTQ()}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function tn(N,...W){return(0,o.EmA)([{provide:Ga,multi:!0,useValue:N},[],{provide:ii,useFactory:Xo,deps:[ze]},{provide:o.iLQ,multi:!0,useFactory:Hi},W.map(P=>P.\u0275providers)])}function Xo(N){return N.routerState.root}function En(N,W){return{\u0275kind:N,\u0275providers:W}}function oi(N={}){return En(4,[{provide:Io,useFactory:()=>{const P=(0,o.WQX)(dt.Xr),K=(0,o.WQX)(o.SKi),wt=(0,o.WQX)(Et),Kt=(0,o.WQX)(It);return new Xr(Kt,wt,P,K,N)}}])}function Hi(){const N=(0,o.WQX)(o.zZn);return W=>{const P=N.get(o.o8S);if(W!==P.components[0])return;const K=N.get(ze),wt=N.get(To);1===N.get(uo)&&K.initialNavigation(),N.get(Mi,null,o.$GK.Optional)?.setUpPreloading(),N.get(Io,null,o.$GK.Optional)?.init(),K.resetRootComponentType(P.componentTypes[0]),wt.closed||(wt.next(),wt.complete(),wt.unsubscribe())}}const To=new o.nKC("",{factory:()=>new q.B}),uo=new o.nKC("",{providedIn:"root",factory:()=>1}),Mi=new o.nKC("");function ea(N){return En(0,[{provide:Mi,useExisting:Do},{provide:Jr,useExisting:N}])}function Po(N){return En(9,[{provide:bs,useValue:ac},{provide:fn,useValue:{skipNextTransition:!!N?.skipInitialTransition,...N}}])}const Ii=new o.nKC("ROUTER_FORROOT_GUARD"),Xa=[dt.aZ,{provide:It,useClass:ye},ze,fi,{provide:ii,useFactory:Xo,deps:[ze]},gs,[]];let la=(()=>{class N{constructor(P){}static forRoot(P,K){return{ngModule:N,providers:[Xa,[],{provide:Ga,multi:!0,useValue:P},{provide:Ii,useFactory:ys,deps:[[ze,new o.Xx1,new o.kdw]]},{provide:Ms,useValue:K||{}},K?.useHash?{provide:dt.hb,useClass:dt.fw}:{provide:dt.hb,useClass:dt.Sm},{provide:Io,useFactory:()=>{const N=(0,o.WQX)(dt.Xr),W=(0,o.WQX)(o.SKi),P=(0,o.WQX)(Ms),K=(0,o.WQX)(Et),wt=(0,o.WQX)(It);return P.scrollOffset&&N.setOffset(P.scrollOffset),new Xr(wt,K,N,W,P)}},K?.preloadingStrategy?ea(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?yl(K):[],K?.bindToComponentInputs?En(8,[Vn,{provide:es,useExisting:Vn}]).\u0275providers:[],K?.enableViewTransitions?Po().\u0275providers:[],[{provide:Pc,useFactory:Hi},{provide:o.iLQ,multi:!0,useExisting:Pc}]]}}static forChild(P){return{ngModule:N,providers:[{provide:Ga,multi:!0,useValue:P}]}}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(Ii,8))}}static{this.\u0275mod=o.$C({type:N})}static{this.\u0275inj=o.G2t({})}}return N})();function ys(N){return"guarded"}function yl(N){return["disabled"===N.initialNavigation?En(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const W=(0,o.WQX)(ze);return()=>{W.setUpLocationChangeListener()}}},{provide:uo,useValue:2}]).\u0275providers:[],"enabledBlocking"===N.initialNavigation?En(2,[{provide:uo,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:W=>{const P=W.get(dt.hj,Promise.resolve());return()=>P.then(()=>new Promise(K=>{const wt=W.get(ze),Kt=W.get(To);Ve(wt,()=>{K(!0)}),W.get(Et).afterPreactivation=()=>(K(!0),Kt.closed?(0,y.of)(void 0):Kt),wt.initialNavigation()}))}}]).\u0275providers:[]]}const Pc=new o.nKC("")},6616:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>init,ql:()=>launch});var _home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(467),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6218),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(600),BUILD={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},__defProp$1=Object.defineProperty,__export$1=(i,a)=>{for(var r in a)__defProp$1(i,r,{get:a[r],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,a)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:a,$instanceValues$:new Map}),isMemberInElement=(i,a)=>a in i,consoleError=(i,a)=>(0,console.error)(i,a),styles=new Map,modeResolutionChain=[],SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win=typeof window<"u"?window:{},doc=win.document||{head:{}},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:i=>i(),raf:i=>requestAnimationFrame(i),ael:(i,a,r,o)=>i.addEventListener(a,r,o),rel:(i,a,r,o)=>i.removeEventListener(a,r,o),ce:(i,a)=>new CustomEvent(i,a)},supportsListenerOptions=(()=>{let i=!1;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get(){i=!0}}))}catch{}return i})(),promiseResolve=i=>Promise.resolve(i),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(i,a)=>r=>{i.push(r),queuePending||(queuePending=!0,a&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let a=0;a{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=i=>promiseResolve().then(i),writeTask=queueTask(queueDomWrites,!0),EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=i=>null!=i,isComplexType=i=>"object"==(i=typeof i)||"function"===i;function queryNonceMetaTagContent(i){var a,r,o;return null!=(o=null==(r=null==(a=i.head)?void 0:a.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}var result_exports={};__export$1(result_exports,{err:()=>err,map:()=>map,ok:()=>ok,unwrap:()=>unwrap$1,unwrapErr:()=>unwrapErr});var ok=i=>({isOk:!0,isErr:!1,value:i}),err=i=>({isOk:!1,isErr:!0,value:i});function map(i,a){if(i.isOk){const r=a(i.value);return r instanceof Promise?r.then(o=>ok(o)):ok(r)}if(i.isErr)return err(i.value);throw"should never get here"}var unwrap$1=i=>{if(i.isOk)return i.value;throw i.value},unwrapErr=i=>{if(i.isErr)return i.value;throw i.value},createTime=(i,a="")=>()=>{},h=(i,a,...r)=>{let o=null,s=null,c=null,y=!1,k=!1;const A=[],I=T=>{for(let O=0;OT[O]).join(" "))}}if("function"==typeof i)return i(null===a?{}:a,A,vdomFnUtils);const M=newVNode(i,null);return M.$attrs$=a,A.length>0&&(M.$children$=A),M.$key$=s,M.$name$=c,M},newVNode=(i,a)=>({$flags$:0,$tag$:i,$text$:a,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,a)=>i.map(convertToPublic).forEach(a),map:(i,a)=>i.map(convertToPublic).map(a).map(convertToPrivate)},convertToPublic=i=>({vattrs:i.$attrs$,vchildren:i.$children$,vkey:i.$key$,vname:i.$name$,vtag:i.$tag$,vtext:i.$text$}),convertToPrivate=i=>{if("function"==typeof i.vtag){const r={...i.vattrs};return i.vkey&&(r.key=i.vkey),i.vname&&(r.name=i.vname),h(i.vtag,r,...i.vchildren||[])}const a=newVNode(i.vtag,i.vtext);return a.$attrs$=i.vattrs,a.$children$=i.vchildren,a.$key$=i.vkey,a.$name$=i.vname,a},computeMode=i=>modeResolutionChain.map(a=>a(i)).find(a=>!!a),parsePropertyValue=(i,a)=>null==i||isComplexType(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,getElement=i=>i,createEvent=(i,a,r)=>{const o=getElement(i);return{emit:s=>emitEvent(o,a,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:s})}},emitEvent=(i,a,r)=>{const o=plt.ce(a,r);return i.dispatchEvent(o),o},rootAppliedStyles=new WeakMap,registerStyle=(i,a,r)=>{let o=styles.get(i);supportsConstructableStylesheets&&r?(o=o||new CSSStyleSheet,"string"==typeof o?o=a:o.replaceSync(a)):o=a,styles.set(i,o)},addStyle=(i,a,r)=>{var o;const s=getScopeId(a,r),c=styles.get(s);if(i=11===i.nodeType?i:doc,c)if("string"==typeof c){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(s)){{y=doc.createElement("style"),y.innerHTML=c;const A=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(doc);null!=A&&y.setAttribute("nonce",A),(!(1&a.$flags$)||1&a.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&a.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(s)}}else i.adoptedStyleSheets.includes(c)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,c]);return s},attachStyles=i=>{const a=i.$cmpMeta$,r=i.$hostElement$,o=a.$flags$,s=createTime("attachStyles",a.$tagName$),c=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),a,i.$modeName$);10&o&&2&o&&(r["s-sc"]=c,r.classList.add(c+"-h"),2&o&&r.classList.add(c+"-s")),s()},getScopeId=(i,a)=>"sc-"+(a&&32&i.$flags$?i.$tagName$+"-"+a:i.$tagName$),setAccessor=(i,a,r,o,s,c)=>{if(r!==o){let y=isMemberInElement(i,a),k=a.toLowerCase();if("class"===a){const A=i.classList,I=parseClassList(r),M=parseClassList(o);A.remove(...I.filter(T=>T&&!M.includes(T))),A.add(...M.filter(T=>T&&!I.includes(T)))}else if("style"===a){for(const A in r)o&&null!=o[A]||(A.includes("-")?i.style.removeProperty(A):i.style[A]="");for(const A in o)r&&o[A]===r[A]||(A.includes("-")?i.style.setProperty(A,o[A]):i.style[A]=o[A])}else if("key"!==a)if("ref"===a)o&&o(i);else if(i.__lookupSetter__(a)||"o"!==a[0]||"n"!==a[1]){const A=isComplexType(o);if((y||A&&null!==o)&&!s)try{if(i.tagName.includes("-"))i[a]=o;else{const M=o??"";"list"===a?y=!1:null!=r&&i[a]==M||(i[a]=M)}}catch{}let I=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(a=k,I=!0),null==o||!1===o?!1===o&&""!==i.getAttribute(a)||(I?i.removeAttributeNS(XLINK_NS,a):i.removeAttribute(a)):(!y||4&c||s)&&!A&&(o=!0===o?"":o,I?i.setAttributeNS(XLINK_NS,a,o):i.setAttribute(a,o))}else if(a="-"===a[2]?a.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+a.slice(3),r||o){const A=a.endsWith(CAPTURE_EVENT_SUFFIX);a=a.replace(CAPTURE_EVENT_REGEX,""),r&&plt.rel(i,a,r,A),o&&plt.ael(i,a,o,A)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,a,r)=>{const o=11===a.$elm$.nodeType&&a.$elm$.host?a.$elm$.host:a.$elm$,s=i&&i.$attrs$||EMPTY_OBJ,c=a.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(s)))y in c||setAccessor(o,y,s[y],void 0,r,a.$flags$);for(const y of sortedAttrNames(Object.keys(c)))setAccessor(o,y,s[y],c[y],r,a.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(a=>"ref"!==a),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,a,r,o)=>{var s;const c=a.$children$[r];let y,k,A,I=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===c.$tag$&&(scopeId&&o.classList.add(scopeId+"-s"),c.$flags$|=c.$children$?2:1)),null!==c.$text$)y=c.$elm$=doc.createTextNode(c.$text$);else if(1&c.$flags$)y=c.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===c.$tag$),y=c.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$),isSvgMode&&"foreignObject"===c.$tag$&&(isSvgMode=!1),updateElement(null,c,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,o),c.$children$)for(I=0;I{plt.$flags$|=1;const r=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let o=i;for(;o=o.nextSibling;)o&&o["s-sn"]===i["s-sn"]&&o["s-sh"]===hostTagName&&r.push(o)}for(let o=r.length-1;o>=0;o--){const s=r[o];s["s-hn"]!==hostTagName&&s["s-ol"]&&(insertBefore(parentReferenceNode(s),s,referenceNode(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,checkSlotRelocate=!0),a&&putBackInOriginalLocation(s,a)}plt.$flags$&=-2},addVnodes=(i,a,r,o,s,c)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);s<=c;++s)o[s]&&(y=createElm(null,r,s,i),y&&(o[s].$elm$=y,insertBefore(k,y,referenceNode(a))))},removeVnodes=(i,a,r)=>{for(let o=a;o<=r;++o){const s=i[o];if(s){const c=s.$elm$;nullifyVNodeRefs(s),c&&(checkSlotFallbackVisibility=!0,c["s-ol"]?c["s-ol"].remove():putBackInOriginalLocation(c,!0),c.remove())}}},updateChildren=(i,a,r,o,s=!1)=>{let c,y,k=0,A=0,I=0,M=0,T=a.length-1,O=a[0],L=a[T],Y=o.length-1,z=o[0],q=o[Y];for(;k<=T&&A<=Y;)if(null==O)O=a[++k];else if(null==L)L=a[--T];else if(null==z)z=o[++A];else if(null==q)q=o[--Y];else if(isSameVnode(O,z,s))patch(O,z,s),O=a[++k],z=o[++A];else if(isSameVnode(L,q,s))patch(L,q,s),L=a[--T],q=o[--Y];else if(isSameVnode(O,q,s))"slot"!==O.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(O.$elm$.parentNode,!1),patch(O,q,s),insertBefore(i,O.$elm$,L.$elm$.nextSibling),O=a[++k],q=o[--Y];else if(isSameVnode(L,z,s))"slot"!==O.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(L.$elm$.parentNode,!1),patch(L,z,s),insertBefore(i,L.$elm$,O.$elm$),L=a[--T],z=o[++A];else{for(I=-1,M=k;M<=T;++M)if(a[M]&&null!==a[M].$key$&&a[M].$key$===z.$key$){I=M;break}I>=0?(y=a[I],y.$tag$!==z.$tag$?c=createElm(a&&a[A],r,I,i):(patch(y,z,s),a[I]=void 0,c=y.$elm$),z=o[++A]):(c=createElm(a&&a[A],r,A,i),z=o[++A]),c&&insertBefore(parentReferenceNode(O.$elm$),c,referenceNode(O.$elm$))}k>T?addVnodes(i,null==o[Y+1]?null:o[Y+1].$elm$,r,o,A,Y):A>Y&&removeVnodes(a,k,T)},isSameVnode=(i,a,r=!1)=>!(i.$tag$!==a.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&r&&8!==i.$elm$.nodeType||i.$name$!==a.$name$:!r&&i.$key$!==a.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,a,r=!1)=>{const o=a.$elm$=i.$elm$,s=i.$children$,c=a.$children$,y=a.$tag$,k=a.$text$;let A;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,a,isSvgMode),null!==s&&null!==c?updateChildren(o,s,a,c,r):null!==c?(null!==i.$text$&&(o.textContent=""),addVnodes(o,null,a,c,0,c.length-1)):!r&&BUILD.updatable&&null!==s&&removeVnodes(s,0,s.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(A=o["s-cr"])?A.parentNode.textContent=k:i.$text$!==k&&(o.data=k)},updateFallbackSlotVisibility=i=>{const a=i.childNodes;for(const r of a)if(1===r.nodeType){if(r["s-sr"]){const o=r["s-sn"];r.hidden=!1;for(const s of a)if(s!==r)if(s["s-hn"]!==r["s-hn"]||""!==o){if(1===s.nodeType&&(o===s.getAttribute("slot")||o===s["s-sn"])||3===s.nodeType&&o===s["s-sn"]){r.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){r.hidden=!0;break}}updateFallbackSlotVisibility(r)}},relocateNodes=[],markSlotContentForRelocation=i=>{let a,r,o;for(const s of i.childNodes){if(s["s-sr"]&&(a=s["s-cr"])&&a.parentNode){r=a.parentNode.childNodes;const c=s["s-sn"];for(o=r.length-1;o>=0;o--)if(a=r[o],!a["s-cn"]&&!a["s-nr"]&&a["s-hn"]!==s["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(a,c)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===a);checkSlotFallbackVisibility=!0,a["s-sn"]=a["s-sn"]||c,y?(y.$nodeToRelocate$["s-sh"]=s["s-hn"],y.$slotRefNode$=s):(a["s-sh"]=s["s-hn"],relocateNodes.push({$slotRefNode$:s,$nodeToRelocate$:a})),a["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,a["s-sn"])&&(y=relocateNodes.find(A=>A.$nodeToRelocate$===a),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===a)||relocateNodes.push({$nodeToRelocate$:a})}1===s.nodeType&&markSlotContentForRelocation(s)}},isNodeLocatedInSlot=(i,a)=>1===i.nodeType?null===i.getAttribute("slot")&&""===a||i.getAttribute("slot")===a:i["s-sn"]===a||""===a,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,a,r)=>{const o=i?.insertBefore(a,r);return updateElementScopeIds(a,i),o},findScopeIds=i=>{const a=[];return i&&a.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),a},updateElementScopeIds=(i,a,r=!1)=>{var o;if(i&&a&&1===i.nodeType){const s=new Set(findScopeIds(a).filter(Boolean));if(s.size&&(null==(o=i.classList)||o.add(...i["s-scs"]=[...s]),i["s-ol"]||r))for(const c of Array.from(i.childNodes))updateElementScopeIds(c,i,!0)}},renderVdom=(i,a,r=!1)=>{var o,s,c,y,k;const A=i.$hostElement$,I=i.$cmpMeta$,M=i.$vnode$||newVNode(null,null),T=isHost(a)?a:h(null,null,a);if(hostTagName=A.tagName,I.$attrsToReflect$&&(T.$attrs$=T.$attrs$||{},I.$attrsToReflect$.map(([O,L])=>T.$attrs$[L]=A[O])),r&&T.$attrs$)for(const O of Object.keys(T.$attrs$))A.hasAttribute(O)&&!["key","ref","style","class"].includes(O)&&(T.$attrs$[O]=A[O]);if(T.$tag$=null,T.$flags$|=4,i.$vnode$=T,T.$elm$=M.$elm$=A.shadowRoot||A,scopeId=A["s-sc"],useNativeShadowDom=!!(1&I.$flags$),contentRef=A["s-cr"],checkSlotFallbackVisibility=!1,patch(M,T,r),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(T.$elm$);for(const O of relocateNodes){const L=O.$nodeToRelocate$;if(!L["s-ol"]){const Y=doc.createTextNode("");Y["s-nr"]=L,insertBefore(L.parentNode,L["s-ol"]=Y,L)}}for(const O of relocateNodes){const L=O.$nodeToRelocate$,Y=O.$slotRefNode$;if(Y){const z=Y.parentNode;let q=Y.nextSibling;{let ct=null==(o=L["s-ol"])?void 0:o.previousSibling;for(;ct;){let dt=null!=(s=ct["s-nr"])?s:null;if(dt&&dt["s-sn"]===L["s-sn"]&&z===dt.parentNode){for(dt=dt.nextSibling;dt===L||dt?.["s-sr"];)dt=dt?.nextSibling;if(!dt||!dt["s-nr"]){q=dt;break}}ct=ct.previousSibling}}(!q&&z!==L.parentNode||L.nextSibling!==q)&&L!==q&&(!L["s-hn"]&&L["s-ol"]&&(L["s-hn"]=L["s-ol"].parentNode.nodeName),insertBefore(z,L,q),1===L.nodeType&&(L.hidden=null!=(c=L["s-ih"])&&c)),L&&"function"==typeof Y["s-rf"]&&Y["s-rf"](L)}else 1===L.nodeType&&(r&&(L["s-ih"]=null!=(y=L.hidden)&&y),L.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(T.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&I.$flags$)for(const O of T.$elm$.childNodes)O["s-hn"]===hostTagName||O["s-sh"]||(r&&null==O["s-ih"]&&(O["s-ih"]=null!=(k=O.hidden)&&k),O.hidden=!0);contentRef=void 0},attachToAncestor=(i,a)=>{},scheduleUpdate=(i,a)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,a))),dispatchHooks=(i,a)=>{const r=i.$hostElement$,o=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),s=r;if(!s)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let c;return c=safeCall(s,a?"componentWillLoad":"componentWillUpdate"),c=enqueue(c,()=>safeCall(s,"componentWillRender")),o(),enqueue(c,()=>updateComponent(i,s,a))},enqueue=(i,a)=>isPromisey(i)?i.then(a).catch(r=>{console.error(r),a()}):a(),isPromisey=i=>i instanceof Promise||i&&i.then&&"function"==typeof i.then,updateComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o){const s=a.$hostElement$,c=createTime("update",a.$cmpMeta$.$tagName$);o&&attachStyles(a);const y=createTime("render",a.$cmpMeta$.$tagName$);callRender(a,r,s,o),y(),c(),postUpdateComponent(a)});return function(r,o,s){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,a,r,o)=>{try{renderingRef=a,a=a.render&&a.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,a,o))}catch(s){consoleError(s,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const r=i.$hostElement$,o=createTime("postUpdate",i.$cmpMeta$.$tagName$),s=r;safeCall(s,"componentDidRender"),64&i.$flags$?(safeCall(s,"componentDidUpdate"),o()):(i.$flags$|=64,safeCall(s,"componentDidLoad"),o())},forceUpdate=i=>{{const a=getHostRef(i),r=a.$hostElement$.isConnected;return r&&2==(18&a.$flags$)&&scheduleUpdate(a,!1),r}},safeCall=(i,a,r)=>{if(i&&i[a])try{return i[a](r)}catch(o){consoleError(o)}},getValue=(i,a)=>getHostRef(i).$instanceValues$.get(a),setValue=(i,a,r,o)=>{const s=getHostRef(i),c=i,y=s.$instanceValues$.get(a),k=s.$flags$,A=c;r=parsePropertyValue(r,o.$members$[a][0]);const I=Number.isNaN(y)&&Number.isNaN(r);if(r!==y&&!I){if(s.$instanceValues$.set(a,r),o.$watchers$&&128&k){const M=o.$watchers$[a];M&&M.map(T=>{try{A[T](r,y,a)}catch(O){consoleError(O,c)}})}if(2==(18&k)){if(A.componentShouldUpdate&&!1===A.componentShouldUpdate(r,y,a))return;scheduleUpdate(s,!1)}}},proxyComponent=(i,a,r)=>{var o,s;const c=i.prototype;if(a.$members$||a.$watchers$||i.watchers){i.watchers&&!a.$watchers$&&(a.$watchers$=i.watchers);const y=Object.entries(null!=(o=a.$members$)?o:{});y.map(([k,[A]])=>{(31&A||32&A)&&Object.defineProperty(c,k,{get(){return getValue(this,k)},set(I){setValue(this,k,I,a)},configurable:!0,enumerable:!0})});{const k=new Map;c.attributeChangedCallback=function(A,I,M){plt.jmp(()=>{var T;const O=k.get(A);if(this.hasOwnProperty(O))M=this[O],delete this[O];else{if(c.hasOwnProperty(O)&&"number"==typeof this[O]&&this[O]==M)return;if(null==O){const L=getHostRef(this),Y=L?.$flags$;if(Y&&!(8&Y)&&128&Y&&M!==I){const z=this,q=null==(T=a.$watchers$)?void 0:T[A];q?.forEach(ct=>{null!=z[ct]&&z[ct].call(z,M,I,A)})}return}}this[O]=(null!==M||"boolean"!=typeof this[O])&&M})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=a.$watchers$)?s:{}),...y.filter(([A,I])=>15&I[0]).map(([A,I])=>{var M;const T=I[1]||A;return k.set(T,A),512&I[0]&&(null==(M=a.$attrsToReflect$)||M.push([A,T])),T})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){let c;if(!(32&r.$flags$)&&(r.$flags$|=32,c=a.constructor,customElements.whenDefined(a.localName).then(()=>r.$flags$|=128),c&&c.style)){let y;"string"==typeof c.style?y=c.style:"string"!=typeof c.style&&(r.$modeName$=computeMode(a),r.$modeName$&&(y=c.style[r.$modeName$]));const k=getScopeId(o,r.$modeName$);if(!styles.has(k)){const A=createTime("registerStyles",o.$tagName$);registerStyle(k,y,!!(1&o.$flags$)),A()}}scheduleUpdate(r,!0)});return function(r,o,s,c){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const a=getHostRef(i),r=a.$cmpMeta$,o=createTime("connectedCallback",r.$tagName$);1&a.$flags$?(addHostEventListeners(i,a,r.$listeners$),a?.$lazyInstance$?fireConnectedCallback(a.$lazyInstance$):a?.$onReadyPromise$&&a.$onReadyPromise$.then(()=>fireConnectedCallback(a.$lazyInstance$))):(a.$flags$|=1,12&r.$flags$&&setContentReference(i),r.$members$&&Object.entries(r.$members$).map(([s,[c]])=>{if(31&c&&i.hasOwnProperty(s)){const y=i[s];delete i[s],i[s]=y}}),initializeComponent(i,a,r)),o()}},setContentReference=i=>{const a=i["s-cr"]=doc.createComment("");a["s-cn"]=!0,insertBefore(i,a,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){if(!(1&plt.$flags$)){const r=getHostRef(a);r.$rmListeners$&&(r.$rmListeners$.map(o=>o()),r.$rmListeners$=void 0)}});return function(r){return i.apply(this,arguments)}}(),proxyCustomElement=(i,a)=>{const r={$flags$:a[0],$tagName$:a[1]};r.$members$=a[2],r.$listeners$=a[3],r.$watchers$=i.$watchers$,r.$attrsToReflect$=[];const o=i.prototype.connectedCallback,s=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,r)},connectedCallback(){const c=getHostRef(this);addHostEventListeners(this,c,r.$listeners$),connectedCallback(this),o&&o.call(this)},disconnectedCallback(){disconnectedCallback(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${r.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)})}}),i.is=r.$tagName$,proxyComponent(i,r)},Fragment=(i,a)=>a,addHostEventListeners=(i,a,r,o)=>{r&&r.map(([s,c,y])=>{const k=getHostListenerTarget(i,s),A=hostListenerProxy(a,y),I=hostListenerOpts(s);plt.ael(k,c,A,I),(a.$rmListeners$=a.$rmListeners$||[]).push(()=>plt.rel(k,c,A,I))})},hostListenerProxy=(i,a)=>r=>{try{BUILD.lazyLoad||i.$hostElement$[a](r)}catch(o){consoleError(o)}},getHostListenerTarget=(i,a)=>4&a?doc:8&a?win:16&a?doc.body:i,hostListenerOpts=i=>supportsListenerOptions?{passive:!!(1&i),capture:!!(2&i)}:!!(2&i),CURRENT_MODULE,METHOD_MODULE,i;i=CURRENT_MODULE||(CURRENT_MODULE={}),i.WELCOME="welcome",i.WELCOME_LOGIN="welcome-login",i.WELCOME_SIGNUP="welcome-signup",i.INFO="info",i.LOGIN_BUNKER_URL="login-bunker-url",i.LOGIN_READ_ONLY="login-read-only",i.CONFIRM_LOGOUT="confirm-logout",i.IMPORT_FLOW="import",i.LOGIN="login",i.SIGNUP="signup",i.LOCAL_SIGNUP="local-signup",i.EXTENSION="extension",i.LOADING="loading",i.PREVIOUSLY_LOGGED="switch-account",i.LOGIN_OTP="otp",i.CONNECT="connect",i.CONNECTION_STRING="connection-string",function(i){i.LOGIN="login",i.SIGNUP="signup",i.LOGOUT="logout",i.CONFIRM="confirm"}(METHOD_MODULE||(METHOD_MODULE={}));const appendToMap=(i,a,r)=>{const o=i.get(a);o?o.includes(r)||o.push(r):i.set(a,[r])},debounce=(i,a)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>{r=0,i(...o)},a)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let a of i.keys())i.set(a,i.get(a).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:a=>{const r=getRenderingRef();r&&appendToMap(i,a,r)},set:a=>{const r=i.get(a);r&&i.set(a,r.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(a=>a.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,a=(r,o)=>r!==o)=>{const r=unwrap(i);let o=new Map(Object.entries(r??{}));const s={dispose:[],get:[],set:[],reset:[]},c=()=>{var M;o=new Map(Object.entries(null!==(M=unwrap(i))&&void 0!==M?M:{})),s.reset.forEach(T=>T())},y=M=>(s.get.forEach(T=>T(M)),o.get(M)),k=(M,T)=>{const O=o.get(M);a(T,O,M)&&(o.set(M,T),s.set.forEach(L=>L(M,T,O)))},A=typeof Proxy>"u"?{}:new Proxy(r,{get:(M,T)=>y(T),ownKeys:M=>Array.from(o.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(M,T)=>o.has(T),set:(M,T,O)=>(k(T,O),!0)}),I=(M,T)=>(s[M].push(T),()=>{removeFromArray(s[M],T)});return{state:A,get:y,set:k,on:I,onChange:(M,T)=>{const O=I("set",(Y,z)=>{Y===M&&T(z)}),L=I("reset",()=>T(unwrap(i)[M]));return()=>{O(),L()}},use:(...M)=>{const T=M.reduce((O,L)=>(L.set&&O.push(I("set",L.set)),L.get&&O.push(I("get",L.get)),L.reset&&O.push(I("reset",L.reset)),L.dispose&&O.push(I("dispose",L.dispose)),O),[]);return()=>T.forEach(O=>O())},dispose:()=>{s.dispose.forEach(M=>M()),c()},reset:c,forceUpdate:M=>{const T=o.get(M);s.set.forEach(O=>O(M,T,T))}}},removeFromArray=(i,a)=>{const r=i.indexOf(a);r>=0&&(i[r]=i[i.length-1],i.length--)},createStore=(i,a)=>{const r=createObservableMap(i,a);return r.use(stencilSubscription()),r},{state,onChange}=createStore({screen:CURRENT_MODULE.WELCOME,prevScreen:CURRENT_MODULE.WELCOME,path:[CURRENT_MODULE.WELCOME],error:"",isLoading:!1,isLoadingExtension:!1,isOTP:!1,authUrl:"",localSignup:!1,nlSignin:{loginName:""},nlSignup:{signupName:"",domain:"",servers:[{name:"@nsec.app",value:"nsec.app"},{name:"@highlighter.com",value:"highlighter.com"}]},nlSigninBunkerUrl:{loginName:""},nlSigninReadOnly:{loginName:""},nlSigninOTP:{loginName:"",code:""},nlImport:{nostrConnect:"",relay:""}});onChange("screen",()=>{state.error="",state.nlSignin.loginName="",state.nlSignup.signupName="",state.nlSignup.domain=""});const buttonBaseCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.h-0{height:0}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-16{width:64px}.w-44{width:176px}.w-52{width:208px}.w-6{width:24px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.min-w-40{min-width:160px}.max-w-40{max-width:160px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.gap-x-2{column-gap:8px}.text-nowrap{text-wrap:nowrap}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border-\\[0px\\]{border-width:0}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-xs{font-size:12px;line-height:16px}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.transition-all{transition-duration:.15s;transition-property:all}.ease-in-out,.transition-all{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border-t-\\[1px\\]{border-top-width:1px}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}",ButtonBaseStyle0=buttonBaseCss,ButtonBase=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}componentDidRender(){const i=this.element.querySelector("svg");i&&(i.classList.add("flex-shrink-0","w-4","h-4","block"),i.removeAttribute("style"))}render(){return h("div",{key:"fd503ba6a6e4523b510f85fa8eb35d64af6616f3",class:`theme-${this.theme}`},h("button",{key:"2341cc507577b37f0309eda12b3516e2abb468a2",disabled:this.disabled,type:"button",class:"nl-button py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},h("slot",{key:"7bdd086b67b7662ab913e93ddab8fdb05b4e2805",name:"icon-start"}),this.titleBtn))}get element(){return this}static get style(){return ButtonBaseStyle0}},[4,"button-base",{theme:[1025],darkMode:[1028,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$n(){typeof customElements>"u"||["button-base"].forEach(i=>{"button-base"===i&&(customElements.get(i)||customElements.define(i,ButtonBase))})}defineCustomElement$n();const nlConfirmLogoutCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConfirmLogoutStyle0=nlConfirmLogoutCss,NlConfirmLogout=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleBackUpModal=createEvent(this,"handleBackUpModal",7),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.titleModal="Delete keys?",this.description="Your profile keys are stored in this browser tab and will be deleted if you log out, and your profile will be inaccessible."}handleLogout(){this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.nlCloseModal.emit()}handleCancel(){this.nlCloseModal.emit()}handleBackUp(){state.path=[CURRENT_MODULE.IMPORT_FLOW]}render(){return h("div",{key:"cc17a91048cddc093676cec3f7f1f41a4e3bc765",class:"p-4 overflow-y-auto"},h("h1",{key:"1120e3b34cbd42110b76c3774f0a2dcba43c1711",class:"nl-title font-bold text-center text-4xl"},this.titleModal),h("p",{key:"09a3b077d82c7d32fa4da4987198c81316155c2d",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description),h("div",{key:"9c5ed8fc1ac5220e93d72e02a3ec8bffd127b27f",class:"mt-3 ml-auto mr-auto w-60 flex flex-col gap-2"},h("button-base",{key:"1f9c9b8b0c994ccb92706105a92e59136bdcdb2f",onClick:()=>this.handleBackUp(),titleBtn:"Backup keys",theme:"lemonade"}),h("button-base",{key:"bbb5ed3483b1b46ac2016acfdd082b8eb3403565",onClick:()=>this.handleLogout(),theme:"crab",titleBtn:"Logout and delete keys"})))}static get style(){return NlConfirmLogoutStyle0}},[0,"nl-confirm-logout",{titleModal:[1,"title-modal"],description:[1]}]);function defineCustomElement$m(){typeof customElements>"u"||["nl-confirm-logout","button-base"].forEach(i=>{switch(i){case"nl-confirm-logout":customElements.get(i)||customElements.define(i,NlConfirmLogout);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$m();const nlConnectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConnectStyle0=nlConnectCss,NlConnect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnect=createEvent(this,"nlNostrConnect",7),this.titleWelcome="Connect to key store",this.authMethods=[],this.hasOTP=!1,this.connectionStringServices=[],this.isOpenAdvancedLogin=!1}handleChangeScreen(i){state.path=[...state.path,i]}handleOpenAdvanced(){this.isOpenAdvancedLogin=!this.isOpenAdvancedLogin}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}componentWillLoad(){}handleOpenLink(i){this.nlNostrConnect.emit(i)}render(){const i=(this.isOpenAdvancedLogin?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-blue-500";return h(Fragment,{key:"1734363a22bf47aea8b41fc54696482dedd91e1c"},h("div",{key:"0b6b579442514815b57da027e849820a95a73cea",class:"p-4 overflow-y-auto"},h("h1",{key:"dad1e22099a1fde4ece1fae2617e7c73cc42aac5",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"ffdf8ff49e45a68cc545ddcd88977309b3b43a30",class:"p-4"},!!this.connectionStringServices.length&&h("div",{key:"f520127eb53001b3439d39e12cabf387321f9f41",class:"max-w-96 mx-auto pt-5"},h("p",{key:"f2defd241991995ef1ae21f54e9aa60decb9fbfe",class:"nl-description font-medium text-sm pb-1.5"},"Select key store:"),h("ul",{key:"eb13569f5bf6e6a396f77e288907d164877661c7",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.connectionStringServices.map(a=>h("li",null,h("a",{href:a.link,target:"_blank",onClick:()=>this.handleOpenLink(a.relay),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-300 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a.img?h("img",{class:"w-full rounded-full",src:a.img,alt:a.name}):h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#9ca3af",class:"w-4 h-4 block"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},a.name)))))))),h("div",{key:"e5d8b631dc6f226de089094f5b1a618387e53b13",class:"max-w-52 mx-auto pb-5"},(this.allowAuthMethod("connect")||this.allowAuthMethod("readOnly"))&&h("div",{key:"9f180499d91ce85e3220b1c01a7100dc43436250",class:"flex justify-center"},h("div",{key:"1e7150301d9b9f6fb2c617833728bdfb1bdc7ff6",onClick:()=>this.handleOpenAdvanced(),class:"text-blue-500 mt-3 decoration-dashed cursor-pointer inline-flex gap-2 items-center pb-1 border-dashed border-b-[1px] border-blue-500 text-sm font-light"},"Advanced",h("svg",{key:"25d75cf514b5aa565882da8810732274ef268e84",class:i,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"82ff6cc210c408bc936b1d99156cf24e44b3bb47",d:"m6 9 6 6 6-6"})))),h("div",{key:"a9e4973c918e98f9858283d7910d7583958eeee6",class:(this.isOpenAdvancedLogin?"max-h-[500px] mt-3 duration-300":"max-h-0 mt-0 duration-[0.25s]")+" transition-max-height ease-in flex gap-3 flex-col overflow-hidden"},this.allowAuthMethod("connect")&&h("button-base",{key:"b0bc64c50c4961aa782cefa9a4f861a038f9179a",titleBtn:"User name",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN)},h("svg",{key:"e3d75127673c52bb03ccad55d2c6542afd496710",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},h("path",{key:"826f8a8d89353d29c81a69325bb1b2fd08fe587d","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"aed22d0c3261fe329dce8b85cd538064122c8ff4",titleBtn:"Connection string",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECTION_STRING)},h("svg",{key:"3152d79247973a849dfa94350acc27cc9a818ce1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"054b5a956d77e8913c3055a3fea4931910734ae1","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),h("path",{key:"c10dbf07fd8499263a3e1460c92749e4c5217d1b","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"348375d8ac51c14d66fa25a77665b6b7a5a93d9a",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_BUNKER_URL),titleBtn:"Bunker URL"},h("svg",{key:"4d62028c6dbafa67aa952299cabc7a620ea20275",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"da623db3500829ff12727c36a0ee6c4f4867a139","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))))))}static get style(){return NlConnectStyle0}},[0,"nl-connect",{titleWelcome:[1,"title-welcome"],authMethods:[16],hasOTP:[4,"has-o-t-p"],connectionStringServices:[16],isOpenAdvancedLogin:[32]}]);function defineCustomElement$l(){typeof customElements>"u"||["nl-connect","button-base"].forEach(i=>{switch(i){case"nl-connect":customElements.get(i)||customElements.define(i,NlConnect);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$l();const nlSelectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSelectStyle0=nlSelectCss,NlSelect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.selectDomain=createEvent(this,"selectDomain",7),this.isOpen=!1,this.value=null,this.options=void 0,this.selected=void 0,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode,this.value=this.options[this.selected],this.selectDomain.emit(this.value.value)}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.value=i,this.isOpen=!1,this.selectDomain.emit(this.value.value)}render(){const i=(this.isOpen?"listClass":"hidden")+" min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500";return h("div",{key:"c5fb00e7a9dc2acbe6b8a0b3c7d6f0aaaa945ded",class:`theme-${this.themeState}`},h("div",{key:"75a6cc368af855bcf0baeb697aac5c77b26537dc",class:"relative",ref:r=>this.wrapperRef=r},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",ref:r=>this.buttonRef=r,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"d0667eba7a0cf9ccb7bb043e5856ec41a97a8fcc",d:"m6 9 6 6 6-6"}))),h("ul",{key:"bfd9ebf3c17fa62d84f29204d901650fabe14c03",ref:r=>this.ulRef=r,class:i},this.options.map(r=>h("li",{onClick:()=>this.handleChange(r),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},r.name)))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}}static get style(){return NlSelectStyle0}},[0,"nl-select",{options:[16],selected:[2],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],value:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}]);function defineCustomElement$k(){typeof customElements>"u"||["nl-select"].forEach(i=>{"nl-select"===i&&(customElements.get(i)||customElements.define(i,NlSelect))})}defineCustomElement$k();const nlImportFlowCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlImportFlowStyle0=nlImportFlowCss,NlImportFlow=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlImportAccount=createEvent(this,"nlImportAccount",7),this.nlExportKeys=createEvent(this,"nlExportKeys",7),this.titleInfo="Back up your keys",this.titleImport="Choose a service",this.textImport="Your Nostr keys will be imported into this provider, and you will manage your keys on their website.",this.services=[],this.isAvailable=!1,this.isContinued=!1,this.isKeyBackup=!1,this.isCopy=!1}handleDomainSelect(i){const a=this.services.find(r=>r.domain===i.detail);state.nlImport.relay=a.relay,state.nlImport.nostrConnect=a.link}handleCreateAccount(i){i.preventDefault(),window.open(state.nlImport.nostrConnect,"_blank"),this.nlImportAccount.emit(state.nlImport.relay)}handleContinue(){this.isContinued=!0}handleContinueKeyBackup(){this.isKeyBackup=!0}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.nlExportKeys.emit(),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)})()}render(){if(!this.isContinued&&!this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleInfo),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Nostr profiles are controlled by cryptographic keys.",h("br",null),h("br",null),"Your keys are currently only stored in this browser tab, and may be lost if you close it.",h("br",null),h("br",null),"You should backup your keys.",h("br",null),h("br",null),"We recommend to import your keys into a key store service, to protect them and to use with other apps."),h("div",{class:"ml-auto mr-auto w-72"},h("button-base",{onClick:()=>this.handleContinue(),titleBtn:"Import to key store"})),h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.handleContinueKeyBackup(),titleBtn:"Export keys"})));if(this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},"Key export"),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Copy your keys and store them in a safe place, like a password manager.",h("br",null),h("br",null),"You can sign into other Nostr apps by pasting your keys into them.",h("br",null),h("br",null),"Your keys are like your password, never share them with anyone."),h("div",{class:"max-w-72 mx-auto"},h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.copyToClipboard(),titleBtn:this.isCopy?"Copied!":"Copy to clipboard"}))));const i=this.services.map(a=>({name:a.domain,value:a.domain}));return h(Fragment,null,h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleImport),h("p",{class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},"Your Nostr keys will be imported into the service you choose. You will manage your keys on their website.")),h("div",{class:"max-w-72 mx-auto mb-5"},h("div",{class:"mb-0.5"},h("nl-select",{onSelectDomain:a=>this.handleDomainSelect(a),selected:0,options:i})),h("p",{class:"nl-title font-light text-sm mb-2"},"Default provider is a fine choice to start with."),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{disabled:state.isLoading,onClick:a=>this.handleCreateAccount(a),titleBtn:"Start importing"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlImportFlowStyle0}},[0,"nl-import-flow",{titleInfo:[1025,"title-info"],titleImport:[1,"title-import"],textImport:[1,"text-import"],services:[16],isAvailable:[32],isContinued:[32],isKeyBackup:[32],isCopy:[32]}]);function defineCustomElement$j(){typeof customElements>"u"||["nl-import-flow","button-base","nl-select"].forEach(i=>{switch(i){case"nl-import-flow":customElements.get(i)||customElements.define(i,NlImportFlow);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$j();const nlInfoCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoStyle0=nlInfoCss,NlInfo=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"369813cd9991a71e8578b3afd09228850a956cc5",class:"p-4 overflow-y-auto"},h("svg",{key:"463d3d38cbaea31e5316b563491f6f6e3162f4ce",class:"w-12 h-12 mx-auto mb-2",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{key:"5d77b33d54a376edffc6a4edf8ccabf8890bf5e4",width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{key:"7c8f8dd801f357378e9518879af15368f7652793",d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("h1",{key:"964eeb119baa8053a11a7a9ebf860297e94d213c",class:"nl-title font-bold text-center text-4xl"},"Nostr ",h("span",{key:"6197de00428856facf31bdeae0fdc6adc2472b59",class:"font-light"},"Login")))}static get style(){return NlInfoStyle0}},[0,"nl-info"]);function defineCustomElement$i(){typeof customElements>"u"||["nl-info"].forEach(i=>{"nl-info"===i&&(customElements.get(i)||customElements.define(i,NlInfo))})}defineCustomElement$i();const nlInfoExtensionCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoExtensionStyle0=nlInfoExtensionCss,NlInfoExtension=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"c4fede7840388bd72cd9adc25e94ff4521797caf",class:"p-4 overflow-y-auto"},state.isLoadingExtension?h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Signing in..."),h("div",{class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error))):h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Install browser extension!"),h("p",{class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Try"," ",h("a",{href:"https://chromewebstore.google.com/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj",target:"_blank"},"Blockcore"),","," ",h("a",{href:"https://getalby.com",target:"_blank"},"Alby"),","," ",h("a",{href:"https://chromewebstore.google.com/detail/nos2x/kpgefcfmnafjgpblomihpgmejjdanjjp",target:"_blank"},"nos2x")," ","or"," ",h("a",{href:"https://apps.apple.com/us/app/nostore/id1666553677",target:"_blank"},"Nostore"))))}static get style(){return NlInfoExtensionStyle0}},[0,"nl-info-extension"]);function defineCustomElement$h(){typeof customElements>"u"||["nl-info-extension"].forEach(i=>{"nl-info-extension"===i&&(customElements.get(i)||customElements.define(i,NlInfoExtension))})}defineCustomElement$h();const nlLoadingCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLoadingStyle0=nlLoadingCss,NlLoading=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.stopFetchHandler=createEvent(this,"stopFetchHandler",7),this.handleContinue=createEvent(this,"handleContinue",7),this.path=void 0}handleStop(i){i.preventDefault(),this.stopFetchHandler.emit()}handleContinueClick(i){i.preventDefault(),this.handleContinue.emit()}render(){let i="Connecting...",a="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",a="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",a="Please confirm the connection in your key storage app."):(i="Almost ready!",a="Continue to confirm the connection to your key storage."));const r=this.path!==CURRENT_MODULE.LOCAL_SIGNUP;return h("div",{key:"630b1ac3e32165dd32595466aa5476457aaa89d9",class:"p-4 overflow-y-auto"},h("h1",{key:"d9913644604598614d281d85d93f4f331f1a9261",class:"nl-title font-bold text-center text-4xl"},i),h("p",{key:"822f15bfc3a61f822d803c7e7f3b5101bab42eaa",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},a),!state.authUrl&&state.isLoading&&h("div",{key:"3989eac9b421e2452c96460fd86098cf01e3c07f",class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{key:"748523db8207aef49f449a0c25070f15097517fb",slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{key:"5c4716cac822e50abefdd524ca77cb854bead2fe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"1c7a0df8bc547416f24f53c0243a1e6fe944e067",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),r&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:o=>{state.authUrl&&!state.isLoading?this.handleContinueClick(o):this.handleStop(o)},titleBtn:state.isLoading?"Cancel":"Continue"})))}static get style(){return NlLoadingStyle0}},[0,"nl-loading",{path:[1]}]);function defineCustomElement$g(){typeof customElements>"u"||["nl-loading","button-base"].forEach(i=>{switch(i){case"nl-loading":customElements.get(i)||customElements.define(i,NlLoading);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$g();const nlLocalSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLocalSignupStyle0=nlLocalSignupCss,NlLocalSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLocalSignup=createEvent(this,"nlLocalSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create Nostr profile",this.description="Choose any username, you can always change it later.",this.isAvailable=!1}handleInputChange(i){state.nlSignup.signupName=i.target.value}handleCreateAccount(i){i.preventDefault(),this.nlLocalSignup.emit(`${state.nlSignup.signupName}`)}render(){return h(Fragment,{key:"f707cc6eaa61b36b52daf2f61360fab0f37fcc3e"},h("div",{key:"7cc640ec75dc80a0f84c3d5db3bcdffe2bb46c45",class:"p-4 overflow-y-auto"},h("h1",{key:"c4ef87db38b1aef19258950b4b4703f992ede847",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"45ecaf37bf71fcb965f333b1c788dce26806413a",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"1cea94ff9de943dfea8f1b8cc39c30af82aa66a9",class:"max-w-72 mx-auto"},h("div",{key:"202d4e7c5def553c36a735003a1a23903ee4735b",class:"relative mb-2"},h("input",{key:"41502ef89f2433915b37caace4c7cdd7fb86b7b1",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Enter username",value:state.nlSignup.signupName}),h("div",{key:"efc7d9fbd45da136b002d42a9403b34d9e654f50",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"8ff89d5922b3091c4b212a89932e41bd8db7ec09",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"e6aeac8d4b82fc3b08995825eb0eb481a3a8bdd1","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"a3fef381cdbd14c931e7f6940627a4af51063d8a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"869dc7e661e5840b4d2ce3091b0112596cc4629b",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"da8429619571547e8a1c1a21418c4d6452f86571",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlLocalSignupStyle0}},[0,"nl-local-signup",{titleSignup:[1,"title-signup"],description:[1],isAvailable:[32]}]);function defineCustomElement$f(){typeof customElements>"u"||["nl-local-signup","button-base"].forEach(i=>{switch(i){case"nl-local-signup":customElements.get(i)||customElements.define(i,NlLocalSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$f();const NlLoginStatus=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.info=void 0}render(){let i="",a="";if("extension"===this.info.authMethod)i="Extension",a="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",a="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",a="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",a="border-red-300 text-red-600 bg-red-100";else{if("otp"!==this.info.authMethod)throw console.log("unknown auth method",this.info),new Error("Unknown auth method");i="Delegated",a="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${a} rounded-xl border w-auto text-[10px] px-1 `},i))}},[0,"nl-login-status",{info:[16]}]);function defineCustomElement$e(){typeof customElements>"u"||["nl-login-status"].forEach(i=>{"nl-login-status"===i&&(customElements.get(i)||customElements.define(i,NlLoginStatus))})}defineCustomElement$e();const nlPreviouslyLoggedCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.active{animation:blink .7s infinite alternate}@keyframes blink{0%{opacity:1}to{opacity:0}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlPreviouslyLoggedStyle0=nlPreviouslyLoggedCss,NlPreviouslyLogged=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSwitchAccount=createEvent(this,"nlSwitchAccount",7),this.nlLoginRecentAccount=createEvent(this,"nlLoginRecentAccount",7),this.nlRemoveRecent=createEvent(this,"nlRemoveRecent",7),this.titlePage="Your profiles",this.description="Switch between active profiles or choose a recent one for fast login.",this.accounts=[],this.recents=[]}handleGoToWelcome(){state.path=[CURRENT_MODULE.WELCOME]}switchToWelcomeIfEmpty(){this.recents.length||this.accounts.length||(state.path=[CURRENT_MODULE.WELCOME])}watchAccounts(){this.switchToWelcomeIfEmpty()}watchRecents(){this.switchToWelcomeIfEmpty()}handleRemoveRecent(i){this.nlRemoveRecent.emit(i)}handleSwitch(i){this.nlSwitchAccount.emit(i)}handleLoginRecentAccount(i){this.nlLoginRecentAccount.emit(i)}render(){return h(Fragment,{key:"efe95984bfeb92cc0fe4b8ac29f209af81c2de78"},h("div",{key:"26ef58fd8df4b6908bcb9771b4a5b1c75e9ad097",class:"p-4 pt-0 overflow-y-auto"},h("h1",{key:"a8dd74eb5ba5c521b06e93b70c2104bc9179efd6",class:"nl-title font-bold text-center text-4xl"},this.titlePage),h("p",{key:"651425e336bf01d0902e836efee083118c98bdbf",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"c65adbe0a74df16268ff7f8c7911d4e9ab637619",class:"p-4"},!!this.accounts.length&&h("div",{key:"0a3f9419b4d19eca86144406691a9b2ed8584440",class:"max-w-96 mx-auto"},h("p",{key:"ee339f628c757c3218d3f4728097136f1879b28b",class:"nl-description font-medium text-sm pb-1.5"},"Active profiles"),h("ul",{key:"d6090b1380be40705af3b725255f7da826ae9b7a",class:"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5"},this.accounts.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleSwitch(i),class:"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between"},h("div",{class:"flex items-center gap-x-3.5 w-full"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl"},h("div",{class:"active h-1.5 w-1.5 bg-green-500 rounded-xl"})),h("div",{class:"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i}))))}))),!!this.recents.length&&h("div",{key:"f2e8514d062979f626de9f71e06e01990c33624e",class:"max-w-96 mx-auto pt-5"},h("p",{key:"e52d1f0d5be0eb4a8a42004df6a7192d7b458838",class:"nl-description font-medium text-sm pb-1.5"},"Recent profiles"),h("ul",{key:"b508e9b26d52ab25b3c18c12cf20e94929a0d34f",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.recents.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleLoginRecentAccount(i),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-3 h-3"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i})),h("svg",{onClick:s=>{s.stopPropagation(),this.handleRemoveRecent(i)},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})))})))),h("div",{key:"71ef71b8cc45811c45d04f2460855d90c932d42c",class:"p-4 overflow-y-auto"},h("p",{key:"40b0f783bf7d9946fbe3e0b915bd01cd7e42a468",class:"nl-footer font-light text-center text-sm max-w-96 mx-auto"},"You can also"," ",h("span",{key:"2689126b8e8d9e7ff01cfc35e682bf698856f363",onClick:()=>this.handleGoToWelcome(),class:"cursor-pointer pb-3 text-blue-500"},"add another profile"))))}static get watchers(){return{accounts:["watchAccounts"],recents:["watchRecents"]}}static get style(){return NlPreviouslyLoggedStyle0}},[0,"nl-previously-logged",{titlePage:[1,"title-page"],description:[1],accounts:[16],recents:[16]},void 0,{accounts:["watchAccounts"],recents:["watchRecents"]}]);function defineCustomElement$d(){typeof customElements>"u"||["nl-previously-logged","nl-login-status"].forEach(i=>{switch(i){case"nl-previously-logged":customElements.get(i)||customElements.define(i,NlPreviouslyLogged);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$d();const nlSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninStyle0=nlSigninCss,NlSignin=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect to key store",this.description="Please enter your user name.",this.isGood=!1}handleInputChange(i){state.nlSignin.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSignin.loginName)}render(){return h(Fragment,{key:"db38daf19a106f820747dc29ed9074b3a5be41e1"},h("div",{key:"d08c760b6fda83b5affc616657edd1f160b50741",class:"p-4 overflow-y-auto"},h("h1",{key:"0de9a5982d277facf5b9c0bf663cf37b60e5e35a",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"c0f1cf7037c472358e65e34d9bfd6568522d85e2",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"2221e32fa5487fd2ec05239e4ae16b5393833f9a",class:"max-w-72 mx-auto"},h("div",{key:"7aefa39fe14a818c5188c771451f6f5f50183458",class:"relative mb-2"},h("input",{key:"36113042568bc9b00cd910485eb8adea268c2518",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"name@domain.com",value:state.nlSignin.loginName}),h("div",{key:"9a4dfa1f8c18ea963e26bcd981c81fe697abc546",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"14ed5cc346c25ebeaa49f983527d1e3efadef53c",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"99af82eb37b8812bc49ab15e3d809243db635c75","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"74f43932e9aab6afb37d9d129b207d9ad1d2ce5a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"09a2a638a8c47f6debf28a6159d16cff7cc2694e",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d5735f567247f415e04dca13e1b30ccfa62aea7b",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninStyle0}},[0,"nl-signin",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$c(){typeof customElements>"u"||["nl-signin","button-base"].forEach(i=>{switch(i){case"nl-signin":customElements.get(i)||customElements.define(i,NlSignin);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$c();const nlSigninBunkerUrlCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninBunkerUrlStyle0=nlSigninBunkerUrlCss,NlSigninBunkerUrl=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect with bunker url",this.description="Please enter a bunker url provided by key store.",this.isGood=!1}handleInputChange(i){state.nlSigninBunkerUrl.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSigninBunkerUrl.loginName)}render(){return h(Fragment,{key:"97fc0661bee87364f3ea9f72d4bec657e1b64ddc"},h("div",{key:"0636b0505c49d5e3c3d37bc7b0a66b1acfe38a3e",class:"p-4 overflow-y-auto"},h("h1",{key:"c3c4baf3bfc693a42a62b5a66e7af65c852f177b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"9ab0b3537ab790a834b6ad57b6dfcfc77337dd3c",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"4fe3349e769a2e1c75040b7306674461a47222b3",class:"max-w-72 mx-auto"},h("div",{key:"1eb4ce411f4ef92da4b437162cb06e9db2709f49",class:"relative mb-2"},h("input",{key:"360eac0e0606901336c14fb7f7e836e0e592defc",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"bunker://...",value:state.nlSigninBunkerUrl.loginName}),h("div",{key:"0cb3e1f39ecb8eafa3c39be65566731c41f79ccb",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"dd764bce7d06f3132312c083b520dc15e0185b89",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"8a6107e9f82bc3bf70fcc81be04bf9191321dd8e","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})))),h("div",{key:"ed1c621171950bdb3f1b1c4f4b67a73c74e95ec4",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"8b38d4721e6f4ad85ef0e2d9fabba152a7a649eb",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d9dc061a5b63ae3b8eec4fb40a9c5b5be1489471",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninBunkerUrlStyle0}},[0,"nl-signin-bunker-url",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$b(){typeof customElements>"u"||["nl-signin-bunker-url","button-base"].forEach(i=>{switch(i){case"nl-signin-bunker-url":customElements.get(i)||customElements.define(i,NlSigninBunkerUrl);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$b();var browser$1={},canPromise$1=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1$1.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return 4*i+17},utils$1$1.getSymbolTotalCodewords=function(i){return CODEWORDS_COUNT[i]},utils$1$1.getBCHDigit=function(i){let a=0;for(;0!==i;)a++,i>>>=1;return a},utils$1$1.setToSJISFunction=function(i){if("function"!=typeof i)throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=i},utils$1$1.isKanjiModeEnabled=function(){return void 0!==toSJISFunction},utils$1$1.toSJIS=function(i){return toSJISFunction(i)};var errorCorrectionLevel={},exports;function BitBuffer$1(){this.buffer=[],this.length=0}exports=errorCorrectionLevel,exports.L={bit:1},exports.M={bit:0},exports.Q={bit:3},exports.H={bit:2},exports.isValid=function(i){return i&&void 0!==i.bit&&i.bit>=0&&i.bit<4},exports.from=function(i,a){if(exports.isValid(i))return i;try{return function(r){if("string"!=typeof r)throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return exports.L;case"m":case"medium":return exports.M;case"q":case"quartile":return exports.Q;case"h":case"high":return exports.H;default:throw new Error("Unknown EC Level: "+r)}}(i)}catch{return a}},BitBuffer$1.prototype={get:function(i){const a=Math.floor(i/8);return 1==(this.buffer[a]>>>7-i%8&1)},put:function(i,a){for(let r=0;r>>a-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const a=Math.floor(this.length/8);this.buffer.length<=a&&this.buffer.push(0),i&&(this.buffer[a]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}BitMatrix$1.prototype.set=function(i,a,r,o){const s=i*this.size+a;this.data[s]=r,o&&(this.reservedBit[s]=!0)},BitMatrix$1.prototype.get=function(i,a){return this.data[i*this.size+a]},BitMatrix$1.prototype.xor=function(i,a,r){this.data[i*this.size+a]^=r},BitMatrix$1.prototype.isReserved=function(i,a){return this.reservedBit[i*this.size+a]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const a=utils$1$1.getSymbolSize;i.getRowColCoords=function(r){if(1===r)return[];const o=Math.floor(r/7)+2,s=a(r),c=145===s?26:2*Math.ceil((s-13)/(2*o-2)),y=[s-7];for(let k=1;k=0&&y<=7},i.from=function(y){return i.isValid(y)?parseInt(y,10):void 0},i.getPenaltyN1=function(y){const k=y.size;let A=0,I=0,M=0,T=null,O=null;for(let L=0;L=5&&(A+=I-5+3),T=z,I=1),z=y.get(Y,L),z===O?M++:(M>=5&&(A+=M-5+3),O=z,M=1)}I>=5&&(A+=I-5+3),M>=5&&(A+=M-5+3)}return A},i.getPenaltyN2=function(y){const k=y.size;let A=0;for(let I=0;I=10&&(1488===I||93===I)&&A++,M=M<<1&2047|y.get(O,T),O>=10&&(1488===M||93===M)&&A++}return 40*A},i.getPenaltyN4=function(y){let k=0;const A=y.data.length;for(let I=0;I=0;){const c=s[0];for(let k=0;k0){const s=new Uint8Array(this.degree);return s.set(r,o),s}return r};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={isValid:function(i){return!isNaN(i)&&i>=1&&i<=40}},regex$1={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+")(?:.|[\r\n]))+";regex$1.KANJI=new RegExp(kanji,"g"),regex$1.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),regex$1.BYTE=new RegExp(byte,"g"),regex$1.NUMERIC=new RegExp(numeric,"g"),regex$1.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex$1.testKanji=function(i){return TEST_KANJI.test(i)},regex$1.testNumeric=function(i){return TEST_NUMERIC.test(i)},regex$1.testAlphanumeric=function(i){return TEST_ALPHANUMERIC.test(i)},function(i){const a=versionCheck,r=regex$1;i.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},i.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},i.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},i.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},i.MIXED={bit:-1},i.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!a.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},i.getBestModeForData=function(o){return r.testNumeric(o)?i.NUMERIC:r.testAlphanumeric(o)?i.ALPHANUMERIC:r.testKanji(o)?i.KANJI:i.BYTE},i.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},i.isValid=function(o){return o&&o.bit&&o.ccBits},i.from=function(o,s){if(i.isValid(o))return o;try{return function(c){if("string"!=typeof c)throw new Error("Param is not a string");switch(c.toLowerCase()){case"numeric":return i.NUMERIC;case"alphanumeric":return i.ALPHANUMERIC;case"kanji":return i.KANJI;case"byte":return i.BYTE;default:throw new Error("Unknown mode: "+c)}}(o)}catch{return s}}}(mode),function(i){const a=utils$1$1,r=errorCorrectionCode,o=errorCorrectionLevel,s=mode,c=versionCheck,y=a.getBCHDigit(7973);function k(I,M){return s.getCharCountIndicator(I,M)+4}function A(I,M){let T=0;return I.forEach(function(O){const L=k(O.mode,M);T+=L+O.getBitsLength()}),T}i.from=function(I,M){return c.isValid(I)?parseInt(I,10):M},i.getCapacity=function(I,M,T){if(!c.isValid(I))throw new Error("Invalid QR Code version");void 0===T&&(T=s.BYTE);const O=8*(a.getSymbolTotalCodewords(I)-r.getTotalCodewordsCount(I,M));if(T===s.MIXED)return O;const L=O-k(T,I);switch(T){case s.NUMERIC:return Math.floor(L/10*3);case s.ALPHANUMERIC:return Math.floor(L/11*2);case s.KANJI:return Math.floor(L/13);default:return Math.floor(L/8)}},i.getBestVersionForData=function(I,M){let T;const O=o.from(M,o.M);if(Array.isArray(I)){if(I.length>1)return function(L,Y){for(let z=1;z<=40;z++)if(A(L,z)<=i.getCapacity(z,Y,s.MIXED))return z}(I,O);if(0===I.length)return 1;T=I[0]}else T=I;return function(L,Y,z){for(let q=1;q<=40;q++)if(Y<=i.getCapacity(q,z,L))return q}(T.mode,T.getLength(),O)},i.getEncodedBits=function(I){if(!c.isValid(I)||I<7)throw new Error("Invalid QR Code version");let M=I<<12;for(;a.getBCHDigit(M)-y>=0;)M^=7973<=0;)o^=G15<0&&(r=this.data.substr(a),o=parseInt(r,10),i.put(o,3*s+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function AlphanumericData(i){this.mode=Mode$3.ALPHANUMERIC,this.data=i}AlphanumericData.getBitsLength=function(i){return 11*Math.floor(i/2)+i%2*6},AlphanumericData.prototype.getLength=function(){return this.data.length},AlphanumericData.prototype.getBitsLength=function(){return AlphanumericData.getBitsLength(this.data.length)},AlphanumericData.prototype.write=function(i){let a;for(a=0;a+2<=this.data.length;a+=2){let r=45*ALPHA_NUM_CHARS.indexOf(this.data[a]);r+=ALPHA_NUM_CHARS.indexOf(this.data[a+1]),i.put(r,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[a]),6)};var alphanumericData=AlphanumericData;const Mode$2=mode;function ByteData(i){this.mode=Mode$2.BYTE,this.data="string"==typeof i?(new TextEncoder).encode(i):new Uint8Array(i)}ByteData.getBitsLength=function(i){return 8*i},ByteData.prototype.getLength=function(){return this.data.length},ByteData.prototype.getBitsLength=function(){return ByteData.getBitsLength(this.data.length)},ByteData.prototype.write=function(i){for(let a=0,r=this.data.length;a=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[a]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),i.put(r,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var a={single_source_shortest_paths:function(r,o,s){var c={},y={};y[o]=0;var k,A,I,M,T,O,Y=a.PriorityQueue.make();for(Y.push(o,0);!Y.empty();)for(I in A=(k=Y.pop()).value,M=k.cost,T=r[A]||{})T.hasOwnProperty(I)&&(O=M+T[I],(void 0===y[I]||y[I]>O)&&(y[I]=O,Y.push(I,O),c[I]=A));if(void 0!==s&&void 0===y[s]){var z=["Could not find a path from ",o," to ",s,"."].join("");throw new Error(z)}return c},extract_shortest_path_from_predecessor_list:function(r,o){for(var s=[],c=o;c;)s.push(c),c=r[c];return s.reverse(),s},find_path:function(r,o,s){var c=a.single_source_shortest_paths(r,o,s);return a.extract_shortest_path_from_predecessor_list(c,s)},PriorityQueue:{make:function(r){var o,s=a.PriorityQueue,c={};for(o in r=r||{},s)s.hasOwnProperty(o)&&(c[o]=s[o]);return c.queue=[],c.sorter=r.sorter||s.default_sorter,c},default_sorter:function(r,o){return r.cost-o.cost},push:function(r,o){this.queue.push({value:r,cost:o}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=a})(dijkstra),function(i){const a=mode,r=numericData,o=alphanumericData,s=byteData,c=kanjiData,y=regex$1,k=utils$1$1,A=dijkstra.exports;function I(Y){return unescape(encodeURIComponent(Y)).length}function M(Y,z,q){const ct=[];let dt;for(;null!==(dt=Y.exec(q));)ct.push({data:dt[0],index:dt.index,mode:z,length:dt[0].length});return ct}function T(Y){const z=M(y.NUMERIC,a.NUMERIC,Y),q=M(y.ALPHANUMERIC,a.ALPHANUMERIC,Y);let ct,dt;return k.isKanjiModeEnabled()?(ct=M(y.BYTE,a.BYTE,Y),dt=M(y.KANJI,a.KANJI,Y)):(ct=M(y.BYTE_KANJI,a.BYTE,Y),dt=[]),z.concat(q,ct,dt).sort(function(tt,vt){return tt.index-vt.index}).map(function(tt){return{data:tt.data,mode:tt.mode,length:tt.length}})}function O(Y,z){switch(z){case a.NUMERIC:return r.getBitsLength(Y);case a.ALPHANUMERIC:return o.getBitsLength(Y);case a.KANJI:return c.getBitsLength(Y);case a.BYTE:return s.getBitsLength(Y)}}function L(Y,z){let q;const ct=a.getBestModeForData(Y);if(q=a.from(z,ct),q!==a.BYTE&&q.bit=0?Mt[Mt.length-1]:null;return St&&St.mode===$t.mode?(Mt[Mt.length-1].data+=$t.data,Mt):(Mt.push($t),Mt)},[]))},i.rawSplit=function(Y){return i.fromArray(T(Y,k.isKanjiModeEnabled()))}}(segments);const Utils$1=utils$1$1,ECLevel=errorCorrectionLevel,BitBuffer=bitBuffer,BitMatrix=bitMatrix,AlignmentPattern=alignmentPattern,FinderPattern=finderPattern,MaskPattern=maskPattern,ECCode=errorCorrectionCode,ReedSolomonEncoder=reedSolomonEncoder,Version=version,FormatInfo=formatInfo,Mode=mode,Segments=segments;function setupFinderPattern(i,a){const r=i.size,o=FinderPattern.getPositions(a);for(let s=0;s=0&&k<=6&&(0===A||6===A)||A>=0&&A<=6&&(0===k||6===k)||k>=2&&k<=4&&A>=2&&A<=4,!0)}}function setupTimingPattern(i){const a=i.size;for(let r=8;r>k&1),i.set(s,c,y,!0),i.set(c,s,y,!0)}function setupFormatInfo(i,a,r){const o=i.size,s=FormatInfo.getEncodedBits(a,r);let c,y;for(c=0;c<15;c++)y=1==(s>>c&1),i.set(c<6?c:c<8?c+1:o-15+c,8,y,!0),i.set(8,c<8?o-c-1:c<9?15-c-1+1:15-c-1,y,!0);i.set(o-8,8,1,!0)}function setupData(i,a){const r=i.size;let o=-1,s=r-1,c=7,y=0;for(let k=r-1;k>0;k-=2)for(6===k&&k--;;){for(let A=0;A<2;A++)if(!i.isReserved(s,k-A)){let I=!1;y>>c&1)),i.set(s,k-A,I),c--,-1===c&&(y++,c=7)}if(s+=o,s<0||r<=s){s-=o,o=-o;break}}}function createData(i,a,r){const o=new BitBuffer;r.forEach(function(y){o.put(y.mode.bit,4),o.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(o)});const s=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,a));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(A,a),setupData(A,y),isNaN(o)&&(o=MaskPattern.getBestMask(A,setupFormatInfo.bind(null,A,r))),MaskPattern.applyMask(o,A),setupFormatInfo(A,r,o),{modules:A,version:a,errorCorrectionLevel:r,maskPattern:o,segments:s}}qrcode.create=function(i,a){if(void 0===i||""===i)throw new Error("No input text");let r,o,s=ECLevel.M;return void 0!==a&&(s=ECLevel.from(a.errorCorrectionLevel,ECLevel.M),r=Version.from(a.version),o=MaskPattern.from(a.maskPattern),a.toSJISFunc&&Utils$1.setToSJISFunction(a.toSJISFunc)),createSymbol(i,r,s,o)};var canvas={},utils$3={};(function(i){function a(r){if("number"==typeof r&&(r=r.toString()),"string"!=typeof r)throw new Error("Color should be defined as hex string");let o=r.slice().replace("#","").split("");if(o.length<3||5===o.length||o.length>8)throw new Error("Invalid hex color: "+r);3!==o.length&&4!==o.length||(o=Array.prototype.concat.apply([],o.map(function(c){return[c,c]}))),6===o.length&&o.push("F","F");const s=parseInt(o.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:255&s,hex:"#"+o.slice(0,6).join("")}}i.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=r.width&&r.width>=21?r.width:void 0;return{width:s,scale:s?4:r.scale||4,margin:null==r.margin||r.margin<0?4:r.margin,color:{dark:a(r.color.dark||"#000000ff"),light:a(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},i.getScale=function(r,o){return o.width&&o.width>=r+2*o.margin?o.width/(r+2*o.margin):o.scale},i.getImageWidth=function(r,o){const s=i.getScale(r,o);return Math.floor((r+2*o.margin)*s)},i.qrToImageData=function(r,o,s){const c=o.modules.size,y=o.modules.data,k=i.getScale(c,s),A=Math.floor((c+2*s.margin)*k),I=s.margin*k,M=[s.color.light,s.color.dark];for(let T=0;T=I&&O>=I&&T0&&A>0&&i[k-1]||(o+=c?svgCmd("M",A+r,.5+I+r):svgCmd("m",s,0),s=0,c=!1),A+1':"",A="',M=''+k+A+"\n";return"function"==typeof r&&r(null,M),M};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,a,r,o,s){const c=[].slice.call(arguments,1),y=c.length,k="function"==typeof c[y-1];if(!k&&!canPromise())throw new Error("Callback required as last argument");if(!k){if(y<1)throw new Error("Too few arguments provided");return 1===y?(r=a,a=o=void 0):2!==y||a.getContext||(o=r,r=a,a=void 0),new Promise(function(A,I){try{const M=QRCode.create(r,o);A(i(M,a,o))}catch(M){I(M)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(s=r,r=a,a=o=void 0):3===y&&(a.getContext&&void 0===s?(s=o,o=void 0):(s=o,o=r,r=a,a=void 0));try{const A=QRCode.create(r,o);s(null,i(A,a,o))}catch(A){s(A)}}browser$1.create=QRCode.create,browser$1.toCanvas=renderCanvas.bind(null,CanvasRenderer.render),browser$1.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL),browser$1.toString=renderCanvas.bind(null,function(i,a,r){return SvgRenderer.render(i,r)});const nlSigninConnectionStringCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninConnectionStringStyle0=nlSigninConnectionStringCss,NlSigninConnectionString=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnectDefault=createEvent(this,"nlNostrConnectDefault",7),this.titleLogin="Connection string",this.description="Scan or copy the connection string with key store app",this.connectionString="",this.isCopy=!1}componentDidLoad(){this.generateQRCode(),this.nlNostrConnectDefault.emit()}generateQRCode(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.connectionString&&i.canvasElement)try{yield browser$1.toCanvas(i.canvasElement,i.connectionString)}catch(a){console.error("Error generating QR Code:",a)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(i.connectionString),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)}catch(a){console.error("Failed to copy connectionString: ",a)}})()}render(){return h(Fragment,{key:"5186c70f33e7b5d8e42d426f41cbab452181fa79"},h("div",{key:"1737f8438920880e369eff393cad6db37fe62975",class:"p-4 overflow-y-auto"},h("h1",{key:"3dab5fc70ba7ae87d7926f208df838e4e8506e1b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"43a2d0d56b36b4b1577bd6b21eeda9b105359389",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("canvas",{key:"92cd37de695eee50873cb7a76b2196fd6f2885d6",class:"mx-auto mb-2",ref:i=>this.canvasElement=i}),h("div",{key:"668b253bb58f243d223931a0be911e36eee4a119",class:"px-4"},h("div",{key:"7abb7aa8ba86857ccff22cba4d88cf07407b5fe0",class:"max-w-72 mx-auto"},h("div",{key:"e1747e8fddc4ebe00671ed82ab43fe3b29a4a456",class:"relative mb-2"},h("input",{key:"ce0fed3c0b9a29a63bad975082294d616fcb2b79",type:"text",class:"nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:this.connectionString,disabled:!0}),h("div",{key:"462c8d5454066fe42710cc1a51df4ac6c9dbf8b1",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"cfe2ebdc57ad397d559d935c4c11c6429a7787cc",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"a50d4b5d4a610b535dfb06fb0676d6d8bc681d94","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"6c773dbcda5c18b8d3debfad939678dc6374be76","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.isCopy?h("div",{class:"absolute inset-y-0 end-0 flex items-center p-2 rounded-lg"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#00cc00",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))):h("div",{class:"absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg",onClick:()=>this.copyToClipboard()},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"})))),h("div",{key:"e4df52d63e603c2e72228b0bc739688dd3298fa3",class:"mt-10 justify-center items-center flex gap-2"},h("span",{key:"354b7424c4a06110d3ec030ae71348e21f0575a9",slot:"icon-start",class:"animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),h("span",{key:"364239250897a241357e2759292538efff0462bd",class:"nl-footer"},"Waiting for connection")))))}static get style(){return NlSigninConnectionStringStyle0}},[0,"nl-signin-connection-string",{titleLogin:[1,"title-login"],description:[1],connectionString:[1,"connection-string"],isCopy:[32]}]);function defineCustomElement$a(){typeof customElements>"u"||["nl-signin-connection-string"].forEach(i=>{"nl-signin-connection-string"===i&&(customElements.get(i)||customElements.define(i,NlSigninConnectionString))})}defineCustomElement$a();const nlSigninOtpCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninOtpStyle0=nlSigninOtpCss,NlSigninOtp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginOTPUser=createEvent(this,"nlLoginOTPUser",7),this.nlLoginOTPCode=createEvent(this,"nlLoginOTPCode",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in with DM",this.description="Please enter your user name or npub, and we will send you a direct message with a one-time code.",this.titleLoginOTP="Enter the code",this.descriptionOTP="Please enter the one-time code we sent to you as a direct message on Nostr.",this.isGood=!1}handleInputChange(i){state.isOTP?state.nlSigninOTP.code=i.target.value:(state.nlSigninOTP.loginName=i.target.value,this.nlCheckLogin.emit(state.nlSigninOTP.loginName))}handleLogin(i){i.preventDefault(),state.isOTP?this.nlLoginOTPCode.emit(state.nlSigninOTP.code):this.nlLoginOTPUser.emit(state.nlSigninOTP.loginName)}render(){return h(Fragment,{key:"68fc45b1dd5e0a15bee1f6497a186b6d73900de5"},h("div",{key:"9ee4c1e464ffd21e04dbf7f3765fb8bbebb77881",class:"p-4 overflow-y-auto"},h("h1",{key:"031d20441be16371669d5143f29b7e88d8a56651",class:"nl-title font-bold text-center text-2xl"},state.isOTP?this.titleLoginOTP:this.titleLogin),h("p",{key:"9a1aebb5297ce0d54b929c4049f4fa0a499de3a6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},state.isOTP?this.descriptionOTP:this.description)),h("div",{key:"cb120ff50bded40b52328fbdb6d1a9ff2a0f60c6",class:"max-w-72 mx-auto"},h("div",{key:"479e7947b92cfb7421b3f8aaa9992e2b0a44f3b9",class:"relative mb-2"},h("input",{key:"642b11b622a3974ce3314c58cc913dad504ab8b8",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:state.isOTP?"code from direct message":"npub or name@domain",value:state.isOTP?state.nlSigninOTP.code:state.nlSigninOTP.loginName}),h("div",{key:"62b9b607b5cad463660df841545762b6b9c4a803",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"69cdd8e64b17fe1aaf23759f6091651baffd8c8a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"1b19fa169d6f1c893df0c3ae8d6328e0c8b413e6","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"583e207c1197a3d6ee97b68cd35f1fe6fa6e992e","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"b019f36008b7f27a76462f745ffcebc201b40bee",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"14e9d64878284f30f4ca7c3132934cb1befc92c4",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"60f37876cbc7a69e073dacfdfb464b792da8c3ca",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"dc2285fee7ae949e36c7066f8453df25659d44e0",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninOtpStyle0}},[0,"nl-signin-otp",{titleLogin:[1,"title-login"],description:[1],titleLoginOTP:[1,"title-login-o-t-p"],descriptionOTP:[1,"description-o-t-p"],isGood:[32]}]);function defineCustomElement$9(){typeof customElements>"u"||["nl-signin-otp","button-base"].forEach(i=>{switch(i){case"nl-signin-otp":customElements.get(i)||customElements.define(i,NlSigninOtp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$9();const nlSigninReadOnlyCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninReadOnlyStyle0=nlSigninReadOnlyCss,NlSigninReadOnly=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginReadOnly=createEvent(this,"nlLoginReadOnly",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in to read only",this.description="Please enter the user name or npub of any Nostr user.",this.isGood=!1}handleInputChange(i){state.nlSigninReadOnly.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLoginReadOnly.emit(state.nlSigninReadOnly.loginName)}render(){return h(Fragment,{key:"427a326a29895539d36b2a4b6a6c263c34cb87a4"},h("div",{key:"24c32f3a0c8ea0c88046013147498a2ac2d8d7a3",class:"p-4 overflow-y-auto"},h("h1",{key:"f3324907637382727d127b700ce72990e2c0b72d",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"0439c0deffe5735650976622cb8bf3ffd7962cd6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"75881872a795cda5173252c349cb68446be32847",class:"max-w-72 mx-auto"},h("div",{key:"b1716089f573616674f2b9ceb138821ed41d1ae5",class:"relative mb-2"},h("input",{key:"d3ea9fd0489a36916d48e05f342421f9686da1e6",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:state.nlSigninReadOnly.loginName}),h("div",{key:"4489f769ed6aeaf7d66ea06b416fdf9e08c2862c",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"aed3c5efdc122fa4dfa0b15dccf3bcc7a123c87a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"5a9165cf26ae7588ebd16f499748b3b3eff8ac1c","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"7dca77f080a4824bdecce0fbc1e98bfff993f7c2","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"ca4c58b0ab64e54a4714d082b97b7dd340b0dbfe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"b7b95e645a8e742410eb7e17e90e497ce0da1c72",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"87f5289d87599a1d182170da96e75f727f3a9e52",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"2cbd83dc1516674c872aa9a21d44188d1739807e",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninReadOnlyStyle0}},[0,"nl-signin-read-only",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$8(){typeof customElements>"u"||["nl-signin-read-only","button-base"].forEach(i=>{switch(i){case"nl-signin-read-only":customElements.get(i)||customElements.define(i,NlSigninReadOnly);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$8();const nlSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSignupStyle0=nlSignupCss,NlSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSignup=createEvent(this,"nlSignup",7),this.nlCheckSignup=createEvent(this,"nlCheckSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create keys with key store",this.description="Choose some username and a key store service.",this.bunkers="nsec.app,highlighter.com",this.isAvailable=!1}formatServers(i){return i.split(",").map(a=>({name:"@"+a,value:a}))}handleInputChange(i){state.nlSignup.signupName=i.target.value,this.nlCheckSignup.emit(`${i.target.value}@${state.nlSignup.domain}`)}handleDomainSelect(i){state.nlSignup.domain=i.detail,this.nlCheckSignup.emit(`${state.nlSignup.signupName}@${i.detail}`)}handleCreateAccount(i){i.preventDefault(),this.nlSignup.emit(`${state.nlSignup.signupName}@${state.nlSignup.domain}`)}watchBunkersHandler(i){state.nlSignup.servers=this.formatServers(i)}componentWillLoad(){state.nlSignup.servers=this.formatServers(this.bunkers)}render(){return h(Fragment,{key:"0f80c95f518b18c70b6ec3a7674ba65b93a7150e"},h("div",{key:"0a0e632e1b9891c6d01660916e5ae4581fe88e65",class:"p-4 overflow-y-auto"},h("h1",{key:"6f565e42dc0fa7ed8610f9bbab695756838d3a77",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"f0cac8b68583bc5302e5a7b36d3784266ca1205e",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"8c7901599fd0ce9274abd4fd4e860763d9396334",class:"max-w-72 mx-auto"},h("div",{key:"fc80a9a9d067939bfedd6453727b1b48eef10055",class:"relative mb-2"},h("input",{key:"6efaa2e17d5001cedd32d5a9c9ddb94b57774144",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Name",value:state.nlSignup.signupName}),h("div",{key:"558606cff7bcdf983dd5cca89dda79d7760e9f49",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"4f07566169625a94e83ded38d3e55ff1a4602faa",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"2a5cd98b44738bdbe4e1d87565fe9441e895f257","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"88aec1cd623c0b72ea54d1dfb779831b15d9fa9f",class:"mb-2"},h("nl-select",{key:"9582245b4e59fcdaa0097bc6837b502266d2026f",onSelectDomain:i=>this.handleDomainSelect(i),selected:0,options:state.nlSignup.servers})),h("div",{key:"51a864c0638e07f1821dd5bd39f793e0e562fc99",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"81cf5005b72f9cf2cf9fa9680358d79024e80366",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"dbc143408fece554536908a8498580186ac86b8d",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get watchers(){return{bunkers:["watchBunkersHandler"]}}static get style(){return NlSignupStyle0}},[0,"nl-signup",{titleSignup:[1,"title-signup"],description:[1],bunkers:[1],isAvailable:[32]},void 0,{bunkers:["watchBunkersHandler"]}]);function defineCustomElement$7(){typeof customElements>"u"||["nl-signup","button-base","nl-select"].forEach(i=>{switch(i){case"nl-signup":customElements.get(i)||customElements.define(i,NlSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$7();const nlWelcomeCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeStyle0=nlWelcomeCss,NlWelcome=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Welcome to Nostr!",this.description="This website is part of the Nostr network. Log in with your Nostr profile or sign up to join."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"7b5a07cdad875ea8242ce84c0736f024deb36949"},h("div",{key:"f0aee3e2ff848c8abd635fbab6aa2df75741bd08",class:"p-4 overflow-y-auto"},h("h1",{key:"0f44047e567b6e28ba8eb9269ae62173bfe4216b",class:"nl-title font-bold text-center text-4xl"},this.titleWelcome),h("p",{key:"b3fd3e2b412894f7d1ec0821077f8418d3611545",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"625314b5bf2e6821144fd79901a3da2629a0771a",class:"max-w-52 mx-auto pb-5"},h("div",{key:"f0846ced1f6cc63dfc43184d3d3536c1eafa7890",class:"flex gap-3 flex-col mb-2"},h("button-base",{key:"f4a62ade504b7096052fe26f8eaa8f7a139cc8b6",titleBtn:"Log in",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_LOGIN)},h("svg",{key:"8fa708e8fd991b06026142844443ff192b15f1a1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"232741c608aa380ab96fab7498fd4b055bad40ba","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("button-base",{key:"14568a2ca701d0e7fe55a5d8a8196642792b1cf2",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_SIGNUP),titleBtn:"Sign up"},h("svg",{key:"551a9a9e2aa57cb920a3d1978f40ebf7dcb7c314",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"a957c348aa9762287638772bdde925a88f38d779","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlWelcomeStyle0}},[0,"nl-welcome",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$6(){typeof customElements>"u"||["nl-welcome","button-base"].forEach(i=>{switch(i){case"nl-welcome":customElements.get(i)||customElements.define(i,NlWelcome);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$6();const nlWelcomeSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSigninStyle0=nlWelcomeSigninCss,NlWelcomeSignIn=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginExtension=createEvent(this,"nlLoginExtension",7),this.titleWelcome="Log in",this.hasExtension=!1,this.authMethods=[],this.hasOTP=!1}handleChangeScreen(i){state.path=[...state.path,i],i===CURRENT_MODULE.EXTENSION&&this.nlLoginExtension.emit()}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}renderSignInWithExtension(){return h("button-base",{onClick:()=>this.handleChangeScreen(CURRENT_MODULE.EXTENSION),titleBtn:"With extension"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"})))}render(){return h(Fragment,{key:"4f0767e4cdcc4927af3fafd074148ba418738923"},h("div",{key:"c8ab1ddae5c93498c26516337fb2b3dbd25a9ab4",class:"p-4 overflow-y-auto"},h("h1",{key:"2332e495e6f947a2e522203415a7e62279bdc497",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"917a8e134efa774749152e47bee8a02ffd18dbd2",class:"max-w-52 mx-auto pb-5"},h("div",{key:"3f63f413e66ffde4456998913d37e71fa2e65b91",class:"flex gap-3 flex-col"},this.allowAuthMethod("connect")&&h("button-base",{key:"23a84e3cbfe6003aa4798afe40794cf5fdd29a48",titleBtn:"Connect",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECT)},h("svg",{key:"8af63dc69962963c17d272dcbe44c859d5ba11aa",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"82f9174085198b815d1b76ea16cad5a397bb0bda","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))),this.allowAuthMethod("readOnly")&&h("button-base",{key:"d6aedb185f57a3ae61721ab8e1f191b521881015",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_READ_ONLY),titleBtn:"Read only"},h("svg",{key:"94eeb7e77be912ff240658added6f18e2b82559a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"84406c27a40b9a835ba7cb64e99de007b09caaab","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"aec21828fba73b6602cf7e158d66e6c8c7d1202c","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.hasOTP&&this.allowAuthMethod("otp")&&h("button-base",{key:"909370309781cfa868bed804699602129ef2735b",titleBtn:"One-time code",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_OTP)},h("svg",{key:"652fe8e11bfeda9261a1f639c5a526123c87db71",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"950de2ac776cc2fefbbb08358fc35ab8b786c5ef","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),this.hasExtension&&this.allowAuthMethod("extension")&&this.renderSignInWithExtension(),!this.allowAuthMethod("connect")&&!this.hasExtension&&h("p",{key:"9caf44de7b4a18fabc947169cc3283243661a2f8",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"No Nostr extension!"),!this.allowAuthMethod("connect")&&this.hasExtension&&!this.allowAuthMethod("extension")&&h("p",{key:"f3feba2e9a56ead70ac353aaf67d1ac3438aaa4f",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Use advanced options."))))}static get style(){return NlWelcomeSigninStyle0}},[0,"nl-welcome-signin",{titleWelcome:[1,"title-welcome"],hasExtension:[4,"has-extension"],authMethods:[16],hasOTP:[4,"has-o-t-p"]}]);function defineCustomElement$5(){typeof customElements>"u"||["nl-welcome-signin","button-base"].forEach(i=>{switch(i){case"nl-welcome-signin":customElements.get(i)||customElements.define(i,NlWelcomeSignIn);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$5();const nlWelcomeSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSignupStyle0=nlWelcomeSignupCss,NlWelcomeSignUp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Sign up",this.description="Nostr profiles are based on cryptographic keys. You can create keys right here, or with a key storage app."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"b5d134603b3a579120e107a6db9dc1cc3f68106c"},h("div",{key:"64028950f83e5372e7774d0b642d2bc4b7a4e374",class:"p-4 overflow-y-auto"},h("h1",{key:"ab2a90b7501aa467dd300e5d3fa5c03ad7430f80",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome),h("p",{key:"be4afbc5c19cf6943127992472ca9788ad45a667",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"053719e30861ffc47b08c7dec4afd47ab2228eb4",class:"max-w-52 mx-auto pb-5"},h("div",{key:"6fe9fce24b1a77410a271e27b6df49781b748806",class:"flex gap-3 flex-col"},h("button-base",{key:"4374520b23b997f21a42690e25cdd2398049e2ca",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOCAL_SIGNUP),titleBtn:"Create keys"},h("svg",{key:"cda4adcb7f43fc22ca43f5682f05bd025be6749a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"1837503cef1df0e616160f9e443c404fac2fe593","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{key:"fb56918415df51984a6c3e338652a7ceab1b8876",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.SIGNUP),titleBtn:"With key store"},h("svg",{key:"605354a04e15ae5447fe9342675073157ce9cd54",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"ae5545abaa6dcfe32723e7bb05dd864485f68046","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))))))}static get style(){return NlWelcomeSignupStyle0}},[0,"nl-welcome-signup",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$4(){typeof customElements>"u"||["nl-welcome-signup","button-base"].forEach(i=>{switch(i){case"nl-welcome-signup":customElements.get(i)||customElements.define(i,NlWelcomeSignUp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$4();const nlAuthCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.animate-spin-loading{animation:spin 1s linear infinite;background:var(--qa-dark-color)}@keyframes spin{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlAuthStyle0=nlAuthCss,NlAuth=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.nlChangeDarkMode=createEvent(this,"nlChangeDarkMode",7),this.theme="default",this.bunkers="",this.startScreen=CURRENT_MODULE.WELCOME,this.authMethods=[],this.hasExtension=!1,this.hasOTP=!1,this.isLoading=!1,this.isLoadingExtension=!1,this.isOTP=!1,this.authUrl="",this.error="",this.localSignup=!1,this.accounts=[],this.recents=[],this.darkMode=!1,this.welcomeTitle="",this.welcomeDescription="",this.connectionString="",this.connectionStringServices=[]}watchLocalSignupHandler(i){state.localSignup=i}watchLoadingHandler(i){state.isLoading=i}watchLoadingExtensionHandler(i){state.isLoadingExtension=i}watchOTPHandler(i){state.isOTP=i}watchAuthUrlHandler(i){state.authUrl=i}watchErrorHandler(i){state.error=i}handleClose(){this.nlCloseModal.emit()}handleChangeDarkMode(){this.nlChangeDarkMode.emit(!this.darkMode)}componentWillLoad(){state.path=[this.startScreen],state.localSignup=this.localSignup,console.log("path",state.path),state.isOTP=!1}handleClickToBack(){state.path.pop(),state.path=[...state.path],state.isLoading=!1,state.isLoadingExtension=!1,state.authUrl="",state.isOTP=!1}switchSignSignUpStrategy(i){state.path=CURRENT_MODULE.LOCAL_SIGNUP!==i?[CURRENT_MODULE.WELCOME,i]:[CURRENT_MODULE.WELCOME,CURRENT_MODULE.WELCOME_SIGNUP,i]}render(){const i="w-full h-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto flex items-center "+(this.darkMode?"dark":""),a=state.path.at(-1),r=!this.authMethods.length||!this.localSignup&&this.authMethods.includes("connect")||this.localSignup&&this.authMethods.includes("local");return h("div",{class:`theme-${this.theme}`},h("div",{class:i},h("div",{onClick:()=>this.handleClose(),class:"absolute top-0 left-0 w-full h-full bg-gray-500 bg-opacity-75 z-[80]"}),h("div",{class:"nl-bg relative z-[81] w-full flex flex-col rounded-xl sm:max-w-lg sm:w-full sm:mx-auto"},h("div",{class:"flex justify-between items-center py-3 px-4"},h("div",{class:"flex gap-2 items-center"},h("svg",{class:"w-7 h-7",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("p",{class:"font-bold nl-logo text-base"},"Nostr ",h("span",{class:"font-light"},"Login"))),h("div",{class:"flex gap-1"},h("button",{onClick:()=>this.handleChangeDarkMode(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Change theme"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",this.darkMode?{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))),h("button",{onClick:()=>this.handleClose(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Close"),h("svg",{class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{d:"M18 6 6 18"}),h("path",{d:"m6 6 12 12"}))))),state.path.length>1&&!state.isLoading&&h("div",{class:"p-4"},h("button",{onClick:()=>this.handleClickToBack(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600","data-hs-overlay":"#hs-vertically-centered-modal"},h("span",{class:"sr-only"},"Back"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})))),state.isLoading||state.authUrl?h("nl-loading",{path:a}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(a){case CURRENT_MODULE.WELCOME:return h("nl-welcome",{titleWelcome:this.welcomeTitle||void 0,description:this.welcomeDescription||void 0});case CURRENT_MODULE.LOGIN:return h("nl-signin",null);case CURRENT_MODULE.SIGNUP:return h("nl-signup",{bunkers:this.bunkers});case CURRENT_MODULE.LOCAL_SIGNUP:return h("nl-local-signup",null);case CURRENT_MODULE.CONFIRM_LOGOUT:return h("nl-confirm-logout",null);case CURRENT_MODULE.IMPORT_FLOW:return h("nl-import-flow",{services:this.connectionStringServices.filter(o=>o.canImport)});case CURRENT_MODULE.INFO:return h("nl-info",null);case CURRENT_MODULE.EXTENSION:return h("nl-info-extension",null);case CURRENT_MODULE.LOGIN_READ_ONLY:return h("nl-signin-read-only",null);case CURRENT_MODULE.LOGIN_BUNKER_URL:return h("nl-signin-bunker-url",null);case CURRENT_MODULE.LOGIN_OTP:return h("nl-signin-otp",null);case CURRENT_MODULE.WELCOME_LOGIN:return h("nl-welcome-signin",{hasOTP:this.hasOTP,authMethods:this.authMethods,hasExtension:this.hasExtension});case CURRENT_MODULE.WELCOME_SIGNUP:return h("nl-welcome-signup",null);case CURRENT_MODULE.CONNECTION_STRING:return h("nl-signin-connection-string",{connectionString:this.connectionString});case CURRENT_MODULE.CONNECT:return h("nl-connect",{connectionStringServices:this.connectionStringServices,authMethods:this.authMethods});case CURRENT_MODULE.PREVIOUSLY_LOGGED:return h("nl-previously-logged",{accounts:this.accounts,recents:this.recents});default:return h("nl-welcome",null)}})(),(state.isOTP||a!==CURRENT_MODULE.INFO&&a!==CURRENT_MODULE.CONFIRM_LOGOUT&&a!==CURRENT_MODULE.IMPORT_FLOW&&a!==CURRENT_MODULE.WELCOME&&a!==CURRENT_MODULE.EXTENSION&&a!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,a===CURRENT_MODULE.WELCOME_SIGNUP||a===CURRENT_MODULE.SIGNUP||a===CURRENT_MODULE.LOCAL_SIGNUP?h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you already have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(CURRENT_MODULE.WELCOME_LOGIN),class:"cursor-pointer text-blue-400"},"log in"),".")):r&&h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you don't have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(this.localSignup?CURRENT_MODULE.LOCAL_SIGNUP:CURRENT_MODULE.WELCOME_SIGNUP),class:"cursor-pointer text-blue-400"},"sign up"),".")))))))}static get watchers(){return{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}}static get style(){return NlAuthStyle0}},[1,"nl-auth",{theme:[1025],bunkers:[1],startScreen:[1,"start-screen"],authMethods:[16],hasExtension:[4,"has-extension"],hasOTP:[4,"has-o-t-p"],isLoading:[4,"is-loading"],isLoadingExtension:[4,"is-loading-extension"],isOTP:[4,"is-o-t-p"],authUrl:[1,"auth-url"],error:[1],localSignup:[4,"local-signup"],accounts:[1040],recents:[1040],darkMode:[1028,"dark-mode"],welcomeTitle:[1,"welcome-title"],welcomeDescription:[1,"welcome-description"],connectionString:[1,"connection-string"],connectionStringServices:[16]},void 0,{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}]);function defineCustomElement$3(){typeof customElements>"u"||["nl-auth","button-base","nl-confirm-logout","nl-connect","nl-import-flow","nl-info","nl-info-extension","nl-loading","nl-local-signup","nl-login-status","nl-previously-logged","nl-select","nl-signin","nl-signin-bunker-url","nl-signin-connection-string","nl-signin-otp","nl-signin-read-only","nl-signup","nl-welcome","nl-welcome-signin","nl-welcome-signup"].forEach(i=>{switch(i){case"nl-auth":customElements.get(i)||customElements.define(i,NlAuth);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-confirm-logout":customElements.get(i)||defineCustomElement$m();break;case"nl-connect":customElements.get(i)||defineCustomElement$l();break;case"nl-import-flow":customElements.get(i)||defineCustomElement$j();break;case"nl-info":customElements.get(i)||defineCustomElement$i();break;case"nl-info-extension":customElements.get(i)||defineCustomElement$h();break;case"nl-loading":customElements.get(i)||defineCustomElement$g();break;case"nl-local-signup":customElements.get(i)||defineCustomElement$f();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e();break;case"nl-previously-logged":customElements.get(i)||defineCustomElement$d();break;case"nl-select":customElements.get(i)||defineCustomElement$k();break;case"nl-signin":customElements.get(i)||defineCustomElement$c();break;case"nl-signin-bunker-url":customElements.get(i)||defineCustomElement$b();break;case"nl-signin-connection-string":customElements.get(i)||defineCustomElement$a();break;case"nl-signin-otp":customElements.get(i)||defineCustomElement$9();break;case"nl-signin-read-only":customElements.get(i)||defineCustomElement$8();break;case"nl-signup":customElements.get(i)||defineCustomElement$7();break;case"nl-welcome":customElements.get(i)||defineCustomElement$6();break;case"nl-welcome-signin":customElements.get(i)||defineCustomElement$5();break;case"nl-welcome-signup":customElements.get(i)||defineCustomElement$4()}})}defineCustomElement$3();const NlButton=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}render(){return h("button-base",{key:"906c0f4cad65523702f56462bd36e2e773650d57",theme:this.theme,darkMode:this.darkMode,titleBtn:this.titleBtn,disabled:this.disabled})}},[1,"nl-button",{theme:[1],darkMode:[4,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$2(){typeof customElements>"u"||["nl-button","button-base"].forEach(i=>{switch(i){case"nl-button":customElements.get(i)||customElements.define(i,NlButton);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$2();const nlChangeAccountCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlChangeAccountStyle0=nlChangeAccountCss,NLChangeAccount=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleSwitchAccount=createEvent(this,"handleSwitchAccount",7),this.isOpen=!1,this.options=[],this.accounts=[],this.currentAccount=null,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}watchAccountsHandler(i){this.options=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.handleSwitchAccount.emit(i)}handleOpenModal(){this.handleOpenWelcomeModal.emit()}render(){const i=(this.isOpen?"listClass flex flex-col gap-2":"hidden")+" w-full nl-select-list absolute z-10 left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",r=this.options&&this.currentAccount?this.options.filter(o=>o.pubkey!==this.currentAccount.pubkey||o.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:o=>this.wrapperRef=o},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:o=>this.buttonRef=o,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"b1424401cb9c0222175d027c505d07aa2f0932e9",class:"text-gray-500"},"Switch profile"),h("svg",{key:"58eecdd605e9cb6296656f26abf8153150ee0f64",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"f31b6c5b8a96e35a46bf39c983cad1af501a1763",d:"m6 9 6 6 6-6"}))),h("ul",{key:"a5cb6e8ab70134082b1ad7953939fd5aedb7481d",ref:o=>this.ulRef=o,class:i},this.options&&r.map(o=>{const c=o.name||o.nip05||o.pubkey;return h("li",{onClick:()=>this.handleChange(o),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{class:"uppercase font-bold w-full max-w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},o?.picture?h("img",{class:"w-full rounded-full",src:o.picture,alt:"Logo"}):c?c[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"truncate overflow-hidden"},c),h("nl-login-status",{info:o})))}),h("li",{key:"7d050773b50bbda055bd3f660045d5fee0c609c7",class:"first:pt-0 pt-2 border-t-[1px] first:border-none border-gray-300"},h("div",{key:"222120208bad410ec4217c15d8327a24abb71950",onClick:()=>this.handleOpenModal(),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{key:"2d4d88a1df00ea687f6b32f8d97a29146efdb49a",class:"uppercase font-bold w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},h("svg",{key:"6863afeb362ce38a2b6cca8611f91746a5d879ca",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},h("path",{key:"16d78e3b3288db99c203cef5ed766ef61ce146a1","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"}))),"Add profile")))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}}static get style(){return NlChangeAccountStyle0}},[0,"nl-change-account",{accounts:[16],currentAccount:[16],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],options:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}]);function defineCustomElement$1(){typeof customElements>"u"||["nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-change-account":customElements.get(i)||customElements.define(i,NLChangeAccount);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$1();const nlBannerCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.show-slow{display:none;opacity:0;transition:.1s}.isOpen .show-slow{display:block;opacity:1;transition:.2s;transition-delay:.2s}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlBannerStyle0=nlBannerCss,NlBanner=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.handleRetryConfirmBanner=createEvent(this,"handleRetryConfirmBanner",7),this.handleNotifyConfirmBanner=createEvent(this,"handleNotifyConfirmBanner",7),this.handleSetConfirmBanner=createEvent(this,"handleSetConfirmBanner",7),this.handleLoginBanner=createEvent(this,"handleLoginBanner",7),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleConfirmLogout=createEvent(this,"handleConfirmLogout",7),this.handleImportModal=createEvent(this,"handleImportModal",7),this.isLogin=!1,this.theme="default",this.darkMode=!1,this.hiddenMode=!1,this.titleBanner="",this.domain="",this.urlNotify="",this.listNotifies=[],this.isOpenNotifyTimeOut=!1,this.isOpen=!1,this.isConfirm=!0,this.isOpenConfirm=!1,this.isLoading=!1,this.notify=null,this.isNotConfirmToSend=!1,this.userInfo=null,this.accounts=[]}watchNotifyHandler(i){var a,r,o;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(o=null===(r=null===(a=this.userInfo)||void 0===a?void 0:a.nip05)||void 0===r?void 0:r.split("@"))||void 0===o?void 0:o[1])||"",i.url&&(this.urlNotify=i.url,this.isOpenNotifyTimeOut=!1),!this.urlNotify&&i.timeOut&&(this.isOpenNotifyTimeOut=!0)}handleOpen(){this.userInfo?this.isOpen=!0:this.handleOpenWelcomeModal.emit()}handleClose(){this.isOpen=!1,this.isOpenNotifyTimeOut=!1,this.isOpenConfirm=!1,this.isNotConfirmToSend&&(this.handleSetConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1),this.urlNotify=""}handleLogin(){this.handleLoginBanner.emit(METHOD_MODULE.LOGIN),this.handleClose()}handleSignup(){this.handleLoginBanner.emit(METHOD_MODULE.SIGNUP),this.handleClose()}handleImport(){this.handleImportModal.emit(),this.handleClose()}handleLogout(){if(localStorage.getItem("backupKey"))return this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose(),void localStorage.removeItem("backupKey");"local"===this.userInfo.authMethod?this.handleConfirmLogout.emit():this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose()}handleConfirm(){this.handleNotifyConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1,this.handleClose()}handleRetryConfirm(){this.handleRetryConfirmBanner.emit(),this.isNotConfirmToSend=!1,this.handleClose()}render(){var i,a,r,o,s,c;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(a=this.userInfo)||void 0===a?void 0:a.name)||(null===(s=null===(o=null===(r=this.userInfo)||void 0===r?void 0:r.nip05)||void 0===o?void 0:o.split("@"))||void 0===s?void 0:s[0])||(null===(c=this.userInfo)||void 0===c?void 0:c.pubkey)||"",A=!!k,I=this.userInfo&&"local"===this.userInfo.authMethod,M=localStorage.getItem("backupKey");return h("div",{key:"135e66c8e2156c98f3c5b2ed33657e193575301e",class:`theme-${this.theme} ${!this.isOpen&&this.hiddenMode?"hidden":""}`},h("div",{key:"472074168314b51f8a80f53814043bfda4058c26",class:this.darkMode&&"dark"},h("div",{key:"f55074c5da729a4de542841ace63a7d73cabadf5",class:`nl-banner ${this.isOpen?"w-52 h-auto right-2 rounded-r-lg isOpen":"rounded-r-none hover:rounded-r-lg cursor-pointer"} z-50 w-12 h-12 fixed top-52 right-0 inline-block gap-x-2 text-sm font-medium rounded-lg hover:right-2 transition-all duration-300 ease-in-out`},h("div",{key:"10c552768319d8f6642ea23db3af15d3b54cec67",class:"block w-[48px] h-[46px] relative z-10"},h("div",{key:"52d9d39b5d27d2924fabd0560e27b3d3d214c011",onClick:()=>this.handleOpen(),class:"flex w-52 h-[46px] items-center pl-[11px]"},h("span",{key:"c64f3d89b7daba7ea1cf20f215561ebb18fa56e2",class:(this.isLoading?"w-5 h-5 border-[2px] mr-3.5 ml-[2px] opacity-1":"w-0 h-0 border-[0px] mr-0 opacity-0 ml-0")+" animate-spin transition-all duration-300 ease-in-out inline-block border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),this.userInfo?h("div",{class:"uppercase font-bold w-6 h-6 mr-2 rounded-full border border-gray-200 flex justify-center items-center"},y?h("img",{class:"w-full rounded-full",src:this.userInfo.picture,alt:"Logo"}):A?k[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))):h("div",{class:"flex justify-center items-center"},h("svg",{class:"w-6 h-6",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),this.isOpen&&h("span",{class:"px-2"},h("b",null,"Nostr")," Login")),this.isOpen&&A&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&A&&h("nl-login-status",{key:"5355376e14be5616978f4ab4a7f635aa34dd79b1",info:this.userInfo}))),h("button",{key:"7b772fb052250c40b5f82df5c78ed89a4fc1c294",onClick:()=>this.handleClose(),type:"button",class:(this.isOpen?"z-20":"z-0")+" nl-action-button absolute right-2 top-2 z-0 show-slow flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{key:"4ed204a4e214ef7d6d31bee7d3b3b0297adc969f",class:"sr-only"},"Close"),h("svg",{key:"78705023791bbfe894b5a522471340ee21ddc38d",class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"065017768a1984e78818d39ee21d8a9e771fae71",d:"M18 6 6 18"}),h("path",{key:"2c647fa99c7d9d896fc36075862e6e52d7897228",d:"m6 6 12 12"}))),h("div",{key:"c96e61467259657e68a30a9adc47aab195bf7ee8",class:"p-3 show-slow"},this.isOpenConfirm?h("div",null,h("div",{class:"w-8 h-8 p-1/2 rounded-full border border-gray-200 bg-white mb-2 mt-2 show-slow m-auto"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#5a68ff",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))),h("p",{class:"mb-2 text-center max-w-40 min-w-40 mx-auto"},this.isOpenNotifyTimeOut?"Keys not responding, check your key storage app":`Confirmation required at ${this.domain}`),this.isOpenNotifyTimeOut?h("a",{onClick:()=>this.handleClose(),href:`https://${this.domain}`,target:"_blank",class:"nl-button text-nowrap py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},"Go to ",this.domain):h("button-base",{onClick:()=>this.handleConfirm(),titleBtn:"Confirm"})):h("div",null,h("div",null,this.titleBanner&&h("p",{class:"mb-2 text-center show-slow max-w-40 min-w-40 mx-auto"},this.titleBanner),I&&h(Fragment,null,!M&&h("p",{class:"mb-2 text-center show-slow text-red-400 max-w-40 min-w-40 mx-auto"},"Your profile may be lost if you close this tab"),h("div",{class:"mb-2"},h("button-base",{onClick:()=>this.handleImport(),theme:"lemonade",titleBtn:"Back up profile"}))),h("div",{class:"mb-2"},h("nl-change-account",{currentAccount:this.userInfo,accounts:this.accounts})),!!this.listNotifies.length&&h("div",{onClick:()=>this.handleRetryConfirm(),class:"show-slow border border-yellow-600 text-yellow-600 bg-yellow-100 p-2 rounded-lg mb-2 cursor-pointer w-44 text-xs m-auto text-center"},"Requests: ",this.listNotifies.length),this.userInfo?h("button-base",{onClick:()=>this.handleLogout(),titleBtn:"Log out"}):h("div",null,h("button-base",{onClick:()=>this.handleLogin(),titleBtn:"Log in"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{onClick:()=>this.handleSignup(),titleBtn:"Sign up"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))))))))))}static get watchers(){return{notify:["watchNotifyHandler"]}}static get style(){return NlBannerStyle0}},[1,"nl-banner",{theme:[1025],darkMode:[1028,"dark-mode"],hiddenMode:[1028,"hidden-mode"],titleBanner:[1,"title-banner"],listNotifies:[16],isOpen:[1028,"is-open"],isLoading:[4,"is-loading"],notify:[16],userInfo:[16],accounts:[1040],isLogin:[32],domain:[32],urlNotify:[32],isOpenNotifyTimeOut:[32],isConfirm:[32],isOpenConfirm:[32],isNotConfirmToSend:[32]},void 0,{notify:["watchNotifyHandler"]}]);function defineCustomElement(){typeof customElements>"u"||["nl-banner","button-base","nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-banner":customElements.get(i)||customElements.define(i,NlBanner);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-change-account":customElements.get(i)||defineCustomElement$1();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var lib$1={},types={};Object.defineProperty(types,"__esModule",{value:!0});var ee={},taskCollection$1={},taskCollection={},bakeCollection={};(function(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bakeCollectionVariadic=exports.bakeCollectionAwait=exports.bakeCollection=exports.BAKED_EMPTY_FUNC=void 0,exports.BAKED_EMPTY_FUNC=function(){};var FORLOOP_FALLBACK=1500;function generateArgsDefCode(i){var a="";if(0===i)return a;for(var r=0;r1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++}function push_rebuild(i,a){var r,o=this.length;if(o>1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,a){-1!==a&&(0===a?i.shift():a===i.length-1?i.length=i.length-1:i.splice(a,1))}function removeLast_norebuild(i){0!==this.length&&(1===this.length?this._tasks===i&&(this.length=0):(_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length))}function removeLast_rebuild(i){if(0!==this.length){if(1===this.length)return this._tasks===i&&(this.length=0),this.firstEmitBuildStrategy?void(this.call=bake_collection_1.BAKED_EMPTY_FUNC):void this.rebuild();_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length,this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}}function insert_norebuild(i){for(var a,r=[],o=1;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$3(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$3(i.outputLen),number$3(i.blockLen)}function exists$3(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,a){bytes$3(i);const r=a.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,a)=>i<<32-a|i>>>a,isLE$3=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$3)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes$4(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes$3(i){if("string"==typeof i&&(i=utf8ToBytes$4(i)),!u8a$3(i))throw new Error("expected Uint8Array, got "+typeof i);return i}function concatBytes$3(...i){const a=new Uint8Array(i.reduce((o,s)=>o+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$3(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const a=o=>i().update(toBytes$3(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$2(i=32){if(crypto$3&&"function"==typeof crypto$3.getRandomValues)return crypto$3.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function setBigUint64$2(i,a,r,o){if("function"==typeof i.setBigUint64)return i.setBigUint64(a,r,o);const s=BigInt(32),c=BigInt(4294967295),y=Number(r>>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$2=class extends Hash$2{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$2(this.buffer)}update(i){assert$3.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$3(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let M=c;MI.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj$2=(i,a,r)=>i&a^i&r^a&r,SHA256_K$2=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV$2=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$2=new Uint32Array(64);let SHA256$2=class extends SHA2$2{constructor(){super(64,32,8,!1),this.A=0|IV$2[0],this.B=0|IV$2[1],this.C=0|IV$2[2],this.D=0|IV$2[3],this.E=0|IV$2[4],this.F=0|IV$2[5],this.G=0|IV$2[6],this.H=0|IV$2[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let M=0;M<16;M++,a+=4)SHA256_W$2[M]=i.getUint32(a,!1);for(let M=16;M<64;M++){const T=SHA256_W$2[M-15],O=SHA256_W$2[M-2],L=rotr$2(T,7)^rotr$2(T,18)^T>>>3,Y=rotr$2(O,17)^rotr$2(O,19)^O>>>10;SHA256_W$2[M]=Y+SHA256_W$2[M-7]+L+SHA256_W$2[M-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:A,H:I}=this;for(let M=0;M<64;M++){const T=I+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,A)+SHA256_K$2[M]+SHA256_W$2[M]|0,O=(rotr$2(r,2)^rotr$2(r,13)^rotr$2(r,22))+Maj$2(r,o,s)|0;I=A,A=k,k=y,y=c+T|0,c=s,s=o,o=r,r=T+O|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,A=A+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,A,I)}roundClean(){SHA256_W$2.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},SHA224$1=class extends SHA256$2{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};const sha256$2=wrapConstructor$2(()=>new SHA256$2);wrapConstructor$2(()=>new SHA224$1);const _0n$4=BigInt(0),_1n$4=BigInt(1),_2n$2=BigInt(2),u8a$2=i=>i instanceof Uint8Array,hexes$2=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$2(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}function equalBytes$1(i,a){if(i.length!==a.length)return!1;for(let r=0;r_0n$4;i>>=_1n$4,a+=1);return a}function bitGet(i,a){return i>>BigInt(a)&_1n$4}const bitSet=(i,a,r)=>i|(r?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,a,r){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof a||a<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=u8n(i),s=u8n(i),c=0;const y=()=>{o.fill(1),s.fill(0),c=0},k=(...M)=>r(s,o,...M),A=(M=u8n())=>{s=k(u8fr([0]),M),o=k(),0!==M.length&&(s=k(u8fr([1]),M),o=k())},I=()=>{if(c++>=1e3)throw new Error("drbg: tried 1000 values");let M=0;const T=[];for(;M{let O;for(y(),A(M);!(O=T(I()));)A();return y(),O}}const validatorFns={bigint:i=>"bigint"==typeof i,function:i=>"function"==typeof i,boolean:i=>"boolean"==typeof i,string:i=>"string"==typeof i,isSafeInteger:i=>Number.isSafeInteger(i),array:i=>Array.isArray(i),field:(i,a)=>a.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,a,r={}){const o=(s,c,y)=>{const k=validatorFns[c];if("function"!=typeof k)throw new Error(`Invalid validator "${c}", expected function`);const A=i[s];if(!(y&&void 0===A||k(A,i)))throw new Error(`Invalid param ${String(s)}=${A} (${typeof A}), expected ${c}`)};for(const[s,c]of Object.entries(a))o(s,c,!1);for(const[s,c]of Object.entries(r))o(s,c,!0);return i}var ut=Object.freeze({__proto__:null,bitGet,bitLen,bitMask,bitSet,bytesToHex:bytesToHex$2,bytesToNumberBE,bytesToNumberLE,concatBytes:concatBytes$2,createHmacDrbg,ensureBytes:ensureBytes$1,equalBytes:equalBytes$1,hexToBytes:hexToBytes$2,hexToNumber,numberToBytesBE,numberToBytesLE,numberToHexUnpadded,numberToVarBytesBE,utf8ToBytes:utf8ToBytes$3,validateObject});const _0n$3=BigInt(0),_1n$3=BigInt(1),_2n$1=BigInt(2),_3n$1=BigInt(3),_4n=BigInt(4),_5n=BigInt(5),_8n=BigInt(8);function mod(i,a){const r=i%a;return r>=_0n$3?r:a+r}function pow(i,a,r){if(r<=_0n$3||a<_0n$3)throw new Error("Expected power/modulo > 0");if(r===_1n$3)return _0n$3;let o=_1n$3;for(;a>_0n$3;)a&_1n$3&&(o=o*i%r),i=i*i%r,a>>=_1n$3;return o}function pow2(i,a,r){let o=i;for(;a-- >_0n$3;)o*=o,o%=r;return o}function invert(i,a){if(i===_0n$3||a<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${a}`);let r=mod(i,a),o=a,s=_0n$3,c=_1n$3;for(;r!==_0n$3;){const y=o%r,k=s-c*(o/r);o=r,r=y,s=c,c=k}if(o!==_1n$3)throw new Error("invert: does not exist");return mod(s,a)}function tonelliShanks(i){const a=(i-_1n$3)/_2n$1;let r,o,s;for(r=i-_1n$3,o=0;r%_2n$1===_0n$3;r/=_2n$1,o++);for(s=_2n$1;s(r[o]="function",r),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,a,r){if(r<_0n$3)throw new Error("Expected power > 0");if(r===_0n$3)return i.ONE;if(r===_1n$3)return a;let o=i.ONE,s=a;for(;r>_0n$3;)r&_1n$3&&(o=i.mul(o,s)),s=i.sqr(s),r>>=_1n$3;return o}function FpInvertBatch(i,a){const r=new Array(a.length),o=a.reduce((c,y,k)=>i.is0(y)?c:(r[k]=c,i.mul(c,y)),i.ONE),s=i.inv(o);return a.reduceRight((c,y,k)=>i.is0(y)?c:(r[k]=i.mul(c,r[k]),i.mul(c,y)),s),r}function nLength(i,a){const r=void 0!==a?a:i.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function Field(i,a,r=!1,o={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:s,nByteLength:c}=nLength(i,a);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:s,BYTES:c,MASK:bitMask(s),ZERO:_0n$3,ONE:_1n$3,create:A=>mod(A,i),isValid:A=>{if("bigint"!=typeof A)throw new Error("Invalid field element: expected bigint, got "+typeof A);return _0n$3<=A&&AA===_0n$3,isOdd:A=>(A&_1n$3)===_1n$3,neg:A=>mod(-A,i),eql:(A,I)=>A===I,sqr:A=>mod(A*A,i),add:(A,I)=>mod(A+I,i),sub:(A,I)=>mod(A-I,i),mul:(A,I)=>mod(A*I,i),pow:(A,I)=>FpPow(k,A,I),div:(A,I)=>mod(A*invert(I,i),i),sqrN:A=>A*A,addN:(A,I)=>A+I,subN:(A,I)=>A-I,mulN:(A,I)=>A*I,inv:A=>invert(A,i),sqrt:o.sqrt||(A=>y(k,A)),invertBatch:A=>FpInvertBatch(k,A),cmov:(A,I,M)=>M?I:A,toBytes:A=>r?numberToBytesLE(A,c):numberToBytesBE(A,c),fromBytes:A=>{if(A.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${A.length}`);return r?bytesToNumberLE(A):bytesToNumberBE(A)}});return Object.freeze(k)}function hashToPrivateScalar(i,a,r=!1){const o=(i=ensureBytes$1("privateHash",i)).length,s=nLength(a).nByteLength+8;if(s<24||o1024)throw new Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${o}`);return mod(r?bytesToNumberLE(i):bytesToNumberBE(i),a-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,a){const r=(s,c)=>{const y=c.negate();return s?y:c},o=s=>({windows:Math.ceil(a/s)+1,windowSize:2**(s-1)});return{constTimeNegate:r,unsafeLadder(s,c){let y=i.ZERO,k=s;for(;c>_0n$2;)c&_1n$2&&(y=y.add(k)),k=k.double(),c>>=_1n$2;return y},precomputeWindow(s,c){const{windows:y,windowSize:k}=o(c),A=[];let I=s,M=I;for(let T=0;T>=L,q>A&&(q-=O,y+=_1n$2);const ct=z,dt=z+Math.abs(q)-1,vt=q<0;0===q?M=M.add(r(Y%2!=0,c[ct])):I=I.add(r(vt,c[dt]))}return{p:I,f:M}},wNAFCached(s,c,y,k){const A=s._WINDOW_SIZE||1;let I=c.get(s);return I||(I=this.precomputeWindow(s,A),1!==A&&c.set(s,k(I))),this.wNAF(A,I,y)}}}function validateBasic(i){return validateField(i.Fp),validateObject(i,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...nLength(i.n,i.nBitLength),...i,p:i.Fp.ORDER})}function validatePointOpts(i){const a=validateBasic(i);validateObject(a,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:o,a:s}=a;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...a})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:a}=DER;if(i.length<2||2!==i[0])throw new a("Invalid signature integer tag");const r=i[1],o=i.subarray(2,r+2);if(!r||o.length!==r)throw new a("Invalid signature integer: wrong length");if(128&o[0])throw new a("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new a("Invalid signature integer: unnecessary leading zero");return{d:b2n(o),l:i.subarray(r+2)}},toSig(i){const{Err:a}=DER,r="string"==typeof i?h2b(i):i;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let o=r.length;if(o<2||48!=r[0])throw new a("Invalid signature tag");if(r[1]!==o-2)throw new a("Invalid signature: incorrect length");const{d:s,l:c}=DER._parseInt(r.subarray(2)),{d:y,l:k}=DER._parseInt(c);if(k.length)throw new a("Invalid signature: left bytes after parsing");return{r:s,s:y}},hexFromSig(i){const a=I=>8&Number.parseInt(I[0],16)?"00"+I:I,r=I=>{const M=I.toString(16);return 1&M.length?`0${M}`:M},o=a(r(i.s)),s=a(r(i.r)),c=o.length/2,y=s.length/2,k=r(c),A=r(y);return`30${r(y+c+4)}02${A}${s}02${k}${o}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const a=validatePointOpts(i),{Fp:r}=a,o=a.toBytes||((Y,z,q)=>{const ct=z.toAffine();return concatBytes$2(Uint8Array.from([4]),r.toBytes(ct.x),r.toBytes(ct.y))}),s=a.fromBytes||(Y=>{const z=Y.subarray(1);return{x:r.fromBytes(z.subarray(0,r.BYTES)),y:r.fromBytes(z.subarray(r.BYTES,2*r.BYTES))}});function c(Y){const{a:z,b:q}=a,ct=r.sqr(Y),dt=r.mul(ct,Y);return r.add(r.add(dt,r.mul(Y,z)),q)}if(!r.eql(r.sqr(a.Gy),c(a.Gx)))throw new Error("bad generator point: equation left != right");function y(Y){return"bigint"==typeof Y&&_0n$1r.eql(tt,r.ZERO);return dt(q)&&dt(ct)?T.ZERO:new T(q,ct,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(z){const q=r.invertBatch(z.map(ct=>ct.pz));return z.map((ct,dt)=>ct.toAffine(q[dt])).map(T.fromAffine)}static fromHex(z){const q=T.fromAffine(s(ensureBytes$1("pointHex",z)));return q.assertValidity(),q}static fromPrivateKey(z){return T.BASE.multiply(A(z))}_setWindowSize(z){this._WINDOW_SIZE=z,I.delete(this)}assertValidity(){if(this.is0()){if(a.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:z,y:q}=this.toAffine();if(!r.isValid(z)||!r.isValid(q))throw new Error("bad point: x or y not FE");const ct=r.sqr(q),dt=c(z);if(!r.eql(ct,dt))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:z}=this.toAffine();if(r.isOdd)return!r.isOdd(z);throw new Error("Field doesn't support isOdd")}equals(z){M(z);const{px:q,py:ct,pz:dt}=this,{px:tt,py:vt,pz:Mt}=z,$t=r.eql(r.mul(q,Mt),r.mul(tt,dt)),St=r.eql(r.mul(ct,Mt),r.mul(vt,dt));return $t&&St}negate(){return new T(this.px,r.neg(this.py),this.pz)}double(){const{a:z,b:q}=a,ct=r.mul(q,_3n),{px:dt,py:tt,pz:vt}=this;let Mt=r.ZERO,$t=r.ZERO,St=r.ZERO,kt=r.mul(dt,dt),nt=r.mul(tt,tt),at=r.mul(vt,vt),rt=r.mul(dt,tt);return rt=r.add(rt,rt),St=r.mul(dt,vt),St=r.add(St,St),Mt=r.mul(z,St),$t=r.mul(ct,at),$t=r.add(Mt,$t),Mt=r.sub(nt,$t),$t=r.add(nt,$t),$t=r.mul(Mt,$t),Mt=r.mul(rt,Mt),St=r.mul(ct,St),at=r.mul(z,at),rt=r.sub(kt,at),rt=r.mul(z,rt),rt=r.add(rt,St),St=r.add(kt,kt),kt=r.add(St,kt),kt=r.add(kt,at),kt=r.mul(kt,rt),$t=r.add($t,kt),at=r.mul(tt,vt),at=r.add(at,at),kt=r.mul(at,rt),Mt=r.sub(Mt,kt),St=r.mul(at,nt),St=r.add(St,St),St=r.add(St,St),new T(Mt,$t,St)}add(z){M(z);const{px:q,py:ct,pz:dt}=this,{px:tt,py:vt,pz:Mt}=z;let $t=r.ZERO,St=r.ZERO,kt=r.ZERO;const nt=a.a,at=r.mul(a.b,_3n);let rt=r.mul(q,tt),yt=r.mul(ct,vt),Ct=r.mul(dt,Mt),Vt=r.add(q,ct),Xt=r.add(tt,vt);Vt=r.mul(Vt,Xt),Xt=r.add(rt,yt),Vt=r.sub(Vt,Xt),Xt=r.add(q,dt);let oe=r.add(tt,Mt);return Xt=r.mul(Xt,oe),oe=r.add(rt,Ct),Xt=r.sub(Xt,oe),oe=r.add(ct,dt),$t=r.add(vt,Mt),oe=r.mul(oe,$t),$t=r.add(yt,Ct),oe=r.sub(oe,$t),kt=r.mul(nt,Xt),$t=r.mul(at,Ct),kt=r.add($t,kt),$t=r.sub(yt,kt),kt=r.add(yt,kt),St=r.mul($t,kt),yt=r.add(rt,rt),yt=r.add(yt,rt),Ct=r.mul(nt,Ct),Xt=r.mul(at,Xt),yt=r.add(yt,Ct),Ct=r.sub(rt,Ct),Ct=r.mul(nt,Ct),Xt=r.add(Xt,Ct),rt=r.mul(yt,Xt),St=r.add(St,rt),rt=r.mul(oe,Xt),$t=r.mul(Vt,$t),$t=r.sub($t,rt),rt=r.mul(Vt,yt),kt=r.mul(oe,kt),kt=r.add(kt,rt),new T($t,St,kt)}subtract(z){return this.add(z.negate())}is0(){return this.equals(T.ZERO)}wNAF(z){return L.wNAFCached(this,I,z,q=>{const ct=r.invertBatch(q.map(dt=>dt.pz));return q.map((dt,tt)=>dt.toAffine(ct[tt])).map(T.fromAffine)})}multiplyUnsafe(z){const q=T.ZERO;if(z===_0n$1)return q;if(k(z),z===_1n$1)return this;const{endo:ct}=a;if(!ct)return L.unsafeLadder(this,z);let{k1neg:dt,k1:tt,k2neg:vt,k2:Mt}=ct.splitScalar(z),$t=q,St=q,kt=this;for(;tt>_0n$1||Mt>_0n$1;)tt&_1n$1&&($t=$t.add(kt)),Mt&_1n$1&&(St=St.add(kt)),kt=kt.double(),tt>>=_1n$1,Mt>>=_1n$1;return dt&&($t=$t.negate()),vt&&(St=St.negate()),St=new T(r.mul(St.px,ct.beta),St.py,St.pz),$t.add(St)}multiply(z){k(z);let q,ct,dt=z;const{endo:tt}=a;if(tt){const{k1neg:vt,k1:Mt,k2neg:$t,k2:St}=tt.splitScalar(dt);let{p:kt,f:nt}=this.wNAF(Mt),{p:at,f:rt}=this.wNAF(St);kt=L.constTimeNegate(vt,kt),at=L.constTimeNegate($t,at),at=new T(r.mul(at.px,tt.beta),at.py,at.pz),q=kt.add(at),ct=nt.add(rt)}else{const{p:vt,f:Mt}=this.wNAF(dt);q=vt,ct=Mt}return T.normalizeZ([q,ct])[0]}multiplyAndAddUnsafe(z,q,ct){const dt=T.BASE,tt=(Mt,$t)=>$t!==_0n$1&&$t!==_1n$1&&Mt.equals(dt)?Mt.multiply($t):Mt.multiplyUnsafe($t),vt=tt(this,q).add(tt(z,ct));return vt.is0()?void 0:vt}toAffine(z){const{px:q,py:ct,pz:dt}=this,tt=this.is0();null==z&&(z=tt?r.ONE:r.inv(dt));const vt=r.mul(q,z),Mt=r.mul(ct,z),$t=r.mul(dt,z);if(tt)return{x:r.ZERO,y:r.ZERO};if(!r.eql($t,r.ONE))throw new Error("invZ was invalid");return{x:vt,y:Mt}}isTorsionFree(){const{h:z,isTorsionFree:q}=a;if(z===_1n$1)return!0;if(q)return q(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:z,clearCofactor:q}=a;return z===_1n$1?this:q?q(T,this):this.multiplyUnsafe(a.h)}toRawBytes(z=!0){return this.assertValidity(),o(T,this,z)}toHex(z=!0){return bytesToHex$2(this.toRawBytes(z))}}T.BASE=new T(a.Gx,a.Gy,r.ONE),T.ZERO=new T(r.ZERO,r.ONE,r.ZERO);const O=a.nBitLength,L=wNAF(T,a.endo?Math.ceil(O/2):O);return{CURVE:a,ProjectivePoint:T,normPrivateKeyToScalar:A,weierstrassEquation:c,isWithinCurveOrder:y}}function validateOpts(i){const a=validateBasic(i);return validateObject(a,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...a})}function weierstrass(i){const a=validateOpts(i),{Fp:r,n:o}=a,s=r.BYTES+1,c=2*r.BYTES+1;function y(nt){return mod(nt,o)}function k(nt){return invert(nt,o)}const{ProjectivePoint:A,normPrivateKeyToScalar:I,weierstrassEquation:M,isWithinCurveOrder:T}=weierstrassPoints({...a,toBytes(nt,at,rt){const yt=at.toAffine(),Ct=r.toBytes(yt.x),Vt=concatBytes$2;return rt?Vt(Uint8Array.from([at.hasEvenY()?2:3]),Ct):Vt(Uint8Array.from([4]),Ct,r.toBytes(yt.y))},fromBytes(nt){const at=nt.length,rt=nt[0],yt=nt.subarray(1);if(at!==s||2!==rt&&3!==rt){if(at===c&&4===rt)return{x:r.fromBytes(yt.subarray(0,r.BYTES)),y:r.fromBytes(yt.subarray(r.BYTES,2*r.BYTES))};throw new Error(`Point of length ${at} was invalid. Expected ${s} compressed bytes or ${c} uncompressed bytes`)}{const Vt=bytesToNumberBE(yt);if(!(_0n$1<(Ct=Vt)&&CtbytesToHex$2(numberToBytesBE(nt,a.nByteLength));function L(nt){return nt>o>>_1n$1}const Y=(nt,at,rt)=>bytesToNumberBE(nt.slice(at,rt));class z{constructor(at,rt,yt){this.r=at,this.s=rt,this.recovery=yt,this.assertValidity()}static fromCompact(at){const rt=a.nByteLength;return at=ensureBytes$1("compactSignature",at,2*rt),new z(Y(at,0,rt),Y(at,rt,2*rt))}static fromDER(at){const{r:rt,s:yt}=DER.toSig(ensureBytes$1("DER",at));return new z(rt,yt)}assertValidity(){if(!T(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!T(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(at){return new z(this.r,this.s,at)}recoverPublicKey(at){const{r:rt,s:yt,recovery:Ct}=this,Vt=tt(ensureBytes$1("msgHash",at));if(null==Ct||![0,1,2,3].includes(Ct))throw new Error("recovery id invalid");const Xt=2===Ct||3===Ct?rt+a.n:rt;if(Xt>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const Xe=A.fromHex((1&Ct?"03":"02")+O(Xt)),kr=k(Xt),gr=y(-Vt*kr),wr=y(yt*kr),Wr=A.BASE.multiplyAndAddUnsafe(Xe,gr,wr);if(!Wr)throw new Error("point at infinify");return Wr.assertValidity(),Wr}hasHighS(){return L(this.s)}normalizeS(){return this.hasHighS()?new z(this.r,y(-this.s),this.recovery):this}toDERRawBytes(){return hexToBytes$2(this.toDERHex())}toDERHex(){return DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return hexToBytes$2(this.toCompactHex())}toCompactHex(){return O(this.r)+O(this.s)}}const q={isValidPrivateKey(nt){try{return I(nt),!0}catch{return!1}},normPrivateKeyToScalar:I,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(a.randomBytes(r.BYTES+8),o),a.nByteLength),precompute:(nt=8,at=A.BASE)=>(at._setWindowSize(nt),at.multiply(BigInt(3)),at)};function ct(nt){const at=nt instanceof Uint8Array,rt="string"==typeof nt,yt=(at||rt)&&nt.length;return at?yt===s||yt===c:rt?yt===2*s||yt===2*c:nt instanceof A}const dt=a.bits2int||function(nt){const at=bytesToNumberBE(nt),rt=8*nt.length-a.nBitLength;return rt>0?at>>BigInt(rt):at},tt=a.bits2int_modN||function(nt){return y(dt(nt))},vt=bitMask(a.nBitLength);function Mt(nt){if("bigint"!=typeof nt)throw new Error("bigint expected");if(!(_0n$1<=nt&&ntxe in rt))throw new Error("sign() legacy options not supported");const{hash:yt,randomBytes:Ct}=a;let{lowS:Vt,prehash:Xt,extraEntropy:oe}=rt;null==Vt&&(Vt=!0),nt=ensureBytes$1("msgHash",nt),Xt&&(nt=ensureBytes$1("prehashed msgHash",yt(nt)));const Xe=tt(nt),kr=I(at),gr=[Mt(kr),Mt(Xe)];if(null!=oe){const xe=!0===oe?Ct(r.BYTES):oe;gr.push(ensureBytes$1("extraEntropy",xe,r.BYTES))}const wr=concatBytes$2(...gr),Wr=Xe;return{seed:wr,k2sig:function(xe){const Le=dt(xe);if(!T(Le))return;const gt=k(Le),Nt=A.BASE.multiply(Le).toAffine(),Se=y(Nt.x);if(Se===_0n$1)return;const Rt=y(gt*y(Wr+Se*kr));if(Rt===_0n$1)return;let de=(Nt.x===Se?0:2)|Number(Nt.y&_1n$1),jt=Rt;return Vt&&L(Rt)&&(jt=L(De=Rt)?y(-De):De,de^=1),new z(Se,jt,de);var De}}}(nt,at,rt);return createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(yt,Ct)},verify:function(nt,at,rt,yt=kt){const Ct=nt;if(at=ensureBytes$1("msgHash",at),rt=ensureBytes$1("publicKey",rt),"strict"in yt)throw new Error("options.strict was renamed to lowS");const{lowS:Vt,prehash:Xt}=yt;let oe,Xe;try{if("string"==typeof Ct||Ct instanceof Uint8Array)try{oe=z.fromDER(Ct)}catch(Nt){if(!(Nt instanceof DER.Err))throw Nt;oe=z.fromCompact(Ct)}else{if("object"!=typeof Ct||"bigint"!=typeof Ct.r||"bigint"!=typeof Ct.s)throw new Error("PARSE");{const{r:Nt,s:Se}=Ct;oe=new z(Nt,Se)}}Xe=A.fromHex(rt)}catch(Nt){if("PARSE"===Nt.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Vt&&oe.hasHighS())return!1;Xt&&(at=a.hash(at));const{r:kr,s:gr}=oe,wr=tt(at),Wr=k(gr),xe=y(wr*Wr),Le=y(kr*Wr),gt=A.BASE.multiplyAndAddUnsafe(Xe,xe,Le)?.toAffine();return!!gt&&y(gt.x)===kr},ProjectivePoint:A,Signature:z,utils:q}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const r=toBytes$3(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$2(i,a).update(r).digest();function getHash(i){return{hash:i,hmac:(a,...r)=>hmac$2(i,a,concatBytes$3(...r)),randomBytes:randomBytes$2}}function createCurve(i,a){const r=o=>weierstrass({...i,...getHash(o)});return Object.freeze({...r(a),create:r})}hmac$2.create=(i,a)=>new HMAC$2(i,a);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,a)=>(i+a/_2n)/a;function sqrtMod(i){const a=secp256k1P,r=BigInt(3),o=BigInt(6),s=BigInt(11),c=BigInt(22),y=BigInt(23),k=BigInt(44),A=BigInt(88),I=i*i*i%a,M=I*I*i%a,T=pow2(M,r,a)*M%a,O=pow2(T,r,a)*M%a,L=pow2(O,_2n,a)*I%a,Y=pow2(L,s,a)*L%a,z=pow2(Y,c,a)*Y%a,q=pow2(z,k,a)*z%a,ct=pow2(q,A,a)*q%a,dt=pow2(ct,k,a)*z%a,tt=pow2(dt,r,a)*M%a,vt=pow2(tt,y,a)*Y%a,Mt=pow2(vt,o,a)*I%a,$t=pow2(Mt,_2n,a);if(!Fp.eql(Fp.sqr($t),i))throw new Error("Cannot find square root");return $t}const Fp=Field(secp256k1P,void 0,void 0,{sqrt:sqrtMod}),secp256k1=createCurve({a:BigInt(0),b:BigInt(7),Fp,n:secp256k1N,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:i=>{const a=secp256k1N,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),c=r,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(c*i,a),A=divNearest(-o*i,a);let I=mod(i-k*r-A*s,a),M=mod(-k*o-A*c,a);const T=I>y,O=M>y;if(T&&(I=a-I),O&&(M=a-M),I>y||M>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:T,k1:I,k2neg:O,k2:M}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0ns.charCodeAt(0)));r=concatBytes$2(o,o),TAGGED_HASH_PREFIXES[i]=r}return sha256$2(concatBytes$2(r,...a))}const pointToBytes=i=>i.toRawBytes(!0).slice(1),numTo32b=i=>numberToBytesBE(i,32),modP=i=>mod(i,secp256k1P),modN=i=>mod(i,secp256k1N),Point$1=secp256k1.ProjectivePoint,GmulAdd=(i,a,r)=>Point$1.BASE.multiplyAndAddUnsafe(i,a,r);function schnorrGetExtPubKey(i){let a=secp256k1.utils.normPrivateKeyToScalar(i),r=Point$1.fromPrivateKey(a);return{scalar:r.hasEvenY()?a:modN(-a),bytes:pointToBytes(r)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const a=modP(i*i);let r=sqrtMod(modP(a*i+BigInt(7)));r%_2n!==_0n&&(r=modP(-r));const o=new Point$1(i,r,_1n);return o.assertValidity(),o}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,a,r=randomBytes$2(32)){const o=ensureBytes$1("message",i),{bytes:s,scalar:c}=schnorrGetExtPubKey(a),y=ensureBytes$1("auxRand",r,32),k=numTo32b(c^bytesToNumberBE(taggedHash("BIP0340/aux",y))),A=taggedHash("BIP0340/nonce",k,s,o),I=modN(bytesToNumberBE(A));if(I===_0n)throw new Error("sign failed: k is zero");const{bytes:M,scalar:T}=schnorrGetExtPubKey(I),O=challenge(M,s,o),L=new Uint8Array(64);if(L.set(M,0),L.set(numTo32b(modN(T+O*c)),32),!schnorrVerify(L,o,s))throw new Error("sign: Invalid signature produced");return L}function schnorrVerify(i,a,r){const o=ensureBytes$1("signature",i,64),s=ensureBytes$1("message",a),c=ensureBytes$1("publicKey",r,32);try{const y=lift_x(bytesToNumberBE(c)),k=bytesToNumberBE(o.subarray(0,32));if(!fe(k))return!1;const A=bytesToNumberBE(o.subarray(32,64));if(!ge(A))return!1;const I=challenge(numTo32b(k),pointToBytes(y),s),M=GmulAdd(y,A,modN(-I));return!(!M||!M.hasEvenY()||M.toAffine().x!==k)}catch{return!1}}const schnorr={getPublicKey:schnorrGetPublicKey,sign:schnorrSign,verify:schnorrVerify,utils:{randomPrivateKey:secp256k1.utils.randomPrivateKey,lift_x,pointToBytes,numberToBytesBE,bytesToNumberBE,taggedHash,mod}},crypto$2="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,u8a$1=i=>i instanceof Uint8Array,createView$1=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$1=(i,a)=>i<<32-a|i>>>a,isLE$2=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$2)throw new Error("Non little-endian hardware is not supported");const hexes$1=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$1(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const a=o=>i().update(toBytes$2(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$1(i=32){if(crypto$2&&"function"==typeof crypto$2.getRandomValues)return crypto$2.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function number$2(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$2(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function bytes$2(i,...a){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$2(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$2(i.outputLen),number$2(i.blockLen)}function exists$2(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,a){bytes$2(i);const r=a.outputLen;if(i.length>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$1=class extends Hash$1{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$1(this.buffer)}update(i){assert$2.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$2(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let M=c;MI.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj$1=(i,a,r)=>i&a^i&r^a&r,SHA256_K$1=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV$1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$1=new Uint32Array(64);let SHA256$1=class extends SHA2$1{constructor(){super(64,32,8,!1),this.A=0|IV$1[0],this.B=0|IV$1[1],this.C=0|IV$1[2],this.D=0|IV$1[3],this.E=0|IV$1[4],this.F=0|IV$1[5],this.G=0|IV$1[6],this.H=0|IV$1[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let M=0;M<16;M++,a+=4)SHA256_W$1[M]=i.getUint32(a,!1);for(let M=16;M<64;M++){const T=SHA256_W$1[M-15],O=SHA256_W$1[M-2],L=rotr$1(T,7)^rotr$1(T,18)^T>>>3,Y=rotr$1(O,17)^rotr$1(O,19)^O>>>10;SHA256_W$1[M]=Y+SHA256_W$1[M-7]+L+SHA256_W$1[M-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:A,H:I}=this;for(let M=0;M<64;M++){const T=I+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,A)+SHA256_K$1[M]+SHA256_W$1[M]|0,O=(rotr$1(r,2)^rotr$1(r,13)^rotr$1(r,22))+Maj$1(r,o,s)|0;I=A,A=k,k=y,y=c+T|0,c=s,s=o,o=r,r=T+O|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,A=A+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,A,I)}roundClean(){SHA256_W$1.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};class SHA224 extends SHA256$1{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const sha256$1=wrapConstructor$1(()=>new SHA256$1);function assertNumber(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function chain$1(...i){const a=(r,o)=>s=>r(o(s));return{encode:Array.from(i).reverse().reduce((r,o)=>r?a(r,o.encode):o.encode,void 0),decode:i.reduce((r,o)=>r?a(r,o.decode):o.decode,void 0)}}function alphabet$1(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(assertNumber(r),r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding$1(i,a="="){if(assertNumber(i),"string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:a=>a,decode:a=>i(a)}}function convertRadix$1(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(assertNumber(y),y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let A=o;Anew SHA224);const gcd$1=(i,a)=>a?gcd$1(a,i%a):i,radix2carry$1=(i,a)=>i+(a-gcd$1(i,a));function convertRadix2$1(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry$1(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry$1(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const A of i){if(assertNumber(A),A>=2**a)throw new Error(`convertRadix2: invalid data word=${A} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix$1(i){return assertNumber(i),{encode:a=>{if(!(a instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(a,i,256))}}}function radix2$1(i,a=!1){if(assertNumber(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry$1(8,i)>32||radix2carry$1(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(r,i,8,a))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}const base16=chain$1(radix2$1(4),alphabet$1("0123456789ABCDEF"),join$1("")),base32=chain$1(radix2$1(5),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),padding$1(5),join$1(""));chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"),padding$1(5),join$1("")),chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),join$1(""),normalize$1(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")));const base64$1=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),padding$1(6),join$1("")),base64url=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),padding$1(6),join$1("")),genBase58$1=i=>chain$1(radix$1(58),alphabet$1(i),join$1("")),base58$1=genBase58$1("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");genBase58$1("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),genBase58$1("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const XMR_BLOCK_LEN=[0,2,3,5,6,7,9,10,11],base58xmr={encode(i){let a="";for(let r=0;r>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS$1[o]);return r}function bechChecksum$1(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod$1(s)^y>>5}s=bech32Polymod$1(s);for(let c=0;cA)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${A})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const M=(k=I).lastIndexOf("1");if(0===M||-1===M)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,M),O=k.slice(M+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET$1.decode(O).slice(0,-6),Y=bechChecksum$1(T,L,a);if(!O.endsWith(Y))throw new Error(`Invalid checksum in ${k}: expected "${Y}"`);return{prefix:T,words:L}}return{encode:function(k,A,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof A);const M=k.length+7+A.length;if(!1!==I&&M>I)throw new TypeError(`Length ${M} exceeds limit ${I}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(A)}${bechChecksum$1(k,A,a)}`},decode:y,decodeToBytes:function(k){const{prefix:A,words:I}=y(k,!1);return{prefix:A,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32$1=genBech32$1("bech32");genBech32$1("bech32m");const utf8={encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)},hex=chain$1(radix2$1(4),alphabet$1("0123456789abcdef"),join$1(""),normalize$1(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()})),CODERS={utf8,hex,base16,base32,base64:base64$1,base64url,base58:base58$1,base58xmr};Object.keys(CODERS).join(", ");const wordlist="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n");function number$1(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$1(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function isBytes$2(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function bytes$1(i,...a){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$1(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$1(i.outputLen),number$1(i.blockLen)}function exists$1(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,a){bytes$1(i);const r=a.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,a)=>i<<32-a|i>>>a,isLE$1=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$1)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;r=asciis._0&&i<=asciis._9?i-asciis._0:i>=asciis._A&&i<=asciis._F?i-(asciis._A-10):i>=asciis._a&&i<=asciis._f?i-(asciis._a-10):void 0}function hexToBytes(i){if("string"!=typeof i)throw new Error("hex string expected, got "+typeof i);const a=i.length,r=a/2;if(a%2)throw new Error("padded hex string expected, got unpadded hex of length "+a);const o=new Uint8Array(r);for(let s=0,c=0;si().update(toBytes$1(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes(i=32){if(crypto$1&&"function"==typeof crypto$1.getRandomValues)return crypto$1.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}let HMAC$1=class extends Hash{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const r=toBytes$1(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$1(i,a).update(r).digest();function pbkdf2Init(i,a,r,o){hash$1(i);const s=checkOpts$1({dkLen:32,asyncTick:10},o),{c,dkLen:y,asyncTick:k}=s;if(number$1(c),number$1(y),number$1(k),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const A=toBytes$1(a),I=toBytes$1(r),M=new Uint8Array(y),T=hmac$1.create(i,A),O=T._cloneInto().update(I);return{c,dkLen:y,asyncTick:k,DK:M,PRF:T,PRFSalt:O}}function pbkdf2Output(i,a,r,o,s){return i.destroy(),a.destroy(),o&&o.destroy(),s.fill(0),r}function pbkdf2(i,a,r,o){const{c:s,dkLen:c,DK:y,PRF:k,PRFSalt:A}=pbkdf2Init(i,a,r,o);let I;const M=new Uint8Array(4),T=createView(M),O=new Uint8Array(k.outputLen);for(let L=1,Y=0;Y>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}hmac$1.create=(i,a)=>new HMAC$1(i,a);class SHA2 extends Hash{constructor(a,r,o,s){super(),this.blockLen=a,this.outputLen=r,this.padOffset=o,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(a),this.view=createView(this.buffer)}update(a){exists$1(this);const{view:r,buffer:o,blockLen:s}=this,c=(a=toBytes$1(a)).length;for(let y=0;ys-y&&(this.process(o,0),y=0);for(let T=y;TM.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj=(i,a,r)=>i&a^i&r^a&r,SHA256_K=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W=new Uint32Array(64);class SHA256 extends SHA2{constructor(){super(64,32,8,!1),this.A=0|IV[0],this.B=0|IV[1],this.C=0|IV[2],this.D=0|IV[3],this.E=0|IV[4],this.F=0|IV[5],this.G=0|IV[6],this.H=0|IV[7]}get(){const{A:a,B:r,C:o,D:s,E:c,F:y,G:k,H:A}=this;return[a,r,o,s,c,y,k,A]}set(a,r,o,s,c,y,k,A){this.A=0|a,this.B=0|r,this.C=0|o,this.D=0|s,this.E=0|c,this.F=0|y,this.G=0|k,this.H=0|A}process(a,r){for(let T=0;T<16;T++,r+=4)SHA256_W[T]=a.getUint32(r,!1);for(let T=16;T<64;T++){const O=SHA256_W[T-15],L=SHA256_W[T-2],Y=rotr(O,7)^rotr(O,18)^O>>>3,z=rotr(L,17)^rotr(L,19)^L>>>10;SHA256_W[T]=z+SHA256_W[T-7]+Y+SHA256_W[T-16]|0}let{A:o,B:s,C:c,D:y,E:k,F:A,G:I,H:M}=this;for(let T=0;T<64;T++){const O=M+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,A,I)+SHA256_K[T]+SHA256_W[T]|0,L=(rotr(o,2)^rotr(o,13)^rotr(o,22))+Maj(o,s,c)|0;M=I,I=A,A=k,k=y+O|0,y=c,c=s,s=o,o=O+L|0}o=o+this.A|0,s=s+this.B|0,c=c+this.C|0,y=y+this.D|0,k=k+this.E|0,A=A+this.F|0,I=I+this.G|0,M=M+this.H|0,this.set(o,s,c,y,k,A,I,M)}roundClean(){SHA256_W.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const sha256=wrapConstructor(()=>new SHA256),U32_MASK64=BigInt(2**32-1),_32n=BigInt(32);function fromBig(i,a=!1){return a?{h:Number(i&U32_MASK64),l:Number(i>>_32n&U32_MASK64)}:{h:0|Number(i>>_32n&U32_MASK64),l:0|Number(i&U32_MASK64)}}function split(i,a=!1){let r=new Uint32Array(i.length),o=new Uint32Array(i.length);for(let s=0;sBigInt(i>>>0)<<_32n|BigInt(a>>>0),shrSH=(i,a,r)=>i>>>r,shrSL=(i,a,r)=>i<<32-r|a>>>r,rotrSH=(i,a,r)=>i>>>r|a<<32-r,rotrSL=(i,a,r)=>i<<32-r|a>>>r,rotrBH=(i,a,r)=>i<<64-r|a>>>r-32,rotrBL=(i,a,r)=>i>>>r-32|a<<64-r,rotr32H=(i,a)=>a,rotr32L=(i,a)=>i,rotlSH=(i,a,r)=>i<>>32-r,rotlSL=(i,a,r)=>a<>>32-r,rotlBH=(i,a,r)=>a<>>64-r,rotlBL=(i,a,r)=>i<>>64-r;function add(i,a,r,o){const s=(a>>>0)+(o>>>0);return{h:i+r+(s/2**32|0)|0,l:0|s}}const add3L=(i,a,r)=>(i>>>0)+(a>>>0)+(r>>>0),add3H=(i,a,r,o)=>a+r+o+(i/2**32|0)|0,add4L=(i,a,r,o)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0),add4H=(i,a,r,o,s)=>a+r+o+s+(i/2**32|0)|0,add5L=(i,a,r,o,s)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0)+(s>>>0),add5H=(i,a,r,o,s,c)=>a+r+o+s+c+(i/2**32|0)|0,u64={fromBig,split,toBig,shrSH,shrSL,rotrSH,rotrSL,rotrBH,rotrBL,rotr32H,rotr32L,rotlSH,rotlSL,rotlBH,rotlBL,add,add3L,add3H,add4L,add4H,add5H,add5L},[SHA512_Kh,SHA512_Kl]=u64.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),SHA512_W_H=new Uint32Array(80),SHA512_W_L=new Uint32Array(80);class SHA512 extends SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:a,Al:r,Bh:o,Bl:s,Ch:c,Cl:y,Dh:k,Dl:A,Eh:I,El:M,Fh:T,Fl:O,Gh:L,Gl:Y,Hh:z,Hl:q}=this;return[a,r,o,s,c,y,k,A,I,M,T,O,L,Y,z,q]}set(a,r,o,s,c,y,k,A,I,M,T,O,L,Y,z,q){this.Ah=0|a,this.Al=0|r,this.Bh=0|o,this.Bl=0|s,this.Ch=0|c,this.Cl=0|y,this.Dh=0|k,this.Dl=0|A,this.Eh=0|I,this.El=0|M,this.Fh=0|T,this.Fl=0|O,this.Gh=0|L,this.Gl=0|Y,this.Hh=0|z,this.Hl=0|q}process(a,r){for(let tt=0;tt<16;tt++,r+=4)SHA512_W_H[tt]=a.getUint32(r),SHA512_W_L[tt]=a.getUint32(r+=4);for(let tt=16;tt<80;tt++){const vt=0|SHA512_W_H[tt-15],Mt=0|SHA512_W_L[tt-15],$t=u64.rotrSH(vt,Mt,1)^u64.rotrSH(vt,Mt,8)^u64.shrSH(vt,Mt,7),St=u64.rotrSL(vt,Mt,1)^u64.rotrSL(vt,Mt,8)^u64.shrSL(vt,Mt,7),kt=0|SHA512_W_H[tt-2],nt=0|SHA512_W_L[tt-2],at=u64.rotrSH(kt,nt,19)^u64.rotrBH(kt,nt,61)^u64.shrSH(kt,nt,6),rt=u64.rotrSL(kt,nt,19)^u64.rotrBL(kt,nt,61)^u64.shrSL(kt,nt,6),yt=u64.add4L(St,rt,SHA512_W_L[tt-7],SHA512_W_L[tt-16]),Ct=u64.add4H(yt,$t,at,SHA512_W_H[tt-7],SHA512_W_H[tt-16]);SHA512_W_H[tt]=0|Ct,SHA512_W_L[tt]=0|yt}let{Ah:o,Al:s,Bh:c,Bl:y,Ch:k,Cl:A,Dh:I,Dl:M,Eh:T,El:O,Fh:L,Fl:Y,Gh:z,Gl:q,Hh:ct,Hl:dt}=this;for(let tt=0;tt<80;tt++){const vt=u64.rotrSH(T,O,14)^u64.rotrSH(T,O,18)^u64.rotrBH(T,O,41),Mt=u64.rotrSL(T,O,14)^u64.rotrSL(T,O,18)^u64.rotrBL(T,O,41),$t=T&L^~T&z,kt=u64.add5L(dt,Mt,O&Y^~O&q,SHA512_Kl[tt],SHA512_W_L[tt]),nt=u64.add5H(kt,ct,vt,$t,SHA512_Kh[tt],SHA512_W_H[tt]),at=0|kt,rt=u64.rotrSH(o,s,28)^u64.rotrBH(o,s,34)^u64.rotrBH(o,s,39),yt=u64.rotrSL(o,s,28)^u64.rotrBL(o,s,34)^u64.rotrBL(o,s,39),Ct=o&c^o&k^c&k,Vt=s&y^s&A^y&A;ct=0|z,dt=0|q,z=0|L,q=0|Y,L=0|T,Y=0|O,({h:T,l:O}=u64.add(0|I,0|M,0|nt,0|at)),I=0|k,M=0|A,k=0|c,A=0|y,c=0|o,y=0|s;const Xt=u64.add3L(at,yt,Vt);o=u64.add3H(Xt,nt,rt,Ct),s=0|Xt}({h:o,l:s}=u64.add(0|this.Ah,0|this.Al,0|o,0|s)),({h:c,l:y}=u64.add(0|this.Bh,0|this.Bl,0|c,0|y)),({h:k,l:A}=u64.add(0|this.Ch,0|this.Cl,0|k,0|A)),({h:I,l:M}=u64.add(0|this.Dh,0|this.Dl,0|I,0|M)),({h:T,l:O}=u64.add(0|this.Eh,0|this.El,0|T,0|O)),({h:L,l:Y}=u64.add(0|this.Fh,0|this.Fl,0|L,0|Y)),({h:z,l:q}=u64.add(0|this.Gh,0|this.Gl,0|z,0|q)),({h:ct,l:dt}=u64.add(0|this.Hh,0|this.Hl,0|ct,0|dt)),this.set(o,s,c,y,k,A,I,M,T,O,L,Y,z,q,ct,dt)}roundClean(){SHA512_W_H.fill(0),SHA512_W_L.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const sha512=wrapConstructor(()=>new SHA512);function isBytes(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function chain(...i){const a=o=>o,r=(o,s)=>c=>o(s(c));return{encode:i.map(o=>o.encode).reduceRight(r,a),decode:i.map(o=>o.decode).reduce(r,a)}}function alphabet(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding(i,a="="){if("string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function convertRadix(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let A=o;Aa?gcd(a,i%a):i,radix2carry=(i,a)=>i+(a-gcd(i,a));function convertRadix2(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const A of i){if(A>=2**a)throw new Error(`convertRadix2: invalid data word=${A} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix(i){return{encode:a=>{if(!isBytes(a))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(a,i,256))}}}function radix2(i,a=!1){if(i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry(8,i)>32||radix2carry(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!isBytes(r))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(r,i,8,a))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}function checksum(i,a){if("function"!=typeof a)throw new Error("checksum fn should be function");return{encode(r){if(!isBytes(r))throw new Error("checksum.encode: input should be Uint8Array");const o=a(r).slice(0,i),s=new Uint8Array(r.length+i);return s.set(r),s.set(o,r.length),s},decode(r){if(!isBytes(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-i),s=a(o).slice(0,i),c=r.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,a=>i(i(a))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const a=i>>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS[o]);return r}function bechChecksum(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod(s)^y>>5}s=bech32Polymod(s);for(let c=0;cA)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${A})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const M=(k=I).lastIndexOf("1");if(0===M||-1===M)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,M),O=k.slice(M+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET.decode(O).slice(0,-6),Y=bechChecksum(T,L,a);if(!O.endsWith(Y))throw new Error(`Invalid checksum in ${k}: expected "${Y}"`);return{prefix:T,words:L}}return{encode:function(k,A,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof A);const M=k.length+7+A.length;if(!1!==I&&M>I)throw new TypeError(`Length ${M} exceeds limit ${I}`);const T=k.toLowerCase(),O=bechChecksum(T,A,a);return`${T}1${BECH_ALPHABET.encode(A)}${O}`},decode:y,decodeToBytes:function(k){const{prefix:A,words:I}=y(k,!1);return{prefix:A,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32=genBech32("bech32"),isJapanese=i=>"\u3042\u3044\u3053\u304f\u3057\u3093"===i[0];function nfkd(i){if("string"!=typeof i)throw new TypeError("Invalid mnemonic type: "+typeof i);return i.normalize("NFKD")}function normalize(i){const a=nfkd(i),r=a.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:a,words:r}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,a=128){if(assert$1.number(a),a%32!=0||a>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(a/8),i)}const calcChecksum=i=>{const a=8-i.length/4;return new Uint8Array([sha256(i)[0]>>a<{if("string"!=typeof a)throw new Error(`Wordlist: non-string element: ${a}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,a){const{words:r}=normalize(i),o=getCoder(a).decode(r);return assertEntropy(o),o}function entropyToMnemonic(i,a){return assertEntropy(i),getCoder(a).encode(i).join(isJapanese(a)?"\u3000":" ")}function validateMnemonic(i,a){try{mnemonicToEntropy(i,a)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,a=""){return pbkdf2(sha512,normalize(i).nfkd,salt(a),{c:2048,dkLen:64})}const Rho=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Id=Uint8Array.from({length:16},(i,a)=>a),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let a of[idxL,idxR])a.push(a[i].map(r=>Rho[r]));const shifts=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),shiftsL=idxL.map((i,a)=>i.map(r=>shifts[a][r])),shiftsR=idxR.map((i,a)=>i.map(r=>shifts[a][r])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,a)=>i<>>32-a;function f(i,a,r,o){return 0===i?a^r^o:1===i?a&r|~a&o:2===i?(a|~r)^o:3===i?a&o|r&~o:a^(r|~o)}const BUF=new Uint32Array(16);class RIPEMD160 extends SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:a,h1:r,h2:o,h3:s,h4:c}=this;return[a,r,o,s,c]}set(a,r,o,s,c){this.h0=0|a,this.h1=0|r,this.h2=0|o,this.h3=0|s,this.h4=0|c}process(a,r){for(let L=0;L<16;L++,r+=4)BUF[L]=a.getUint32(r,!0);let o=0|this.h0,s=o,c=0|this.h1,y=c,k=0|this.h2,A=k,I=0|this.h3,M=I,T=0|this.h4,O=T;for(let L=0;L<5;L++){const Y=4-L,z=Kl[L],q=Kr[L],ct=idxL[L],dt=idxR[L],tt=shiftsL[L],vt=shiftsR[L];for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(o+f(L,c,k,I)+BUF[ct[Mt]]+z,tt[Mt])+T|0;o=T,T=I,I=0|rotl$1(k,10),k=c,c=$t}for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(s+f(Y,y,A,M)+BUF[dt[Mt]]+q,vt[Mt])+O|0;s=O,O=M,M=0|rotl$1(A,10),A=y,y=$t}}this.set(this.h1+k+M|0,this.h2+I+O|0,this.h3+T+s|0,this.h4+o+y|0,this.h0+c+A|0)}roundClean(){BUF.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const ripemd160=wrapConstructor(()=>new RIPEMD160),Point=secp256k1.ProjectivePoint,base58check=base58check$1(sha256);function bytesToNumber(i){return BigInt(`0x${bytesToHex(i)}`)}function numberToBytes(i){return hexToBytes(i.toString(16).padStart(64,"0"))}const MASTER_SECRET=utf8ToBytes$1("Bitcoin seed"),BITCOIN_VERSIONS={private:76066276,public:76067358},HARDENED_OFFSET=2147483648,hash160=i=>ripemd160(sha256(i)),fromU32=i=>createView(i).getUint32(0,!1),toU32=i=>{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const a=new Uint8Array(4);return createView(a).setUint32(0,i,!1),a};class HDKey{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return fromU32(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const a=this.privateKey;if(!a)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),a)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(a,r=BITCOIN_VERSIONS){if(bytes$1(a),8*a.length<128||8*a.length>512)throw new Error(`HDKey: wrong seed length=${a.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const o=hmac$1(sha512,MASTER_SECRET,a);return new HDKey({versions:r,chainCode:o.slice(32),privateKey:o.slice(0,32)})}static fromExtendedKey(a,r=BITCOIN_VERSIONS){const o=base58check.decode(a),s=createView(o),c=s.getUint32(0,!1),y={versions:r,depth:o[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:o.slice(13,45)},k=o.slice(45),A=0===k[0];if(c!==r[A?"private":"public"])throw new Error("Version mismatch");return new HDKey(A?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(a){return HDKey.fromExtendedKey(a.xpriv)}constructor(a){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!a||"object"!=typeof a)throw new Error("HDKey.constructor must not be called directly");if(this.versions=a.versions||BITCOIN_VERSIONS,this.depth=a.depth||0,this.chainCode=a.chainCode,this.index=a.index||0,this.parentFingerprint=a.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(a.publicKey&&a.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(a.privateKey){if(!secp256k1.utils.isValidPrivateKey(a.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof a.privateKey?a.privateKey:bytesToNumber(a.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(a.privateKey,!0)}else{if(!a.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(a.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(a){if(!/^[mM]'?/.test(a))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(a))return this;const r=a.replace(/^[mM]'?\//,"").split("/");let o=this;for(const s of r){const c=/^(\d+)('?)$/.exec(s);if(!c||3!==c.length)throw new Error(`Invalid child index: ${s}`);let y=+c[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===c[2]&&(y+=HARDENED_OFFSET),o=o.deriveChild(y)}return o}deriveChild(a){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=toU32(a);if(a>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");r=concatBytes(new Uint8Array([0]),k,r)}else r=concatBytes(this.pubKey,r);const o=hmac$1(sha512,this.chainCode,r),s=bytesToNumber(o.slice(0,32)),c=o.slice(32);if(!secp256k1.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:c,depth:this.depth+1,parentFingerprint:this.fingerprint,index:a};try{if(this.privateKey){const k=mod(this.privKey+s,secp256k1.CURVE.n);if(!secp256k1.utils.isValidPrivateKey(k))throw new Error("The tweak was out of range or the resulted private key is invalid");y.privateKey=k}else{const k=Point.fromHex(this.pubKey).add(Point.fromPrivateKey(s));if(k.equals(Point.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");y.publicKey=k.toRawBytes(!0)}return new HDKey(y)}catch{return this.deriveChild(a+1)}}sign(a){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(a,32),secp256k1.sign(a,this.privKey).toCompactRawBytes()}verify(a,r){if(bytes$1(a,32),bytes$1(r,64),!this.publicKey)throw new Error("No publicKey set!");let o;try{o=secp256k1.Signature.fromCompact(r)}catch{return!1}return secp256k1.verify(o,a,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(a,r){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(r,33),concatBytes(toU32(a),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,r)}}const u8a=i=>i instanceof Uint8Array,u32=i=>new Uint32Array(i.buffer,i.byteOffset,Math.floor(i.byteLength/4)),isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes(i){if("string"==typeof i&&(i=utf8ToBytes(i)),!u8a(i))throw new Error("expected Uint8Array, got "+typeof i);return i}const isPlainObject=i=>"[object Object]"===Object.prototype.toString.call(i)&&i.constructor===Object;function checkOpts(i,a){if(void 0!==a&&("object"!=typeof a||!isPlainObject(a)))throw new Error("options must be object or undefined");return Object.assign(i,a)}function ensureBytes(i,a){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof a&&i.length!==a)throw new Error(`Uint8Array length ${a} expected`)}function equalBytes(i,a){if(i.length!==a.length)throw new Error("equalBytes: Different size of Uint8Arrays");let r=!0;for(let o=0;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("hash must be wrapped by utils.wrapConstructor");number(i.outputLen),number(i.blockLen)}function exists(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,a){bytes(i);const r=a.outputLen;if(i.length255&i[a++]|(255&i[a++])<<8;class Poly1305{constructor(a){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,ensureBytes(a=toBytes(a),32);const r=u8to16(a,0),o=u8to16(a,2),s=u8to16(a,4),c=u8to16(a,6),y=u8to16(a,8),k=u8to16(a,10),A=u8to16(a,12),I=u8to16(a,14);this.r[0]=8191&r,this.r[1]=8191&(r>>>13|o<<3),this.r[2]=7939&(o>>>10|s<<6),this.r[3]=8191&(s>>>7|c<<9),this.r[4]=255&(c>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|A<<5),this.r[8]=8191&(A>>>8|I<<8),this.r[9]=I>>>5&127;for(let M=0;M<8;M++)this.pad[M]=u8to16(a,16+2*M)}process(a,r,o=!1){const s=o?0:2048,{h:c,r:y}=this,k=y[0],A=y[1],I=y[2],M=y[3],T=y[4],O=y[5],L=y[6],Y=y[7],z=y[8],q=y[9],ct=u8to16(a,r+0),dt=u8to16(a,r+2),tt=u8to16(a,r+4),vt=u8to16(a,r+6),Mt=u8to16(a,r+8),$t=u8to16(a,r+10),St=u8to16(a,r+12),kt=u8to16(a,r+14);let nt=c[0]+(8191&ct),at=c[1]+(8191&(ct>>>13|dt<<3)),rt=c[2]+(8191&(dt>>>10|tt<<6)),yt=c[3]+(8191&(tt>>>7|vt<<9)),Ct=c[4]+(8191&(vt>>>4|Mt<<12)),Vt=c[5]+(Mt>>>1&8191),Xt=c[6]+(8191&(Mt>>>14|$t<<2)),oe=c[7]+(8191&($t>>>11|St<<5)),Xe=c[8]+(8191&(St>>>8|kt<<8)),kr=c[9]+(kt>>>5|s),gr=0,wr=gr+nt*k+at*(5*q)+rt*(5*z)+yt*(5*Y)+Ct*(5*L);gr=wr>>>13,wr&=8191,wr+=Vt*(5*O)+Xt*(5*T)+oe*(5*M)+Xe*(5*I)+kr*(5*A),gr+=wr>>>13,wr&=8191;let Wr=gr+nt*A+at*k+rt*(5*q)+yt*(5*z)+Ct*(5*Y);gr=Wr>>>13,Wr&=8191,Wr+=Vt*(5*L)+Xt*(5*O)+oe*(5*T)+Xe*(5*M)+kr*(5*I),gr+=Wr>>>13,Wr&=8191;let xe=gr+nt*I+at*A+rt*k+yt*(5*q)+Ct*(5*z);gr=xe>>>13,xe&=8191,xe+=Vt*(5*Y)+Xt*(5*L)+oe*(5*O)+Xe*(5*T)+kr*(5*M),gr+=xe>>>13,xe&=8191;let Le=gr+nt*M+at*I+rt*A+yt*k+Ct*(5*q);gr=Le>>>13,Le&=8191,Le+=Vt*(5*z)+Xt*(5*Y)+oe*(5*L)+Xe*(5*O)+kr*(5*T),gr+=Le>>>13,Le&=8191;let gt=gr+nt*T+at*M+rt*I+yt*A+Ct*k;gr=gt>>>13,gt&=8191,gt+=Vt*(5*q)+Xt*(5*z)+oe*(5*Y)+Xe*(5*L)+kr*(5*O),gr+=gt>>>13,gt&=8191;let Nt=gr+nt*O+at*T+rt*M+yt*I+Ct*A;gr=Nt>>>13,Nt&=8191,Nt+=Vt*k+Xt*(5*q)+oe*(5*z)+Xe*(5*Y)+kr*(5*L),gr+=Nt>>>13,Nt&=8191;let Se=gr+nt*L+at*O+rt*T+yt*M+Ct*I;gr=Se>>>13,Se&=8191,Se+=Vt*A+Xt*k+oe*(5*q)+Xe*(5*z)+kr*(5*Y),gr+=Se>>>13,Se&=8191;let Rt=gr+nt*Y+at*L+rt*O+yt*T+Ct*M;gr=Rt>>>13,Rt&=8191,Rt+=Vt*I+Xt*A+oe*k+Xe*(5*q)+kr*(5*z),gr+=Rt>>>13,Rt&=8191;let de=gr+nt*z+at*Y+rt*L+yt*O+Ct*T;gr=de>>>13,de&=8191,de+=Vt*M+Xt*I+oe*A+Xe*k+kr*(5*q),gr+=de>>>13,de&=8191;let jt=gr+nt*q+at*z+rt*Y+yt*L+Ct*O;gr=jt>>>13,jt&=8191,jt+=Vt*T+Xt*M+oe*I+Xe*A+kr*k,gr+=jt>>>13,jt&=8191,gr=(gr<<2)+gr|0,gr=gr+wr|0,wr=8191&gr,gr>>>=13,Wr+=gr,c[0]=wr,c[1]=Wr,c[2]=xe,c[3]=Le,c[4]=gt,c[5]=Nt,c[6]=Se,c[7]=Rt,c[8]=de,c[9]=jt}finalize(){const{h:a,pad:r}=this,o=new Uint16Array(10);let s=a[1]>>>13;a[1]&=8191;for(let k=2;k<10;k++)a[k]+=s,s=a[k]>>>13,a[k]&=8191;a[0]+=5*s,s=a[0]>>>13,a[0]&=8191,a[1]+=s,s=a[1]>>>13,a[1]&=8191,a[2]+=s,o[0]=a[0]+5,s=o[0]>>>13,o[0]&=8191;for(let k=1;k<10;k++)o[k]=a[k]+s,s=o[k]>>>13,o[k]&=8191;o[9]-=8192;let c=(1^s)-1;for(let k=0;k<10;k++)o[k]&=c;c=~c;for(let k=0;k<10;k++)a[k]=a[k]&c|o[k];a[0]=65535&(a[0]|a[1]<<13),a[1]=65535&(a[1]>>>3|a[2]<<10),a[2]=65535&(a[2]>>>6|a[3]<<7),a[3]=65535&(a[3]>>>9|a[4]<<4),a[4]=65535&(a[4]>>>12|a[5]<<1|a[6]<<14),a[5]=65535&(a[6]>>>2|a[7]<<11),a[6]=65535&(a[7]>>>5|a[8]<<8),a[7]=65535&(a[8]>>>8|a[9]<<5);let y=a[0]+r[0];a[0]=65535&y;for(let k=1;k<8;k++)y=(a[k]+r[k]|0)+(y>>>16)|0,a[k]=65535&y}update(a){assert.exists(this);const{buffer:r,blockLen:o}=this,s=(a=toBytes(a)).length;for(let c=0;c>>0,a[c++]=o[y]>>>8;return a}digest(){const{buffer:a,outputLen:r}=this;this.digestInto(a);const o=a.slice(0,r);return this.destroy(),o}}function wrapConstructorWithKey(i){const a=(o,s)=>i(s).update(toBytes(o)).digest(),r=i(new Uint8Array(32));return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=o=>i(o),a}wrapConstructorWithKey(i=>new Poly1305(i));const sigma16=utf8ToBytes("expand 16-byte k"),sigma32=utf8ToBytes("expand 32-byte k"),sigma16_32=u32(sigma16),sigma32_32=u32(sigma32),isAligned32=i=>!(i.byteOffset%4),salsaBasic=i=>{const{core:a,rounds:r,counterRight:o,counterLen:s,allow128bitKeys:c,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(s),assert.number(r),assert.number(k),assert.bool(o),assert.bool(c);const A=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(I,M,T,O,L=0)=>{if(assert.bytes(I),assert.bytes(M),assert.bytes(T),O||(O=new Uint8Array(T.length)),assert.bytes(O),assert.number(L),L<0||L>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(O.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const rt=Math.min(k,kt-nt);if(rt===k&&St&&$t){const yt=nt/4;if(nt%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let Ct=0;Cti<>>32-a;function chachaCore(i,a,r,o,s,c=20){let y=i[0],k=i[1],A=i[2],I=i[3],M=a[0],T=a[1],O=a[2],L=a[3],Y=a[4],z=a[5],q=a[6],ct=a[7],dt=s,tt=r[0],vt=r[1],Mt=r[2],$t=y,St=k,kt=A,nt=I,at=M,rt=T,yt=O,Ct=L,Vt=Y,Xt=z,oe=q,Xe=ct,kr=dt,gr=tt,wr=vt,Wr=Mt;for(let Le=0;Les?a.create().update(o).digest():o);for(let y=0;ynew HMAC(i,a).update(r).digest();function extract$1(i,a,r){return assert$2.hash(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(r),toBytes$2(a))}hmac.create=(i,a)=>new HMAC(i,a);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,a,r,o=32){if(assert$2.hash(i),assert$2.number(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER$1);const c=new Uint8Array(s*i.outputLen),y=hmac.create(i,a),k=y._cloneInto(),A=new Uint8Array(y.outputLen);for(let I=0;Iexpand$1(i,extract$1(i,a,r),o,s);var __defProp=Object.defineProperty,__export=(i,a)=>{for(var r in a)__defProp(i,r,{get:a[r],enumerable:!0})};function generatePrivateKey(){return bytesToHex$1(schnorr.utils.randomPrivateKey())}function getPublicKey(i){return bytesToHex$1(schnorr.getPublicKey(i))}var utils_exports={};__export(utils_exports,{MessageNode:()=>MessageNode,MessageQueue:()=>MessageQueue,insertEventIntoAscendingList:()=>insertEventIntoAscendingList,insertEventIntoDescendingList:()=>insertEventIntoDescendingList,normalizeURL:()=>normalizeURL,utf8Decoder:()=>utf8Decoder,utf8Encoder:()=>utf8Encoder});var utf8Decoder=new TextDecoder("utf-8"),utf8Encoder=new TextEncoder;function normalizeURL(i){let a=new URL(i);return a.pathname=a.pathname.replace(/\/+/g,"/"),a.pathname.endsWith("/")&&(a.pathname=a.pathname.slice(0,-1)),("80"===a.port&&"ws:"===a.protocol||"443"===a.port&&"wss:"===a.protocol)&&(a.port=""),a.searchParams.sort(),a.hash="",a.toString()}function insertEventIntoDescendingList(i,a){let r,o=0,s=i.length-1,c=o;if(s<0)c=0;else if(a.created_at=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_at>a.created_at)o=r;else{if(!(i[r].created_ati[s].created_at)c=s+1;else if(a.created_at<=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_ata.created_at)){c=r;break}s=r}}return i[c]?.id!==a.id?[...i.slice(0,c),a,...i.slice(c)]:i}var MessageNode=class{_value;_next;get value(){return this._value}set value(i){this._value=i}get next(){return this._next}set next(i){this._next=i}constructor(i){this._value=i,this._next=null}},MessageQueue=class{_first;_last;get first(){return this._first}set first(i){this._first=i}get last(){return this._last}set last(i){this._last=i}_size;get size(){return this._size}set size(i){this._size=i}constructor(){this._first=null,this._last=null,this._size=0}enqueue(i){const a=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=a,this._last=a):(this._first=a,this._last=a),this._size++,!0}dequeue(){if(0===this._size||!this._first)return null;let i=this._first;return this._first=i.next,i.next=null,this._size--,i.value}},verifiedSymbol=Symbol("verified");function getBlankEvent(i=255){return{kind:i,content:"",tags:[],created_at:0}}function finishEvent(i,a){const r=i;return r.pubkey=getPublicKey(a),r.id=getEventHash(r),r.sig=getSignature(r,a),r[verifiedSymbol]=!0,r}function serializeEvent(i){if(!validateEvent(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}function getEventHash(i){return bytesToHex$1(sha256$1(utf8Encoder.encode(serializeEvent(i))))}var isRecord=i=>i instanceof Object;function validateEvent(i){if(!isRecord(i)||"number"!=typeof i.kind||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let a=0;aa.id.startsWith(r))||i.kinds&&-1===i.kinds.indexOf(a.kind)||i.authors&&-1===i.authors.indexOf(a.pubkey)&&!i.authors.some(r=>a.pubkey.startsWith(r)))return!1;for(let r in i)if("#"===r[0]){let o=i[`#${r.slice(1)}`];if(o&&!a.tags.find(([s,c])=>s===r.slice(1)&&-1!==o.indexOf(c)))return!1}return!(i.since&&a.created_ati.until)}function matchFilters(i,a){for(let r=0;rgetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,a={}){let{listTimeout:r=3e3,getTimeout:o=3e3,countTimeout:s=3e3}=a;var c,y,k={},A=newListeners(),I={},M={};function T(){return 1===c?.readyState}function O(q){return L.apply(this,arguments)}function L(){return(L=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct=JSON.stringify(q);if(T()||(yield new Promise(dt=>setTimeout(dt,1e3)),T()))try{c.send(ct)}catch(dt){console.log(dt)}})).apply(this,arguments)}const Y=(q,{verb:ct="REQ",skipVerification:dt=!1,alreadyHaveEvent:tt=null,id:vt=Math.random().toString().slice(2)}={})=>{let Mt=vt;k[Mt]={id:Mt,filters:q,skipVerification:dt,alreadyHaveEvent:tt},O([ct,Mt,...q]);let $t={sub:(St,kt={})=>Y(St||q,{skipVerification:kt.skipVerification||dt,alreadyHaveEvent:kt.alreadyHaveEvent||tt,id:Mt}),unsub:()=>{delete k[Mt],delete I[Mt],O(["CLOSE",Mt])},on:(St,kt)=>{I[Mt]=I[Mt]||{event:[],count:[],eose:[]},I[Mt][St].push(kt)},off:(St,kt)=>{let nt=I[Mt],at=nt[St].indexOf(kt);at>=0&&nt[St].splice(at,1)},get events(){return eventsGenerator($t)}};return $t};function z(q,ct){return new Promise((dt,tt)=>{if(!q.id)return void tt(new Error(`event ${q} has no id`));let vt=q.id;O([ct,q]),M[vt]={resolve:dt,reject:tt}})}return{url:i,sub:Y,on:(q,ct)=>{A[q].push(ct),"connect"===q&&1===c?.readyState&&ct()},off:(q,ct)=>{let dt=A[q].indexOf(ct);-1!==dt&&A[q].splice(dt,1)},list:(q,ct)=>new Promise(dt=>{let tt=Y(q,ct),vt=[],Mt=setTimeout(()=>{tt.unsub(),dt(vt)},r);tt.on("eose",()=>{tt.unsub(),clearTimeout(Mt),dt(vt)}),tt.on("event",$t=>{vt.push($t)})}),get:(q,ct)=>new Promise(dt=>{let tt=Y([q],ct),vt=setTimeout(()=>{tt.unsub(),dt(null)},o);tt.on("event",Mt=>{tt.unsub(),clearTimeout(vt),dt(Mt)})}),count:q=>new Promise(ct=>{let dt=Y(q,{...Y,verb:"COUNT"}),tt=setTimeout(()=>{dt.unsub(),ct(null)},s);dt.on("count",vt=>{dt.unsub(),clearTimeout(tt),ct(vt)})}),publish:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield z(q,"EVENT")})(),auth:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield z(q,"AUTH")})(),connect:(q=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){T()||(yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ct,dt)=>{try{c=new WebSocket(i)}catch($t){dt($t)}c.onopen=()=>{A.connect.forEach($t=>$t()),ct()},c.onerror=()=>{y=void 0,A.error.forEach($t=>$t()),dt()},c.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,A.disconnect.forEach($t=>$t())});let tt,vt=new MessageQueue;function Mt(){if(0===vt.size)return clearInterval(tt),void(tt=null);var $t=vt.dequeue();if(!$t)return;let St=getSubscriptionId($t);if(St){let kt=k[St];if(kt&&kt.alreadyHaveEvent&&kt.alreadyHaveEvent(getHex64($t,"id"),i))return}try{let kt=JSON.parse($t);switch(kt[0]){case"EVENT":{let yt=kt[1],Ct=kt[2];return void(validateEvent(Ct)&&k[yt]&&(k[yt].skipVerification||verifySignature(Ct))&&matchFilters(k[yt].filters,Ct)&&(I[yt]?.event||[]).forEach(Vt=>Vt(Ct)))}case"COUNT":let nt=kt[1],at=kt[2];return void(k[nt]&&(I[nt]?.count||[]).forEach(yt=>yt(at)));case"EOSE":{let yt=kt[1];return void(yt in I&&(I[yt].eose.forEach(Ct=>Ct()),I[yt].eose=[]))}case"OK":{let yt=kt[1],Ct=kt[2],Vt=kt[3]||"";if(yt in M){let{resolve:Xt,reject:oe}=M[yt];Ct?Xt(null):oe(new Error(Vt))}return}case"NOTICE":let rt=kt[1];return void A.notice.forEach(yt=>yt(rt));case"AUTH":{let yt=kt[1];return void A.auth?.forEach(Ct=>Ct(yt))}}}catch{return}}c.onmessage=$t=>{vt.enqueue($t.data),tt||(tt=setInterval(Mt,0))}}))})())}),function(){return q.apply(this,arguments)}),close(){A=newListeners(),I={},M={},c?.readyState===WebSocket.OPEN&&c.close()},get status(){return c?.readyState??3}};var q}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let a;const r=[],o=s=>{a?(a(s),a=void 0):r.push(s)};i.on("event",o);try{for(;;)r.length>0?yield r.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(c=>{a=c}))}finally{i.off("event",o)}}),_eventsGenerator.apply(this,arguments)}var nip19_exports={};__export(nip19_exports,{BECH32_REGEX:()=>BECH32_REGEX,decode:()=>decode,naddrEncode:()=>naddrEncode,neventEncode:()=>neventEncode,noteEncode:()=>noteEncode,nprofileEncode:()=>nprofileEncode,npubEncode:()=>npubEncode,nrelayEncode:()=>nrelayEncode,nsecEncode:()=>nsecEncode});var Bech32MaxSize=5e3,BECH32_REGEX=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function integerToUint8Array(i){const a=new Uint8Array(4);return a[0]=i>>24&255,a[1]=i>>16&255,a[2]=i>>8&255,a[3]=255&i,a}function decode(i){let{prefix:a,words:r}=bech32$1.decode(i,Bech32MaxSize),o=new Uint8Array(bech32$1.fromWords(r));switch(a){case"nprofile":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nevent":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(s[2]&&32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(s[3]&&4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[],author:s[2]?.[0]?bytesToHex$1(s[2][0]):void 0,kind:s[3]?.[0]?parseInt(bytesToHex$1(s[3][0]),16):void 0}}}case"naddr":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(s[0][0]),pubkey:bytesToHex$1(s[2][0]),kind:parseInt(bytesToHex$1(s[3][0]),16),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nrelay":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(s[0][0])}}case"nsec":case"npub":case"note":return{type:a,data:bytesToHex$1(o)};default:throw new Error(`unknown prefix ${a}`)}}function parseTLV(i){let a={},r=i;for(;r.length>0;){let o=r[0],s=r[1];if(!s)throw new Error(`malformed TLV ${o}`);let c=r.slice(2,2+s);if(r=r.slice(2+s),c.lengthutf8Encoder.encode(a))}))}function neventEncode(i){let a;return null!=i.kind&&(a=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:i.author?[hexToBytes$1(i.author)]:[],3:a?[new Uint8Array(a)]:[]}))}function naddrEncode(i){let a=new ArrayBuffer(4);return new DataView(a).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(a)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let a=[];return Object.entries(i).forEach(([r,o])=>{o.forEach(s=>{let c=new Uint8Array(s.length+2);c.set([parseInt(r)],0),c.set([s.length],1),c.set(s,2),a.push(c)})}),concatBytes$1(...a)}var nip04_exports={};function encrypt$1(i,a,r){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a));let s=Uint8Array.from(randomBytes$1(16)),c=utf8Encoder.encode(r),y=yield crypto.subtle.importKey("raw",o,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:s},y,c);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(s.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,a,r){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){let[o,s]=r.split("?iv="),c=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a)),y=yield crypto.subtle.importKey("raw",c,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(o),A=base64$1.decode(s),I=yield crypto.subtle.decrypt({name:"AES-CBC",iv:A},y,k);return utf8Decoder.decode(I)}),_decrypt$.apply(this,arguments)}function getNormalizedX(i){return i.slice(1,33)}__export(nip04_exports,{decrypt:()=>decrypt$1,encrypt:()=>encrypt$1}),typeof crypto<"u"&&!crypto.subtle&&crypto.webcrypto&&(crypto.subtle=crypto.webcrypto.subtle);var nip05_exports={};__export(nip05_exports,{NIP05_REGEX:()=>NIP05_REGEX$1,queryProfile:()=>queryProfile,searchDomain:()=>searchDomain,useFetchImplementation:()=>useFetchImplementation});var NIP05_REGEX$1=/^(?:([\w.+-]+)@)?([\w.-]+)$/,_fetch;try{_fetch=fetch}catch{}function useFetchImplementation(i){_fetch=i}function searchDomain(i){return _searchDomain.apply(this,arguments)}function _searchDomain(){return _searchDomain=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${a}`)).json()).names}catch{return{}}}),_searchDomain.apply(this,arguments)}function queryProfile(i){return _queryProfile.apply(this,arguments)}function _queryProfile(){return _queryProfile=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const a=i.match(NIP05_REGEX$1);if(!a)return null;const[r,o="_",s]=a;try{const c=yield _fetch(`https://${s}/.well-known/nostr.json?name=${o}`),{names:y,relays:k}=parseNIP05Result$1(yield c.json()),A=y[o];return A?{pubkey:A,relays:k?.[A]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}return a}var nip06_exports={};function privateKeyFromSeedWords(i,a){let r=HDKey.fromMasterSeed(mnemonicToSeedSync(i,a)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return bytesToHex$1(r)}function generateSeedWords(){return generateMnemonic(wordlist)}function validateWords(i){return validateMnemonic(i,wordlist)}__export(nip06_exports,{generateSeedWords:()=>generateSeedWords,privateKeyFromSeedWords:()=>privateKeyFromSeedWords,validateWords:()=>validateWords});var nip10_exports={};function parse(i){const a={reply:void 0,root:void 0,mentions:[],profiles:[]},r=[];for(const o of i.tags)"e"===o[0]&&o[1]&&r.push(o),"p"===o[0]&&o[1]&&a.profiles.push({pubkey:o[1],relays:o[2]?[o[2]]:[]});for(let o=0;oparse});var nip13_exports={};function getPow(i){let a=0;for(let r=0;r=a)break}return o}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,a,r,o){return finishEvent({kind:6,tags:[...i.tags??[],["e",a.id,r],["p",a.pubkey]],content:""===i.content?"":JSON.stringify(a),created_at:i.created_at},o)}function getRepostedEventPointer(i){if(6!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a?{id:a[1],relays:[a[2],r?.[2]].filter(o=>"string"==typeof o),author:r?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:a}={}){const r=getRepostedEventPointer(i);if(void 0===r||""===i.content)return;let o;try{o=JSON.parse(i.content)}catch{return}return o.id===r.id&&(a||verifySignature(o))?o:void 0}__export(nip18_exports,{finishRepostEvent:()=>finishRepostEvent,getRepostedEvent:()=>getRepostedEvent,getRepostedEventPointer:()=>getRepostedEventPointer});var nip21_exports={};__export(nip21_exports,{NOSTR_URI_REGEX:()=>NOSTR_URI_REGEX,parse:()=>parse2,test:()=>test});var NOSTR_URI_REGEX=new RegExp(`nostr:(${BECH32_REGEX.source})`);function test(i){return"string"==typeof i&&new RegExp(`^${NOSTR_URI_REGEX.source}$`).test(i)}function parse2(i){const a=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!a)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:a[0],value:a[1],decoded:decode(a[1])}}var nip25_exports={};function finishReactionEvent(i,a,r){const o=a.tags.filter(s=>s.length>=2&&("e"===s[0]||"p"===s[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...o,["e",a.id],["p",a.pubkey]],content:i.content??"+"},r)}function getReactedEventPointer(i){if(7!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a&&void 0!==r?{id:a[1],relays:[a[2],r[2]].filter(o=>void 0!==o),author:r[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,a){let r=[];(a.kind||-1)>=0&&r.push(`kind=${a.kind}`),a.until&&r.push(`created_at<${a.until}`),a.since&&r.push(`created_at>${a.since}`);let o=r.join("&");if(""===o)throw new Error("refusing to create a delegation without any conditions");let s=sha256$1(utf8Encoder.encode(`nostr:delegation:${a.pubkey}:${o}`)),c=bytesToHex$1(schnorr.sign(s,i));return{from:getPublicKey(i),to:a.pubkey,cond:o,sig:c}}function getDelegator(i){let a=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!a)return null;let r=a[1],o=a[2],s=a[3],c=o.split("&");for(let k=0;k"===I&&i.created_at>parseInt(M)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${o}`));return schnorr.verify(s,y,r)?r:null}__export(nip26_exports,{createDelegation:()=>createDelegation,getDelegator:()=>getDelegator});var nip27_exports={};__export(nip27_exports,{matchAll:()=>matchAll,regex:()=>regex,replaceAll:()=>replaceAll});var regex=()=>new RegExp(`\\b${NOSTR_URI_REGEX.source}\\b`,"g");function*matchAll(i){const a=i.matchAll(regex());for(const r of a)try{const[o,s]=r;yield{uri:o,value:s,decoded:decode(s),start:r.index,end:r.index+o.length}}catch{}}function replaceAll(i,a){return i.replaceAll(regex(),(r,o)=>a({uri:r,value:o,decoded:decode(o)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:r,created_at:i.created_at},a)},channelMetadataEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMessageEvent=(i,a)=>{const r=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&r.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...r,...i.tags??[]],content:i.content,created_at:i.created_at},a)},channelHideMessageEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMuteUserEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:r,created_at:i.created_at},a)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,a,r){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){try{return(yield(yield _fetch2(`https://gist.github.com/${a}/${r}/raw`)).text())===`Verifying that I control the following Nostr public key: ${i}`}catch{return!1}}),_validateGithub.apply(this,arguments)}var nip42_exports={};__export(nip42_exports,{authenticate:()=>authenticate});var authenticate=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:a,relay:r,sign:o}){const s={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",r.url],["challenge",a]],content:""};return r.auth(yield o(s))});return function(r){return i.apply(this,arguments)}}(),nip44_exports={};__export(nip44_exports,{decrypt:()=>decrypt2,encrypt:()=>encrypt2,utils:()=>utils});var utils={v2:{maxPlaintextSize:65408,minCiphertextSize:100,maxCiphertextSize:102400,getConversationKey:(i,a)=>secp256k1.getSharedSecret(i,"02"+a).subarray(1,33),getMessageKeys(i,a){const r=hkdf(sha256$1,i,a,"nip44-v2",76);return{encryption:r.subarray(0,32),nonce:r.subarray(32,44),auth:r.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const o=utils.v2.calcPadding(r),s=new Uint8Array(o-r),c=new Uint8Array(2);return new DataView(c.buffer).setUint16(0,r),concatBytes$1(c,a,s)},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(0===a||r.length!==a||i.length!==2+utils.v2.calcPadding(a))throw new Error("invalid padding");return utf8Decoder.decode(r)}}};function encrypt2(i,a,r={}){const o=r.version??2;if(2!==o)throw new Error("unknown encryption version "+o);const s=r.salt??randomBytes$1(32);ensureBytes(s,32);const c=utils.v2.getMessageKeys(i,s),y=utils.v2.pad(a),k=chacha20(c.encryption,c.nonce,y),A=hmac(sha256$1,c.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([o]),s,k,A))}function decrypt2(i,a){const r=utils.v2;ensureBytes(i,32);const o=a.length;if(o=r.maxCiphertextSize)throw new Error("invalid ciphertext length: "+o);if("#"===a[0])throw new Error("unknown encryption version");let s;try{s=base64$1.decode(a)}catch(T){throw new Error("invalid base64: "+T.message)}const c=s.subarray(0,1)[0];if(2!==c)throw new Error("unknown encryption version "+c);const y=s.subarray(1,33),k=s.subarray(33,-32),A=s.subarray(-32),I=r.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,I.auth,k),A))throw new Error("invalid MAC");const M=chacha20(I.encryption,I.nonce,k);return r.unpad(M)}var nip47_exports={};function parseConnectionString(i){const{pathname:a,searchParams:r}=new URL(i),o=a,s=r.get("relay"),c=r.get("secret");if(!o||!s||!c)throw new Error("invalid connection string");return{pubkey:o,relay:s,secret:c}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:a,invoice:r}){const o={method:"pay_invoice",params:{invoice:r}},s=yield encrypt$1(a,i,JSON.stringify(o));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i]]},a)}),_makeNwcRequestEvent.apply(this,arguments)}__export(nip47_exports,{makeNwcRequestEvent:()=>makeNwcRequestEvent,parseConnectionString:()=>parseConnectionString});var nip57_exports={},_fetch3;__export(nip57_exports,{getZapEndpoint:()=>getZapEndpoint,makeZapReceipt:()=>makeZapReceipt,makeZapRequest:()=>makeZapRequest,useFetchImplementation:()=>useFetchImplementation3,validateZapRequest:()=>validateZapRequest});try{_fetch3=fetch}catch{}function useFetchImplementation3(i){_fetch3=i}function getZapEndpoint(i){return _getZapEndpoint.apply(this,arguments)}function _getZapEndpoint(){return _getZapEndpoint=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let a="",{lud06:r,lud16:o}=JSON.parse(i.content);if(r){let{words:y}=bech32$1.decode(r,1e3),k=bech32$1.fromWords(y);a=utf8Decoder.decode(k)}else{if(!o)return null;{let[y,k]=o.split("@");a=`https://${k}/.well-known/lnurlp/${y}`}}let s=yield _fetch3(a),c=yield s.json();if(c.allowsNostr&&c.nostrPubkey)return c.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:a,amount:r,relays:o,comment:s=""}){if(!r)throw new Error("amount not given");if(!i)throw new Error("profile not given");let c={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i],["amount",r.toString()],["relays",...o]]};return a&&c.tags.push(["e",a]),c}function validateZapRequest(i){let a;try{a=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(a))return"Zap request is not a valid Nostr event.";if(!verifySignature(a))return"Invalid signature on zap request.";let r=a.tags.find(([s,c])=>"p"===s&&c);if(!r)return"Zap request doesn't have a 'p' tag.";if(!r[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let o=a.tags.find(([s,c])=>"e"===s&&c);return o&&!o[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":a.tags.find(([s,c])=>"relays"===s&&c)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:a,bolt11:r,paidAt:o}){let s=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),c={kind:9735,created_at:Math.round(o.getTime()/1e3),content:"",tags:[...s,["bolt11",r],["description",i]]};return a&&c.tags.push(["preimage",a]),c}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,a,r){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r,o=!1){if(!i||!a)throw new Error("Missing loginUrl or httpMethod");const s=getBlankEvent(27235);s.tags=[["u",i],["method",a]],s.created_at=Math.round((new Date).getTime()/1e3);const c=yield r(s);return(o?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(c)))}),_getToken.apply(this,arguments)}function validateToken(i,a,r){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=yield unpackEventFromToken(i).catch(s=>{throw s});return yield validateEvent2(o,a,r).catch(s=>{throw s})}),_validateToken.apply(this,arguments)}function unpackEventFromToken(i){return _unpackEventFromToken.apply(this,arguments)}function _unpackEventFromToken(){return _unpackEventFromToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){if(!i)throw new Error("Missing token");i=i.replace(_authorizationScheme,"");const a=utf8Decoder.decode(base64$1.decode(i));if(!a||0===a.length||!a.startsWith("{"))throw new Error("Invalid token");return JSON.parse(a)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,a,r){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!i)throw new Error("Invalid nostr event");if(!verifySignature(i))throw new Error("Invalid nostr event, signature invalid");if(27235!==i.kind)throw new Error("Invalid nostr event, kind invalid");if(!i.created_at)throw new Error("Invalid nostr event, created_at invalid");if(Math.round((new Date).getTime()/1e3)-i.created_at>60)throw new Error("Invalid nostr event, expired");const o=i.tags.find(c=>"u"===c[0]);if(1!==o?.length&&o?.[1]!==a)throw new Error("Invalid nostr event, url tag invalid");const s=i.tags.find(c=>"method"===c[0]);if(1!==s?.length&&s?.[1].toLowerCase()!==r.toLowerCase())throw new Error("Invalid nostr event, method tag invalid");return!0}),_validateEvent.apply(this,arguments)}var browser={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var i=1e3,a=60*i,r=60*a,o=24*r,s=7*o;function y(k,A,I,M){var T=A>=1.5*I;return Math.round(k/I)+" "+M+(T?"s":"")}return ms=function(k,A){A=A||{};var M,T,I=typeof k;if("string"===I&&k.length>0)return function(M){if(!((M=String(M)).length>100)){var T=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(M);if(T){var O=parseFloat(T[1]);switch((T[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*O;case"weeks":case"week":case"w":return O*s;case"days":case"day":case"d":return O*o;case"hours":case"hour":case"hrs":case"hr":case"h":return O*r;case"minutes":case"minute":case"mins":case"min":case"m":return O*a;case"seconds":case"second":case"secs":case"sec":case"s":return O*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return O;default:return}}}}(k);if("number"===I&&isFinite(k))return A.long?(M=k,(T=Math.abs(M))>=o?y(M,T,o,"day"):T>=r?y(M,T,r,"hour"):T>=a?y(M,T,a,"minute"):T>=i?y(M,T,i,"second"):M+" ms"):function(M){var T=Math.abs(M);return T>=o?Math.round(M/o)+"d":T>=r?Math.round(M/r)+"h":T>=a?Math.round(M/a)+"m":T>=i?Math.round(M/i)+"s":M+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function a(s){let c,y,k,A=null;function I(...M){if(!I.enabled)return;const T=I,O=Number(new Date);T.diff=O-(c||O),T.prev=c,T.curr=O,c=O,M[0]=a.coerce(M[0]),"string"!=typeof M[0]&&M.unshift("%O");let Y=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(z,q)=>{if("%%"===z)return"%";Y++;const ct=a.formatters[q];return"function"==typeof ct&&(z=ct.call(T,M[Y]),M.splice(Y,1),Y--),z}),a.formatArgs.call(T,M),(T.log||a.log).apply(T,M)}return I.namespace=s,I.useColors=a.useColors(),I.color=a.selectColor(s),I.extend=r,I.destroy=a.destroy,Object.defineProperty(I,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==A?A:(y!==a.namespaces&&(y=a.namespaces,k=a.enabled(s)),k),set:M=>{A=M}}),"function"==typeof a.init&&a.init(I),I}function r(s,c){const y=a(this.namespace+(void 0===c?":":c)+s);return y.log=this.log,y}function o(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(s){return s instanceof Error?s.stack||s.message:s},a.disable=function(){const s=[...a.names.map(o),...a.skips.map(o).map(c=>"-"+c)].join(",");return a.enable(""),s},a.enable=function(s){let c;a.save(s),a.namespaces=s,a.names=[],a.skips=[];const y=("string"==typeof s?s:"").split(/[\s,]+/),k=y.length;for(c=0;c{a[s]=i[s]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function(s){let c=0;for(let y=0;y{"%%"!==k&&(c++,"%c"===k&&(y=c))}),o.splice(y,0,s)},a.save=function(o){try{o?a.storage.setItem("debug",o):a.storage.removeItem("debug")}catch{}},a.load=function(){let o;try{o=a.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o=process.env.DEBUG),o},a.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},a.storage=function(){try{return localStorage}catch{}}(),a.destroy=(()=>{let o=!1;return()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.log=console.debug||console.log||(()=>{}),i.exports=common(a);const{formatters:r}=i.exports;r.j=function(o){try{return JSON.stringify(o)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}}(browser,browser.exports);var browserExports=browser.exports,debug3=getDefaultExportFromCjs(browserExports),dist={},LRUCache$1={},LRUCacheNode$1={};Object.defineProperty(LRUCacheNode$1,"__esModule",{value:!0}),LRUCacheNode$1.LRUCacheNode=void 0;class LRUCacheNode{constructor(a,r,o){const{entryExpirationTimeInMS:s=null,next:c=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:A,clone:I,cloneFn:M}=o??{};if("number"==typeof s&&(s<=0||Number.isNaN(s)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=I&&I,this.cloneFn=M??this.defaultClone,this.key=a,this.internalValue=this.clone?this.cloneFn(r):r,this.created=Date.now(),this.entryExpirationTimeInMS=s,this.next=c,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=A}get value(){return this.clone?this.cloneFn(this.internalValue):this.internalValue}get isExpired(){return"number"==typeof this.entryExpirationTimeInMS&&Date.now()-this.created>this.entryExpirationTimeInMS}invokeOnEvicted(){if(this.onEntryEvicted){const{key:a,value:r,isExpired:o}=this;this.onEntryEvicted({key:a,value:r,isExpired:o})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:a,value:r}=this;this.onEntryMarkedAsMostRecentlyUsed({key:a,value:r})}}defaultClone(a){return"boolean"==typeof a||"string"==typeof a||"number"==typeof a?a:JSON.parse(JSON.stringify(a))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(a){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:r=25,entryExpirationTimeInMS:o=null,onEntryEvicted:s,onEntryMarkedAsMostRecentlyUsed:c,cloneFn:y,clone:k}=a??{};if(Number.isNaN(r)||r<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof o&&(o<=0||Number.isNaN(o)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=r,this.entryExpirationTimeInMS=o,this.onEntryEvicted=s,this.onEntryMarkedAsMostRecentlyUsed=c,this.clone=k,this.cloneFn=y}get size(){return this.cleanCache(),this.lookupTable.size}get remainingSize(){return this.maxSizeInternal-this.size}get newest(){return this.head?this.head.isExpired?(this.removeNodeFromListAndLookupTable(this.head),this.newest):this.mapNodeToEntry(this.head):null}get oldest(){return this.tail?this.tail.isExpired?(this.removeNodeFromListAndLookupTable(this.tail),this.oldest):this.mapNodeToEntry(this.tail):null}get maxSize(){return this.maxSizeInternal}set maxSize(a){if(Number.isNaN(a)||a<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=a,this.enforceSizeLimit()}set(a,r,o){const s=this.lookupTable.get(a);s&&this.removeNodeFromListAndLookupTable(s);const c=new LRUCacheNode_1.LRUCacheNode(a,r,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...o});return this.setNodeAsHead(c),this.lookupTable.set(a,c),this.enforceSizeLimit(),this}get(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):(this.setNodeAsHead(r),r.value):null}peek(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):r.value:null}delete(a){const r=this.lookupTable.get(a);return!!r&&this.removeNodeFromListAndLookupTable(r)}has(a){const r=this.lookupTable.get(a);return!(!r||r.isExpired&&(this.removeNodeFromListAndLookupTable(r),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(a){let r=this.head;for(;r;){if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s;continue}const o=this.mapNodeToEntry(r);if(a(o))return this.setNodeAsHead(r),o;r=r.next}return null}forEach(a){let r=this.head,o=0;for(;r;)if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s}else a(r.value,r.key,o),r=r.next,o++}*values(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.value,a=a.next}*keys(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.key,a=a.next}*entries(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}*[Symbol.iterator](){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}enforceSizeLimit(){let a=this.tail;for(;null!==a&&this.size>this.maxSizeInternal;){const r=a.prev;this.removeNodeFromListAndLookupTable(a),a=r}}mapNodeToEntry({key:a,value:r}){return{key:a,value:r}}setNodeAsHead(a){this.removeNodeFromList(a),this.head?(a.next=this.head,this.head.prev=a,this.head=a):(this.head=a,this.tail=a),a.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(a){null!==a.prev&&(a.prev.next=a.next),null!==a.next&&(a.next.prev=a.prev),this.head===a&&(this.head=a.next),this.tail===a&&(this.tail=a.prev),a.next=null,a.prev=null}removeNodeFromListAndLookupTable(a){return a.invokeOnEvicted(),this.removeNodeFromList(a),this.lookupTable.delete(a.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const a=[];for(const r of this.lookupTable.values())r.isExpired&&a.push(r);a.forEach(r=>this.removeNodeFromListAndLookupTable(r))}}LRUCache$1.LRUCache=LRUCache,function(i){var a=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(o,s,c,y){void 0===y&&(y=c);var k=Object.getOwnPropertyDescriptor(s,c);k&&!("get"in k?!s.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return s[c]}}),Object.defineProperty(o,y,k)}:function(o,s,c,y){void 0===y&&(y=c),o[y]=s[c]}),r=commonjsGlobal&&commonjsGlobal.__exportStar||function(o,s){for(var c in o)"default"===c||Object.prototype.hasOwnProperty.call(s,c)||a(s,o,c)};Object.defineProperty(i,"__esModule",{value:!0}),r(LRUCache$1,i)}(dist);var lib={};(function(i){function a(kt){if(!Number.isSafeInteger(kt))throw new Error(`Wrong integer: ${kt}`)}function r(...kt){const nt=(at,rt)=>yt=>at(rt(yt));return{encode:Array.from(kt).reverse().reduce((at,rt)=>at?nt(at,rt.encode):rt.encode,void 0),decode:kt.reduce((at,rt)=>at?nt(at,rt.decode):rt.decode,void 0)}}function o(kt){return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("alphabet.encode input should be an array of numbers");return nt.map(at=>{if(a(at),at<0||at>=kt.length)throw new Error(`Digit index outside alphabet: ${at} (alphabet: ${kt.length})`);return kt[at]})},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("alphabet.decode input should be array of strings");return nt.map(at=>{if("string"!=typeof at)throw new Error(`alphabet.decode: not string element=${at}`);const rt=kt.indexOf(at);if(-1===rt)throw new Error(`Unknown letter: "${at}". Allowed: ${kt}`);return rt})}}}function s(kt=""){if("string"!=typeof kt)throw new Error("join separator should be string");return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("join.encode input should be array of strings");for(let at of nt)if("string"!=typeof at)throw new Error(`join.encode: non-string input=${at}`);return nt.join(kt)},decode:nt=>{if("string"!=typeof nt)throw new Error("join.decode input should be string");return nt.split(kt)}}}function c(kt,nt="="){if(a(kt),"string"!=typeof nt)throw new Error("padding chr should be string");return{encode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let rt of at)if("string"!=typeof rt)throw new Error(`padding.encode: non-string input=${rt}`);for(;at.length*kt%8;)at.push(nt);return at},decode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let yt of at)if("string"!=typeof yt)throw new Error(`padding.decode: non-string input=${yt}`);let rt=at.length;if(rt*kt%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;rt>0&&at[rt-1]===nt;rt--)if(!((rt-1)*kt%8))throw new Error("Invalid padding: string has too much padding");return at.slice(0,rt)}}}function y(kt){if("function"!=typeof kt)throw new Error("normalize fn should be function");return{encode:nt=>nt,decode:nt=>kt(nt)}}function k(kt,nt,at){if(nt<2)throw new Error(`convertRadix: wrong from=${nt}, base cannot be less than 2`);if(at<2)throw new Error(`convertRadix: wrong to=${at}, base cannot be less than 2`);if(!Array.isArray(kt))throw new Error("convertRadix: data should be array");if(!kt.length)return[];let rt=0;const yt=[],Ct=Array.from(kt);for(Ct.forEach(Vt=>{if(a(Vt),Vt<0||Vt>=nt)throw new Error(`Wrong integer: ${Vt}`)});;){let Vt=0,Xt=!0;for(let oe=rt;oent?A(nt,kt%nt):kt,I=(kt,nt)=>kt+(nt-A(kt,nt));function M(kt,nt,at,rt){if(!Array.isArray(kt))throw new Error("convertRadix2: data should be array");if(nt<=0||nt>32)throw new Error(`convertRadix2: wrong from=${nt}`);if(at<=0||at>32)throw new Error(`convertRadix2: wrong to=${at}`);if(I(nt,at)>32)throw new Error(`convertRadix2: carry overflow from=${nt} to=${at} carryBits=${I(nt,at)}`);let yt=0,Ct=0;const Vt=2**at-1,Xt=[];for(const oe of kt){if(a(oe),oe>=2**nt)throw new Error(`convertRadix2: invalid data word=${oe} from=${nt}`);if(yt=yt<32)throw new Error(`convertRadix2: carry overflow pos=${Ct} from=${nt}`);for(Ct+=nt;Ct>=at;Ct-=at)Xt.push((yt>>Ct-at&Vt)>>>0);yt&=2**Ct-1}if(yt=yt<=nt)throw new Error("Excess padding");if(!rt&&yt)throw new Error(`Non-zero padding: ${yt}`);return rt&&Ct>0&&Xt.push(yt>>>0),Xt}function T(kt){return a(kt),{encode:nt=>{if(!(nt instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(nt),256,kt)},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(nt,kt,256))}}}function O(kt,nt=!1){if(a(kt),kt<=0||kt>32)throw new Error("radix2: bits should be in (0..32]");if(I(8,kt)>32||I(kt,8)>32)throw new Error("radix2: carry overflow");return{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return M(Array.from(at),8,kt,!nt)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(M(at,kt,8,nt))}}}function L(kt){if("function"!=typeof kt)throw new Error("unsafeWrapper fn should be function");return function(...nt){try{return kt.apply(null,nt)}catch{}}}function Y(kt,nt){if(a(kt),"function"!=typeof nt)throw new Error("checksum fn should be function");return{encode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const rt=nt(at).slice(0,kt),yt=new Uint8Array(at.length+kt);return yt.set(at),yt.set(rt,at.length),yt},decode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const rt=at.slice(0,-kt),yt=nt(rt).slice(0,kt),Ct=at.slice(-kt);for(let Vt=0;Vtkt.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=r(O(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),s("")),i.base64url=r(O(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),s(""));const z=kt=>r(T(58),o(kt),s(""));i.base58=z("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=z("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=z("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const q=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(kt){let nt="";for(let at=0;atr(Y(4,nt=>kt(kt(nt))),i.base58);const ct=r(o("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),s("")),dt=[996825010,642813549,513874426,1027748829,705979059];function tt(kt){const nt=kt>>25;let at=(33554431&kt)<<5;for(let rt=0;rt>rt&1)&&(at^=dt[rt]);return at}function vt(kt,nt,at=1){const rt=kt.length;let yt=1;for(let Ct=0;Ct126)throw new Error(`Invalid prefix (${kt})`);yt=tt(yt)^Vt>>5}yt=tt(yt);for(let Ct=0;Ctoe)throw new TypeError(`Wrong string length: ${Xt.length} (${Xt}). Expected (8..${oe})`);const Xe=Xt.toLowerCase();if(Xt!==Xe&&Xt!==Xt.toUpperCase())throw new Error("String must be lowercase or uppercase");const kr=(Xt=Xe).lastIndexOf("1");if(0===kr||-1===kr)throw new Error('Letter "1" must be present between prefix and data only');const gr=Xt.slice(0,kr),wr=Xt.slice(kr+1);if(wr.length<6)throw new Error("Data must be at least 6 characters long");const Wr=ct.decode(wr).slice(0,-6),xe=vt(gr,Wr,nt);if(!wr.endsWith(xe))throw new Error(`Invalid checksum in ${Xt}: expected "${xe}"`);return{prefix:gr,words:Wr}}return{encode:function(Xt,oe,Xe=90){if("string"!=typeof Xt)throw new Error("bech32.encode prefix should be string, not "+typeof Xt);if(!Array.isArray(oe)||oe.length&&"number"!=typeof oe[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof oe);const kr=Xt.length+7+oe.length;if(!1!==Xe&&kr>Xe)throw new TypeError(`Length ${kr} exceeds limit ${Xe}`);return`${Xt=Xt.toLowerCase()}1${ct.encode(oe)}${vt(Xt,oe,nt)}`},decode:Vt,decodeToBytes:function(Xt){const{prefix:oe,words:Xe}=Vt(Xt,!1);return{prefix:oe,words:Xe,bytes:rt(Xe)}},decodeUnsafe:L(Vt),fromWords:rt,fromWordsUnsafe:Ct,toWords:yt}}i.bech32=Mt("bech32"),i.bech32m=Mt("bech32m"),i.utf8={encode:kt=>(new TextDecoder).decode(kt),decode:kt=>(new TextEncoder).encode(kt)},i.hex=r(O(4),o("0123456789abcdef"),s(""),y(kt=>{if("string"!=typeof kt||kt.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof kt} with length ${kt.length}`);return kt.toLowerCase()}));const $t={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},St=`Invalid encoding type. Available types: ${Object.keys($t).join(", ")}`;i.bytesToString=(kt,nt)=>{if("string"!=typeof kt||!$t.hasOwnProperty(kt))throw new TypeError(St);if(!(nt instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return $t[kt].encode(nt)},i.str=i.bytesToString,i.stringToBytes=(kt,nt)=>{if(!$t.hasOwnProperty(kt))throw new TypeError(St);if("string"!=typeof nt)throw new TypeError("stringToBytes() expects string");return $t[kt].decode(nt)},i.bytes=i.stringToBytes})(lib),BigInt(1e3),BigInt(1e6),BigInt(1e9),BigInt(1e12),BigInt("2100000000000000000"),BigInt(1e11);const TAGCODES={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27};for(let i=0,a=Object.keys(TAGCODES);ithis.handleNotice(a))}initiateAuth(i={limit:1}){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.debug("Initiating authentication");const r=a.relay.sub([i],{id:"auth-test"});r.on("eose",()=>{r.unsub(),a._status=1,a.ndkRelay.emit("ready"),a.debug("Authentication not required"),r.unsub()}),a.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=()=>{i.updateConnectionStats.connected(),i.ndkRelay.authRequired?(i._status=6,i.ndkRelay.emit("connect"),i.initiateAuth()):(i._status=1,i.ndkRelay.emit("connect"),i.ndkRelay.emit("ready"))},r=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},o=function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,c),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",c)});return function(y){return s.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",a),i.relay.off("disconnect",r),i.relay.on("connect",a),i.relay.on("disconnect",r),i.relay.on("auth",o),yield i.relay.connect()}catch(s){throw i.debug("Failed to connect",s),i._status=3,s}})()}disconnect(){this._status=2,this.relay.close()}get status(){return this._status}isAvailable(){return 1===this._status}isFlapping(){const i=this._connectionStats.durations;if(i.length%3!=0)return!1;const a=i.reduce((o,s)=>o+s,0)/i.length,r=i.map(o=>Math.pow(o-a,2)).reduce((o,s)=>o+s,0)/i.length;return Math.sqrt(r)<1e3}handleNotice(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(a.disconnect(),setTimeout(()=>a.connect(),2e3),a.debug(a.relay.url,"Relay complaining?",i)),a.ndkRelay.emit("notice",a,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const a=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(r=>{this.debug("Reconnect failed",r),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},a)}updateConnectionStats={connected:()=>{this._connectionStats.success++,this._connectionStats.connectedAt=Date.now()},disconnected:()=>{this._connectionStats.connectedAt&&(this._connectionStats.durations.push(Date.now()-this._connectionStats.connectedAt),this._connectionStats.durations.length>100&&this._connectionStats.durations.shift()),this._connectionStats.connectedAt=void 0},attempt:()=>{this._connectionStats.attempts++}};get connectionStats(){return this._connectionStats}},NDKRelayPublisher=class{ndkRelay;constructor(i){this.ndkRelay=i}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=()=>new Promise((A,I)=>{try{r.publishEvent(i,a).then(M=>A(M)).catch(M=>I(M))}catch(M){I(M)}}),s=new Promise((A,I)=>{setTimeout(()=>I(new Error("Timeout")),a)}),c=()=>{o().then(A=>y(A)).catch(A=>k(A))};let y,k;return 1===r.ndkRelay.status?Promise.race([o(),s]):Promise.race([new Promise((A,I)=>{y=A,k=I,r.ndkRelay.once("connect",c)}),s]).finally(()=>{r.ndkRelay.removeListener("connect",c)})})()}publishEvent(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield i.toNostrEvent(),s=r.ndkRelay.connectivity.relay.publish(o);let c;const y=new Promise((A,I)=>{s.then(()=>{clearTimeout(c),r.ndkRelay.emit("published",i),A(!0)}).catch(M=>{clearTimeout(c),r.ndkRelay.debug("Publish failed",M,i.id),r.ndkRelay.emit("publish:failed",i,M),I(M)})});if(!a||i.isEphemeral())return y;const k=new Promise((A,I)=>{c=setTimeout(()=>{r.ndkRelay.debug("Publish timed out",i.rawEvent()),r.ndkRelay.emit("publish:failed",i,"Timeout"),I(new Error("Publish operation timed out"))},a)});return Promise.race([y,k])})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const a=[];for(const r of i){if(r.since||r.until)return null;const o=Object.keys(r||{}).sort().join("-");a.push(o)}return a.join("|")}function mergeFilters(i){const a={};return i.forEach(r=>{Object.entries(r).forEach(([o,s])=>{a[o]=Array.isArray(s)?void 0===a[o]?[...s]:Array.from(new Set([...a[o],...s])):s})}),a}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,a){if(Object.keys(i).length!==Object.keys(a).length)return!1;for(const[r,o]of Object.entries(i)){const s=a[r];if(!s)return!1;if(Array.isArray(o)&&Array.isArray(s)){const c=o;for(const y of s)if(!c.includes(y))return!1}else if(s!==o)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const a=i.filter.ids;return!!a&&a.length===i.eventFirstSeen.size}function generateSubId(i,a){const r=i.map(k=>k.subId).filter(Boolean),o=[],s=new Set,c=new Set;if(r.length>0)o.push(Array.from(new Set(r)).join(","));else{for(const k of a)for(const A of Object.keys(k))"kinds"===A?k.kinds?.forEach(I=>c.add(I)):s.add(A);c.size>0&&o.push("kinds:"+Array.from(c).join(",")),s.size>0&&o.push(Array.from(s).join(","))}let y=o.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==r.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let a;if(i.match(NIP33_A_REGEX)){const[r,o,s]=i.split(":"),c={authors:[o],kinds:[parseInt(r)]};return s&&(c["#d"]=[s]),c}try{switch(a=nip19_exports.decode(i),a.type){case"nevent":return{ids:[a.data.id]};case"note":return{ids:[a.data]};case"naddr":return{authors:[a.data.pubkey],"#d":[a.data.identifier],kinds:[a.data.kind]}}}catch{}return{ids:[i]}}function isNip33AValue(i){return null!==i.match(NIP33_A_REGEX)}var NIP33_A_REGEX=/^(\d+):([0-9A-Fa-f]+)(?::(.*))?$/;function relaysFromBech32(i){try{const a=nip19_exports.decode(i);if(["naddr","nevent"].includes(a?.type)){const r=a.data;if(r?.relays)return r.relays.map(o=>new NDKRelay(o))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,a){super(),this.subscriptions=i,this.debug=a||this.subscriptions[0].subscription.debug.extend("grouped");for(const r of i)this.handleSubscriptionClosure(r)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const a of this.subscriptions)a.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(r){r.subscription.eoseReceived(i)});return function(r){return a.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const a=this.subscriptions.findIndex(r=>r.subscription===i.subscription);this.subscriptions.splice(a,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const a=this.subscriptions;return{next:()=>imatchFilter(r,a))}};function findMatchingActiveSubscriptions(i,a){if(i.length!==a.length)return!1;for(let r=0;r{this.delayedItems.get(r)&&this.delayedItems.delete(r)}));let y=this.executionTimeoutsByGroupId.get(r);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(r,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(r,y)),this.delayedTimers.has(r)?this.delayedTimers.get(r).push(y):this.delayedTimers.set(r,[y])}executeGroup(i,a){const r=this.delayedItems.get(i);this.delayedItems.delete(i);const o=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),o)for(const s of o)clearTimeout(s);if(r){const s=r.subscriptions[0].filters.length,c=[];for(let y=0;yA.filters[y]);c.push(mergeFilters(k))}this.executeSubscriptions(i,r,c)}}executeSubscriptionsWhenConnected(i,a,r){const o=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,a,r)};this.ndkRelay.once("ready",o),a.once("close",()=>{this.ndkRelay.removeListener("ready",o)})}executeSubscriptions(i,a,r){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,a,r):this.executeSubscriptionsWhenConnected(i,a,r)}executeSubscriptionsConnected(i,a,r){const o=[];for(const{subscription:k}of a)o.push(k);const s=generateSubId(o,r);a.req=r;const c={id:s};(this.ndkRelay.trusted||o.every(k=>k.opts.skipVerification))&&(c.skipVerification=!0);const y=this.conn.relay.sub(r,c);return this.activeSubscriptions.set(y,a),i&&this.activeSubscriptionsByGroupId.set(i,{filters:r,sub:y}),y.on("event",k=>{const A=new NDKEvent(void 0,k);A.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(A)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),a.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,a,r),y}executedFilters(){const i=new Map;for(const[,a]of this.activeSubscriptions)i.set(a.req,a.map(r=>r.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,a){super(),this.url=i,this.scores=new Map,this.debug=debug3(`ndk:relay:${i}`),this.connectivity=new NDKRelayConnectivity(this),this.subs=new NDKRelaySubscriptions(this),this.publisher=new NDKRelayPublisher(this),this.authPolicy=a}get status(){return this.connectivity.status}get connectionStats(){return this.connectivity.connectionStats}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.connectivity.connect()})()}disconnect(){3!==this.status&&this.connectivity.disconnect()}subscribe(i,a){this.subs.subscribe(i,a)}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.publisher.publish(i,a)})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const a=["r",this.url];return i&&a.push(i),a}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,a){super(i),this.errors=a}},NDKRelaySet=class yE{relays;debug;ndk;constructor(a,r){this.relays=a,this.ndk=r,this.debug=r.debug.extend("relayset")}addRelay(a){this.relays.add(a)}static fromRelayUrls(a,r){const o=new Set;for(const s of a){const c=r.pool.relays.get(s);if(c)o.add(c);else{const y=new NDKRelay(s);r.pool.useTemporaryRelay(y),o.add(y)}}return new yE(new Set(o),r)}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new Set,c=new Map,y=a.isEphemeral(),k=Array.from(o.relays).map(A=>new Promise(I=>{A.publish(a,r).then(()=>{s.add(A),I()}).catch(M=>{y||(c.set(A,M),o.debug("error publishing to relay",{relay:A.url,err:M})),I()})}));if(yield Promise.all(k),0===s.size&&!y)throw new PublishError("No relay was able to receive the event",c);return s})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,a){const r=new Set;return i.pool?.relays.forEach(o=>r.add(o)),new NDKRelaySet(r,i)}function getWriteRelaysFor(i,a){if(i.outboxTracker)return i.outboxTracker.data.get(a)?.writeRelays}function calculateRelaySetsFromFilter(i,a){const r=new Map,o=new Set;if(a.forEach(s=>{s.authors&&s.authors.forEach(c=>o.add(c))}),o.size>0){const s=new Map;for(const c of o){const y=getWriteRelaysFor(i,c);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${c}`),y.forEach(k=>{const A=s.get(k)||[];A.push(c),s.set(k,A)})):i.explicitRelayUrls?.forEach(k=>{const A=s.get(k)||[];A.push(c),s.set(k,A)})}for(const c of s.keys())r.set(c,[]);for(const c of a)if(c.authors)for(const[y,k]of s.entries()){const A=c.authors.filter(I=>k.includes(I));r.set(y,[...r.get(y),{...c,authors:A}])}else for(const y of s.keys())r.set(y,[...r.get(y),c])}else i.explicitRelayUrls?.forEach(s=>{r.set(s,a)});return r}function calculateRelaySetsFromFilters(i,a){return calculateRelaySetsFromFilter(i,a)}var DEFAULT_RELAYS=["wss://nos.lol","wss://relay.nostr.band","wss://relay.f7z.io","wss://relay.damus.io","wss://nostr.mom","wss://no.str.cr"],Zap=class extends lib$1.EventEmitter{ndk;zappedEvent;zappedUser;constructor(i){super(),this.ndk=i.ndk,this.zappedEvent=i.zappedEvent,this.zappedUser=i.zappedUser||this.ndk.getUser({hexpubkey:this.zappedEvent?.pubkey})}getZapEndpoint(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,r,o,s;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),a=(i.zappedUser.profile||{}).lud06,r=(i.zappedUser.profile||{}).lud16),r&&!r.startsWith("LNURL")){const[c,y]=r.split("@");o=`https://${y}/.well-known/lnurlp/${c}`}else if(a){const{words:c}=bech32.decode(a,1e3),y=bech32.fromWords(c);o=new TextDecoder("utf-8").decode(y)}if(!o)throw new Error("No zap endpoint found");try{const c=i.ndk.httpFetch||fetch,y=yield c(o);if(200!==y.status){const A=yield y.text();throw new Error(`Unable to fetch zap endpoint ${o}: ${A}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(s=k.callback),s}catch(c){throw new Error(`Unable to fetch zap endpoint ${o}: ${c}`)}})()}createZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.generateZapRequest(i,a,r,o);if(!y)return null;const{event:k,zapEndpoint:A}=y;if(!k)throw new Error("No zap request event found");let I;yield k.sign(s);try{I=yield c.getInvoice(k,i,A)}catch(M){throw new Error("Failed to get invoice: "+M)}return I})()}getInvoice(i,a,r){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${r}?`+new URLSearchParams({amount:a.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!c.zappedEvent&&!c.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:c.zappedUser.pubkey,event:null,amount:i,comment:a||"",relays:o??c.relays()});if(c.zappedEvent){const I=c.zappedEvent.referenceTags();k.tags.push(...I)}k.tags.push(["lnurl",y]);const A=new NDKEvent(c.ndk,k);return r&&(A.tags=A.tags.concat(r)),{event:A,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,a){const r=new Map,o=(s,c)=>s.every((y,k)=>y===c[k]);return i.concat(a).forEach(s=>{for(let[c,y]of r)if(o(y,s)||o(s,y))return void(s.length>=y.length&&r.set(c,s));r.set(s.join(","),s)}),Array.from(r.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=[]){let r=[];const o=s=>{a.find(c=>c[0]===s[0]&&c[1]===s[1])||a.push(s)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,s=>{try{const c=s.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(c);let A;switch(y){case"npub":A=["p",k];break;case"nprofile":A=["p",k.pubkey];break;case"note":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){o(["e",k,yield maybeGetEventRelayUrl(c),"mention"]),M()});return function(M){return I.apply(this,arguments)}}()));break;case"nevent":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){let{id:T,relays:O,author:L}=k;O&&0!==O.length||(O=[yield maybeGetEventRelayUrl(c)]),o(["e",T,O[0],"mention"]),L&&o(["p",L]),M()});return function(M){return I.apply(this,arguments)}}()));break;case"naddr":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){const T=[k.kind,k.pubkey,k.identifier].join(":");let O=k.relays??[];0===O.length&&(O=[yield maybeGetEventRelayUrl(c)]),o(["a",T,O[0],"mention"]),o(["p",k.pubkey]),M()});return function(M){return I.apply(this,arguments)}}()));break;default:return s}return A&&o(A),`nostr:${c}`}catch{return s}}),yield Promise.all(r),{content:i=i.replace(/#(\w+)/g,(s,c)=>{const y=["t",c];return a.find(k=>k[0]===y[0]&&k[1]===y[1])||a.push(y),s}),tags:a}}),_generateContentTags.apply(this,arguments)}function maybeGetEventRelayUrl(i){return _maybeGetEventRelayUrl.apply(this,arguments)}function _maybeGetEventRelayUrl(){return(_maybeGetEventRelayUrl=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){return""})).apply(this,arguments)}function isReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=1e4&&this.kind<2e4}function isEphemeral(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=2e4&&this.kind<3e4}function isParamReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=3e4&&this.kind<4e4}function encrypt(i,a){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");if(a||(yield this.ndk.assertSigner(),a=this.ndk.signer),!i){const r=this.getMatchingTags("p");if(1!==r.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:r[0][1]})}this.content=yield a?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,a){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");a||(yield this.ndk.assertSigner(),a=this.ndk.signer),i||(i=this.author),this.content=yield a?.decrypt(i,this.content)}),_decrypt.apply(this,arguments)}function encode(){return this.isParamReplaceable()?nip19_exports.naddrEncode({kind:this.kind,pubkey:this.pubkey,identifier:this.replaceableDTag(),relays:this.relay?[this.relay.url]:[]}):this.relay?nip19_exports.neventEncode({id:this.tagId(),relays:[this.relay.url],author:this.pubkey}):nip19_exports.noteEncode(this.tagId())}function repost(){return _repost.apply(this,arguments)}function _repost(){return _repost=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,a){if(!a&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),a=this.ndk.signer}const r=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return r.tag(this),16===r.kind&&r.tags.push(["k",`${this.kind}`]),a&&(yield r.sign(a)),i&&(yield r.publish()),r}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class Uw extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(a,r){super(),this.ndk=a,this.created_at=r?.created_at,this.content=r?.content||"",this.tags=r?.tags||[],this.id=r?.id||"",this.sig=r?.sig,this.pubkey=r?.pubkey||"",this.kind=r?.kind}rawEvent(){return{created_at:this.created_at,content:this.content,tags:this.tags,kind:this.kind,pubkey:this.pubkey,id:this.id,sig:this.sig}}set author(a){this.pubkey=a.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const a=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=a,a}tag(a,r){let o=[];if(a instanceof NDKUser){const s=["p",a.pubkey];r&&s.push(r),o.push(s)}else if(a instanceof Uw){const s=a;o=s.referenceTags(r,s?.pubkey===this.pubkey);for(const y of s.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else o=[a];this.tags=mergeTags(this.tags,o)}toNostrEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a&&""===r.pubkey){const y=yield r.ndk?.signer?.user();r.pubkey=y?.hexpubkey||""}r.created_at||(r.created_at=Math.floor(Date.now()/1e3));const o=r.rawEvent(),{content:s,tags:c}=yield r.generateTags();o.content=s||"",o.tags=c;try{r.id=getEventHash(o)}catch{}return r.id&&(o.id=r.id),r.sig&&(o.sig=r.sig),o})()}isReplaceable=isReplaceable.bind(this);isEphemeral=isEphemeral.bind(this);isParamReplaceable=isParamReplaceable.bind(this);encode=encode.bind(this);encrypt=encrypt.bind(this);decrypt=decrypt.bind(this);getMatchingTags(a){return this.tags.filter(r=>r[0]===a)}tagValue(a){const r=this.getMatchingTags(a);if(0!==r.length)return r[0][1]}get alt(){return this.tagValue("alt")}set alt(a){this.removeTag("alt"),a&&this.tags.push(["alt",a])}removeTag(a){this.tags=this.tags.filter(r=>r[0]!==a)}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a?r.author=yield a.user():(r.ndk?.assertSigner(),a=r.ndk.signer),yield r.generateTags(),r.isReplaceable()&&(r.created_at=Math.floor(Date.now()/1e3));const o=yield r.toNostrEvent();return r.sig=yield a.sign(o),r.sig})()}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.sig||(yield o.sign()),!o.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return a||(a=o.ndk.devWriteRelaySet||calculateRelaySetFromEvent(o.ndk)),a.publish(o,r)})()}generateTags(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let r=[];const o=yield generateContentTags(a.content,a.tags),s=o.content;if(r=o.tags,a.kind&&a.isParamReplaceable()&&!a.getMatchingTags("d")[0]){const c=a.tagValue("title");let y=[...Array(c?6:16)].map(()=>Math.random().toString(36)[2]).join("");c&&c.length>0&&(y=c.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),r.push(["d",y])}if((a.ndk?.clientName||a.ndk?.clientNip89)&&!a.tagValue("client")){const c=["client",a.ndk.clientName??""];a.ndk.clientNip89&&c.push(a.ndk.clientNip89),r.push(c)}return{content:s||"",tags:r}})()}muted(){const a=this.ndk?.mutedIds.get(this.pubkey);if(a&&"p"===a)return"author";const r=this.tagReference(),o=this.ndk?.mutedIds.get(r[1]);return o&&o===r[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const a=this.getMatchingTags("d")[0];return a?a[1]:""}throw new Error("Event is not a parameterized replaceable event")}deduplicationKey(){return 0===this.kind||3===this.kind||this.kind&&this.kind>=1e4&&this.kind<2e4?`${this.kind}:${this.pubkey}`:this.tagId()}tagId(){return this.isParamReplaceable()?this.tagAddress():this.id}tagAddress(){if(!this.isParamReplaceable())throw new Error("This must only be called on replaceable events");const a=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${a}`}tagReference(a){let r;return r=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],r.push(this.relay?this.relay.url:""),a&&r.push(a),r}referenceTags(a,r){let o=[];return o=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?o=o.map(s=>(s.push(this.relay?.url),s)):a&&(o=o.map(s=>(s.push(""),s))),a&&o.forEach(s=>s.push(a)),r||o.push(...this.author.referenceTags()),o}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(a,r,o,s,c){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");c||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:s}),A=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(a,r,o,A,c)})()}delete(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");r.ndk.assertSigner();const o=new Uw(r.ndk,{kind:5,content:a||""});return o.tag(r),yield o.publish(),o})()}repost=repost.bind(this);react(a,r=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");o.ndk.assertSigner();const s=new Uw(o.ndk,{kind:7,content:a});return s.tag(o),r?yield s.publish():yield s.sign(),s})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class vE extends NDKEvent{constructor(a,r){super(a,r),this.kind??=10002}static from(a){return new vE(a.ndk,a.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===READ_MARKER).map(a=>a[1])}set readRelayUrls(a){for(const r of a)this.tags.push(["r",r,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===WRITE_MARKER).map(a=>a[1])}set writeRelayUrls(a){for(const r of a)this.tags.push(["r",r,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]).map(a=>a[1])}set bothRelayUrls(a){for(const r of a)this.tags.push(["r",r])}get relays(){return this.getMatchingTags("r").map(a=>a[1])}},defaultOpts={closeOnEose:!1,cacheUsage:"CACHE_FIRST",groupable:!0,groupableDelay:100,groupableDelayType:"at-most"},NDKSubscription=class extends lib$1.EventEmitter{subId;filters;opts;pool;skipVerification=!1;skipValidation=!1;relayFilters;relaySet;ndk;debug;eoseDebug;eventFirstSeen=new Map;eosesSeen=new Set;eventsPerRelay=new Map;lastEventReceivedAt;internalId;constructor(i,a,r,o,s){if(super(),this.ndk=i,this.pool=r?.pool||i.pool,this.opts={...defaultOpts,...r||{}},this.filters=a instanceof Array?a:[a],this.subId=s||r?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=o,this.debug=i.debug.extend(`subscription[${r?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=r?.skipVerification||!1,this.skipValidation=r?.skipValidation||!1,this.opts.closeOnEose||this.debug("Creating a permanent subscription",this.opts,JSON.stringify(this.filters)),"ONLY_CACHE"===this.opts.cacheUsage&&!this.opts.closeOnEose)throw new Error("Cannot use cache-only options with a persistent subscription")}get filter(){return this.filters[0]}isGroupable(){return this.opts?.groupable||!1}shouldQueryCache(){return"ONLY_RELAY"!==this.opts?.cacheUsage}shouldQueryRelays(){return"ONLY_CACHE"!==this.opts?.cacheUsage}shouldWaitForCache(){return this.opts.closeOnEose&&!!this.ndk.cacheAdapter?.locking&&"PARALLEL"!==this.opts.cacheUsage}start(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a;i.shouldQueryCache()&&(a=i.startWithCache(),i.shouldWaitForCache()&&(yield a,queryFullyFilled(i)))?i.emit("eose",i):i.shouldQueryRelays()?i.startWithRelays():i.emit("eose",i)})()}stop(){this.emit("close",this),this.removeAllListeners()}hasAuthorsFilter(){return this.filters.some(i=>i.authors?.length)}startWithCache(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const a=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield a)}})()}startWithRelays(){if(this.relaySet){this.relayFilters=new Map;for(const i of this.relaySet.relays)this.relayFilters.set(i.url,this.filters)}else this.relayFilters=calculateRelaySetsFromFilters(this.ndk,this.filters);if(this.relayFilters&&0!==this.relayFilters.size)for(const[i,a]of this.relayFilters)this.pool.getRelay(i).subscribe(this,a);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,a,r=!1){if(a&&(i.relay=a),a||(a=i.relay),this.skipValidation||i.isValid){if(!r&&a){let o=this.eventsPerRelay.get(a);if(o||(o=new Set,this.eventsPerRelay.set(a,o)),o.add(i.id),this.eventFirstSeen.has(i.id)){const s=Date.now()-(this.eventFirstSeen.get(i.id)||0);return a.scoreSlowerEvent(s),void this.emit("event:dup",i,a,s,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,a),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,a,this),this.lastEventReceivedAt=Date.now()}else this.debug("Event failed validation",i)}eoseTimeout;eoseReceived(i){this.eosesSeen.add(i),this.eoseDebug(`received from ${i.url}`);let a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const r=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(r)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let o=1e3;const s=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&s>=.5){o*=1-s,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const c=()=>{a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==a&&a<20?this.eoseTimeout=setTimeout(c,o):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(c,o)}}}};function follows(i,a){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r=3){if(!this.ndk)throw new Error("NDK not set");const o=Array.from(yield this.ndk.fetchEvents({kinds:[r],authors:[this.pubkey]},i||{groupable:!1}))[0];if(o){const s=new Set;return o.tags.forEach(c=>{if("p"===c[0])try{s.add(c[1]),a&&this.ndk?.outboxTracker?.trackUsers([c[1]])}catch{}}),[...s].reduce((c,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,c.add(k),c},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const a={};let r;try{r=JSON.parse(i.content)}catch(o){throw new Error(`Failed to parse profile event: ${o}`)}return Object.keys(r).forEach(o=>{switch(o){case"name":a.name=r.name;break;case"display_name":a.displayName=r.display_name;break;case"image":case"picture":a.image=r.image||r.picture;break;case"banner":a.banner=r.banner;break;case"bio":a.bio=r.bio;break;case"nip05":a.nip05=r.nip05;break;case"lud06":a.lud06=r.lud06;break;case"lud16":a.lud16=r.lud16;break;case"about":a.about=r.about;break;case"zapService":a.zapService=r.zapService;break;case"website":a.website=r.website;break;default:a[o]=r[o]}}),a}function serializeProfile(i){const a={};for(const[r,o]of Object.entries(i))switch(r){case"username":case"name":a.name=o;break;case"displayName":a.display_name=o;break;case"image":case"picture":a.picture=o;break;case"bio":case"about":a.about=o;break;default:a[r]=o}return JSON.stringify(a)}var NDKList=class xE extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(a,r){super(a,r),this.kind??=30001}static from(a){return new xE(a.ndk,a.rawEvent())}get title(){const a=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(a){if(this.removeTag("title"),this.removeTag("name"),!a)throw new Error("Title cannot be empty");this.tags.push(["title",a])}get name(){const a=this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(a){if(this.removeTag("name"),!a)throw new Error("Name cannot be empty");this.tags.push(["title",a])}get description(){return this.tagValue("description")}set description(a){a?this.tags.push(["description",a]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(a=!0){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a&&r.isEncryptedTagsCacheValid())return r._encryptedTags;if(!r.ndk)throw new Error("NDK instance not set");if(!r.ndk.signer)throw new Error("NDK signer not set");const o=yield r.ndk.signer.user();try{if(r.content.length>0)try{const s=yield r.ndk.signer.decrypt(o,r.content),c=JSON.parse(s);return c&&c[0]?(r.encryptedTagsLength=r.content.length,r._encryptedTags=c):(r.encryptedTagsLength=r.content.length,r._encryptedTags=[])}catch{console.log(`error decrypting ${r.content}`)}}catch{}return[]})()}validateTag(a){return!0}get items(){return this.tags.filter(a=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(a[0]))}addItem(a,r=void 0,o=!1){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK instance not set");if(!s.ndk.signer)throw new Error("NDK signer not set");let c;if(a instanceof NDKEvent)c=a.referenceTags();else if(a instanceof NDKUser)c=a.referenceTags();else if(a instanceof NDKRelay)c=a.referenceTags();else{if(!Array.isArray(a))throw new Error("Invalid object type");c=[a]}if(r&&c[0].push(r),o){const y=yield s.ndk.signer.user(),k=yield s.encryptedTags();k.push(...c),s._encryptedTags=k,s.encryptedTagsLength=s.content.length,s.content=JSON.stringify(k),yield s.encrypt(y)}else s.tags.push(...c);s.created_at=Math.floor(Date.now()/1e3),s.emit("change")})()}removeItem(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");if(r){const s=yield o.ndk.signer.user(),c=yield o.encryptedTags();c.splice(a,1),o._encryptedTags=c,o.encryptedTagsLength=o.content.length,o.content=JSON.stringify(c),yield o.encrypt(s)}else o.tags.splice(a,1);return o.created_at=Math.floor(Date.now()/1e3),o.emit("change"),o})()}},lists_default=NDKList;function pin(i,a,r){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!a){const o=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});a=o.size>0?lists_default.from(Array.from(o)[0]):new NDKEvent(this.ndk,{kind:10001})}return a.tag(i),r&&(yield a.publish()),a}),_pin.apply(this,arguments)}var NIP05_REGEX=/^(?:([\w.+-]+)@)?([\w.-]+)$/;function getNip05For(i){return _getNip05For.apply(this,arguments)}function _getNip05For(){return _getNip05For=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=fetch,r={}){const o=i.match(NIP05_REGEX);if(!o)return null;const[s,c="_",y]=o;try{const k=yield a(`https://${y}/.well-known/nostr.json?name=${c}`,r),{names:A,relays:I,nip46:M}=parseNIP05Result(yield k.json()),T=A[c];return T?{pubkey:T,relays:I?.[T],nip46:M?.[T]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}if(i.nip46){a.nip46={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.nip46[r]=o.filter(s=>"string"==typeof s))}return a}var NDKUser=class zv{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(a){a.npub&&(this._npub=a.npub),a.hexpubkey&&(this._pubkey=a.hexpubkey),a.pubkey&&(this._pubkey=a.pubkey),a.relayUrls&&(this.relayUrls=a.relayUrls),a.nip46Urls&&(this.nip46Urls=a.nip46Urls)}get npub(){if(!this._npub){if(!this._pubkey)throw new Error("hexpubkey not set");this._npub=nip19_exports.npubEncode(this.pubkey)}return this._npub}set npub(a){this._npub=a}get hexpubkey(){return this.pubkey}set hexpubkey(a){this._pubkey=a}get pubkey(){if(!this._pubkey){if(!this._npub)throw new Error("npub not set");this._pubkey=nip19_exports.decode(this.npub).data}return this._pubkey}set pubkey(a){this._pubkey=a}static fromNip05(a,r,o=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r?.cacheAdapter&&r.cacheAdapter.loadNip05){const y=yield r.cacheAdapter.loadNip05(a);if(y){const k=new zv({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=r,k}}let s={};o&&(s.cache="no-cache");const c=yield getNip05For(a,r?.httpFetch,s);if(c&&r?.cacheAdapter&&r.cacheAdapter.saveNip05&&r?.cacheAdapter.saveNip05(a,c),c){const y=new zv({pubkey:c.pubkey,relayUrls:c.relays,nip46Urls:c.nip46});return y.ndk=r,y}})()}fetchProfile(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("NDK not set");r.profile||(r.profile={});let o=null;if(r.ndk.cacheAdapter&&r.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==a?.cacheUsage){const c=yield r.ndk.cacheAdapter.fetchProfile(r.pubkey);if(c)return r.profile=c,c}!a&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.locking&&(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),a={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),o&&0!==o.size||(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},a));const s=Array.from(o).sort((c,y)=>c.created_at-y.created_at);return 0===s.length?null:(r.profile=profileFromEvent(s[0]),r.profile&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.saveProfile&&r.ndk.cacheAdapter.saveProfile(r.pubkey,r.profile),r.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=a.ndk.outboxPool||a.ndk.pool,o=new Set;for(const y of r.relays.values())o.add(y);const s=new NDKRelaySet(o,a.ndk),c=yield a.ndk.fetchEvent({kinds:[10002],authors:[a.pubkey]},{closeOnEose:!0,pool:r,groupable:!0,subId:`relay-list-${a.pubkey.slice(0,6)}`},s);return c?NDKRelayList.from(c):yield a.relayListFromKind3()})()}relayListFromKind3(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=yield a.ndk.fetchEvent({kinds:[3],authors:[a.pubkey]});if(r)try{const o=JSON.parse(r.content),s=new NDKRelayList(a.ndk),c=new Set,y=new Set;for(const[k,A]of Object.entries(o))if(A){const I=A;I.write&&y.add(k),I.read&&c.add(k)}else c.add(k),y.add(k);return s.readRelayUrls=Array.from(c),s.writeRelayUrls=Array.from(y),s}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(a){const r=[["p",this.pubkey]];return a&&r[0].push("",a),r}publish(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("No NDK instance found");if(!a.profile)throw new Error("No profile available");a.ndk.assertSigner(),yield new NDKEvent(a.ndk,{kind:0,content:serializeProfile(a.profile)}).publish()})()}follow(a,r,o=3){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("No NDK instance found");if(s.ndk.assertSigner(),r||(r=yield s.follows(void 0,void 0,o)),r.has(a))return!1;r.add(a);const c=new NDKEvent(s.ndk,{kind:o});for(const y of r)c.tag(y);return yield c.publish(),!0})()}validateNip05(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");const o=yield getNip05For(a);return null===o?null:o.pubkey===r.pubkey})()}zap(a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!c.ndk)throw new Error("No NDK instance found");s||c.ndk.assertSigner();const y=new Zap({ndk:c.ndk,zappedUser:c}),k=Array.from(c.ndk.pool.relays.keys());return yield y.createZapRequest(a,r,o,k,s)})()}},NDKPrivateKeySigner=class _E{_user;privateKey;constructor(a){a&&(this.privateKey=a,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const a=generatePrivateKey();return new _E(a)}blockUntilReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a._user)throw new Error("NDKUser not initialized");return a._user})()}user(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield a.blockUntilReady(),a._user})()}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.privateKey)throw Error("Attempted to sign without a private key");return getSignature(a,r.privateKey)})()}encrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to encrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.encrypt(o.privateKey,s,r)})()}decrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to decrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.decrypt(o.privateKey,s,r)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,a,r){super(),this.ndk=i,this.signer=a,this.debug=r.extend("rpc")}subscribe(i){var a=this;const r=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return r.on("event",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){try{const c=yield a.parseEvent(s);a.emit(c.method?"request":`response-${c.id}`,c)}catch(c){a.debug("error parsing event",c,s.rawEvent())}});return function(s){return o.apply(this,arguments)}}()),new Promise((o,s)=>{r.on("eose",()=>o(r))})}parseEvent(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=a.ndk.getUser({hexpubkey:i.pubkey});r.ndk=a.ndk;const o=yield a.signer.decrypt(r,i.content),s=JSON.parse(o),{id:c,method:y,params:k,result:A,error:I}=s;return y?{id:c,pubkey:i.pubkey,method:y,params:k,event:i}:{id:c,result:A,error:I,event:i}})()}sendResponse(i,a,r,o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:r};s&&(y.error=s);const k=yield c.signer.user(),A=c.ndk.getUser({hexpubkey:a}),I=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(y),tags:[["p",a]],pubkey:k.hexpubkey});I.content=yield c.signer.encrypt(A,I.content),yield I.sign(c.signer),yield I.publish()})()}sendRequest(i,a,r=[],o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield c.signer.user(),A=c.ndk.getUser({hexpubkey:i}),I={id:y,method:a,params:r},M=new Promise(O=>{const L=Y=>{"auth_url"===Y.result?(c.once(`response-${y}`,L),c.emit("authUrl",Y.error)):s&&s(Y)};c.once(`response-${y}`,L)}),T=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(I),tags:[["p",i]],pubkey:k.pubkey});return T.content=yield c.signer.encrypt(A,T.content),yield T.sign(c.signer),c.debug(`sending ${a} request to`,i),yield T.publish(),M})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,a,r){let o,s;if(super(),a.includes("#")){const c=a.split("#");o=new NDKUser({npub:c[0]}).pubkey,s=c[1]}else a.startsWith("npub")?o=new NDKUser({npub:a}).pubkey:a.match(/\./)?this.nip05=a:o=a;this.ndk=i,o&&(this.remotePubkey=o),this.token=s,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:o}),this.localSigner=r||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...c)=>{this.emit("authUrl",...c)}),this.localSigner.user().then(c=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[c.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.remoteUser})()}blockUntilReady(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.localSigner.user(),r=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(o=>{o&&(i.remoteUser=o,i.remotePubkey=o.pubkey,i.relayUrls=o.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((o,s)=>{setTimeout(()=>{const c=[a.pubkey];i.token&&c.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",c,24133,y=>{"ack"===y.result?o(r):s(y.error)})},100)})})()}encrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for encryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_encrypt",[i.pubkey,a],24133,c=>{c.error?s(c.error):o(c.result)})})})()}decrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for decryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_decrypt",[i.pubkey,a],24133,c=>{if(c.error)s(c.error);else{const y=JSON.parse(c.result);o(y[0])}})})})()}sign(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.debug("asking for a signature"),new Promise((r,o)=>{a.rpc.sendRequest(a.remotePubkey,"sign_event",[JSON.stringify(i)],24133,s=>{if(a.debug("got a response",s),s.error)o(s.error);else{const c=JSON.parse(s.result);r(c.sig)}})})})()}createAccount(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.debug("asking to create an account");const s=[];return i&&s.push(i),a&&s.push(a),r&&s.push(r),new Promise((c,y)=>{o.rpc.sendRequest(o.remotePubkey,"create_account",s,24134,k=>{o.debug("got a response",k),k.error?y(k.error):c(k.result)})})})()}};function dedup(i,a){return i.created_at>a.created_at?i:a}var OutboxItem=class{type;relayUrlScores;readRelays;writeRelays;constructor(i){this.type=i,this.relayUrlScores=new Map,this.readRelays=new Set,this.writeRelays=new Set}},OutboxTracker=class extends lib$1.EventEmitter{data;ndk;debug;constructor(i){super(),this.ndk=i,this.debug=i.debug.extend("outbox-tracker"),this.data=new dist.LRUCache({maxSize:1e5,entryExpirationTimeInMS:5e3})}trackUsers(i){for(const a of i){const r=getKeyFromItem(a);if(this.data.has(r))continue;const o=this.track(a,"user"),s=a instanceof NDKUser?a:new NDKUser({hexpubkey:a});s.ndk=this.ndk,s.relayList().then(c=>{if(c){o.readRelays=new Set(c.readRelayUrls),o.writeRelays=new Set(c.writeRelayUrls);for(const y of o.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),o.readRelays.delete(y));for(const y of o.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),o.writeRelays.delete(y));this.data.set(r,o),this.debug(`Adding ${o.readRelays.size} read relays and ${o.writeRelays.size} write relays for ${s.hexpubkey}`)}})}}track(i,a){const r=getKeyFromItem(i);a??=getTypeFromItem(i);let o=this.data.get(r);return o||(o=new OutboxItem(a)),this.data.set(r,o),o}};function getKeyFromItem(i){return i instanceof NDKUser?i.hexpubkey:i}function getTypeFromItem(i){return i instanceof NDKUser?"user":"kind"}var NDKPool=class extends lib$1.EventEmitter{relays=new Map;blacklistRelayUrls;debug;temporaryRelayTimers=new Map;flappingRelays=new Set;backoffTimes=new Map;constructor(i=[],a=[],r,o){super(),this.debug=o??r.debug.extend("pool");for(const s of i){const c=new NDKRelay(s);this.addRelay(c,!1)}this.blacklistRelayUrls=new Set(a)}useTemporaryRelay(i,a=6e5){const r=this.relays.has(i.url);r||this.addRelay(i);const o=this.temporaryRelayTimers.get(i.url);if(o&&clearTimeout(o),!r||o){const s=setTimeout(()=>{this.removeRelay(i.url)},a);this.temporaryRelayTimers.set(i.url,s)}}addRelay(i,a=!0){var r=this;const o=i.url;this.blacklistRelayUrls?.has(o)?this.debug(`Relay ${o} is blacklisted`):(i.on("notice",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c,y){return r.emit("notice",c,y)});return function(c,y){return s.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(o)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){return r.emit("relay:auth",i,c)});return function(c){return s.apply(this,arguments)}}()),this.relays.set(o,i),a&&i.connect().catch(s=>{this.debug(`Failed to connect to relay ${o}`,s)}))}removeRelay(i){const a=this.relays.get(i);if(a)return a.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",a),!0;const r=this.temporaryRelayTimers.get(i);return r&&(clearTimeout(r),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,a=!0){let r=this.relays.get(i);return r||(r=new NDKRelay(i),this.addRelay(r,a)),r}handleRelayConnect(i){this.debug(`Relay ${i} connected`),this.emit("relay:connect",this.relays.get(i)),this.stats().connected===this.relays.size&&this.emit("connect")}handleRelayReady(i){this.debug(`Relay ${i.url} ready`),this.emit("relay:ready",i)}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=[];a.debug(`Connecting to ${a.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const o of a.relays.values())if(i){const s=new Promise((c,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});r.push(Promise.race([o.connect(),s]).catch(c=>{a.debug(`Failed to connect to relay ${o.url}: ${c??"No reason specified"}`)}))}else r.push(o.connect());i&&setTimeout(()=>{const o=a.stats().connected===a.relays.size,s=a.stats().connected>0;!o&&s&&a.emit("connect")},i),yield Promise.all(r)})()}checkOnFlappingRelays(){if(this.flappingRelays.size/this.relays.size>=.8)for(const i of this.flappingRelays)this.backoffTimes.set(i,0)}handleFlapping(i){this.debug(`Relay ${i.url} is flapping`);let a=this.backoffTimes.get(i.url)||5e3;a*=2,this.backoffTimes.set(i.url,a),this.debug(`Backoff time for ${i.url} is ${a}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},a),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const a of this.relays.values())i.total++,1===a.status?i.connected++:3===a.status?i.disconnected++:0===a.status&&i.connecting++;return i}connectedRelays(){return Array.from(this.relays.values()).filter(i=>1===i.status)}urls(){return Array.from(this.relays.keys())}};function correctRelaySet(i,a){const r=a.connectedRelays();if(!Array.from(i.relays).some(o=>r.map(s=>s.url).includes(o.url)))for(const o of r)i.addRelay(o);if(0===r.length)for(const o of a.relays.values())i.addRelay(o);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,a){this.url=`https://${i}${SPEC_PATH}`,this.ndk=a}prepareUpload(i,a="POST"){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.validateHttpFetch(),r.spec||(yield r.fetchSpec()),!r.spec)throw new Error("Failed to fetch NIP96 spec");let o={};return r.nip98Required&&(o={Authorization:yield r.generateNip98Header(r.spec.api_url,a,i)}),{url:r.spec.api_url,headers:o}})()}xhrUpload(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:s,headers:c}=yield r.prepareUpload(a,o);i.open(o,s,!0),c.Authorization&&i.setRequestHeader("Authorization",c.Authorization);const y=new FormData;return y.append("file",a),new Promise((k,A)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):A(new Error(i.statusText))},i.onerror=function(){A(new Error("Network Error"))},i.send(y)})})()}upload(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r="POST",{url:o,headers:s}=yield a.prepareUpload(i,r),c=new FormData;c.append("file",i);const y=yield a.ndk.httpFetch(a.spec.api_url,{method:r,headers:s,body:c});if(200!==y.status)throw new Error(`Failed to upload file to ${o}`);const k=yield y.json();if("success"!==k.status)throw new Error(k.message);return k})()}validateHttpFetch(){if(!this.ndk)throw new Error("NDK is required to fetch NIP96 spec");if(!this.ndk.httpFetch)throw new Error("NDK must have an httpFetch method to fetch NIP96 spec")}fetchSpec(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const a=yield i.ndk.httpFetch(i.url);if(200!==a.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const r=yield a.json();if(!r)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=r,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new NDKEvent(o.ndk,{kind:27235,tags:[["u",i],["method",a]]});if(["POST","PUT","PATCH"].includes(a)){const c=yield o.calculateSha256(r);s.tags.push(["payload",c])}return yield s.sign(),`Nostr ${btoa(JSON.stringify(s.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.arrayBuffer(),r=yield crypto.subtle.digest("SHA-256",a);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")})()}},DEFAULT_OUTBOX_RELAYS=["wss://purplepag.es","wss://relay.snort.social"],DEFAULT_BLACKLISTED_RELAYS=["wss://brb.io"],NDK=class extends lib$1.EventEmitter{explicitRelayUrls;pool;outboxPool;_signer;_activeUser;cacheAdapter;debug;devWriteRelaySet;outboxTracker;mutedIds;clientName;clientNip89;relayAuthDefaultPolicy;httpFetch;autoConnectUserRelays=!0;autoFetchUserMutelist=!0;constructor(i={}){var a;super(),a=this,this.debug=i.debug||debug3("ndk"),this.explicitRelayUrls=i.explicitRelayUrls||[],this.pool=new NDKPool(i.explicitRelayUrls||[],i.blacklistRelayUrls,this),this.debug(`Starting with explicit relays: ${JSON.stringify(this.explicitRelayUrls)}`),this.pool.on("relay:auth",function(){var r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o,s){a.relayAuthDefaultPolicy&&(yield a.relayAuthDefaultPolicy(o,s))});return function(o,s){return r.apply(this,arguments)}}()),this.autoConnectUserRelays=i.autoConnectUserRelays??!0,this.autoFetchUserMutelist=i.autoFetchUserMutelist??!0,this.clientName=i.clientName,this.clientNip89=i.clientNip89,this.relayAuthDefaultPolicy=i.relayAuthDefaultPolicy,i.enableOutboxModel&&(this.outboxPool=new NDKPool(i.outboxRelayUrls||DEFAULT_OUTBOX_RELAYS,i.blacklistRelayUrls||DEFAULT_BLACKLISTED_RELAYS,this,this.debug.extend("outbox-pool")),this.outboxTracker=new OutboxTracker(this)),this.signer=i.signer,this.cacheAdapter=i.cacheAdapter,this.mutedIds=i.mutedIds||new Map,i.devWriteRelayUrls&&(this.devWriteRelaySet=NDKRelaySet.fromRelayUrls(i.devWriteRelayUrls,this));try{this.httpFetch=fetch}catch{}}addExplicitRelay(i,a,r=!0){let o;return o="string"==typeof i?new NDKRelay(i,a):i,this.pool.addRelay(o,r),this.explicitRelayUrls.push(o.url),o}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var a=this;const r=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&r){const o=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const M=yield I.relayList();if(M){a.debug("Connecting to user relays",{npub:I.npub,relays:M.relays});for(const T of M.relays){let O=a.pool.relays.get(T);O||(O=new NDKRelay(T),a.pool.addRelay(O))}}else a.debug("No relay list found for user",{npub:I.npub})});return function(M){return A.apply(this,arguments)}}(),s=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const M=yield a.fetchEvents([{kinds:[1e4],authors:[I.pubkey]},{kinds:[3e4],authors:[I.pubkey],"#d":["mute"],limit:1}]);if(M)for(const T of M){const O=lists_default.from(T);for(const L of O.items)a.mutedIds.set(L[1],L[0])}else a.debug("No mute list found for user",{npub:I.npub})});return function(M){return A.apply(this,arguments)}}(),c=[];this.autoConnectUserRelays&&c.push(o),this.autoFetchUserMutelist&&c.push(s);const y=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){for(const M of c)yield M(I)});return function(M){return A.apply(this,arguments)}}(),k=this.outboxPool||this.pool;k.connectedRelays.length>0?y(i):(this.debug("Waiting for connection to main relays"),k.once("relay:ready",A=>{this.debug("New relay ready",A?.url),y(i)}))}else i||(this.mutedIds=new Map)}get signer(){return this._signer}set signer(i){this._signer=i,this.emit("signer:ready",i),i?.user().then(a=>{a.ndk=this,this.activeUser=a})}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a._signer&&a.autoConnectUserRelays&&(a.debug("Attempting to connect to user relays specified by signer"),a._signer.relays)&&(yield a._signer.relays()).forEach(o=>a.pool.addRelay(o));const r=[a.pool.connect(i)];return a.outboxPool&&r.push(a.outboxPool.connect(i)),a.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(r).then(()=>{})})()}getUser(i){const a=new NDKUser(i);return a.ndk=this,a}getUserFromNip05(i,a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,r,a)})()}subscribe(i,a,r,o=!0){const s=new NDKSubscription(this,i,a,r);if(r)for(const c of r.relays)this.pool.useTemporaryRelay(c);if(this.outboxPool&&s.hasAuthorsFilter()){const c=s.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(c)}return o&&s.start(),s}publish(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("Deprecated: Use `event.publish()` instead"),i.publish(a,r)})()}fetchEvent(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,c;if(r instanceof NDKRelay?c=new NDKRelaySet(new Set([r]),o):r instanceof NDKRelaySet&&(c=r),!r&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(c=new NDKRelaySet(new Set(y),o),c=correctRelaySet(c,o.pool))}if(s="string"==typeof i?filterFromId(i):i,!s)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=o.subscribe(s,{...a||{},closeOnEose:!0},c,!1);k.on("event",A=>{A.ndk=o,y(A)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(s=>{const c=new Map,y=o.subscribe(i,{...a||{},closeOnEose:!0},r,!1),k=A=>{const I=A.deduplicationKey(),M=c.get(I);M&&(A=dedup(M,A)),A.ndk=o,c.set(I,A)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{s(new Set(c.values()))}),y.start()})})()}assertSigner(){if(!this.signer)throw this.emit("signerRequired"),new Error("Signer required")}getNip96(i){return new Nip96(i,this)}};const LOCAL_STORE_KEY="__nostrlogin_nip46",LOGGED_IN_ACCOUNTS="__nostrlogin_accounts",RECENT_ACCOUNTS="__nostrlogin_recent",OUTBOX_RELAYS$1=["wss://purplepag.es","wss://relay.nos.social","wss://user.kindpag.es","wss://relay.damus.io","wss://nos.lol"],DEFAULT_SIGNUP_RELAYS=["wss://relay.damus.io/","wss://nos.lol/","wss://relay.primal.net/"],localStorageSetItem=(i,a)=>{localStorage.setItem(i,a)},localStorageGetItem=i=>{const a=window.localStorage.getItem(i);if(a)try{return JSON.parse(a)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){const o=new NDKUser({pubkey:a.pubkey});return o.ndk=r,yield o.fetchProfile()});return function(r,o){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){const c={name:a.name},y=new NDKEvent(r,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:JSON.stringify(c),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(r,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:"",tags:[]}),A=(s||"").split(",").map(I=>I.trim()).filter(I=>I.startsWith("ws"));A.length||A.push(...DEFAULT_SIGNUP_RELAYS);for(const I of A)k.tags.push(["r",I]);yield y.sign(o),console.log("signed profile",y),yield k.sign(o),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published relays",k)});return function(r,o,s,c){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,a="")=>{const r=new URL(i);return{pubkey:r.hostname||r.pathname.split("//")[1],sk:a||generatePrivateKey(),relays:r.searchParams.getAll("relay"),token:r.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){if(!a)return"";if(isBunkerUrl(a))return a;if(a.includes("@")){const[o,s]=a.toLocaleLowerCase().split("@"),c=r.devOverrideBunkerOrigin||`https://${s}`,y=`${c}/.well-known/nostr.json?name=_`,k=`${c}/.well-known/nostr.json?name=${o}`,A=yield fetch(y),I=yield A.json(),T=I.nip46[I.names._],O=yield fetch(k),L=(yield O.json()).names[o];if(!T.length)throw new Error("Bunker relay not provided");return`bunker://${L}?relay=${T[0]}`}throw new Error("Invalid user name or bunker url")});return function(r,o){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){let r=!1,o="",s="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a||!a.includes("@"))return;const[c,y]=a.toLocaleLowerCase().split("@");if(!c)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(a))return void(o="Invalid name");if(!y)return void(o="Select service");const k=`https://${y}/.well-known/nostr.json?name=${c.toLowerCase()}`;try{const A=yield fetch(k),I=yield A.json();if(I.names[c])return void(s=I.names[c])}catch{}r=!0})(),{available:r,taken:""!=s,error:o,pubkey:s}});return function(r){return i.apply(this,arguments)}}(),upgradeInfo=i=>{"typeAuthMethod"in i&&delete i.typeAuthMethod,i.authMethod||(i.authMethod="extension"in i&&i.extension?"extension":"readOnly"in i&&i.readOnly?"readOnly":"connect"),i.nip05&&isBunkerUrl(i.nip05)&&(i.bunkerUrl=i.nip05,i.nip05="")},localStorageAddAccount=i=>{localStorageSetItem(LOCAL_STORE_KEY,JSON.stringify(i));const a=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],r=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(y=>upgradeInfo(y)),r.forEach(y=>upgradeInfo(y));const o=a,s=a.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==s?o[s]=i:o.push(i);const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(c)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(o))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const a={...i};delete a.sk,delete a.otpData;const r=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];r.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const s=o;if("connect"===a.authMethod&&a.bunkerUrl&&a.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===a.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=o.findIndex(k=>k.pubkey===a.pubkey&&k.authMethod===a.authMethod);-1!==y?s[y]=a:s.push(a)}const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(s)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(c)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const a=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(o=>upgradeInfo(o));const r=a.filter(o=>o.pubkey!==i.pubkey||o.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(r))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const a=localStorage.getItem("nl-dark-mode");return a?!!JSON.parse(a):void 0!==i.darkMode?i.darkMode:!(!window.matchMedia||!window.matchMedia("(prefers-color-scheme: dark)").matches)},getIcon=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return document.location.origin+"/favicon.ico"});return function(){return i.apply(this,arguments)}}();class BannerManager extends lib$1.EventEmitter{banner=null;listNotifies=[];params;constructor(a){super(),this.params=a}onAuthUrl(a){this.banner&&(this.banner.notify={confirm:Date.now(),url:a})}onUserInfo(a){this.banner&&(this.banner.userInfo=a)}onCallTimeout(){this.banner&&(this.banner.notify={confirm:Date.now(),timeOut:{domain:this.params.userInfo?.nip05?.split("@")[1]}})}onCallStart(){this.banner&&(this.banner.isLoading=!0)}onCallEnd(){this.banner&&(this.banner.isLoading=!1)}onUpdateAccounts(a){this.banner&&(this.banner.accounts=a)}onDarkMode(a){this.banner&&(this.banner.darkMode=a)}launchAuthBanner(a){var r=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&this.banner.setAttribute("theme",a.theme),a.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",o=>{this.emit("launch",o.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.emit("logout")})),this.banner.addEventListener("handleImportModal",o=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",o=>{this.emit("onAuthUrlClick",o.detail)}),this.banner.addEventListener("handleSetConfirmBanner",o=>{this.listNotifies.push(o.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",o=>{this.emit("onSwitchAccount",o.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const o=this.listNotifies.pop();o&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",o))}),document.body.appendChild(this.banner)}}function extract(i,a,r){return hash$1(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(r),toBytes$1(a))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,a,r,o=32){if(hash$1(i),number$1(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER);const c=new Uint8Array(s*i.outputLen),y=hmac$1.create(i,a),k=y._cloneInto(),A=new Uint8Array(y.outputLen);for(let I=0;Idecoder.decode(i),getConversationKey(i,a){const r=secp256k1.getSharedSecret(i,"02"+a).subarray(1,33);return extract(sha256,r,"nip44-v2")},getMessageKeys(i,a){const r=expand(sha256,i,a,76);return{chacha_key:r.subarray(0,32),chacha_nonce:r.subarray(32,44),hmac_key:r.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const a=new Uint8Array(2);return new DataView(a.buffer).setUint16(0,i,!1),a},pad(i){const a=u.utf8Encode(i),r=a.length;return concatBytes(u.writeU16BE(r),a,new Uint8Array(u.calcPaddedLen(r)-r))},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(au.maxPlaintextSize||r.length!==a||i.length!==2+u.calcPaddedLen(a))throw new Error("invalid padding");return u.utf8Decode(r)},hmacAad(i,a,r){if(32!==r.length)throw new Error("AAD associated data must be 32 bytes");const o=concatBytes(r,a);return hmac$1(sha256,i,o)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const a=i.length;if(a<132||a>87472)throw new Error("invalid payload length: "+a);if("#"===i[0])throw new Error("unknown encryption version");let r;try{r=base64.decode(i)}catch(c){throw new Error("invalid base64: "+c.message)}const o=r.length;if(o<99||o>65603)throw new Error("invalid data length: "+o);const s=r[0];if(2!==s)throw new Error("unknown encryption version "+s);return{nonce:r.subarray(1,33),ciphertext:r.subarray(33,-32),mac:r.subarray(-32)}}};function encryptNip44(i,a,r=randomBytes(32)){const{chacha_key:o,chacha_nonce:s,hmac_key:c}=u.getMessageKeys(a,r),y=u.pad(i),k=chacha20(o,s,y),A=u.hmacAad(c,k,r);return base64.encode(concatBytes(new Uint8Array([2]),r,k,A))}function decryptNip44(i,a){const{nonce:r,ciphertext:o,mac:s}=u.decodePayload(i),{chacha_key:c,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(a,r);if(!equalBytes(u.hmacAad(k,o,r),s))throw new Error("invalid MAC");const A=chacha20(c,y,o);return u.unpad(A)}class Nip44{cache=new Map;createKey(a,r){return u.getConversationKey(a,r)}getKey(a,r,o){const s=getPublicKey(a)+r;let c=this.cache.get(s);if(c)return c;const y=this.createKey(a,r);return this.cache.set(s,y),y}encrypt(a,r,o){return encryptNip44(o,this.getKey(a,r))}decrypt(a,r,o){return decryptNip44(o,this.getKey(a,r))}}const OUTBOX_RELAYS=["wss://user.kindpag.es","wss://purplepag.es","wss://relay.nos.social"],DEFAULT_NOSTRCONNECT_RELAY="wss://relay.nsec.app/",NOSTRCONNECT_APPS=[{name:"Nsec.app",domain:"nsec.app",canImport:!0,img:"https://nsec.app/assets/favicon.ico",link:"https://use.nsec.app/",relay:"wss://relay.nsec.app/"},{name:"Amber",img:"https://raw.githubusercontent.com/greenart7c3/Amber/master/app/src/main/res/mipmap-hdpi/ic_launcher.webp",link:"",relay:"wss://relay.nsec.app/"},{name:"Other key stores",img:"",link:"",relay:"wss://relay.nsec.app/"}];class AuthNostrService extends lib$1.EventEmitter{ndk;profileNdk;signer=null;localSigner=null;params;signerPromise;launcherPromise;nip44Codec=new Nip44;nostrConnectKey="";nostrConnectSecret="";nip04;nip44;constructor(a){super(),this.params=a,this.ndk=new NDK({enableOutboxModel:!1}),this.profileNdk=new NDK({enableOutboxModel:!0,explicitRelayUrls:OUTBOX_RELAYS}),this.profileNdk.connect(),this.nip04={encrypt:this.encrypt04.bind(this),decrypt:this.decrypt04.bind(this)},this.nip44={encrypt:this.encrypt44.bind(this),decrypt:this.decrypt44.bind(this)}}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.signerPromise)try{yield a.signerPromise}catch{}if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}nostrConnect(a,r=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s={authMethod:"connect",pubkey:"",sk:o.nostrConnectKey,relays:[a=a||DEFAULT_NOSTRCONNECT_RELAY]},c=yield o.initSigner(s,{listen:!0});if(!c)throw new Error("Bad remote pubkey");return s.pubkey=c,s.bunkerUrl=`bunker://${c}?relay=${a}`,r||o.onAuth("login",s),s})()}getNostrConnectServices(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.nostrConnectKey=generatePrivateKey(),a.nostrConnectSecret=Math.random().toString(36).substring(7);const r=getPublicKey(a.nostrConnectKey),o={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:a.params.optionsModal.perms},s=`nostrconnect://${r}?metadata=${encodeURIComponent(JSON.stringify(o))}&secret=${a.nostrConnectSecret}`,c=a.localSigner?"#import="+nip19_exports.nsecEncode(a.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let A=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const M=new URL(k.link);try{const T=yield(yield fetch(`${M.origin}/.well-known/nostr.json`)).json(),L=T.nip46[T.names._];L&&L.length&&(A=L[0])}catch(T){console.log("Bad app info",T,M)}}k.link=k.link.replace("",s+"&relay="+A+c)}return[s+c,y]})()}localSignup(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=generatePrivateKey(),s={pubkey:getPublicKey(o),sk:o,name:a,authMethod:"local"};console.log(`localSignup name: ${a}`),yield r.setLocal(s,!0)})()}setLocal(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),o.localSigner=new NDKPrivateKeySigner(a.sk),r&&(yield createProfile(a,o.profileNdk,o.localSigner,o.params.optionsModal.signupRelays)),o.onAuth("login",a)})()}importAndConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield r.nostrConnect(a,!0);yield r.logout(!0),r.localSigner=null,r.onAuth("login",o)})()}setReadOnly(a){this.onAuth("login",{pubkey:a,authMethod:"readOnly"})}setExtension(a){this.onAuth("login",{pubkey:a,authMethod:"extension"})}setOTP(a,r){this.onAuth("login",{pubkey:a,authMethod:"otp",otpData:r})}setConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.releaseSigner(),yield r.initSigner(a),r.onAuth("login",a)})()}createAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[o,s]=a.split("@"),c=yield getBunkerUrl(`_@${s}`,r.params.optionsModal);console.log("create account bunker's url",c);const y=bunkerUrlToInfo(c),k=!!r.params.userInfo;yield r.initSigner(y,{eventToAddAccount:k});const A=[o,s,"",r.params.optionsModal.perms||""];console.log("signer",r.signer);const I=yield new Promise(M=>{r.signer.rpc.sendRequest(y.pubkey,"create_account",A,void 0,M)});if(console.log("create_account pubkey",I),"error"===I.result)throw new Error(I.error);return{bunkerUrl:`bunker://${I.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const a of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(a)}logout(a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a||r.releaseSigner(),localStorageRemoveCurrentAccount(),r.onAuth("logout"),r.emit("updateAccounts")})()}setUserInfo(a){this.params.userInfo=a,this.emit("onUserInfo",a),a&&(localStorageAddAccount(a),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(a,r=null){if("logout"!==a&&!r)throw new Error("No user info in onAuth");if(r&&this.params.userInfo&&(r.pubkey!==this.params.userInfo.pubkey||r.authMethod!==this.params.userInfo.authMethod)){const o=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",o.detail),document.dispatchEvent(o)}this.setUserInfo(r),r&&fetchProfile(r,this.profileNdk).then(o=>{if(this.params.userInfo!==r)return;const s={...this.params.userInfo,picture:o?.image||o?.picture,name:o?.name||o?.displayName||o?.nip05||nip19_exports.npubEncode(r.pubkey)};this.setUserInfo(s)});try{const o=r?nip19_exports.npubEncode(r.pubkey):"",s={type:a};"logout"!==a&&(s.pubkey=r.pubkey,r.sk&&(s.localNsec=nip19_exports.nsecEncode(r.sk)),r.relays&&(s.relays=r.relays),r.otpData&&(s.otpData=r.otpData),s.method=r.authMethod||"connect");const c=new CustomEvent("nlAuth",{detail:s});console.log("nostr-login auth",s),document.dispatchEvent(c),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(o,s)}catch(o){console.log("onAuth error",o)}}initSigner(a,{listen:r=!1,connect:o=!1,eventToAddAccount:s=!1}={}){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(c.signerPromise)try{yield c.signerPromise}catch{}return c.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,A){try{if(a.relays)for(const I of a.relays)c.ndk.addExplicitRelay(I,void 0);if(yield c.ndk.connect(),c.signer=new NDKNip46Signer(c.ndk,a.pubkey,new NDKPrivateKeySigner(a.sk)),r||c.signer.on("authUrl",I=>{console.log("nostr login auth url",I),c.emit("onAuthUrl",{url:I,eventToAddAccount:s})}),r){const I=getPublicKey(a.sk);console.log("nostr-login listening for conn to",I);const M=yield c.signer.rpc.subscribe({kinds:[24133],"#p":[I]});M.on("event",function(){var T=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(O){try{const L=yield c.signer.rpc.parseEvent(O);if(!L.method){const Y=L;if("auth_url"===Y.result)return;"ack"===Y.result||Y.result===c.nostrConnectSecret?(c.signer.remotePubkey=O.pubkey,c.signer.remoteUser=new NDKUser({pubkey:O.pubkey}),a.pubkey=O.pubkey,k(O.pubkey)):A(Y.error)}}catch(L){console.log("error parsing event",L,O.rawEvent())}M.stop()});return function(O){return T.apply(this,arguments)}}())}else o&&(yield new Promise((I,M)=>{c.signer&&a.sk&&c.signer.rpc.sendRequest(a.pubkey,"connect",[a.pubkey,a.token||"",c.params.optionsModal.perms||""],24133,O=>{"ack"===O.result?I():M(O.error)})})),k(void 0)}catch(I){console.log("initSigner failure",I),c.signer=null,A(I)}});return function(k,A){return y.apply(this,arguments)}}()),c.signerPromise})()}authNip46(a,r,o,s=""){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(o,s);if(isBunkerUrl(r)?y.bunkerUrl=r:y.nip05=r,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${o}`);const k=!!c.params.userInfo;yield c.initSigner(y,{connect:!0,eventToAddAccount:k}),c.onAuth(a,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.localSigner?(a.pubkey=getPublicKey(r.localSigner.privateKey),a.id=getEventHash(a),a.sig=yield r.localSigner.sign(a)):(a.pubkey=r.signer?.remotePubkey,a.id=getEventHash(a),a.sig=yield r.signer?.sign(a)),console.log("signed",{event:a}),a})()}codec_call(a,r,o){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((c,y)=>{s.signer.rpc.sendRequest(s.signer.remotePubkey,a,[r,o],24133,k=>{k.error?y(k.error):c(k.result)})})})()}encrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.encrypt(new NDKUser({pubkey:a}),r):o.signer.encrypt(new NDKUser({pubkey:a}),r)})()}decrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.decrypt(new NDKUser({pubkey:a}),r):o.codec_call("nip04_decrypt",a,r)})()}encrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.encrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_encrypt",a,r)})()}decrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.decrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_decrypt",a,r)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(a,r,o){super(),this.params=a,this.extensionService=o,this.authNostrService=r}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}launch(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.launcherPromise)try{yield r.launcherPromise}catch{}r.opt=a;const o=document.createElement("dialog");r.modal=document.createElement("nl-auth"),r.modal.accounts=r.accounts,r.modal.recents=r.recents,r.modal.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&r.modal.setAttribute("theme",a.theme),a.startScreen&&r.modal.setAttribute("start-screen",a.startScreen),r.modal.setAttribute("bunkers",a.bunkers?a.bunkers:"nsec.app,highlighter.com"),void 0!==a.methods&&(r.modal.authMethods=a.methods),void 0!==a.localSignup&&(r.modal.localSignup=a.localSignup),a.title&&(r.modal.welcomeTitle=a.title),a.description&&(r.modal.welcomeDescription=a.description),r.modal.hasExtension=r.extensionService.hasExtension(),r.modal.hasOTP=!!a.otpRequestUrl&&!!a.otpReplyUrl,r.modal.isLoadingExtension=!1,r.modal.isLoading=!1,[r.modal.connectionString,r.modal.connectionStringServices]=yield r.authNostrService.getNostrConnectServices(),o.appendChild(r.modal),document.body.appendChild(o);let s="";return r.launcherPromise=new Promise((c,y)=>{o.addEventListener("close",()=>{y(new Error("Closed")),r.modal&&(r.modal.isLoading=!1,r.modal.authUrl="",r.modal.error="",r.modal.isLoadingExtension=!1,document.body.removeChild(r.modal.parentNode),r.modal=null)});const k=z=>{r.modal&&(r.modal.isLoading=!0),getBunkerUrl(z,r.params.optionsModal).then(q=>r.authNostrService.authNip46("login",z,q)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})},I=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(r.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(q){console.error("Failed to copy to clipboard: ",q)}});return function(){return z.apply(this,arguments)}}(),M=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.importAndConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}(),T=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){q&&r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.nostrConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}(),O=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{if(!q)throw new Error("Please enter some nickname");yield r.authNostrService.localSignup(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}();if(!r.modal)throw new Error("WTH?");r.modal.addEventListener("handleContinue",()=>{r.modal&&(r.modal.isLoading=!0,r.emit("onAuthUrlClick",r.modal.authUrl))}),r.modal.addEventListener("nlLogin",z=>{k(z.detail)}),r.modal.addEventListener("nlSignup",z=>{(z=>{r.modal&&(r.modal.isLoading=!0),r.authNostrService.createAccount(z).then(({bunkerUrl:q,sk:ct})=>r.authNostrService.authNip46("signup",z,q,ct)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})})(z.detail)}),r.modal.addEventListener("nlLocalSignup",z=>{O(z.detail)}),r.modal.addEventListener("nlImportAccount",z=>{M(z.detail)}),r.modal.addEventListener("nlExportKeys",z=>{I()}),r.modal.addEventListener("handleLogoutBanner",()=>{r.emit("onLogoutBanner")}),r.modal.addEventListener("nlNostrConnect",z=>{T(z.detail)}),r.modal.addEventListener("nlNostrConnectDefault",()=>{T()}),r.modal.addEventListener("nlSwitchAccount",z=>{r.emit("onSwitchAccount",z.detail),setTimeout(()=>o.close(),300)}),r.modal.addEventListener("nlLoginRecentAccount",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const ct=q.detail;if("readOnly"===ct.authMethod)r.authNostrService.setReadOnly(ct.pubkey),o.close();else if("otp"===ct.authMethod){console.log("recent otp login",ct);try{r.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ct.nip05||ct.pubkey}))}catch(dt){console.error(dt)}}else if("extension"===ct.authMethod)yield r.extensionService.trySetExtensionForPubkey(ct.pubkey),o.close();else{const dt=ct.bunkerUrl||ct.nip05;if(!dt)throw new Error("Bad connect info");k(dt)}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlRemoveRecent",z=>{localStorageRemoveRecent(z.detail),r.emit("updateAccounts")});const L=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct="";if(q.includes("@")){const{error:dt,pubkey:tt}=yield checkNip05(q);if(!tt)throw new Error(dt);ct=tt}else if(q.startsWith("npub")){const{type:dt,data:tt}=nip19_exports.decode(q);if("npub"!==dt)throw new Error("Bad npub");ct=tt}else 64===q.trim().length&&(ct=q.trim(),nip19_exports.npubEncode(ct));return ct});return function(ct){return z.apply(this,arguments)}}();r.modal.addEventListener("nlLoginReadOnly",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=yield L(ct);r.authNostrService.setReadOnly(dt),r.modal.isLoading=!1,o.close(),c()}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.extensionService.hasExtension())throw new Error("No extension");if(r.modal)try{r.modal.isLoadingExtension=!0,yield r.extensionService.setExtension(),r.modal.isLoadingExtension=!1,o.close(),c()}catch(z){console.log("extension error",z),r.modal.error=z.toString()}})),r.modal.addEventListener("nlLoginOTPUser",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=yield L(ct),tt=r.opt.otpRequestUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+dt,vt=yield fetch(tt);if(200!==vt.status)throw console.warn("nostr-login: bad otp reply",vt),new Error("Failed to send DM");r.modal.isOTP=!0,s=dt,r.modal.isLoading=!1}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginOTPCode",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=r.opt.otpReplyUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+s+"&code="+ct,tt=yield fetch(dt);if(200!==tt.status)throw console.warn("nostr-login: bad otp reply",tt),new Error("Invalid code");const vt=yield tt.text();r.authNostrService.setOTP(s,vt),r.modal.isOTP=!1,r.modal.isLoading=!1,o.close(),c()}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckSignup",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:dt,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),!tt&&dt&&(r.modal.error="Already taken"),r.modal.signupNameIsAvailable=ct)});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckLogin",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:dt,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),ct&&(r.modal.error="Name not found"),r.modal.loginIsGood=dt)});return function(q){return z.apply(this,arguments)}}());const Y=()=>{r.modal&&(r.modal.isLoading=!1),o.close(),y(new Error("Cancelled"))};r.modal.addEventListener("stopFetchHandler",Y),r.modal.addEventListener("nlCloseModal",Y),r.modal.addEventListener("nlChangeDarkMode",z=>{setDarkMode(z.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:z.detail}))}),o.showModal()}),r.launcherPromise})()}connectModals(a){var r=this;const o=function(){var c=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield r.launch(y)});return function(k){return c.apply(this,arguments)}}(),s=document.getElementsByTagName("nl-button");for(let c=0;c{this.checkExtension(a)&&clearTimeout(r)},100)}checkExtension(a){return!(this.nostrExtension||!window.nostr||window.nostr===a||(this.initExtension(a),0))}initExtension(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.nostrExtension=window.nostr,window.nostr=a,"extension"===o.params.userInfo?.authMethod&&(yield o.trySetExtensionForPubkey(o.params.userInfo.pubkey)),r||setTimeout(()=>{window.nostr!==a&&o.nostrExtension!==window.nostr&&o.initExtension(a,!0)},300)})()}setExtensionReadPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=r.nostrExtension;const o=yield window.nostr.getPublicKey();a&&a!==o?r.emit("extensionLogout"):r.emit("extensionLogin",o)})()}trySetExtensionForPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.nostrExtension)return r.setExtensionReadPubkey(a)})()}setExtension(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.setExtensionReadPubkey()})()}unsetExtension(a){window.nostr===this.nostrExtension&&(window.nostr=a)}getExtension(){return this.nostrExtension}hasExtension(){return!!this.nostrExtension}}class NostrParams{userInfo;optionsModal;constructor(){this.userInfo=null,this.optionsModal={theme:"default",startScreen:"welcome",devOverrideBunkerOrigin:""}}}class Popup{popup=null;constructor(){}ensurePopup(a){if(!this.popup||this.popup.closed){if(this.popup=window.open(a,"_blank","width=400,height=700"),console.log("popup",this.popup),!this.popup)throw new Error("Popup blocked. Try again, please!");this.popup.opener=null}}closePopup(){try{this.popup?.close(),this.popup=null}catch{}}}const CALL_TIMEOUT=5e3;class ProcessManager extends lib$1.EventEmitter{callCount=0;callTimer;constructor(){super()}onAuthUrl(){this.callTimer&&clearTimeout(this.callTimer)}wait(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o,s;r.callTimer||(r.callTimer=setTimeout(()=>r.emit("onCallTimeout"),CALL_TIMEOUT)),r.callCount||(yield r.emit("onCallStart")),r.callCount++;try{s=yield a()}catch(c){o=c}if(r.callCount--,yield r.emit("onCallEnd"),r.callTimer&&clearTimeout(r.callTimer),r.callTimer=void 0,o)throw o;return s})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var a=this;this.params=new NostrParams,this.processManager=new ProcessManager,this.popupManager=new Popup,this.bannerManager=new BannerManager(this.params),this.authNostrService=new AuthNostrService(this.params),this.extensionService=new NostrExtensionService(this.params),this.modalManager=new ModalManager(this.params,this.authNostrService,this.extensionService);const r={waitReady:(o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield a.authNostrService.waitReady(),yield a.modalManager.waitReady()}),function(){return o.apply(this,arguments)}),getUserInfo:()=>this.params.userInfo,getSigner:()=>{if("readOnly"===this.params.userInfo.authMethod)throw new Error("Read only");return"extension"===this.params.userInfo.authMethod?this.extensionService.getExtension():this.authNostrService},launch:()=>this.launch(),wait:o=>this.processManager.wait(o)};var o;this.nostr=new Nostr(r),this.processManager.on("onCallTimeout",()=>{this.bannerManager.onCallTimeout()}),this.processManager.on("onCallEnd",()=>{this.bannerManager.onCallEnd()}),this.processManager.on("onCallStart",()=>{this.bannerManager.onCallStart()}),this.authNostrService.on("onAuthUrl",({url:o,eventToAddAccount:s})=>{this.processManager.onAuthUrl(),s?this.modalManager.onAuthUrl(o):this.params.userInfo?this.bannerManager.onAuthUrl(o):this.modalManager.onAuthUrl(o)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",o=>{this.bannerManager.onUserInfo(o)}),this.modalManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.modalManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){logout()});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),a.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.bannerManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",o=>{this.authNostrService.setExtension(o)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",o=>{this.launch(o)})}switchAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",a),r.extensionService.unsetExtension(r.nostr),"readOnly"===a.authMethod)r.authNostrService.setReadOnly(a.pubkey);else if("otp"===a.authMethod)r.authNostrService.setOTP(a.pubkey,a.otpData||"");else if("local"===a.authMethod&&a.sk)r.authNostrService.setLocal(a);else if("extension"===a.authMethod)yield r.extensionService.trySetExtensionForPubkey(a.pubkey);else{if(!("connect"===a.authMethod&&a.sk&&a.relays&&a.relays[0]))throw new Error("Bad auth info");r.authNostrService.setConnect(a)}})()}updateAccounts(){const a=localStorageGetAccounts(),r=localStorageGetRecents();this.bannerManager.onUpdateAccounts(a),this.modalManager.onUpdateAccounts(a,r)}launch=a=>{const r=localStorageGetRecents(),o=localStorageGetAccounts(),s=a?{startScreen:a}:this.params.optionsModal;return a||!r?.length&&!o?.length||(s.startScreen="switch-account"),this.modalManager.launch(s).catch(()=>{})};init=(()=>{var r,a=this;return r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){a.extensionService.startCheckingExtension(a.nostr),window.nostr=a.nostr,a.modalManager.connectModals(o),a.bannerManager.launchAuthBanner(o),o&&(a.params.optionsModal={...o});try{const s=localStorageGetCurrent();if(s){if(!s.pubkey)throw new Error("Bad stored info");yield a.switchAccount(s)}}catch(s){console.log("nostr login init error",s),yield logout()}a.updateAccounts()}),function(o){return r.apply(this,arguments)}})();logout=(()=>{var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.extensionService.unsetExtension(a.nostr),yield a.authNostrService.logout()})})();setDarkMode=a=>{localStorageSetItem("nl-dark-mode",`${a}`),this.bannerManager.onDarkMode(a),this.modalManager.onDarkMode(a)}}const initializer=new NostrLoginInitializer,{init,launch,logout,setDarkMode}=initializer;document.addEventListener("nlLogout",logout),document.addEventListener("nlLaunch",i=>{launch(i.detail||"")}),document.addEventListener("nlDarkMode",i=>{setDarkMode(!!i.detail)})},5766:(i,a,r)=>{"use strict";r.d(a,{My:()=>St,aT:()=>at}),new Uint8Array(new Uint32Array([287454020]).buffer);const $t=Array.from({length:256},(gt,Nt)=>Nt.toString(16).padStart(2,"0"));function St(gt){!function y(gt,...Nt){if(!function c(gt){return gt instanceof Uint8Array||null!=gt&&"object"==typeof gt&&"Uint8Array"===gt.constructor.name}(gt))throw new Error("Uint8Array expected");if(Nt.length>0&&!Nt.includes(gt.length))throw new Error(`Uint8Array expected of length ${Nt}, not of length=${gt.length}`)}(gt);let Nt="";for(let Se=0;Se=kt._0&><=kt._9?gt-kt._0:gt>=kt._A&><=kt._F?gt-(kt._A-10):gt>=kt._a&><=kt._f?gt-(kt._a-10):void 0}function at(gt){if("string"!=typeof gt)throw new Error("hex string expected, got "+typeof gt);const Nt=gt.length,Se=Nt/2;if(Nt%2)throw new Error("padded hex string expected, got unpadded hex of length "+Nt);const Rt=new Uint8Array(Se);for(let de=0,jt=0;de{"use strict";function s(ie){return ie instanceof Uint8Array||null!=ie&&"object"==typeof ie&&"Uint8Array"===ie.constructor.name}function c(...ie){const He=We=>We,Ht=(We,Or)=>ko=>We(Or(ko));return{encode:ie.map(We=>We.encode).reduceRight(Ht,He),decode:ie.map(We=>We.decode).reduce(Ht,He)}}function y(ie){return{encode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("alphabet.encode input should be an array of numbers");return He.map(Ht=>{if(Ht<0||Ht>=ie.length)throw new Error(`Digit index outside alphabet: ${Ht} (alphabet: ${ie.length})`);return ie[Ht]})},decode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("alphabet.decode input should be array of strings");return He.map(Ht=>{if("string"!=typeof Ht)throw new Error(`alphabet.decode: not string element=${Ht}`);const Me=ie.indexOf(Ht);if(-1===Me)throw new Error(`Unknown letter: "${Ht}". Allowed: ${ie}`);return Me})}}}function k(ie=""){if("string"!=typeof ie)throw new Error("join separator should be string");return{encode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("join.encode input should be array of strings");for(let Ht of He)if("string"!=typeof Ht)throw new Error(`join.encode: non-string input=${Ht}`);return He.join(ie)},decode:He=>{if("string"!=typeof He)throw new Error("join.decode input should be string");return He.split(ie)}}}function A(ie,He="="){if("string"!=typeof He)throw new Error("padding chr should be string");return{encode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Me of Ht)if("string"!=typeof Me)throw new Error(`padding.encode: non-string input=${Me}`);for(;Ht.length*ie%8;)Ht.push(He);return Ht},decode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Pe of Ht)if("string"!=typeof Pe)throw new Error(`padding.decode: non-string input=${Pe}`);let Me=Ht.length;if(Me*ie%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Me>0&&Ht[Me-1]===He;Me--)if(!((Me-1)*ie%8))throw new Error("Invalid padding: string has too much padding");return Ht.slice(0,Me)}}}function M(ie,He,Ht){if(He<2)throw new Error(`convertRadix: wrong from=${He}, base cannot be less than 2`);if(Ht<2)throw new Error(`convertRadix: wrong to=${Ht}, base cannot be less than 2`);if(!Array.isArray(ie))throw new Error("convertRadix: data should be array");if(!ie.length)return[];let Me=0;const Pe=[],We=Array.from(ie);for(We.forEach(Or=>{if(Or<0||Or>=He)throw new Error(`Wrong integer: ${Or}`)});;){let Or=0,ko=!0;for(let lr=Me;lrSe,K3:()=>nt,Tq:()=>wr,Wp:()=>dt});const T=(ie,He)=>He?T(He,ie%He):ie,O=(ie,He)=>ie+(He-T(ie,He));function L(ie,He,Ht,Me){if(!Array.isArray(ie))throw new Error("convertRadix2: data should be array");if(He<=0||He>32)throw new Error(`convertRadix2: wrong from=${He}`);if(Ht<=0||Ht>32)throw new Error(`convertRadix2: wrong to=${Ht}`);if(O(He,Ht)>32)throw new Error(`convertRadix2: carry overflow from=${He} to=${Ht} carryBits=${O(He,Ht)}`);let Pe=0,We=0;const Or=2**Ht-1,ko=[];for(const lr of ie){if(lr>=2**He)throw new Error(`convertRadix2: invalid data word=${lr} from=${He}`);if(Pe=Pe<32)throw new Error(`convertRadix2: carry overflow pos=${We} from=${He}`);for(We+=He;We>=Ht;We-=Ht)ko.push((Pe>>We-Ht&Or)>>>0);Pe&=2**We-1}if(Pe=Pe<=He)throw new Error("Excess padding");if(!Me&&Pe)throw new Error(`Non-zero padding: ${Pe}`);return Me&&We>0&&ko.push(Pe>>>0),ko}function Y(ie){return{encode:He=>{if(!s(He))throw new Error("radix.encode input should be Uint8Array");return M(Array.from(He),256,ie)},decode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(M(He,ie,256))}}}function z(ie,He=!1){if(ie<=0||ie>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,ie)>32||O(ie,8)>32)throw new Error("radix2: carry overflow");return{encode:Ht=>{if(!s(Ht))throw new Error("radix2.encode input should be Uint8Array");return L(Array.from(Ht),8,ie,!He)},decode:Ht=>{if(!Array.isArray(Ht)||Ht.length&&"number"!=typeof Ht[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(L(Ht,ie,8,He))}}}function q(ie){if("function"!=typeof ie)throw new Error("unsafeWrapper fn should be function");return function(...He){try{return ie.apply(null,He)}catch{}}}function ct(ie,He){if("function"!=typeof He)throw new Error("checksum fn should be function");return{encode(Ht){if(!s(Ht))throw new Error("checksum.encode: input should be Uint8Array");const Me=He(Ht).slice(0,ie),Pe=new Uint8Array(Ht.length+ie);return Pe.set(Ht),Pe.set(Me,Ht.length),Pe},decode(Ht){if(!s(Ht))throw new Error("checksum.decode: input should be Uint8Array");const Me=Ht.slice(0,-ie),Pe=He(Me).slice(0,ie),We=Ht.slice(-ie);for(let Or=0;Orc(Y(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),wr=ie=>c(ct(4,He=>ie(ie(He))),Vt),Wr=c(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),xe=[996825010,642813549,513874426,1027748829,705979059];function Le(ie){const He=ie>>25;let Ht=(33554431&ie)<<5;for(let Me=0;Me>Me&1)&&(Ht^=xe[Me]);return Ht}function gt(ie,He,Ht=1){const Me=ie.length;let Pe=1;for(let We=0;We126)throw new Error(`Invalid prefix (${ie})`);Pe=Le(Pe)^Or>>5}Pe=Le(Pe);for(let We=0;Webr)throw new TypeError(`Length ${mt} exceeds limit ${br}`);const $=se.toLowerCase(),Z=gt($,Ie,He);return`${$}1${Wr.encode(Ie)}${Z}`}function ko(se,Ie=90){if("string"!=typeof se)throw new Error("bech32.decode input should be string, not "+typeof se);if(se.length<8||!1!==Ie&&se.length>Ie)throw new TypeError(`Wrong string length: ${se.length} (${se}). Expected (8..${Ie})`);const br=se.toLowerCase();if(se!==br&&se!==se.toUpperCase())throw new Error("String must be lowercase or uppercase");const mt=br.lastIndexOf("1");if(0===mt||-1===mt)throw new Error('Letter "1" must be present between prefix and data only');const $=br.slice(0,mt),Z=br.slice(mt+1);if(Z.length<6)throw new Error("Data must be at least 6 characters long");const it=Wr.decode(Z).slice(0,-6),Tt=gt($,it,He);if(!Z.endsWith(Tt))throw new Error(`Invalid checksum in ${se}: expected "${Tt}"`);return{prefix:$,words:it}}return{encode:Or,decode:ko,encodeFromBytes:function be(se,Ie){return Or(se,Pe(Ie))},decodeToBytes:function Lt(se){const{prefix:Ie,words:br}=ko(se,!1);return{prefix:Ie,words:br,bytes:Me(br)}},decodeUnsafe:q(ko),fromWords:Me,fromWordsUnsafe:We,toWords:Pe}}const Se=Nt("bech32")},9608:(i,a,r)=>{"use strict";r.d(a,{c:()=>Et});var o={};function s(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function k(x,...C){if(!function y(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}(x))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}function I(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")}function z(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}r.r(o),r.d(o,{OG:()=>mi,My:()=>Ai,Ph:()=>Mn,lX:()=>na,Id:()=>qn,fg:()=>ba,qj:()=>Qn,aT:()=>ua,lq:()=>fi,z:()=>Ko,Q5:()=>hi});const q=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ct=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const tt=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0")),Mt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function $t(x){return x>=Mt._0&&x<=Mt._9?x-Mt._0:x>=Mt._A&&x<=Mt._F?x-(Mt._A-10):x>=Mt._a&&x<=Mt._f?x-(Mt._a-10):void 0}function rt(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}function yt(x){if("string"==typeof x&&(x=rt(x)),!z(x))throw new Error("expected Uint8Array, got "+typeof x);return x}function Ct(...x){let C=0;for(let ht=0;htx().update(yt(ht)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}class Wr extends Vt{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,function A(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");s(x.outputLen),s(x.blockLen)}(C);const ht=yt(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(ht.length>Ot?C.create().update(ht).digest():ht);for(let Ue=0;Uenew Wr(x,C).update(F).digest();xe.create=(x,C)=>new Wr(x,C);class gt extends Vt{constructor(C,F,ht,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=ht,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=q(this.buffer)}update(C){I(this);const{view:F,buffer:ht,blockLen:Ot}=this,ae=(C=yt(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(ht,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=ht?0:4;x.setUint32(C+(ht?4:0),Ue,ht),x.setUint32(C+sr,Ve,ht)})(ht,Ot-8,BigInt(8*this.length),ae),this.process(ht,0);const Ve=q(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zeC);let de=[Se],jt=[Se.map(x=>(9*x+5)%16)];for(let x=0;x<4;x++)for(let C of[de,jt])C.push(C[x].map(F=>Nt[F]));const De=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(x=>new Uint8Array(x)),Ye=de.map((x,C)=>x.map(F=>De[C][F])),ft=jt.map((x,C)=>x.map(F=>De[C][F])),pe=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ut=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Ee=(x,C)=>x<>>32-C;function ie(x,C,F,ht){return 0===x?C^F^ht:1===x?C&F|~C&ht:2===x?(C|~F)^ht:3===x?C&ht|F&~ht:C^(F|~ht)}const He=new Uint32Array(16);class Ht extends gt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:C,h1:F,h2:ht,h3:Ot,h4:ae}=this;return[C,F,ht,Ot,ae]}set(C,F,ht,Ot,ae){this.h0=0|C,this.h1=0|F,this.h2=0|ht,this.h3=0|Ot,this.h4=0|ae}process(C,F){for(let _r=0;_r<16;_r++,F+=4)He[_r]=C.getUint32(F,!0);let ht=0|this.h0,Ot=ht,ae=0|this.h1,Ue=ae,Ve=0|this.h2,Ze=Ve,sr=0|this.h3,Ir=sr,ze=0|this.h4,nr=ze;for(let _r=0;_r<5;_r++){const Yr=4-_r,Mr=pe[_r],Gr=Ut[_r],Jr=de[_r],go=jt[_r],Vr=Ye[_r],Do=ft[_r];for(let Io=0;Io<16;Io++){const Xr=Ee(ht+ie(_r,ae,Ve,sr)+He[Jr[Io]]+Mr,Vr[Io])+ze|0;ht=ze,ze=sr,sr=0|Ee(Ve,10),Ve=ae,ae=Xr}for(let Io=0;Io<16;Io++){const Xr=Ee(Ot+ie(Yr,Ue,Ze,Ir)+He[go[Io]]+Gr,Do[Io])+nr|0;Ot=nr,nr=Ir,Ir=0|Ee(Ze,10),Ze=Ue,Ue=Xr}}this.set(this.h1+Ve+Ir|0,this.h2+sr+nr|0,this.h3+ze+Ot|0,this.h4+ht+Ue|0,this.h0+ae+Ze|0)}roundClean(){He.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Me=Xe(()=>new Ht),Pe=(x,C,F)=>x&C^~x&F,We=(x,C,F)=>x&C^x&F^C&F,Or=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ko=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),lr=new Uint32Array(64);class Lt extends gt{constructor(){super(64,32,8,!1),this.A=0|ko[0],this.B=0|ko[1],this.C=0|ko[2],this.D=0|ko[3],this.E=0|ko[4],this.F=0|ko[5],this.G=0|ko[6],this.H=0|ko[7]}get(){const{A:C,B:F,C:ht,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze]}set(C,F,ht,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|ht,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)lr[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=lr[ze-15],_r=lr[ze-2],Yr=ct(nr,7)^ct(nr,18)^nr>>>3,Mr=ct(_r,17)^ct(_r,19)^_r>>>10;lr[ze]=Mr+lr[ze-7]+Yr+lr[ze-16]|0}let{A:ht,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ct(Ve,6)^ct(Ve,11)^ct(Ve,25))+Pe(Ve,Ze,sr)+Or[ze]+lr[ze]|0,Mr=(ct(ht,2)^ct(ht,13)^ct(ht,22))+We(ht,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=ht,ht=_r+Mr|0}ht=ht+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){lr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const se=Xe(()=>new Lt),br=BigInt(2**32-1),mt=BigInt(32);function $(x,C=!1){return C?{h:Number(x&br),l:Number(x>>mt&br)}:{h:0|Number(x>>mt&br),l:0|Number(x&br)}}const $e_split=function Z(x,C=!1){let F=new Uint32Array(x.length),ht=new Uint32Array(x.length);for(let Ot=0;Otx>>>F,$e_shrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrSH=(x,C,F)=>x>>>F|C<<32-F,$e_rotrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrBH=(x,C,F)=>x<<64-F|C>>>F-32,$e_rotrBL=(x,C,F)=>x>>>F-32|C<<64-F,$e_add=function qt(x,C,F,ht){const Ot=(C>>>0)+(ht>>>0);return{h:x+F+(Ot/2**32|0)|0,l:0|Ot}},$e_add3L=(x,C,F)=>(x>>>0)+(C>>>0)+(F>>>0),$e_add3H=(x,C,F,ht)=>C+F+ht+(x/2**32|0)|0,$e_add4L=(x,C,F,ht)=>(x>>>0)+(C>>>0)+(F>>>0)+(ht>>>0),$e_add4H=(x,C,F,ht,Ot)=>C+F+ht+Ot+(x/2**32|0)|0,$e_add5H=(x,C,F,ht,Ot,ae)=>C+F+ht+Ot+ae+(x/2**32|0)|0,$e_add5L=(x,C,F,ht,Ot)=>(x>>>0)+(C>>>0)+(F>>>0)+(ht>>>0)+(Ot>>>0),[_e,qe]=$e_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(x=>BigInt(x))),ke=new Uint32Array(80),me=new Uint32Array(80);class Yt extends gt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:C,Al:F,Bh:ht,Bl:Ot,Ch:ae,Cl:Ue,Dh:Ve,Dl:Ze,Eh:sr,El:Ir,Fh:ze,Fl:nr,Gh:_r,Gl:Yr,Hh:Mr,Hl:Gr}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr]}set(C,F,ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr){this.Ah=0|C,this.Al=0|F,this.Bh=0|ht,this.Bl=0|Ot,this.Ch=0|ae,this.Cl=0|Ue,this.Dh=0|Ve,this.Dl=0|Ze,this.Eh=0|sr,this.El=0|Ir,this.Fh=0|ze,this.Fl=0|nr,this.Gh=0|_r,this.Gl=0|Yr,this.Hh=0|Mr,this.Hl=0|Gr}process(C,F){for(let Vr=0;Vr<16;Vr++,F+=4)ke[Vr]=C.getUint32(F),me[Vr]=C.getUint32(F+=4);for(let Vr=16;Vr<80;Vr++){const Do=0|ke[Vr-15],Io=0|me[Vr-15],Xr=$e_rotrSH(Do,Io,1)^$e_rotrSH(Do,Io,8)^$e_shrSH(Do,Io,7),tn=$e_rotrSL(Do,Io,1)^$e_rotrSL(Do,Io,8)^$e_shrSL(Do,Io,7),Xo=0|ke[Vr-2],En=0|me[Vr-2],Qo=$e_rotrSH(Xo,En,19)^$e_rotrBH(Xo,En,61)^$e_shrSH(Xo,En,6),xn=$e_rotrSL(Xo,En,19)^$e_rotrBL(Xo,En,61)^$e_shrSL(Xo,En,6),Ei=$e_add4L(tn,xn,me[Vr-7],me[Vr-16]),oi=$e_add4H(Ei,Xr,Qo,ke[Vr-7],ke[Vr-16]);ke[Vr]=0|oi,me[Vr]=0|Ei}let{Ah:ht,Al:Ot,Bh:ae,Bl:Ue,Ch:Ve,Cl:Ze,Dh:sr,Dl:Ir,Eh:ze,El:nr,Fh:_r,Fl:Yr,Gh:Mr,Gl:Gr,Hh:Jr,Hl:go}=this;for(let Vr=0;Vr<80;Vr++){const Do=$e_rotrSH(ze,nr,14)^$e_rotrSH(ze,nr,18)^$e_rotrBH(ze,nr,41),Io=$e_rotrSL(ze,nr,14)^$e_rotrSL(ze,nr,18)^$e_rotrBL(ze,nr,41),Xr=ze&_r^~ze&Mr,Xo=$e_add5L(go,Io,nr&Yr^~nr&Gr,qe[Vr],me[Vr]),En=$e_add5H(Xo,Jr,Do,Xr,_e[Vr],ke[Vr]),Qo=0|Xo,xn=$e_rotrSH(ht,Ot,28)^$e_rotrBH(ht,Ot,34)^$e_rotrBH(ht,Ot,39),Ei=$e_rotrSL(ht,Ot,28)^$e_rotrBL(ht,Ot,34)^$e_rotrBL(ht,Ot,39),oi=ht&ae^ht&Ve^ae&Ve,Hi=Ot&Ue^Ot&Ze^Ue&Ze;Jr=0|Mr,go=0|Gr,Mr=0|_r,Gr=0|Yr,_r=0|ze,Yr=0|nr,({h:ze,l:nr}=$e_add(0|sr,0|Ir,0|En,0|Qo)),sr=0|Ve,Ir=0|Ze,Ve=0|ae,Ze=0|Ue,ae=0|ht,Ue=0|Ot;const To=$e_add3L(Qo,Ei,Hi);ht=$e_add3H(To,En,xn,oi),Ot=0|To}({h:ht,l:Ot}=$e_add(0|this.Ah,0|this.Al,0|ht,0|Ot)),({h:ae,l:Ue}=$e_add(0|this.Bh,0|this.Bl,0|ae,0|Ue)),({h:Ve,l:Ze}=$e_add(0|this.Ch,0|this.Cl,0|Ve,0|Ze)),({h:sr,l:Ir}=$e_add(0|this.Dh,0|this.Dl,0|sr,0|Ir)),({h:ze,l:nr}=$e_add(0|this.Eh,0|this.El,0|ze,0|nr)),({h:_r,l:Yr}=$e_add(0|this.Fh,0|this.Fl,0|_r,0|Yr)),({h:Mr,l:Gr}=$e_add(0|this.Gh,0|this.Gl,0|Mr,0|Gr)),({h:Jr,l:go}=$e_add(0|this.Hh,0|this.Hl,0|Jr,0|go)),this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr,Jr,go)}roundClean(){ke.fill(0),me.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Eo=Xe(()=>new Yt);function ni(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function pi(x,...C){if(!(x instanceof Uint8Array))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}const Lr={number:ni,bool:function Fo(x){if("boolean"!=typeof x)throw new Error(`Expected boolean, not ${x}`)},bytes:pi,hash:function ei(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");ni(x.outputLen),ni(x.blockLen)},exists:function Oe(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")},output:function Ke(x,C){pi(x);const F=C.outputLen;if(x.lengthx instanceof Uint8Array,Co=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ro=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Ce(x){if("string"==typeof x&&(x=function Re(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}(x)),!ao(x))throw new Error("expected Uint8Array, got "+typeof x);return x}Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));class Cr{clone(){return this._cloneInto()}}function Fr(x){const C=ht=>x().update(Ce(ht)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}function xo(x=32){if(Ur&&"function"==typeof Ur.getRandomValues)return Ur.getRandomValues(new Uint8Array(x));throw new Error("crypto.getRandomValues must be defined")}class po extends Cr{constructor(C,F,ht,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=ht,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=Co(this.buffer)}update(C){Lr.exists(this);const{view:F,buffer:ht,blockLen:Ot}=this,ae=(C=Ce(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(ht,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=ht?0:4;x.setUint32(C+(ht?4:0),Ue,ht),x.setUint32(C+sr,Ve,ht)})(ht,Ot-8,BigInt(8*this.length),ae),this.process(ht,0);const Ve=Co(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zex&C^~x&F,Yn=(x,C,F)=>x&C^x&F^C&F,Di=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),jn=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Uo=new Uint32Array(64);class Fn extends po{constructor(){super(64,32,8,!1),this.A=0|jn[0],this.B=0|jn[1],this.C=0|jn[2],this.D=0|jn[3],this.E=0|jn[4],this.F=0|jn[5],this.G=0|jn[6],this.H=0|jn[7]}get(){const{A:C,B:F,C:ht,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze]}set(C,F,ht,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|ht,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)Uo[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=Uo[ze-15],_r=Uo[ze-2],Yr=ro(nr,7)^ro(nr,18)^nr>>>3,Mr=ro(_r,17)^ro(_r,19)^_r>>>10;Uo[ze]=Mr+Uo[ze-7]+Yr+Uo[ze-16]|0}let{A:ht,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ro(Ve,6)^ro(Ve,11)^ro(Ve,25))+io(Ve,Ze,sr)+Di[ze]+Uo[ze]|0,Mr=(ro(ht,2)^ro(ht,13)^ro(ht,22))+Yn(ht,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=ht,ht=_r+Mr|0}ht=ht+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){Uo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class zi extends Fn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const nn=Fr(()=>new Fn),vi=(Fr(()=>new zi),BigInt(0),BigInt(1)),us=BigInt(2),da=x=>x instanceof Uint8Array,ka=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));function Ai(x){if(!da(x))throw new Error("Uint8Array expected");let C="";for(let F=0;Fht+Ot.length,0));let F=0;return x.forEach(ht=>{if(!da(ht))throw new Error("Uint8Array expected");C.set(ht,F),F+=ht.length}),C}const mi=x=>(us<new Uint8Array(x),ps=x=>Uint8Array.from(x);function ba(x,C,F){if("number"!=typeof x||x<2)throw new Error("hashLen must be a number");if("number"!=typeof C||C<2)throw new Error("qByteLen must be a number");if("function"!=typeof F)throw new Error("hmacFn must be a function");let ht=Qi(x),Ot=Qi(x),ae=0;const Ue=()=>{ht.fill(1),Ot.fill(0),ae=0},Ve=(...ze)=>F(Ot,ht,...ze),Ze=(ze=Qi())=>{Ot=Ve(ps([0]),ze),ht=Ve(),0!==ze.length&&(Ot=Ve(ps([1]),ze),ht=Ve())},sr=()=>{if(ae++>=1e3)throw new Error("drbg: tried 1000 values");let ze=0;const nr=[];for(;ze{let _r;for(Ue(),Ze(ze);!(_r=nr(sr()));)Ze();return Ue(),_r}}const za={bigint:x=>"bigint"==typeof x,function:x=>"function"==typeof x,boolean:x=>"boolean"==typeof x,string:x=>"string"==typeof x,isSafeInteger:x=>Number.isSafeInteger(x),array:x=>Array.isArray(x),field:(x,C)=>C.Fp.isValid(x),hash:x=>"function"==typeof x&&Number.isSafeInteger(x.outputLen)};function hi(x,C,F={}){const ht=(Ot,ae,Ue)=>{const Ve=za[ae];if("function"!=typeof Ve)throw new Error(`Invalid validator "${ae}", expected function`);const Ze=x[Ot];if(!(Ue&&void 0===Ze||Ve(Ze,x)))throw new Error(`Invalid param ${String(Ot)}=${Ze} (${typeof Ze}), expected ${ae}`)};for(const[Ot,ae]of Object.entries(C))ht(Ot,ae,!1);for(const[Ot,ae]of Object.entries(F))ht(Ot,ae,!0);return x}const Jo=BigInt(0),On=BigInt(1),ia=BigInt(2),bi=BigInt(3),es=BigInt(4),Vn=BigInt(5),xi=BigInt(8);function Jn(x,C){const F=x%C;return F>=Jo?F:C+F}function aa(x,C,F){if(F<=Jo||C 0");if(F===On)return Jo;let ht=On;for(;C>Jo;)C&On&&(ht=ht*x%F),x=x*x%F,C>>=On;return ht}function Ni(x,C,F){let ht=x;for(;C-- >Jo;)ht*=ht,ht%=F;return ht}function wa(x,C){if(x===Jo||C<=Jo)throw new Error(`invert: expected positive integers, got n=${x} mod=${C}`);let F=Jn(x,C),ht=C,Ot=Jo,ae=On,Ue=On,Ve=Jo;for(;F!==Jo;){const sr=ht/F,Ir=ht%F,ze=Ot-Ue*sr,nr=ae-Ve*sr;ht=F,F=Ir,Ot=Ue,ae=Ve,Ue=ze,Ve=nr}if(ht!==On)throw new Error("invert: does not exist");return Jn(Ot,C)}BigInt(9),BigInt(16);const G=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function jr(x,C){const F=void 0!==C?C:x.toString(2).length;return{nBitLength:F,nByteLength:Math.ceil(F/8)}}const Lo=BigInt(0),In=BigInt(1);function Bn(x){return function Qt(x){hi(x,G.reduce((ht,Ot)=>(ht[Ot]="function",ht),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(x.Fp),hi(x,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...jr(x.n,x.nBitLength),...x,p:x.Fp.ORDER})}const{Ph:wi,aT:qi}=o,ri={Err:class extends Error{constructor(C=""){super(C)}},_parseInt(x){const{Err:C}=ri;if(x.length<2||2!==x[0])throw new C("Invalid signature integer tag");const F=x[1],ht=x.subarray(2,F+2);if(!F||ht.length!==F)throw new C("Invalid signature integer: wrong length");if(128&ht[0])throw new C("Invalid signature integer: negative");if(0===ht[0]&&!(128&ht[1]))throw new C("Invalid signature integer: unnecessary leading zero");return{d:wi(ht),l:x.subarray(F+2)}},toSig(x){const{Err:C}=ri,F="string"==typeof x?qi(x):x;if(!(F instanceof Uint8Array))throw new Error("ui8a expected");let ht=F.length;if(ht<2||48!=F[0])throw new C("Invalid signature tag");if(F[1]!==ht-2)throw new C("Invalid signature: incorrect length");const{d:Ot,l:ae}=ri._parseInt(F.subarray(2)),{d:Ue,l:Ve}=ri._parseInt(ae);if(Ve.length)throw new C("Invalid signature: left bytes after parsing");return{r:Ot,s:Ue}},hexFromSig(x){const C=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,F=sr=>{const Ir=sr.toString(16);return 1&Ir.length?`0${Ir}`:Ir},ht=C(F(x.s)),Ot=C(F(x.r)),ae=ht.length/2,Ue=Ot.length/2,Ve=F(ae),Ze=F(Ue);return`30${F(Ue+ae+4)}02${Ze}${Ot}02${Ve}${ht}`}},Ki=BigInt(0),zn=BigInt(1),st=(BigInt(2),BigInt(3));function je(x){const C=function Ft(x){const C=Bn(x);return hi(C,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...C})}(x),{Fp:F,n:ht}=C,Ot=F.BYTES+1,ae=2*F.BYTES+1;function Ve(To){return Jn(To,ht)}function Ze(To){return wa(To,ht)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Ir,weierstrassEquation:ze,isWithinCurveOrder:nr}=function X(x){const C=function Ti(x){const C=Bn(x);hi(C,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:F,Fp:ht,a:Ot}=C;if(F){if(!ht.eql(Ot,ht.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof F||"bigint"!=typeof F.beta||"function"!=typeof F.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...C})}(x),{Fp:F}=C,ht=C.toBytes||((Yr,Mr,Gr)=>{const Jr=Mr.toAffine();return qn(Uint8Array.from([4]),F.toBytes(Jr.x),F.toBytes(Jr.y))}),Ot=C.fromBytes||(Yr=>{const Mr=Yr.subarray(1);return{x:F.fromBytes(Mr.subarray(0,F.BYTES)),y:F.fromBytes(Mr.subarray(F.BYTES,2*F.BYTES))}});function ae(Yr){const{a:Mr,b:Gr}=C,Jr=F.sqr(Yr),go=F.mul(Jr,Yr);return F.add(F.add(go,F.mul(Yr,Mr)),Gr)}if(!F.eql(F.sqr(C.Gy),ae(C.Gx)))throw new Error("bad generator point: equation left != right");function Ue(Yr){return"bigint"==typeof Yr&&KiF.eql(Vr,F.ZERO);return go(Gr)&&go(Jr)?ze.ZERO:new ze(Gr,Jr,F.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Mr){const Gr=F.invertBatch(Mr.map(Jr=>Jr.pz));return Mr.map((Jr,go)=>Jr.toAffine(Gr[go])).map(ze.fromAffine)}static fromHex(Mr){const Gr=ze.fromAffine(Ot(Qn("pointHex",Mr)));return Gr.assertValidity(),Gr}static fromPrivateKey(Mr){return ze.BASE.multiply(Ze(Mr))}_setWindowSize(Mr){this._WINDOW_SIZE=Mr,sr.delete(this)}assertValidity(){if(this.is0()){if(C.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Mr,y:Gr}=this.toAffine();if(!F.isValid(Mr)||!F.isValid(Gr))throw new Error("bad point: x or y not FE");const Jr=F.sqr(Gr),go=ae(Mr);if(!F.eql(Jr,go))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Mr}=this.toAffine();if(F.isOdd)return!F.isOdd(Mr);throw new Error("Field doesn't support isOdd")}equals(Mr){Ir(Mr);const{px:Gr,py:Jr,pz:go}=this,{px:Vr,py:Do,pz:Io}=Mr,Xr=F.eql(F.mul(Gr,Io),F.mul(Vr,go)),tn=F.eql(F.mul(Jr,Io),F.mul(Do,go));return Xr&&tn}negate(){return new ze(this.px,F.neg(this.py),this.pz)}double(){const{a:Mr,b:Gr}=C,Jr=F.mul(Gr,st),{px:go,py:Vr,pz:Do}=this;let Io=F.ZERO,Xr=F.ZERO,tn=F.ZERO,Xo=F.mul(go,go),En=F.mul(Vr,Vr),Qo=F.mul(Do,Do),xn=F.mul(go,Vr);return xn=F.add(xn,xn),tn=F.mul(go,Do),tn=F.add(tn,tn),Io=F.mul(Mr,tn),Xr=F.mul(Jr,Qo),Xr=F.add(Io,Xr),Io=F.sub(En,Xr),Xr=F.add(En,Xr),Xr=F.mul(Io,Xr),Io=F.mul(xn,Io),tn=F.mul(Jr,tn),Qo=F.mul(Mr,Qo),xn=F.sub(Xo,Qo),xn=F.mul(Mr,xn),xn=F.add(xn,tn),tn=F.add(Xo,Xo),Xo=F.add(tn,Xo),Xo=F.add(Xo,Qo),Xo=F.mul(Xo,xn),Xr=F.add(Xr,Xo),Qo=F.mul(Vr,Do),Qo=F.add(Qo,Qo),Xo=F.mul(Qo,xn),Io=F.sub(Io,Xo),tn=F.mul(Qo,En),tn=F.add(tn,tn),tn=F.add(tn,tn),new ze(Io,Xr,tn)}add(Mr){Ir(Mr);const{px:Gr,py:Jr,pz:go}=this,{px:Vr,py:Do,pz:Io}=Mr;let Xr=F.ZERO,tn=F.ZERO,Xo=F.ZERO;const En=C.a,Qo=F.mul(C.b,st);let xn=F.mul(Gr,Vr),Ei=F.mul(Jr,Do),oi=F.mul(go,Io),Hi=F.add(Gr,Jr),To=F.add(Vr,Do);Hi=F.mul(Hi,To),To=F.add(xn,Ei),Hi=F.sub(Hi,To),To=F.add(Gr,go);let uo=F.add(Vr,Io);return To=F.mul(To,uo),uo=F.add(xn,oi),To=F.sub(To,uo),uo=F.add(Jr,go),Xr=F.add(Do,Io),uo=F.mul(uo,Xr),Xr=F.add(Ei,oi),uo=F.sub(uo,Xr),Xo=F.mul(En,To),Xr=F.mul(Qo,oi),Xo=F.add(Xr,Xo),Xr=F.sub(Ei,Xo),Xo=F.add(Ei,Xo),tn=F.mul(Xr,Xo),Ei=F.add(xn,xn),Ei=F.add(Ei,xn),oi=F.mul(En,oi),To=F.mul(Qo,To),Ei=F.add(Ei,oi),oi=F.sub(xn,oi),oi=F.mul(En,oi),To=F.add(To,oi),xn=F.mul(Ei,To),tn=F.add(tn,xn),xn=F.mul(uo,To),Xr=F.mul(Hi,Xr),Xr=F.sub(Xr,xn),xn=F.mul(Hi,Ei),Xo=F.mul(uo,Xo),Xo=F.add(Xo,xn),new ze(Xr,tn,Xo)}subtract(Mr){return this.add(Mr.negate())}is0(){return this.equals(ze.ZERO)}wNAF(Mr){return _r.wNAFCached(this,sr,Mr,Gr=>{const Jr=F.invertBatch(Gr.map(go=>go.pz));return Gr.map((go,Vr)=>go.toAffine(Jr[Vr])).map(ze.fromAffine)})}multiplyUnsafe(Mr){const Gr=ze.ZERO;if(Mr===Ki)return Gr;if(Ve(Mr),Mr===zn)return this;const{endo:Jr}=C;if(!Jr)return _r.unsafeLadder(this,Mr);let{k1neg:go,k1:Vr,k2neg:Do,k2:Io}=Jr.splitScalar(Mr),Xr=Gr,tn=Gr,Xo=this;for(;Vr>Ki||Io>Ki;)Vr&zn&&(Xr=Xr.add(Xo)),Io&zn&&(tn=tn.add(Xo)),Xo=Xo.double(),Vr>>=zn,Io>>=zn;return go&&(Xr=Xr.negate()),Do&&(tn=tn.negate()),tn=new ze(F.mul(tn.px,Jr.beta),tn.py,tn.pz),Xr.add(tn)}multiply(Mr){Ve(Mr);let Jr,go,Gr=Mr;const{endo:Vr}=C;if(Vr){const{k1neg:Do,k1:Io,k2neg:Xr,k2:tn}=Vr.splitScalar(Gr);let{p:Xo,f:En}=this.wNAF(Io),{p:Qo,f:xn}=this.wNAF(tn);Xo=_r.constTimeNegate(Do,Xo),Qo=_r.constTimeNegate(Xr,Qo),Qo=new ze(F.mul(Qo.px,Vr.beta),Qo.py,Qo.pz),Jr=Xo.add(Qo),go=En.add(xn)}else{const{p:Do,f:Io}=this.wNAF(Gr);Jr=Do,go=Io}return ze.normalizeZ([Jr,go])[0]}multiplyAndAddUnsafe(Mr,Gr,Jr){const go=ze.BASE,Vr=(Io,Xr)=>Xr!==Ki&&Xr!==zn&&Io.equals(go)?Io.multiply(Xr):Io.multiplyUnsafe(Xr),Do=Vr(this,Gr).add(Vr(Mr,Jr));return Do.is0()?void 0:Do}toAffine(Mr){const{px:Gr,py:Jr,pz:go}=this,Vr=this.is0();null==Mr&&(Mr=Vr?F.ONE:F.inv(go));const Do=F.mul(Gr,Mr),Io=F.mul(Jr,Mr),Xr=F.mul(go,Mr);if(Vr)return{x:F.ZERO,y:F.ZERO};if(!F.eql(Xr,F.ONE))throw new Error("invZ was invalid");return{x:Do,y:Io}}isTorsionFree(){const{h:Mr,isTorsionFree:Gr}=C;if(Mr===zn)return!0;if(Gr)return Gr(ze,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Mr,clearCofactor:Gr}=C;return Mr===zn?this:Gr?Gr(ze,this):this.multiplyUnsafe(C.h)}toRawBytes(Mr=!0){return this.assertValidity(),ht(ze,this,Mr)}toHex(Mr=!0){return Ai(this.toRawBytes(Mr))}}ze.BASE=new ze(C.Gx,C.Gy,F.ONE),ze.ZERO=new ze(F.ZERO,F.ONE,F.ZERO);const nr=C.nBitLength,_r=function Si(x,C){const F=(Ot,ae)=>{const Ue=ae.negate();return Ot?Ue:ae},ht=Ot=>({windows:Math.ceil(C/Ot)+1,windowSize:2**(Ot-1)});return{constTimeNegate:F,unsafeLadder(Ot,ae){let Ue=x.ZERO,Ve=Ot;for(;ae>Lo;)ae&In&&(Ue=Ue.add(Ve)),Ve=Ve.double(),ae>>=In;return Ue},precomputeWindow(Ot,ae){const{windows:Ue,windowSize:Ve}=ht(ae),Ze=[];let sr=Ot,Ir=sr;for(let ze=0;ze>=_r,Gr>Ze&&(Gr-=nr,Ue+=In);const Jr=Mr,go=Mr+Math.abs(Gr)-1,Do=Gr<0;0===Gr?Ir=Ir.add(F(Yr%2!=0,ae[Jr])):sr=sr.add(F(Do,ae[go]))}return{p:sr,f:Ir}},wNAFCached(Ot,ae,Ue,Ve){const Ze=Ot._WINDOW_SIZE||1;let sr=ae.get(Ot);return sr||(sr=this.precomputeWindow(Ot,Ze),1!==Ze&&ae.set(Ot,Ve(sr))),this.wNAF(Ze,sr,Ue)}}}(ze,C.endo?Math.ceil(nr/2):nr);return{CURVE:C,ProjectivePoint:ze,normPrivateKeyToScalar:Ze,weierstrassEquation:ae,isWithinCurveOrder:Ue}}({...C,toBytes(To,uo,vn){const Rn=uo.toAffine(),fo=F.toBytes(Rn.x),Mi=qn;return vn?Mi(Uint8Array.from([uo.hasEvenY()?2:3]),fo):Mi(Uint8Array.from([4]),fo,F.toBytes(Rn.y))},fromBytes(To){const uo=To.length,vn=To[0],Rn=To.subarray(1);if(uo!==Ot||2!==vn&&3!==vn){if(uo===ae&&4===vn)return{x:F.fromBytes(Rn.subarray(0,F.BYTES)),y:F.fromBytes(Rn.subarray(F.BYTES,2*F.BYTES))};throw new Error(`Point of length ${uo} was invalid. Expected ${Ot} compressed bytes or ${ae} uncompressed bytes`)}{const fo=Mn(Rn);if(!function Ue(To){return KiAi(fi(To,C.nByteLength));function Yr(To){return To>ht>>zn}const Gr=(To,uo,vn)=>Mn(To.slice(uo,vn));class Jr{constructor(uo,vn,Rn){this.r=uo,this.s=vn,this.recovery=Rn,this.assertValidity()}static fromCompact(uo){const vn=C.nByteLength;return uo=Qn("compactSignature",uo,2*vn),new Jr(Gr(uo,0,vn),Gr(uo,vn,2*vn))}static fromDER(uo){const{r:vn,s:Rn}=ri.toSig(Qn("DER",uo));return new Jr(vn,Rn)}assertValidity(){if(!nr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!nr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(uo){return new Jr(this.r,this.s,uo)}recoverPublicKey(uo){const{r:vn,s:Rn,recovery:fo}=this,Mi=tn(Qn("msgHash",uo));if(null==fo||![0,1,2,3].includes(fo))throw new Error("recovery id invalid");const ea=2===fo||3===fo?vn+C.n:vn;if(ea>=F.ORDER)throw new Error("recovery id 2 or 3 invalid");const ws=sr.fromHex((1&fo?"03":"02")+_r(ea)),ya=Ze(ea),yi=Ve(-Mi*ya),Po=Ve(Rn*ya),li=sr.BASE.multiplyAndAddUnsafe(ws,yi,Po);if(!li)throw new Error("point at infinify");return li.assertValidity(),li}hasHighS(){return Yr(this.s)}normalizeS(){return this.hasHighS()?new Jr(this.r,Ve(-this.s),this.recovery):this}toDERRawBytes(){return ua(this.toDERHex())}toDERHex(){return ri.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return ua(this.toCompactHex())}toCompactHex(){return _r(this.r)+_r(this.s)}}const go={isValidPrivateKey(To){try{return Ir(To),!0}catch{return!1}},normPrivateKeyToScalar:Ir,randomPrivateKey:()=>{const uo=function bn(x,C,F=!1){const ht=(x=Qn("privateHash",x)).length,Ot=jr(C).nByteLength+8;if(Ot<24||ht1024)throw new Error(`hashToPrivateScalar: expected ${Ot}-1024 bytes of input, got ${ht}`);return Jn(F?na(x):Mn(x),C-On)+On}(C.randomBytes(F.BYTES+8),ht);return fi(uo,C.nByteLength)},precompute:(To=8,uo=sr.BASE)=>(uo._setWindowSize(To),uo.multiply(BigInt(3)),uo)};function Do(To){const uo=To instanceof Uint8Array,vn="string"==typeof To,Rn=(uo||vn)&&To.length;return uo?Rn===Ot||Rn===ae:vn?Rn===2*Ot||Rn===2*ae:To instanceof sr}const Xr=C.bits2int||function(To){const uo=Mn(To),vn=8*To.length-C.nBitLength;return vn>0?uo>>BigInt(vn):uo},tn=C.bits2int_modN||function(To){return Ve(Xr(To))},Xo=mi(C.nBitLength);function En(To){if("bigint"!=typeof To)throw new Error("bigint expected");if(!(Ki<=To&&ToXa in vn))throw new Error("sign() legacy options not supported");const{hash:Rn,randomBytes:fo}=C;let{lowS:Mi,prehash:ea,extraEntropy:Fi}=vn;null==Mi&&(Mi=!0),To=Qn("msgHash",To),ea&&(To=Qn("prehashed msgHash",Rn(To)));const ws=tn(To),ya=Ir(uo),yi=[En(ya),En(ws)];if(null!=Fi){const Xa=!0===Fi?fo(F.BYTES):Fi;yi.push(Qn("extraEntropy",Xa,F.BYTES))}const Po=qn(...yi),li=ws;return{seed:Po,k2sig:function Ii(Xa){const la=Xr(Xa);if(!nr(la))return;const $o=Ze(la),Ci=sr.BASE.multiply(la).toAffine(),Aa=Ve(Ci.x);if(Aa===Ki)return;const ys=Ve($o*Ve(li+Aa*ya));if(ys===Ki)return;let yl=(Ci.x===Aa?0:2)|Number(Ci.y&zn),Pc=ys;return Mi&&Yr(ys)&&(Pc=function Mr(To){return Yr(To)?Ve(-To):To}(ys),yl^=1),new Jr(Aa,Pc,yl)}}}(To,uo,vn);return ba(C.hash.outputLen,C.nByteLength,C.hmac)(Rn,fo)},verify:function Hi(To,uo,vn,Rn=Ei){const fo=To;if(uo=Qn("msgHash",uo),vn=Qn("publicKey",vn),"strict"in Rn)throw new Error("options.strict was renamed to lowS");const{lowS:Mi,prehash:ea}=Rn;let Fi,ws;try{if("string"==typeof fo||fo instanceof Uint8Array)try{Fi=Jr.fromDER(fo)}catch(Ci){if(!(Ci instanceof ri.Err))throw Ci;Fi=Jr.fromCompact(fo)}else{if("object"!=typeof fo||"bigint"!=typeof fo.r||"bigint"!=typeof fo.s)throw new Error("PARSE");{const{r:Ci,s:Aa}=fo;Fi=new Jr(Ci,Aa)}}ws=sr.fromHex(vn)}catch(Ci){if("PARSE"===Ci.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Mi&&Fi.hasHighS())return!1;ea&&(uo=C.hash(uo));const{r:ya,s:yi}=Fi,Po=tn(uo),li=Ze(yi),Ii=Ve(Po*li),Xa=Ve(ya*li),la=sr.BASE.multiplyAndAddUnsafe(ws,Ii,Xa)?.toAffine();return!!la&&Ve(la.x)===ya},ProjectivePoint:sr,Signature:Jr,utils:go}}BigInt(4);class Jc extends Cr{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,Lr.hash(C);const ht=Ce(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(ht.length>Ot?C.create().update(ht).digest():ht);for(let Ue=0;Uenew Jc(x,C).update(F).digest();function Li(x){return{hash:x,hmac:(C,...F)=>ln(x,C,function or(...x){const C=new Uint8Array(x.reduce((ht,Ot)=>ht+Ot.length,0));let F=0;return x.forEach(ht=>{if(!ao(ht))throw new Error("Uint8Array expected");C.set(ht,F),F+=ht.length}),C}(...F)),randomBytes:xo}}ln.create=(x,C)=>new Jc(x,C);const Ji=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$i=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),zs=BigInt(1),As=BigInt(2),sa=(x,C)=>(x+C/As)/C;const Ss=function Oo(x,C,F=!1,ht={}){if(x<=Jo)throw new Error(`Expected Fp ORDER > 0, got ${x}`);const{nBitLength:Ot,nByteLength:ae}=jr(x,C);if(ae>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Ue=function _i(x){if(x%es===bi){const C=(x+On)/es;return function(ht,Ot){const ae=ht.pow(Ot,C);if(!ht.eql(ht.sqr(ae),Ot))throw new Error("Cannot find square root");return ae}}if(x%xi===Vn){const C=(x-Vn)/xi;return function(ht,Ot){const ae=ht.mul(Ot,ia),Ue=ht.pow(ae,C),Ve=ht.mul(Ot,Ue),Ze=ht.mul(ht.mul(Ve,ia),Ue),sr=ht.mul(Ve,ht.sub(Ze,ht.ONE));if(!ht.eql(ht.sqr(sr),Ot))throw new Error("Cannot find square root");return sr}}return function rs(x){const C=(x-On)/ia;let F,ht,Ot;for(F=x-On,ht=0;F%ia===Jo;F/=ia,ht++);for(Ot=ia;OtJn(Ze,x),isValid:Ze=>{if("bigint"!=typeof Ze)throw new Error("Invalid field element: expected bigint, got "+typeof Ze);return Jo<=Ze&&ZeZe===Jo,isOdd:Ze=>(Ze&On)===On,neg:Ze=>Jn(-Ze,x),eql:(Ze,sr)=>Ze===sr,sqr:Ze=>Jn(Ze*Ze,x),add:(Ze,sr)=>Jn(Ze+sr,x),sub:(Ze,sr)=>Jn(Ze-sr,x),mul:(Ze,sr)=>Jn(Ze*sr,x),pow:(Ze,sr)=>function et(x,C,F){if(F 0");if(F===Jo)return x.ONE;if(F===On)return C;let ht=x.ONE,Ot=C;for(;F>Jo;)F&On&&(ht=x.mul(ht,Ot)),Ot=x.sqr(Ot),F>>=On;return ht}(Ve,Ze,sr),div:(Ze,sr)=>Jn(Ze*wa(sr,x),x),sqrN:Ze=>Ze*Ze,addN:(Ze,sr)=>Ze+sr,subN:(Ze,sr)=>Ze-sr,mulN:(Ze,sr)=>Ze*sr,inv:Ze=>wa(Ze,x),sqrt:ht.sqrt||(Ze=>Ue(Ve,Ze)),invertBatch:Ze=>function te(x,C){const F=new Array(C.length),ht=C.reduce((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=ae,x.mul(ae,Ue)),x.ONE),Ot=x.inv(ht);return C.reduceRight((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=x.mul(ae,F[Ve]),x.mul(ae,Ue)),Ot),F}(Ve,Ze),cmov:(Ze,sr,Ir)=>Ir?sr:Ze,toBytes:Ze=>F?Ko(Ze,ae):fi(Ze,ae),fromBytes:Ze=>{if(Ze.length!==ae)throw new Error(`Fp.fromBytes: expected ${ae}, got ${Ze.length}`);return F?na(Ze):Mn(Ze)}});return Object.freeze(Ve)}(Ji,void 0,void 0,{sqrt:function yc(x){const C=Ji,F=BigInt(3),ht=BigInt(6),Ot=BigInt(11),ae=BigInt(22),Ue=BigInt(23),Ve=BigInt(44),Ze=BigInt(88),sr=x*x*x%C,Ir=sr*sr*x%C,ze=Ni(Ir,F,C)*Ir%C,nr=Ni(ze,F,C)*Ir%C,_r=Ni(nr,As,C)*sr%C,Yr=Ni(_r,Ot,C)*_r%C,Mr=Ni(Yr,ae,C)*Yr%C,Gr=Ni(Mr,Ve,C)*Mr%C,Jr=Ni(Gr,Ze,C)*Gr%C,go=Ni(Jr,Ve,C)*Mr%C,Vr=Ni(go,F,C)*Ir%C,Do=Ni(Vr,Ue,C)*Yr%C,Io=Ni(Do,ht,C)*sr%C,Xr=Ni(Io,As,C);if(!Ss.eql(Ss.sqr(Xr),x))throw new Error("Cannot find square root");return Xr}}),Oi=function on(x,C){const F=ht=>je({...x,...Li(ht)});return Object.freeze({...F(C),create:F})}({a:BigInt(0),b:BigInt(7),Fp:Ss,n:$i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:x=>{const C=$i,F=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),ht=-zs*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Ot=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),ae=F,Ue=BigInt("0x100000000000000000000000000000000"),Ve=sa(ae*x,C),Ze=sa(-ht*x,C);let sr=Jn(x-Ve*F-Ze*Ot,C),Ir=Jn(-Ve*ht-Ze*ae,C);const ze=sr>Ue,nr=Ir>Ue;if(ze&&(sr=C-sr),nr&&(Ir=C-Ir),sr>Ue||Ir>Ue)throw new Error("splitScalar: Endomorphism failed, k="+x);return{k1neg:ze,k1:sr,k2neg:nr,k2:Ir}}}},nn);BigInt(0);var gs=r(3813);const gi=Oi.ProjectivePoint,fs=(0,gs.Tq)(se);function ic(x){return BigInt(`0x${function vt(x){if(!z(x))throw new Error("Uint8Array expected");let C="";for(let F=0;F{if(!Number.isSafeInteger(x)||x<0||x>2**32-1)throw new Error(`Invalid number=${x}. Should be from 0 to 2 ** 32 - 1`);const C=new Uint8Array(4);return q(C).setUint32(0,x,!1),C};class Et{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return q(this.pubHash).getUint32(0,!1)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const C=this.privateKey;if(!C)throw new Error("No private key");return fs.encode(this.serialize(this.versions.private,Ct(new Uint8Array([0]),C)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return fs.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(C,F=bs){if(k(C),8*C.length<128||8*C.length>512)throw new Error(`HDKey: wrong seed length=${C.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const ht=xe(Eo,ca,C);return new Et({versions:F,chainCode:ht.slice(32),privateKey:ht.slice(0,32)})}static fromExtendedKey(C,F=bs){const ht=fs.decode(C),Ot=q(ht),ae=Ot.getUint32(0,!1),Ue={versions:F,depth:ht[4],parentFingerprint:Ot.getUint32(5,!1),index:Ot.getUint32(9,!1),chainCode:ht.slice(13,45)},Ve=ht.slice(45),Ze=0===Ve[0];if(ae!==F[Ze?"private":"public"])throw new Error("Version mismatch");return new Et(Ze?{...Ue,privateKey:Ve.slice(1)}:{...Ue,publicKey:Ve})}static fromJSON(C){return Et.fromExtendedKey(C.xpriv)}constructor(C){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!C||"object"!=typeof C)throw new Error("HDKey.constructor must not be called directly");if(this.versions=C.versions||bs,this.depth=C.depth||0,this.chainCode=C.chainCode,this.index=C.index||0,this.parentFingerprint=C.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(C.publicKey&&C.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(C.privateKey){if(!Oi.utils.isValidPrivateKey(C.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof C.privateKey?C.privateKey:ic(C.privateKey),this.privKeyBytes=function Is(x){return function St(x){if("string"!=typeof x)throw new Error("hex string expected, got "+typeof x);const C=x.length,F=C/2;if(C%2)throw new Error("padded hex string expected, got unpadded hex of length "+C);const ht=new Uint8Array(F);for(let Ot=0,ae=0;Ot=fn)throw new Error("Invalid index");"'"===ae[2]&&(Ue+=fn),ht=ht.deriveChild(Ue)}return ht}deriveChild(C){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let F=B(C);if(C>=fn){const Ve=this.privateKey;if(!Ve)throw new Error("Could not derive hardened child key");F=Ct(new Uint8Array([0]),Ve,F)}else F=Ct(this.pubKey,F);const ht=xe(Eo,this.chainCode,F),Ot=ic(ht.slice(0,32)),ae=ht.slice(32);if(!Oi.utils.isValidPrivateKey(Ot))throw new Error("Tweak bigger than curve order");const Ue={versions:this.versions,chainCode:ae,depth:this.depth+1,parentFingerprint:this.fingerprint,index:C};try{if(this.privateKey){const Ve=Jn(this.privKey+Ot,Oi.CURVE.n);if(!Oi.utils.isValidPrivateKey(Ve))throw new Error("The tweak was out of range or the resulted private key is invalid");Ue.privateKey=Ve}else{const Ve=gi.fromHex(this.pubKey).add(gi.fromPrivateKey(Ot));if(Ve.equals(gi.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");Ue.publicKey=Ve.toRawBytes(!0)}return new Et(Ue)}catch{return this.deriveChild(C+1)}}sign(C){if(!this.privateKey)throw new Error("No privateKey set!");return k(C,32),Oi.sign(C,this.privKey).toCompactRawBytes()}verify(C,F){if(k(C,32),k(F,64),!this.publicKey)throw new Error("No publicKey set!");let ht;try{ht=Oi.Signature.fromCompact(F)}catch{return!1}return Oi.verify(ht,C,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(C,F){if(!this.chainCode)throw new Error("No chainCode set");return k(F,33),Ct(B(C),new Uint8Array([this.depth]),B(this.parentFingerprint),B(this.index),this.chainCode,F)}}},9673:(i,a,r)=>{"use strict";function o(Oe){if(!Number.isSafeInteger(Oe)||Oe<0)throw new Error(`Wrong positive integer: ${Oe}`)}function y(Oe,...Ke){if(!function c(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("Expected Uint8Array");if(Ke.length>0&&!Ke.includes(Oe.length))throw new Error(`Expected Uint8Array of length ${Ke}, not of length=${Oe.length}`)}function k(Oe){if("function"!=typeof Oe||"function"!=typeof Oe.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");o(Oe.outputLen),o(Oe.blockLen)}function A(Oe,Ke=!0){if(Oe.destroyed)throw new Error("Hash instance has been destroyed");if(Ke&&Oe.finished)throw new Error("Hash#digest() has already been called")}function I(Oe,Ke){y(Oe);const Dr=Ke.outputLen;if(Oe.lengthyr,kw:()=>ei,JB:()=>ni});const T={number:o,bool:function s(Oe){if("boolean"!=typeof Oe)throw new Error(`Expected boolean, not ${Oe}`)},bytes:y,hash:k,exists:A,output:I},O="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;const q=Oe=>new DataView(Oe.buffer,Oe.byteOffset,Oe.byteLength),ct=(Oe,Ke)=>Oe<<32-Ke|Oe>>>Ke;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function yt(Oe){if("string"==typeof Oe&&(Oe=function rt(Oe){if("string"!=typeof Oe)throw new Error("utf8ToBytes expected string, got "+typeof Oe);return new Uint8Array((new TextEncoder).encode(Oe))}(Oe)),!function z(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("expected Uint8Array, got "+typeof Oe);return Oe}class Vt{clone(){return this._cloneInto()}}const Xt={}.toString;function Xe(Oe){const Ke=Lr=>Oe().update(yt(Lr)).digest(),Dr=Oe();return Ke.outputLen=Dr.outputLen,Ke.blockLen=Dr.blockLen,Ke.create=()=>Oe(),Ke}class Wr extends Vt{constructor(Ke,Dr){super(),this.finished=!1,this.destroyed=!1,k(Ke);const Lr=yt(Dr);if(this.iHash=Ke.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ur=this.blockLen,ao=new Uint8Array(Ur);ao.set(Lr.length>Ur?Ke.create().update(Lr).digest():Lr);for(let no=0;nonew Wr(Oe,Ke).update(Dr).digest();xe.create=(Oe,Ke)=>new Wr(Oe,Ke);class jt extends Vt{constructor(Ke,Dr,Lr,Ur){super(),this.blockLen=Ke,this.outputLen=Dr,this.padOffset=Lr,this.isLE=Ur,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(Ke),this.view=q(this.buffer)}update(Ke){A(this);const{view:Dr,buffer:Lr,blockLen:Ur}=this,ao=(Ke=yt(Ke)).length;for(let no=0;noUr-no&&(this.process(Lr,0),no=0);for(let he=no;he>Ur&ao),vo=Number(Dr&ao),ro=Lr?0:4;Oe.setUint32(Ke+(Lr?4:0),no,Lr),Oe.setUint32(Ke+ro,vo,Lr)})(Lr,Ur-8,BigInt(8*this.length),ao),this.process(Lr,0);const vo=q(Ke),Co=this.outputLen;if(Co%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ro=Co/4,zt=this.get();if(ro>zt.length)throw new Error("_sha2: outputLen bigger than state");for(let he=0;heOe&Ke^~Oe&Dr,Ye=(Oe,Ke,Dr)=>Oe&Ke^Oe&Dr^Ke&Dr,ft=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),pe=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ut=new Uint32Array(64);class Ee extends jt{constructor(){super(64,32,8,!1),this.A=0|pe[0],this.B=0|pe[1],this.C=0|pe[2],this.D=0|pe[3],this.E=0|pe[4],this.F=0|pe[5],this.G=0|pe[6],this.H=0|pe[7]}get(){const{A:Ke,B:Dr,C:Lr,D:Ur,E:ao,F:no,G:vo,H:Co}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co){this.A=0|Ke,this.B=0|Dr,this.C=0|Lr,this.D=0|Ur,this.E=0|ao,this.F=0|no,this.G=0|vo,this.H=0|Co}process(Ke,Dr){for(let he=0;he<16;he++,Dr+=4)Ut[he]=Ke.getUint32(Dr,!1);for(let he=16;he<64;he++){const ce=Ut[he-15],pt=Ut[he-2],Gt=ct(ce,7)^ct(ce,18)^ce>>>3,Dt=ct(pt,17)^ct(pt,19)^pt>>>10;Ut[he]=Dt+Ut[he-7]+Gt+Ut[he-16]|0}let{A:Lr,B:Ur,C:ao,D:no,E:vo,F:Co,G:ro,H:zt}=this;for(let he=0;he<64;he++){const pt=zt+(ct(vo,6)^ct(vo,11)^ct(vo,25))+De(vo,Co,ro)+ft[he]+Ut[he]|0,Dt=(ct(Lr,2)^ct(Lr,13)^ct(Lr,22))+Ye(Lr,Ur,ao)|0;zt=ro,ro=Co,Co=vo,vo=no+pt|0,no=ao,ao=Ur,Ur=Lr,Lr=pt+Dt|0}Lr=Lr+this.A|0,Ur=Ur+this.B|0,ao=ao+this.C|0,no=no+this.D|0,vo=vo+this.E|0,Co=Co+this.F|0,ro=ro+this.G|0,zt=zt+this.H|0,this.set(Lr,Ur,ao,no,vo,Co,ro,zt)}roundClean(){Ut.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const He=Xe(()=>new Ee),Me=BigInt(2**32-1),Pe=BigInt(32);function We(Oe,Ke=!1){return Ke?{h:Number(Oe&Me),l:Number(Oe>>Pe&Me)}:{h:0|Number(Oe>>Pe&Me),l:0|Number(Oe&Me)}}const Pr_split=function Or(Oe,Ke=!1){let Dr=new Uint32Array(Oe.length),Lr=new Uint32Array(Oe.length);for(let Ur=0;UrOe>>>Dr,Pr_shrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrSH=(Oe,Ke,Dr)=>Oe>>>Dr|Ke<<32-Dr,Pr_rotrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrBH=(Oe,Ke,Dr)=>Oe<<64-Dr|Ke>>>Dr-32,Pr_rotrBL=(Oe,Ke,Dr)=>Oe>>>Dr-32|Ke<<64-Dr,Pr_add=function ye(Oe,Ke,Dr,Lr){const Ur=(Ke>>>0)+(Lr>>>0);return{h:Oe+Dr+(Ur/2**32|0)|0,l:0|Ur}},Pr_add3L=(Oe,Ke,Dr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0),Pr_add3H=(Oe,Ke,Dr,Lr)=>Ke+Dr+Lr+(Oe/2**32|0)|0,Pr_add4L=(Oe,Ke,Dr,Lr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0),Pr_add4H=(Oe,Ke,Dr,Lr,Ur)=>Ke+Dr+Lr+Ur+(Oe/2**32|0)|0,Pr_add5H=(Oe,Ke,Dr,Lr,Ur,ao)=>Ke+Dr+Lr+Ur+ao+(Oe/2**32|0)|0,Pr_add5L=(Oe,Ke,Dr,Lr,Ur)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0)+(Ur>>>0),[re,qt]=Pr_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(Oe=>BigInt(Oe))),Pt=new Uint32Array(80),ue=new Uint32Array(80);class mr extends jt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:Ke,Al:Dr,Bh:Lr,Bl:Ur,Ch:ao,Cl:no,Dh:vo,Dl:Co,Eh:ro,El:zt,Fh:he,Fl:ce,Gh:pt,Gl:Gt,Hh:Dt,Hl:ne}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne){this.Ah=0|Ke,this.Al=0|Dr,this.Bh=0|Lr,this.Bl=0|Ur,this.Ch=0|ao,this.Cl=0|no,this.Dh=0|vo,this.Dl=0|Co,this.Eh=0|ro,this.El=0|zt,this.Fh=0|he,this.Fl=0|ce,this.Gh=0|pt,this.Gl=0|Gt,this.Hh=0|Dt,this.Hl=0|ne}process(Ke,Dr){for(let or=0;or<16;or++,Dr+=4)Pt[or]=Ke.getUint32(Dr),ue[or]=Ke.getUint32(Dr+=4);for(let or=16;or<80;or++){const Cr=0|Pt[or-15],Er=0|ue[or-15],Nr=Pr_rotrSH(Cr,Er,1)^Pr_rotrSH(Cr,Er,8)^Pr_shrSH(Cr,Er,7),Fr=Pr_rotrSL(Cr,Er,1)^Pr_rotrSL(Cr,Er,8)^Pr_shrSL(Cr,Er,7),qr=0|Pt[or-2],to=0|ue[or-2],xo=Pr_rotrSH(qr,to,19)^Pr_rotrBH(qr,to,61)^Pr_shrSH(qr,to,6),So=Pr_rotrSL(qr,to,19)^Pr_rotrBL(qr,to,61)^Pr_shrSL(qr,to,6),po=Pr_add4L(Fr,So,ue[or-7],ue[or-16]),io=Pr_add4H(po,Nr,xo,Pt[or-7],Pt[or-16]);Pt[or]=0|io,ue[or]=0|po}let{Ah:Lr,Al:Ur,Bh:ao,Bl:no,Ch:vo,Cl:Co,Dh:ro,Dl:zt,Eh:he,El:ce,Fh:pt,Fl:Gt,Gh:Dt,Gl:ne,Hh:Re,Hl:Ce}=this;for(let or=0;or<80;or++){const Cr=Pr_rotrSH(he,ce,14)^Pr_rotrSH(he,ce,18)^Pr_rotrBH(he,ce,41),Er=Pr_rotrSL(he,ce,14)^Pr_rotrSL(he,ce,18)^Pr_rotrBL(he,ce,41),Nr=he&pt^~he&Dt,qr=Pr_add5L(Ce,Er,ce&Gt^~ce&ne,qt[or],ue[or]),to=Pr_add5H(qr,Re,Cr,Nr,re[or],Pt[or]),xo=0|qr,So=Pr_rotrSH(Lr,Ur,28)^Pr_rotrBH(Lr,Ur,34)^Pr_rotrBH(Lr,Ur,39),po=Pr_rotrSL(Lr,Ur,28)^Pr_rotrBL(Lr,Ur,34)^Pr_rotrBL(Lr,Ur,39),io=Lr&ao^Lr&vo^ao&vo,Yn=Ur&no^Ur&Co^no&Co;Re=0|Dt,Ce=0|ne,Dt=0|pt,ne=0|Gt,pt=0|he,Gt=0|ce,({h:he,l:ce}=Pr_add(0|ro,0|zt,0|to,0|xo)),ro=0|vo,zt=0|Co,vo=0|ao,Co=0|no,ao=0|Lr,no=0|Ur;const Di=Pr_add3L(xo,po,Yn);Lr=Pr_add3H(Di,to,So,io),Ur=0|Di}({h:Lr,l:Ur}=Pr_add(0|this.Ah,0|this.Al,0|Lr,0|Ur)),({h:ao,l:no}=Pr_add(0|this.Bh,0|this.Bl,0|ao,0|no)),({h:vo,l:Co}=Pr_add(0|this.Ch,0|this.Cl,0|vo,0|Co)),({h:ro,l:zt}=Pr_add(0|this.Dh,0|this.Dl,0|ro,0|zt)),({h:he,l:ce}=Pr_add(0|this.Eh,0|this.El,0|he,0|ce)),({h:pt,l:Gt}=Pr_add(0|this.Fh,0|this.Fl,0|pt,0|Gt)),({h:Dt,l:ne}=Pr_add(0|this.Gh,0|this.Gl,0|Dt,0|ne)),({h:Re,l:Ce}=Pr_add(0|this.Hh,0|this.Hl,0|Re,0|Ce)),this.set(Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne,Re,Ce)}roundClean(){Pt.fill(0),ue.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const tr=Xe(()=>new mr);var ke=r(3813);const me=Oe=>"\u3042\u3044\u3053\u304f\u3057\u3093"===Oe[0];function Yt(Oe){if("string"!=typeof Oe)throw new TypeError("Invalid mnemonic type: "+typeof Oe);return Oe.normalize("NFKD")}function Ae(Oe){const Ke=Yt(Oe),Dr=Ke.split(" ");if(![12,15,18,21,24].includes(Dr.length))throw new Error("Invalid mnemonic");return{nfkd:Ke,words:Dr}}function ar(Oe){T.bytes(Oe,16,20,24,28,32)}function yr(Oe,Ke=128){if(T.number(Ke),Ke%32!=0||Ke>256)throw new TypeError("Invalid entropy");return function Yo(Oe,Ke){return ar(Oe),$n(Ke).encode(Oe).join(me(Ke)?"\u3000":" ")}(function wr(Oe=32){if(O&&"function"==typeof O.getRandomValues)return O.getRandomValues(new Uint8Array(Oe));throw new Error("crypto.getRandomValues must be defined")}(Ke/8),Oe)}const Eo=Oe=>{const Ke=8-Oe.length/4;return new Uint8Array([He(Oe)[0]>>Ke<{if("string"!=typeof Ke)throw new Error(`Wordlist: non-string element: ${Ke}`)}),ke.Wp.chain(ke.Wp.checksum(1,Eo),ke.Wp.radix2(11,!0),ke.Wp.alphabet(Oe))}function ni(Oe,Ke){try{!function Xn(Oe,Ke){const{words:Dr}=Ae(Oe),Lr=$n(Ke).decode(Dr);ar(Lr)}(Oe,Ke)}catch{return!1}return!0}const Fo=Oe=>Yt(`mnemonic${Oe}`);function ei(Oe,Ke=""){return function Nt(Oe,Ke,Dr,Lr){const{c:Ur,dkLen:ao,DK:no,PRF:vo,PRFSalt:Co}=function Le(Oe,Ke,Dr,Lr){k(Oe);const Ur=function oe(Oe,Ke){if(void 0!==Ke&&"[object Object]"!==Xt.call(Ke))throw new Error("Options should be object or undefined");return Object.assign(Oe,Ke)}({dkLen:32,asyncTick:10},Lr),{c:ao,dkLen:no,asyncTick:vo}=Ur;if(o(ao),o(no),o(vo),ao<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Co=yt(Ke),ro=yt(Dr),zt=new Uint8Array(no),he=xe.create(Oe,Co),ce=he._cloneInto().update(ro);return{c:ao,dkLen:no,asyncTick:vo,DK:zt,PRF:he,PRFSalt:ce}}(Oe,Ke,Dr,Lr);let ro;const zt=new Uint8Array(4),he=q(zt),ce=new Uint8Array(vo.outputLen);for(let pt=1,Gt=0;Gt{"use strict";r.d(a,{p:()=>o});const o="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},6568:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(4713),s=r(1860);const y=(0,o.A)(s.A,"Map")},7730:(i,a,r)=>{"use strict";r.d(a,{A:()=>Tt});var c=r(1319);const k=function y(It,ye){for(var ir=It.length;ir--;)if((0,c.A)(It[ir][0],ye))return ir;return-1};var I=Array.prototype.splice;function dt(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye-1},dt.prototype.set=function q(It,ye){var ir=this.__data__,Je=k(ir,It);return Je<0?(++this.size,ir.push([It,ye])):ir[Je][1]=ye,this};const tt=dt;var yt=r(6568);const Xt=(0,r(4713).A)(Object,"create");var xe=Object.prototype.hasOwnProperty;var Se=Object.prototype.hasOwnProperty;function ft(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye{"use strict";r.d(a,{A:()=>c});const c=r(1860).A.Symbol},6726:(i,a,r)=>{"use strict";r.d(a,{A:()=>L});var c=r(6513),y=r(3744),k=r(9377),A=r(8606),I=r(8885),T=Object.prototype.hasOwnProperty;const L=function O(Y,z){var q=(0,y.A)(Y),ct=!q&&(0,c.A)(Y),dt=!q&&!ct&&(0,k.A)(Y),tt=!q&&!ct&&!dt&&(0,I.A)(Y),vt=q||ct||dt||tt,Mt=vt?function o(Y,z){for(var q=-1,ct=Array(Y);++q{"use strict";r.d(a,{A:()=>A});var o=r(1827),s=r(1319),y=Object.prototype.hasOwnProperty;const A=function k(I,M,T){var O=I[M];(!y.call(I,M)||!(0,s.A)(O,T)||void 0===T&&!(M in I))&&(0,o.A)(I,M,T)}},1827:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(4746);const c=function s(y,k,A){"__proto__"==k&&o.A?(0,o.A)(y,k,{configurable:!0,enumerable:!0,value:A,writable:!0}):y[k]=A}},5281:(i,a,r)=>{"use strict";r.d(a,{A:()=>dt});var o=r(6944),s=Object.prototype,c=s.hasOwnProperty,y=s.toString,k=o.A?o.A.toStringTag:void 0;var T=Object.prototype.toString;var q=o.A?o.A.toStringTag:void 0;const dt=function ct(tt){return null==tt?void 0===tt?"[object Undefined]":"[object Null]":q&&q in Object(tt)?function A(tt){var vt=c.call(tt,k),Mt=tt[k];try{tt[k]=void 0;var $t=!0}catch{}var St=y.call(tt);return $t&&(vt?tt[k]=Mt:delete tt[k]),St}(tt):function O(tt){return T.call(tt)}(tt)}},778:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return function(y){return c(y)}}},9750:(i,a,r)=>{"use strict";r.d(a,{A:()=>k});const c=r(1860).A.Uint8Array,k=function y(A){var I=new A.constructor(A.byteLength);return new c(I).set(new c(A)),I}},9933:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(1860),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s?o.A.Buffer:void 0,A=k?k.allocUnsafe:void 0;const M=function I(T,O){if(O)return T.slice();var L=T.length,Y=A?A(L):new T.constructor(L);return T.copy(Y),Y}},4314:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(9750);const c=function s(y,k){var A=k?(0,o.A)(y.buffer):y.buffer;return new y.constructor(A,y.byteOffset,y.length)}},4528:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){var k=-1,A=c.length;for(y||(y=Array(A));++k{"use strict";r.d(a,{A:()=>y});var o=r(1984),s=r(1827);const y=function c(k,A,I,M){var T=!I;I||(I={});for(var O=-1,L=A.length;++O{"use strict";r.d(a,{A:()=>c});var o=r(4713);const c=function(){try{var y=(0,o.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},7133:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},4713:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var nt,o=r(129),c=r(1860).A["__core-js_shared__"],k=(nt=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+nt:"";var M=r(554),T=r(8736),L=/^\[object .+?Constructor\]$/,dt=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const vt=function tt(nt){return!(!(0,M.A)(nt)||function A(nt){return!!k&&k in nt}(nt))&&((0,o.A)(nt)?dt:L).test((0,T.A)(nt))},kt=function St(nt,at){var rt=function Mt(nt,at){return nt?.[at]}(nt,at);return vt(rt)?rt:void 0}},8010:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=(0,r(8992).A)(Object.getPrototypeOf,Object)},923:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(554),s=Object.create;const y=function(){function T(){}return function(O){if(!(0,o.A)(O))return{};if(s)return s(O);T.prototype=O;var L=new T;return T.prototype=void 0,L}}();var k=r(8010),A=r(5776);const M=function I(T){return"function"!=typeof T.constructor||(0,A.A)(T)?{}:y((0,k.A)(T))}},8606:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=/^(?:0|[1-9]\d*)$/;const y=function c(k,A){var I=typeof k;return!!(A=A??9007199254740991)&&("number"==I||"symbol"!=I&&s.test(k))&&k>-1&&k%1==0&&k{"use strict";r.d(a,{A:()=>c});var o=Object.prototype;const c=function s(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||o)}},3340:(i,a,r)=>{"use strict";r.d(a,{A:()=>I});var o=r(7133),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s&&o.A.process;const I=function(){try{return c&&c.require&&c.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},8992:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return function(k){return c(y(k))}}},1860:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(7133),s="object"==typeof self&&self&&self.Object===Object&&self;const y=o.A||s||Function("return this")()},8736:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=Function.prototype.toString;const y=function c(k){if(null!=k){try{return s.call(k)}catch{}try{return k+""}catch{}}return""}},1319:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return c===y||c!=c&&y!=y}},7680:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){for(var y=-1,k=null==c?0:c.length,A={};++y{"use strict";r.d(a,{A:()=>O});var o=r(5281),s=r(2661);const k=function y(L){return(0,s.A)(L)&&"[object Arguments]"==(0,o.A)(L)};var A=Object.prototype,I=A.hasOwnProperty,M=A.propertyIsEnumerable;const O=k(function(){return arguments}())?k:function(L){return(0,s.A)(L)&&I.call(L,"callee")&&!M.call(L,"callee")}},3744:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=Array.isArray},1287:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(129),s=r(5481);const y=function c(k){return null!=k&&(0,s.A)(k.length)&&!(0,o.A)(k)}},9377:(i,a,r)=>{"use strict";r.d(a,{A:()=>O});var o=r(1860),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,I=k&&k.exports===y?o.A.Buffer:void 0;const O=(I?I.isBuffer:void 0)||function s(){return!1}},129:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(5281),s=r(554);const M=function I(T){if(!(0,s.A)(T))return!1;var O=(0,o.A)(T);return"[object Function]"==O||"[object GeneratorFunction]"==O||"[object AsyncFunction]"==O||"[object Proxy]"==O}},5481:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=function s(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},554:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){var y=typeof c;return null!=c&&("object"==y||"function"==y)}},2661:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return null!=c&&"object"==typeof c}},8885:(i,a,r)=>{"use strict";r.d(a,{A:()=>Wr});var o=r(5281),s=r(5481),c=r(2661),Vt={};Vt["[object Float32Array]"]=Vt["[object Float64Array]"]=Vt["[object Int8Array]"]=Vt["[object Int16Array]"]=Vt["[object Int32Array]"]=Vt["[object Uint8Array]"]=Vt["[object Uint8ClampedArray]"]=Vt["[object Uint16Array]"]=Vt["[object Uint32Array]"]=!0,Vt["[object Arguments]"]=Vt["[object Array]"]=Vt["[object ArrayBuffer]"]=Vt["[object Boolean]"]=Vt["[object DataView]"]=Vt["[object Date]"]=Vt["[object Error]"]=Vt["[object Function]"]=Vt["[object Map]"]=Vt["[object Number]"]=Vt["[object Object]"]=Vt["[object RegExp]"]=Vt["[object Set]"]=Vt["[object String]"]=Vt["[object WeakMap]"]=!1;var Xe=r(778),kr=r(3340),gr=kr.A&&kr.A.isTypedArray;const Wr=gr?(0,Xe.A)(gr):function Xt(xe){return(0,c.A)(xe)&&(0,s.A)(xe.length)&&!!Vt[(0,o.A)(xe)]}},133:(i,a,r)=>{"use strict";r.d(a,{A:()=>Y});var o=r(6726),s=r(554),c=r(5776);var I=Object.prototype.hasOwnProperty;const T=function M(z){if(!(0,s.A)(z))return function y(z){var q=[];if(null!=z)for(var ct in Object(z))q.push(ct);return q}(z);var q=(0,c.A)(z),ct=[];for(var dt in z)"constructor"==dt&&(q||!I.call(z,dt))||ct.push(dt);return ct};var O=r(1287);const Y=function L(z){return(0,O.A)(z)?(0,o.A)(z,!0):T(z)}},2401:(i,a,r)=>{"use strict";r.d(a,{A:()=>ir});var o=r(7730),s=r(1827),c=r(1319);const k=function y(Je,er,Hr){(void 0!==Hr&&!(0,c.A)(Je[er],Hr)||void 0===Hr&&!(er in Je))&&(0,s.A)(Je,er,Hr)},T=function A(Je){return function(er,Hr,eo){for(var Bo=-1,fr=Object(er),Pr=eo(er),re=Pr.length;re--;){var qt=Pr[Je?re:++Bo];if(!1===Hr(fr[qt],qt,fr))break}return er}}();var O=r(9933),L=r(4314),Y=r(4528),z=r(923),q=r(6513),ct=r(3744),dt=r(1287),tt=r(2661);var $t=r(9377),St=r(129),kt=r(554),nt=r(5281),at=r(8010),Vt=Function.prototype.toString,Xt=Object.prototype.hasOwnProperty,oe=Vt.call(Object);var gr=r(8885);const Wr=function wr(Je,er){if(("constructor"!==er||"function"!=typeof Je[er])&&"__proto__"!=er)return Je[er]};var xe=r(7517),Le=r(133);const Rt=function Se(Je,er,Hr,eo,Bo,fr,Pr){var re=Wr(Je,Hr),qt=Wr(er,Hr),Pt=Pr.get(qt);if(Pt)k(Je,Hr,Pt);else{var ue=fr?fr(re,qt,Hr+"",Je,er,Pr):void 0,mr=void 0===ue;if(mr){var Qr=(0,ct.A)(qt),Ro=!Qr&&(0,$t.A)(qt),Wo=!Qr&&!Ro&&(0,gr.A)(qt);ue=qt,Qr||Ro||Wo?(0,ct.A)(re)?ue=re:function vt(Je){return(0,tt.A)(Je)&&(0,dt.A)(Je)}(re)?ue=(0,Y.A)(re):Ro?(mr=!1,ue=(0,O.A)(qt,!0)):Wo?(mr=!1,ue=(0,L.A)(qt,!0)):ue=[]:function Xe(Je){if(!(0,tt.A)(Je)||"[object Object]"!=(0,nt.A)(Je))return!1;var er=(0,at.A)(Je);if(null===er)return!0;var Hr=Xt.call(er,"constructor")&&er.constructor;return"function"==typeof Hr&&Hr instanceof Hr&&Vt.call(Hr)==oe}(qt)||(0,q.A)(qt)?(ue=re,(0,q.A)(re)?ue=function gt(Je){return(0,xe.A)(Je,(0,Le.A)(Je))}(re):(!(0,kt.A)(re)||(0,St.A)(re))&&(ue=(0,z.A)(qt))):mr=!1}mr&&(Pr.set(qt,ue),Bo(ue,qt,eo,fr,Pr),Pr.delete(qt)),k(Je,Hr,ue)}},jt=function de(Je,er,Hr,eo,Bo){Je!==er&&T(er,function(fr,Pr){if(Bo||(Bo=new o.A),(0,kt.A)(fr))Rt(Je,er,Pr,Hr,de,eo,Bo);else{var re=eo?eo(Wr(Je,Pr),fr,Pr+"",Je,er,Bo):void 0;void 0===re&&(re=fr),k(Je,Pr,re)}},Le.A)},Ye=function De(Je){return Je};var Ut=Math.max;const Ht=function He(Je){return function(){return Je}};var Me=r(4746),lr=Date.now;const Ie=function Lt(Je){var er=0,Hr=0;return function(){var eo=lr(),Bo=16-(eo-Hr);if(Hr=eo,Bo>0){if(++er>=800)return arguments[0]}else er=0;return Je.apply(void 0,arguments)}}(Me.A?function(Je,er){return(0,Me.A)(Je,"toString",{configurable:!0,enumerable:!1,value:Ht(er),writable:!0})}:Ye),mt=function br(Je,er){return Ie(function Ee(Je,er,Hr){return er=Ut(void 0===er?Je.length-1:er,0),function(){for(var eo=arguments,Bo=-1,fr=Ut(eo.length-er,0),Pr=Array(fr);++Bo1?Hr[Bo-1]:void 0,Pr=Bo>2?Hr[2]:void 0;for(fr=Je.length>3&&"function"==typeof fr?(Bo--,fr):void 0,Pr&&function Z(Je,er,Hr){if(!(0,kt.A)(Hr))return!1;var eo=typeof er;return!!("number"==eo?(0,dt.A)(Hr)&&(0,$.A)(er,Hr.length):"string"==eo&&er in Hr)&&(0,c.A)(Hr[er],Je)}(Hr[0],Hr[1],Pr)&&(fr=Bo<3?void 0:fr,Bo=1),er=Object(er);++eo{"use strict";r.d(a,{lo:()=>Xg,pC:()=>Gs,Bq:()=>xl,dq:()=>Hn,lG:()=>Ma,sh:()=>wh,Qe:()=>tp});var o={};r.r(o),r.d(o,{OG:()=>Z,My:()=>ie,Ph:()=>Pe,lX:()=>We,Id:()=>be,fg:()=>It,qj:()=>Lt,aT:()=>Me,lq:()=>Or,z:()=>ko,Q5:()=>ir});var s=r(467);function c(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function k(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}function I(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}const L="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,Y=v=>v instanceof Uint8Array,ct=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),dt=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function rt(v){if("string"==typeof v&&(v=function at(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!Y(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class Ct{clone(){return this._cloneInto()}}function oe(v){const _=j=>v().update(rt(j)).digest(),S=v();return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=()=>v(),_}function gr(v=32){if(L&&"function"==typeof L.getRandomValues)return L.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class Wr extends Ct{constructor(_,S,j,Q){super(),this.blockLen=_,this.outputLen=S,this.padOffset=j,this.isLE=Q,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ct(this.buffer)}update(_){I(this);const{view:S,buffer:j,blockLen:Q}=this,lt=(_=rt(_)).length;for(let At=0;AtQ-At&&(this.process(j,0),At=0);for(let Be=At;Be>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)})(j,Q-8,BigInt(8*this.length),lt),this.process(j,0);const Bt=ct(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Be=0;Bev&_^~v&S,Le=(v,_,S)=>v&_^v&S^_&S,gt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Nt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Se=new Uint32Array(64);class Rt extends Wr{constructor(){super(64,32,8,!1),this.A=0|Nt[0],this.B=0|Nt[1],this.C=0|Nt[2],this.D=0|Nt[3],this.E=0|Nt[4],this.F=0|Nt[5],this.G=0|Nt[6],this.H=0|Nt[7]}get(){const{A:_,B:S,C:j,D:Q,E:lt,F:At,G:Bt,H:Zt}=this;return[_,S,j,Q,lt,At,Bt,Zt]}set(_,S,j,Q,lt,At,Bt,Zt){this.A=0|_,this.B=0|S,this.C=0|j,this.D=0|Q,this.E=0|lt,this.F=0|At,this.G=0|Bt,this.H=0|Zt}process(_,S){for(let Be=0;Be<16;Be++,S+=4)Se[Be]=_.getUint32(S,!1);for(let Be=16;Be<64;Be++){const dr=Se[Be-15],vr=Se[Be-2],cr=dt(dr,7)^dt(dr,18)^dr>>>3,Qe=dt(vr,17)^dt(vr,19)^vr>>>10;Se[Be]=Qe+Se[Be-7]+cr+Se[Be-16]|0}let{A:j,B:Q,C:lt,D:At,E:Bt,F:Zt,G:ve,H:Ne}=this;for(let Be=0;Be<64;Be++){const vr=Ne+(dt(Bt,6)^dt(Bt,11)^dt(Bt,25))+xe(Bt,Zt,ve)+gt[Be]+Se[Be]|0,Qe=(dt(j,2)^dt(j,13)^dt(j,22))+Le(j,Q,lt)|0;Ne=ve,ve=Zt,Zt=Bt,Bt=At+vr|0,At=lt,lt=Q,Q=j,j=vr+Qe|0}j=j+this.A|0,Q=Q+this.B|0,lt=lt+this.C|0,At=At+this.D|0,Bt=Bt+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Q,lt,At,Bt,Zt,ve,Ne)}roundClean(){Se.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const jt=oe(()=>new Rt),ft=(BigInt(0),BigInt(1)),pe=BigInt(2),Ut=v=>v instanceof Uint8Array,Ee=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function ie(v){if(!Ut(v))throw new Error("Uint8Array expected");let _="";for(let S=0;Sj+Q.length,0));let S=0;return v.forEach(j=>{if(!Ut(j))throw new Error("Uint8Array expected");_.set(j,S),S+=j.length}),_}const Z=v=>(pe<new Uint8Array(v),Tt=v=>Uint8Array.from(v);function It(v,_,S){if("number"!=typeof v||v<2)throw new Error("hashLen must be a number");if("number"!=typeof _||_<2)throw new Error("qByteLen must be a number");if("function"!=typeof S)throw new Error("hmacFn must be a function");let j=it(v),Q=it(v),lt=0;const At=()=>{j.fill(1),Q.fill(0),lt=0},Bt=(...Be)=>S(Q,j,...Be),Zt=(Be=it())=>{Q=Bt(Tt([0]),Be),j=Bt(),0!==Be.length&&(Q=Bt(Tt([1]),Be),j=Bt())},ve=()=>{if(lt++>=1e3)throw new Error("drbg: tried 1000 values");let Be=0;const dr=[];for(;Be<_;){j=Bt();const vr=j.slice();dr.push(vr),Be+=j.length}return be(...dr)};return(Be,dr)=>{let vr;for(At(),Zt(Be);!(vr=dr(ve()));)Zt();return At(),vr}}const ye={bigint:v=>"bigint"==typeof v,function:v=>"function"==typeof v,boolean:v=>"boolean"==typeof v,string:v=>"string"==typeof v,stringOrUint8Array:v=>"string"==typeof v||v instanceof Uint8Array,isSafeInteger:v=>Number.isSafeInteger(v),array:v=>Array.isArray(v),field:(v,_)=>_.Fp.isValid(v),hash:v=>"function"==typeof v&&Number.isSafeInteger(v.outputLen)};function ir(v,_,S={}){const j=(Q,lt,At)=>{const Bt=ye[lt];if("function"!=typeof Bt)throw new Error(`Invalid validator "${lt}", expected function`);const Zt=v[Q];if(!(At&&void 0===Zt||Bt(Zt,v)))throw new Error(`Invalid param ${String(Q)}=${Zt} (${typeof Zt}), expected ${lt}`)};for(const[Q,lt]of Object.entries(_))j(Q,lt,!1);for(const[Q,lt]of Object.entries(S))j(Q,lt,!0);return v}const Je=BigInt(0),er=BigInt(1),Hr=BigInt(2),eo=BigInt(3),Bo=BigInt(4),fr=BigInt(5),Pr=BigInt(8);function Pt(v,_){const S=v%_;return S>=Je?S:_+S}function ue(v,_,S){if(S<=Je||_ 0");if(S===er)return Je;let j=er;for(;_>Je;)_&er&&(j=j*v%S),v=v*v%S,_>>=er;return j}function mr(v,_,S){let j=v;for(;_-- >Je;)j*=j,j%=S;return j}function Qr(v,_){if(v===Je||_<=Je)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let S=Pt(v,_),j=_,Q=Je,lt=er,At=er,Bt=Je;for(;S!==Je;){const ve=j/S,Ne=j%S,Be=Q-At*ve,dr=lt-Bt*ve;j=S,S=Ne,Q=At,lt=Bt,At=Be,Bt=dr}if(j!==er)throw new Error("invert: does not exist");return Pt(Q,_)}BigInt(9),BigInt(16);const $e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Ae(v,_){const S=void 0!==_?_:v.toString(2).length;return{nBitLength:S,nByteLength:Math.ceil(S/8)}}function Xn(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function Yo(v){const _=Xn(v);return _+Math.ceil(_/2)}class Fo extends Ct{constructor(_,S){super(),this.finished=!1,this.destroyed=!1,function A(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");c(v.outputLen),c(v.blockLen)}(_);const j=rt(S);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Q=this.blockLen,lt=new Uint8Array(Q);lt.set(j.length>Q?_.create().update(j).digest():j);for(let At=0;Atnew Fo(v,_).update(S).digest();pi.create=(v,_)=>new Fo(v,_);const ei=BigInt(0),Oe=BigInt(1);function Dr(v){return function _e(v){ir(v,$e.reduce((j,Q)=>(j[Q]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),ir(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Ae(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Ur,aT:ao}=o,no={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=no;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const S=v[1],j=v.subarray(2,S+2);if(!S||j.length!==S)throw new _("Invalid signature integer: wrong length");if(128&j[0])throw new _("Invalid signature integer: negative");if(0===j[0]&&!(128&j[1]))throw new _("Invalid signature integer: unnecessary leading zero");return{d:Ur(j),l:v.subarray(S+2)}},toSig(v){const{Err:_}=no,S="string"==typeof v?ao(v):v;if(!(S instanceof Uint8Array))throw new Error("ui8a expected");let j=S.length;if(j<2||48!=S[0])throw new _("Invalid signature tag");if(S[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:Q,l:lt}=no._parseInt(S.subarray(2)),{d:At,l:Bt}=no._parseInt(lt);if(Bt.length)throw new _("Invalid signature: left bytes after parsing");return{r:Q,s:At}},hexFromSig(v){const _=ve=>8&Number.parseInt(ve[0],16)?"00"+ve:ve,S=ve=>{const Ne=ve.toString(16);return 1&Ne.length?`0${Ne}`:Ne},j=_(S(v.s)),Q=_(S(v.r)),lt=j.length/2,At=Q.length/2,Bt=S(lt),Zt=S(At);return`30${S(At+lt+4)}02${Zt}${Q}02${Bt}${j}`}},vo=BigInt(0),Co=BigInt(1),zt=(BigInt(2),BigInt(3));function Gt(v){const _=function pt(v){const _=Dr(v);return ir(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:S,n:j}=_,Q=S.BYTES+1,lt=2*S.BYTES+1;function Bt(co){return Pt(co,j)}function Zt(co){return Qr(co,j)}const{ProjectivePoint:ve,normPrivateKeyToScalar:Ne,weierstrassEquation:Be,isWithinCurveOrder:dr}=function ce(v){const _=function Lr(v){const _=Dr(v);ir(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:S,Fp:j,a:Q}=_;if(S){if(!j.eql(Q,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof S||"bigint"!=typeof S.beta||"function"!=typeof S.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:S}=_,j=_.toBytes||((cr,Qe,rr)=>{const Sr=Qe.toAffine();return be(Uint8Array.from([4]),S.toBytes(Sr.x),S.toBytes(Sr.y))}),Q=_.fromBytes||(cr=>{const Qe=cr.subarray(1);return{x:S.fromBytes(Qe.subarray(0,S.BYTES)),y:S.fromBytes(Qe.subarray(S.BYTES,2*S.BYTES))}});function lt(cr){const{a:Qe,b:rr}=_,Sr=S.sqr(cr),Tr=S.mul(Sr,cr);return S.add(S.add(Tr,S.mul(cr,Qe)),rr)}if(!S.eql(S.sqr(_.Gy),lt(_.Gx)))throw new Error("bad generator point: equation left != right");function At(cr){return"bigint"==typeof cr&&voS.eql(oo,S.ZERO);return Tr(rr)&&Tr(Sr)?Be.ZERO:new Be(rr,Sr,S.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Qe){const rr=S.invertBatch(Qe.map(Sr=>Sr.pz));return Qe.map((Sr,Tr)=>Sr.toAffine(rr[Tr])).map(Be.fromAffine)}static fromHex(Qe){const rr=Be.fromAffine(Q(Lt("pointHex",Qe)));return rr.assertValidity(),rr}static fromPrivateKey(Qe){return Be.BASE.multiply(Zt(Qe))}_setWindowSize(Qe){this._WINDOW_SIZE=Qe,ve.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!S.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Qe,y:rr}=this.toAffine();if(!S.isValid(Qe)||!S.isValid(rr))throw new Error("bad point: x or y not FE");const Sr=S.sqr(rr),Tr=lt(Qe);if(!S.eql(Sr,Tr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Qe}=this.toAffine();if(S.isOdd)return!S.isOdd(Qe);throw new Error("Field doesn't support isOdd")}equals(Qe){Ne(Qe);const{px:rr,py:Sr,pz:Tr}=this,{px:oo,py:lo,pz:Ho}=Qe,_o=S.eql(S.mul(rr,Ho),S.mul(oo,Tr)),jo=S.eql(S.mul(Sr,Ho),S.mul(lo,Tr));return _o&&jo}negate(){return new Be(this.px,S.neg(this.py),this.pz)}double(){const{a:Qe,b:rr}=_,Sr=S.mul(rr,zt),{px:Tr,py:oo,pz:lo}=this;let Ho=S.ZERO,_o=S.ZERO,jo=S.ZERO,Go=S.mul(Tr,Tr),Dn=S.mul(oo,oo),dn=S.mul(lo,lo),sn=S.mul(Tr,oo);return sn=S.add(sn,sn),jo=S.mul(Tr,lo),jo=S.add(jo,jo),Ho=S.mul(Qe,jo),_o=S.mul(Sr,dn),_o=S.add(Ho,_o),Ho=S.sub(Dn,_o),_o=S.add(Dn,_o),_o=S.mul(Ho,_o),Ho=S.mul(sn,Ho),jo=S.mul(Sr,jo),dn=S.mul(Qe,dn),sn=S.sub(Go,dn),sn=S.mul(Qe,sn),sn=S.add(sn,jo),jo=S.add(Go,Go),Go=S.add(jo,Go),Go=S.add(Go,dn),Go=S.mul(Go,sn),_o=S.add(_o,Go),dn=S.mul(oo,lo),dn=S.add(dn,dn),Go=S.mul(dn,sn),Ho=S.sub(Ho,Go),jo=S.mul(dn,Dn),jo=S.add(jo,jo),jo=S.add(jo,jo),new Be(Ho,_o,jo)}add(Qe){Ne(Qe);const{px:rr,py:Sr,pz:Tr}=this,{px:oo,py:lo,pz:Ho}=Qe;let _o=S.ZERO,jo=S.ZERO,Go=S.ZERO;const Dn=_.a,dn=S.mul(_.b,zt);let sn=S.mul(rr,oo),Kn=S.mul(Sr,lo),Gn=S.mul(Tr,Ho),ti=S.add(rr,Sr),co=S.add(oo,lo);ti=S.mul(ti,co),co=S.add(sn,Kn),ti=S.sub(ti,co),co=S.add(rr,Tr);let wo=S.add(oo,Ho);return co=S.mul(co,wo),wo=S.add(sn,Gn),co=S.sub(co,wo),wo=S.add(Sr,Tr),_o=S.add(lo,Ho),wo=S.mul(wo,_o),_o=S.add(Kn,Gn),wo=S.sub(wo,_o),Go=S.mul(Dn,co),_o=S.mul(dn,Gn),Go=S.add(_o,Go),_o=S.sub(Kn,Go),Go=S.add(Kn,Go),jo=S.mul(_o,Go),Kn=S.add(sn,sn),Kn=S.add(Kn,sn),Gn=S.mul(Dn,Gn),co=S.mul(dn,co),Kn=S.add(Kn,Gn),Gn=S.sub(sn,Gn),Gn=S.mul(Dn,Gn),co=S.add(co,Gn),sn=S.mul(Kn,co),jo=S.add(jo,sn),sn=S.mul(wo,co),_o=S.mul(ti,_o),_o=S.sub(_o,sn),sn=S.mul(ti,Kn),Go=S.mul(wo,Go),Go=S.add(Go,sn),new Be(_o,jo,Go)}subtract(Qe){return this.add(Qe.negate())}is0(){return this.equals(Be.ZERO)}wNAF(Qe){return vr.wNAFCached(this,ve,Qe,rr=>{const Sr=S.invertBatch(rr.map(Tr=>Tr.pz));return rr.map((Tr,oo)=>Tr.toAffine(Sr[oo])).map(Be.fromAffine)})}multiplyUnsafe(Qe){const rr=Be.ZERO;if(Qe===vo)return rr;if(Bt(Qe),Qe===Co)return this;const{endo:Sr}=_;if(!Sr)return vr.unsafeLadder(this,Qe);let{k1neg:Tr,k1:oo,k2neg:lo,k2:Ho}=Sr.splitScalar(Qe),_o=rr,jo=rr,Go=this;for(;oo>vo||Ho>vo;)oo&Co&&(_o=_o.add(Go)),Ho&Co&&(jo=jo.add(Go)),Go=Go.double(),oo>>=Co,Ho>>=Co;return Tr&&(_o=_o.negate()),lo&&(jo=jo.negate()),jo=new Be(S.mul(jo.px,Sr.beta),jo.py,jo.pz),_o.add(jo)}multiply(Qe){Bt(Qe);let Sr,Tr,rr=Qe;const{endo:oo}=_;if(oo){const{k1neg:lo,k1:Ho,k2neg:_o,k2:jo}=oo.splitScalar(rr);let{p:Go,f:Dn}=this.wNAF(Ho),{p:dn,f:sn}=this.wNAF(jo);Go=vr.constTimeNegate(lo,Go),dn=vr.constTimeNegate(_o,dn),dn=new Be(S.mul(dn.px,oo.beta),dn.py,dn.pz),Sr=Go.add(dn),Tr=Dn.add(sn)}else{const{p:lo,f:Ho}=this.wNAF(rr);Sr=lo,Tr=Ho}return Be.normalizeZ([Sr,Tr])[0]}multiplyAndAddUnsafe(Qe,rr,Sr){const Tr=Be.BASE,oo=(Ho,_o)=>_o!==vo&&_o!==Co&&Ho.equals(Tr)?Ho.multiply(_o):Ho.multiplyUnsafe(_o),lo=oo(this,rr).add(oo(Qe,Sr));return lo.is0()?void 0:lo}toAffine(Qe){const{px:rr,py:Sr,pz:Tr}=this,oo=this.is0();null==Qe&&(Qe=oo?S.ONE:S.inv(Tr));const lo=S.mul(rr,Qe),Ho=S.mul(Sr,Qe),_o=S.mul(Tr,Qe);if(oo)return{x:S.ZERO,y:S.ZERO};if(!S.eql(_o,S.ONE))throw new Error("invZ was invalid");return{x:lo,y:Ho}}isTorsionFree(){const{h:Qe,isTorsionFree:rr}=_;if(Qe===Co)return!0;if(rr)return rr(Be,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Qe,clearCofactor:rr}=_;return Qe===Co?this:rr?rr(Be,this):this.multiplyUnsafe(_.h)}toRawBytes(Qe=!0){return this.assertValidity(),j(Be,this,Qe)}toHex(Qe=!0){return ie(this.toRawBytes(Qe))}}Be.BASE=new Be(_.Gx,_.Gy,S.ONE),Be.ZERO=new Be(S.ZERO,S.ONE,S.ZERO);const dr=_.nBitLength,vr=function Ke(v,_){const S=(Q,lt)=>{const At=lt.negate();return Q?At:lt},j=Q=>({windows:Math.ceil(_/Q)+1,windowSize:2**(Q-1)});return{constTimeNegate:S,unsafeLadder(Q,lt){let At=v.ZERO,Bt=Q;for(;lt>ei;)lt&Oe&&(At=At.add(Bt)),Bt=Bt.double(),lt>>=Oe;return At},precomputeWindow(Q,lt){const{windows:At,windowSize:Bt}=j(lt),Zt=[];let ve=Q,Ne=ve;for(let Be=0;Be>=vr,rr>Zt&&(rr-=dr,At+=Oe);const Sr=Qe,Tr=Qe+Math.abs(rr)-1,lo=rr<0;0===rr?Ne=Ne.add(S(cr%2!=0,lt[Sr])):ve=ve.add(S(lo,lt[Tr]))}return{p:ve,f:Ne}},wNAFCached(Q,lt,At,Bt){const Zt=Q._WINDOW_SIZE||1;let ve=lt.get(Q);return ve||(ve=this.precomputeWindow(Q,Zt),1!==Zt&<.set(Q,Bt(ve))),this.wNAF(Zt,ve,At)}}}(Be,_.endo?Math.ceil(dr/2):dr);return{CURVE:_,ProjectivePoint:Be,normPrivateKeyToScalar:Zt,weierstrassEquation:lt,isWithinCurveOrder:At}}({..._,toBytes(co,wo,Zo){const an=wo.toAffine(),Ao=S.toBytes(an.x),Sn=be;return Zo?Sn(Uint8Array.from([wo.hasEvenY()?2:3]),Ao):Sn(Uint8Array.from([4]),Ao,S.toBytes(an.y))},fromBytes(co){const wo=co.length,Zo=co[0],an=co.subarray(1);if(wo!==Q||2!==Zo&&3!==Zo){if(wo===lt&&4===Zo)return{x:S.fromBytes(an.subarray(0,S.BYTES)),y:S.fromBytes(an.subarray(S.BYTES,2*S.BYTES))};throw new Error(`Point of length ${wo} was invalid. Expected ${Q} compressed bytes or ${lt} uncompressed bytes`)}{const Ao=Pe(an);if(!function At(co){return voie(Or(co,_.nByteLength));function cr(co){return co>j>>Co}const rr=(co,wo,Zo)=>Pe(co.slice(wo,Zo));class Sr{constructor(wo,Zo,an){this.r=wo,this.s=Zo,this.recovery=an,this.assertValidity()}static fromCompact(wo){const Zo=_.nByteLength;return wo=Lt("compactSignature",wo,2*Zo),new Sr(rr(wo,0,Zo),rr(wo,Zo,2*Zo))}static fromDER(wo){const{r:Zo,s:an}=no.toSig(Lt("DER",wo));return new Sr(Zo,an)}assertValidity(){if(!dr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!dr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(wo){return new Sr(this.r,this.s,wo)}recoverPublicKey(wo){const{r:Zo,s:an,recovery:Ao}=this,Sn=jo(Lt("msgHash",wo));if(null==Ao||![0,1,2,3].includes(Ao))throw new Error("recovery id invalid");const Un=2===Ao||3===Ao?Zo+_.n:Zo;if(Un>=S.ORDER)throw new Error("recovery id 2 or 3 invalid");const Yi=ve.fromHex((1&Ao?"03":"02")+vr(Un)),Ja=Zt(Un),as=Bt(-Sn*Ja),ss=Bt(an*Ja),Ra=ve.BASE.multiplyAndAddUnsafe(Yi,as,ss);if(!Ra)throw new Error("point at infinify");return Ra.assertValidity(),Ra}hasHighS(){return cr(this.s)}normalizeS(){return this.hasHighS()?new Sr(this.r,Bt(-this.s),this.recovery):this}toDERRawBytes(){return Me(this.toDERHex())}toDERHex(){return no.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Me(this.toCompactHex())}toCompactHex(){return vr(this.r)+vr(this.s)}}const Tr={isValidPrivateKey(co){try{return Ne(co),!0}catch{return!1}},normPrivateKeyToScalar:Ne,randomPrivateKey:()=>{const co=Yo(_.n);return function ni(v,_,S=!1){const j=v.length,Q=Xn(_),lt=Yo(_);if(j<16||j1024)throw new Error(`expected ${lt}-1024 bytes of input, got ${j}`);const Bt=Pt(S?Pe(v):We(v),_-er)+er;return S?ko(Bt,Q):Or(Bt,Q)}(_.randomBytes(co),_.n)},precompute:(co=8,wo=ve.BASE)=>(wo._setWindowSize(co),wo.multiply(BigInt(3)),wo)};function lo(co){const wo=co instanceof Uint8Array,Zo="string"==typeof co,an=(wo||Zo)&&co.length;return wo?an===Q||an===lt:Zo?an===2*Q||an===2*lt:co instanceof ve}const _o=_.bits2int||function(co){const wo=Pe(co),Zo=8*co.length-_.nBitLength;return Zo>0?wo>>BigInt(Zo):wo},jo=_.bits2int_modN||function(co){return Bt(_o(co))},Go=Z(_.nBitLength);function Dn(co){if("bigint"!=typeof co)throw new Error("bigint expected");if(!(vo<=co&&coxa in Zo))throw new Error("sign() legacy options not supported");const{hash:an,randomBytes:Ao}=_;let{lowS:Sn,prehash:Un,extraEntropy:Pn}=Zo;null==Sn&&(Sn=!0),co=Lt("msgHash",co),Un&&(co=Lt("prehashed msgHash",an(co)));const Yi=jo(co),Ja=Ne(wo),as=[Dn(Ja),Dn(Yi)];if(null!=Pn){const xa=!0===Pn?Ao(S.BYTES):Pn;as.push(Lt("extraEntropy",xa))}const ss=be(...as),Ra=Yi;return{seed:ss,k2sig:function Ic(xa){const hc=_o(xa);if(!dr(hc))return;const $h=Zt(hc),Js=ve.BASE.multiply(hc).toAffine(),Xc=Bt(Js.x);if(Xc===vo)return;const Na=Bt($h*Bt(Ra+Xc*Ja));if(Na===vo)return;let vu=(Js.x===Xc?0:2)|Number(Js.y&Co),xu=Na;return Sn&&cr(Na)&&(xu=function Qe(co){return cr(co)?Bt(-co):co}(Na),vu^=1),new Sr(Xc,xu,vu)}}}(co,wo,Zo);return It(_.hash.outputLen,_.nByteLength,_.hmac)(an,Ao)},verify:function ti(co,wo,Zo,an=Kn){const Ao=co;if(wo=Lt("msgHash",wo),Zo=Lt("publicKey",Zo),"strict"in an)throw new Error("options.strict was renamed to lowS");const{lowS:Sn,prehash:Un}=an;let Pn,Yi;try{if("string"==typeof Ao||Ao instanceof Uint8Array)try{Pn=Sr.fromDER(Ao)}catch(Js){if(!(Js instanceof no.Err))throw Js;Pn=Sr.fromCompact(Ao)}else{if("object"!=typeof Ao||"bigint"!=typeof Ao.r||"bigint"!=typeof Ao.s)throw new Error("PARSE");{const{r:Js,s:Xc}=Ao;Pn=new Sr(Js,Xc)}}Yi=ve.fromHex(Zo)}catch(Js){if("PARSE"===Js.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Sn&&Pn.hasHighS())return!1;Un&&(wo=_.hash(wo));const{r:Ja,s:as}=Pn,ss=jo(wo),Ra=Zt(as),Ic=Bt(ss*Ra),xa=Bt(Ja*Ra),hc=ve.BASE.multiplyAndAddUnsafe(Yi,Ic,xa)?.toAffine();return!!hc&&Bt(hc.x)===Ja},ProjectivePoint:ve,Signature:Sr,utils:Tr}}function Re(v){return{hash:v,hmac:(_,...S)=>pi(v,_,function yt(...v){const _=new Uint8Array(v.reduce((j,Q)=>j+Q.length,0));let S=0;return v.forEach(j=>{if(!Y(j))throw new Error("Uint8Array expected");_.set(j,S),S+=j.length}),_}(...S)),randomBytes:gr}}BigInt(4);const or=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Cr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Er=BigInt(1),Nr=BigInt(2),Fr=(v,_)=>(v+_/Nr)/_;function qr(v){const _=or,S=BigInt(3),j=BigInt(6),Q=BigInt(11),lt=BigInt(22),At=BigInt(23),Bt=BigInt(44),Zt=BigInt(88),ve=v*v*v%_,Ne=ve*ve*v%_,Be=mr(Ne,S,_)*Ne%_,dr=mr(Be,S,_)*Ne%_,vr=mr(dr,Nr,_)*ve%_,cr=mr(vr,Q,_)*vr%_,Qe=mr(cr,lt,_)*cr%_,rr=mr(Qe,Bt,_)*Qe%_,Sr=mr(rr,Zt,_)*rr%_,Tr=mr(Sr,Bt,_)*Qe%_,oo=mr(Tr,S,_)*Ne%_,lo=mr(oo,At,_)*cr%_,Ho=mr(lo,j,_)*ve%_,_o=mr(Ho,Nr,_);if(!to.eql(to.sqr(_o),v))throw new Error("Cannot find square root");return _o}const to=function ar(v,_,S=!1,j={}){if(v<=Je)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:Q,nByteLength:lt}=Ae(v,_);if(lt>2048)throw new Error("Field lengths over 2048 bytes are not supported");const At=function Wo(v){if(v%Bo===eo){const _=(v+er)/Bo;return function(j,Q){const lt=j.pow(Q,_);if(!j.eql(j.sqr(lt),Q))throw new Error("Cannot find square root");return lt}}if(v%Pr===fr){const _=(v-fr)/Pr;return function(j,Q){const lt=j.mul(Q,Hr),At=j.pow(lt,_),Bt=j.mul(Q,At),Zt=j.mul(j.mul(Bt,Hr),At),ve=j.mul(Bt,j.sub(Zt,j.ONE));if(!j.eql(j.sqr(ve),Q))throw new Error("Cannot find square root");return ve}}return function Ro(v){const _=(v-er)/Hr;let S,j,Q;for(S=v-er,j=0;S%Hr===Je;S/=Hr,j++);for(Q=Hr;QPt(Zt,v),isValid:Zt=>{if("bigint"!=typeof Zt)throw new Error("Invalid field element: expected bigint, got "+typeof Zt);return Je<=Zt&&ZtZt===Je,isOdd:Zt=>(Zt&er)===er,neg:Zt=>Pt(-Zt,v),eql:(Zt,ve)=>Zt===ve,sqr:Zt=>Pt(Zt*Zt,v),add:(Zt,ve)=>Pt(Zt+ve,v),sub:(Zt,ve)=>Pt(Zt-ve,v),mul:(Zt,ve)=>Pt(Zt*ve,v),pow:(Zt,ve)=>function qe(v,_,S){if(S 0");if(S===Je)return v.ONE;if(S===er)return _;let j=v.ONE,Q=_;for(;S>Je;)S&er&&(j=v.mul(j,Q)),Q=v.sqr(Q),S>>=er;return j}(Bt,Zt,ve),div:(Zt,ve)=>Pt(Zt*Qr(ve,v),v),sqrN:Zt=>Zt*Zt,addN:(Zt,ve)=>Zt+ve,subN:(Zt,ve)=>Zt-ve,mulN:(Zt,ve)=>Zt*ve,inv:Zt=>Qr(Zt,v),sqrt:j.sqrt||(Zt=>At(Bt,Zt)),invertBatch:Zt=>function ke(v,_){const S=new Array(_.length),j=_.reduce((lt,At,Bt)=>v.is0(At)?lt:(S[Bt]=lt,v.mul(lt,At)),v.ONE),Q=v.inv(j);return _.reduceRight((lt,At,Bt)=>v.is0(At)?lt:(S[Bt]=v.mul(lt,S[Bt]),v.mul(lt,At)),Q),S}(Bt,Zt),cmov:(Zt,ve,Ne)=>Ne?ve:Zt,toBytes:Zt=>S?ko(Zt,lt):Or(Zt,lt),fromBytes:Zt=>{if(Zt.length!==lt)throw new Error(`Fp.fromBytes: expected ${lt}, got ${Zt.length}`);return S?We(Zt):Pe(Zt)}});return Object.freeze(Bt)}(or,void 0,void 0,{sqrt:qr}),xo=function Ce(v,_){const S=j=>Gt({...v,...Re(j)});return Object.freeze({...S(_),create:S})}({a:BigInt(0),b:BigInt(7),Fp:to,n:Cr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Cr,S=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-Er*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Q=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),lt=S,At=BigInt("0x100000000000000000000000000000000"),Bt=Fr(lt*v,_),Zt=Fr(-j*v,_);let ve=Pt(v-Bt*S-Zt*Q,_),Ne=Pt(-Bt*j-Zt*lt,_);const Be=ve>At,dr=Ne>At;if(Be&&(ve=_-ve),dr&&(Ne=_-Ne),ve>At||Ne>At)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Be,k1:ve,k2neg:dr,k2:Ne}}}},jt),So=BigInt(0),po=v=>"bigint"==typeof v&&SoQ.charCodeAt(0)));S=be(j,j),Yn[v]=S}return jt(be(S,..._))}const jn=v=>v.toRawBytes(!0).slice(1),Uo=v=>Or(v,32),Fn=v=>Pt(v,or),zi=v=>Pt(v,Cr),nn=xo.ProjectivePoint;function Tn(v){let _=xo.utils.normPrivateKeyToScalar(v),S=nn.fromPrivateKey(_);return{scalar:S.hasEvenY()?_:zi(-_),bytes:jn(S)}}function vi(v){if(!po(v))throw new Error("bad x: need 0 < x < p");const _=Fn(v*v);let j=qr(Fn(_*v+BigInt(7)));j%Nr!==So&&(j=Fn(-j));const Q=new nn(v,j,Er);return Q.assertValidity(),Q}function us(...v){return zi(Pe(Di("BIP0340/challenge",...v)))}function Ai(v,_,S){const j=Lt("signature",v,64),Q=Lt("message",_),lt=Lt("publicKey",S,32);try{const At=vi(Pe(lt)),Bt=Pe(j.subarray(0,32));if(!po(Bt))return!1;const Zt=Pe(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&Sonn.BASE.multiplyAndAddUnsafe(v,_,S))(At,Zt,zi(-ve));return!(!Ne||!Ne.hasEvenY()||Ne.toAffine().x!==Bt)}catch{return!1}}const Zi={getPublicKey:function da(v){return Tn(v).bytes},sign:function ka(v,_,S=gr(32)){const j=Lt("message",v),{bytes:Q,scalar:lt}=Tn(_),At=Lt("auxRand",S,32),Bt=Uo(lt^Pe(Di("BIP0340/aux",At))),Zt=Di("BIP0340/nonce",Bt,Q,j),ve=zi(Pe(Zt));if(ve===So)throw new Error("sign failed: k is zero");const{bytes:Ne,scalar:Be}=Tn(ve),dr=us(Ne,Q,j),vr=new Uint8Array(64);if(vr.set(Ne,0),vr.set(Uo(zi(Be+dr*lt)),32),!Ai(vr,j,Q))throw new Error("sign: Invalid signature produced");return vr},verify:Ai,utils:{randomPrivateKey:xo.utils.randomPrivateKey,lift_x:vi,pointToBytes:jn,numberToBytesBE:Or,bytesToNumberBE:Pe,taggedHash:Di,mod:Pt}};var Ko=r(6391);function pa(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function qn(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}const ii={number:pa,bool:function Qn(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:qn,hash:function Nn(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");pa(v.outputLen),pa(v.blockLen)},exists:function ma(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")},output:function Vo(v,_){qn(v);const S=_.outputLen;if(v.lengthQ-At&&(this.process(j,0),At=0);for(let Be=At;Be>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)})(j,Q-8,BigInt(8*this.length),lt),this.process(j,0);const Bt=(0,Ko.O8)(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Be=0;Bev&_^~v&S,ba=(v,_,S)=>v&_^v&S^_&S,za=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),hi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Jo=new Uint32Array(64);class On extends Qi{constructor(){super(64,32,8,!1),this.A=0|hi[0],this.B=0|hi[1],this.C=0|hi[2],this.D=0|hi[3],this.E=0|hi[4],this.F=0|hi[5],this.G=0|hi[6],this.H=0|hi[7]}get(){const{A:_,B:S,C:j,D:Q,E:lt,F:At,G:Bt,H:Zt}=this;return[_,S,j,Q,lt,At,Bt,Zt]}set(_,S,j,Q,lt,At,Bt,Zt){this.A=0|_,this.B=0|S,this.C=0|j,this.D=0|Q,this.E=0|lt,this.F=0|At,this.G=0|Bt,this.H=0|Zt}process(_,S){for(let Be=0;Be<16;Be++,S+=4)Jo[Be]=_.getUint32(S,!1);for(let Be=16;Be<64;Be++){const dr=Jo[Be-15],vr=Jo[Be-2],cr=(0,Ko.Ow)(dr,7)^(0,Ko.Ow)(dr,18)^dr>>>3,Qe=(0,Ko.Ow)(vr,17)^(0,Ko.Ow)(vr,19)^vr>>>10;Jo[Be]=Qe+Jo[Be-7]+cr+Jo[Be-16]|0}let{A:j,B:Q,C:lt,D:At,E:Bt,F:Zt,G:ve,H:Ne}=this;for(let Be=0;Be<64;Be++){const vr=Ne+((0,Ko.Ow)(Bt,6)^(0,Ko.Ow)(Bt,11)^(0,Ko.Ow)(Bt,25))+ps(Bt,Zt,ve)+za[Be]+Jo[Be]|0,Qe=((0,Ko.Ow)(j,2)^(0,Ko.Ow)(j,13)^(0,Ko.Ow)(j,22))+ba(j,Q,lt)|0;Ne=ve,ve=Zt,Zt=Bt,Bt=At+vr|0,At=lt,lt=Q,Q=j,j=vr+Qe|0}j=j+this.A|0,Q=Q+this.B|0,lt=lt+this.C|0,At=At+this.D|0,Bt=Bt+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Q,lt,At,Bt,Zt,ve,Ne)}roundClean(){Jo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ia extends On{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const bi=(0,Ko.ld)(()=>new On);function Vn(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function xi(...v){const _=(Q,lt)=>At=>Q(lt(At));return{encode:Array.from(v).reverse().reduce((Q,lt)=>Q?_(Q,lt.encode):lt.encode,void 0),decode:v.reduce((Q,lt)=>Q?_(Q,lt.decode):lt.decode,void 0)}}function ci(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(S=>{if(Vn(S),S<0||S>=v.length)throw new Error(`Digit index outside alphabet: ${S} (alphabet: ${v.length})`);return v[S]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(S=>{if("string"!=typeof S)throw new Error(`alphabet.decode: not string element=${S}`);const j=v.indexOf(S);if(-1===j)throw new Error(`Unknown letter: "${S}". Allowed: ${v}`);return j})}}}function Ui(v=""){if("string"!=typeof v)throw new Error("join separator should be string");return{encode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("join.encode input should be array of strings");for(let S of _)if("string"!=typeof S)throw new Error(`join.encode: non-string input=${S}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function Jn(v,_="="){if(Vn(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(S){if(!Array.isArray(S)||S.length&&"string"!=typeof S[0])throw new Error("padding.encode input should be array of strings");for(let j of S)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;S.length*v%8;)S.push(_);return S},decode(S){if(!Array.isArray(S)||S.length&&"string"!=typeof S[0])throw new Error("padding.encode input should be array of strings");for(let Q of S)if("string"!=typeof Q)throw new Error(`padding.decode: non-string input=${Q}`);let j=S.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&S[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return S.slice(0,j)}}}function aa(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Ni(v,_,S){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(S<2)throw new Error(`convertRadix: wrong to=${S}, base cannot be less than 2`);if(!Array.isArray(v))throw new Error("convertRadix: data should be array");if(!v.length)return[];let j=0;const Q=[],lt=Array.from(v);for(lt.forEach(At=>{if(Vn(At),At<0||At>=_)throw new Error(`Wrong integer: ${At}`)});;){let At=0,Bt=!0;for(let Zt=j;Ztnew ia);const wa=(v,_)=>_?wa(_,v%_):v,rs=(v,_)=>v+(_-wa(v,_));function _i(v,_,S,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(S<=0||S>32)throw new Error(`convertRadix2: wrong to=${S}`);if(rs(_,S)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${S} carryBits=${rs(_,S)}`);let Q=0,lt=0;const At=2**S-1,Bt=[];for(const Zt of v){if(Vn(Zt),Zt>=2**_)throw new Error(`convertRadix2: invalid data word=${Zt} from=${_}`);if(Q=Q<<_|Zt,lt+_>32)throw new Error(`convertRadix2: carry overflow pos=${lt} from=${_}`);for(lt+=_;lt>=S;lt-=S)Bt.push((Q>>lt-S&At)>>>0);Q&=2**lt-1}if(Q=Q<=_)throw new Error("Excess padding");if(!j&&Q)throw new Error(`Non-zero padding: ${Q}`);return j&<>0&&Bt.push(Q>>>0),Bt}function G(v,_=!1){if(Vn(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(rs(8,v)>32||rs(v,8)>32)throw new Error("radix2: carry overflow");return{encode:S=>{if(!(S instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return _i(Array.from(S),8,v,!_)},decode:S=>{if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(_i(S,v,8,_))}}}function Qt(v){if("function"!=typeof v)throw new Error("unsafeWrapper fn should be function");return function(..._){try{return v.apply(null,_)}catch{}}}xi(G(4),ci("0123456789ABCDEF"),Ui("")),xi(G(5),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Jn(5),Ui(""));const so=(xi(G(5),ci("0123456789ABCDEFGHIJKLMNOPQRSTUV"),Jn(5),Ui("")),xi(G(5),ci("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),Ui(""),aa(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Jn(6),Ui(""))),bn=(xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),Jn(6),Ui("")),v=>xi(function os(v){return Vn(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Ni(Array.from(_),256,v)},decode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(Ni(_,v,256))}}}(58),ci(v),Ui(""))),qi=(bn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),bn("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),bn("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),xi(ci("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),Ui(""))),ri=[996825010,642813549,513874426,1027748829,705979059];function Ki(v){const _=v>>25;let S=(33554431&v)<<5;for(let j=0;j>j&1)&&(S^=ri[j]);return S}function zn(v,_,S=1){const j=v.length;let Q=1;for(let lt=0;lt126)throw new Error(`Invalid prefix (${v})`);Q=Ki(Q)^At>>5}Q=Ki(Q);for(let lt=0;ltBe)throw new TypeError(`Wrong string length: ${Ne.length} (${Ne}). Expected (8..${Be})`);const dr=Ne.toLowerCase();if(Ne!==dr&&Ne!==Ne.toUpperCase())throw new Error("String must be lowercase or uppercase");const vr=(Ne=dr).lastIndexOf("1");if(0===vr||-1===vr)throw new Error('Letter "1" must be present between prefix and data only');const cr=Ne.slice(0,vr),Qe=Ne.slice(vr+1);if(Qe.length<6)throw new Error("Data must be at least 6 characters long");const rr=qi.decode(Qe).slice(0,-6),Sr=zn(cr,rr,_);if(!Qe.endsWith(Sr))throw new Error(`Invalid checksum in ${Ne}: expected "${Sr}"`);return{prefix:cr,words:rr}}return{encode:function At(Ne,Be,dr=90){if("string"!=typeof Ne)throw new Error("bech32.encode prefix should be string, not "+typeof Ne);if(!Array.isArray(Be)||Be.length&&"number"!=typeof Be[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Be);const vr=Ne.length+7+Be.length;if(!1!==dr&&vr>dr)throw new TypeError(`Length ${vr} exceeds limit ${dr}`);return`${Ne=Ne.toLowerCase()}1${qi.encode(Be)}${zn(Ne,Be,_)}`},decode:Bt,decodeToBytes:function ve(Ne){const{prefix:Be,words:dr}=Bt(Ne,!1);return{prefix:Be,words:dr,bytes:j(dr)}},decodeUnsafe:Qt(Bt),fromWords:j,fromWordsUnsafe:lt,toWords:Q}}const st=Gi("bech32");function Ls(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function Ps(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function Wa(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function yn(v,..._){if(!Wa(v))throw new Error("Uint8Array expected");if(_.length>0&&!_.includes(v.length))throw new Error(`Uint8Array expected of length ${_}, not of length=${v.length}`)}function Ea(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}function hs(v,_){yn(v);const S=_.outputLen;if(v.length{if("string"!=typeof v||v.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof v} with length ${v.length}`);return v.toLowerCase()}));const on=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),Ji=v=>new DataView(v.buffer,v.byteOffset,v.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Ka(v){if("string"==typeof v)v=function kc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!Wa(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function Ca(v,_){if(v.length!==_.length)return!1;let S=0;for(let j=0;j(Object.assign(_,v),_);function ta(v,_,S,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,S,j);const Q=BigInt(32),lt=BigInt(4294967295),At=Number(S>>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)}const Ts=new Uint8Array(16),ai=on(Ts),Ms=(v,_,S,j)=>({s3:S<<31|j>>>1,s2:_<<31|S>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),Da=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class gs{constructor(_,S){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,yn(_=Ka(_),16);const j=Ji(_);let Q=j.getUint32(0,!1),lt=j.getUint32(4,!1),At=j.getUint32(8,!1),Bt=j.getUint32(12,!1);const Zt=[];for(let cr=0;cr<128;cr++)Zt.push({s0:Da(Q),s1:Da(lt),s2:Da(At),s3:Da(Bt)}),({s0:Q,s1:lt,s2:At,s3:Bt}=Ms(Q,lt,At,Bt));const ve=(v=S||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(ve))throw new Error(`ghash: wrong window size=${ve}, should be 2, 4 or 8`);this.W=ve;const Be=128/ve,dr=this.windowSize=2**ve,vr=[];for(let cr=0;cr>>ve-lo-1&1))continue;const{s0:_o,s1:jo,s2:Go,s3:Dn}=Zt[ve*cr+lo];rr^=_o,Sr^=jo,Tr^=Go,oo^=Dn}vr.push({s0:rr,s1:Sr,s2:Tr,s3:oo})}this.t=vr}_updateBlock(_,S,j,Q){_^=this.s0,S^=this.s1,j^=this.s2,Q^=this.s3;const{W:lt,t:At,windowSize:Bt}=this;let Zt=0,ve=0,Ne=0,Be=0;const dr=(1<>>8*Qe&255;for(let Sr=8/lt-1;Sr>=0;Sr--){const Tr=rr>>>lt*Sr&dr,{s0:oo,s1:lo,s2:Ho,s3:_o}=At[vr*Bt+Tr];Zt^=oo,ve^=lo,Ne^=Ho,Be^=_o,vr+=1}}this.s0=Zt,this.s1=ve,this.s2=Ne,this.s3=Be}update(_){_=Ka(_),Ea(this);const S=on(_),j=Math.floor(_.length/16),Q=_.length%16;for(let lt=0;lt>>1|S,S=(1&Q)<<7}return v[0]^=225&-_,v}((_=Ka(_)).slice());super(j,S),j.fill(0)}update(_){_=Ka(_),Ea(this);const S=on(_),j=_.length%16,Q=Math.floor(_.length/16);for(let lt=0;ltv(Q,j.length).update(Ka(j)).digest(),S=v(new Uint8Array(16),0);return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=(j,Q)=>v(j,Q),_}fs((v,_)=>new gs(v,_)),fs((v,_)=>new gi(v,_)),new Uint8Array(16);const ac=283;function Ec(v){return v<<1^ac&-(v>>7)}function B(v,_){let S=0;for(;_>0;_>>=1)S^=v&-(1&_),v=Ec(v);return S}const Et=(()=>{let v=new Uint8Array(256);for(let S=0,j=1;S<256;S++,j^=Ec(j))v[S]=j;const _=new Uint8Array(256);_[0]=99;for(let S=0;S<255;S++){let j=v[255-S];j|=j<<8,_[v[S]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),x=Et.map((v,_)=>Et.indexOf(_)),C=v=>v<<24|v>>>8,F=v=>v<<8|v>>>24;function ht(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const S=new Uint32Array(256).map((ve,Ne)=>_(v[Ne])),j=S.map(F),Q=j.map(F),lt=Q.map(F),At=new Uint32Array(65536),Bt=new Uint32Array(65536),Zt=new Uint16Array(65536);for(let ve=0;ve<256;ve++)for(let Ne=0;Ne<256;Ne++){const Be=256*ve+Ne;At[Be]=S[ve]^j[Ne],Bt[Be]=Q[ve]^lt[Ne],Zt[Be]=v[ve]<<8|v[Ne]}return{sbox:v,sbox2:Zt,T0:S,T1:j,T2:Q,T3:lt,T01:At,T23:Bt}}const Ot=ht(Et,v=>B(v,3)<<24|v<<16|v<<8|B(v,2)),ae=ht(x,v=>B(v,11)<<24|B(v,13)<<16|B(v,9)<<8|B(v,14)),Ue=(()=>{const v=new Uint8Array(16);for(let _=0,S=1;_<16;_++,S=Ec(S))v[_]=S;return v})();function Ve(v){yn(v);const _=v.length;if(![16,24,32].includes(_))throw new Error(`aes: wrong key size: should be 16, 24 or 32, got: ${_}`);const{sbox2:S}=Ot,j=on(v),Q=j.length,lt=Bt=>Ir(S,Bt,Bt,Bt,Bt),At=new Uint32Array(_+28);At.set(j);for(let Bt=Q;Bt6&&Bt%Q==4&&(Zt=lt(Zt)),At[Bt]=At[Bt-Q]^Zt}return At}function sr(v,_,S,j,Q,lt){return v[S<<8&65280|j>>>8&255]^_[Q>>>8&65280|lt>>>24&255]}function Ir(v,_,S,j,Q){return v[255&_|65280&S]|v[j>>>16&255|Q>>>16&65280]<<16}function ze(v,_,S,j,Q){const{sbox2:lt,T01:At,T23:Bt}=Ot;let Zt=0;_^=v[Zt++],S^=v[Zt++],j^=v[Zt++],Q^=v[Zt++];const ve=v.length/4-2;for(let cr=0;cr{const Bt=Ve(_),{b:Zt,o:ve,out:Ne}=function go(v,_,S){let j=v.length;const Q=j%16;if(!_&&0!==Q)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const lt=on(v);if(_){let Zt=16-Q;Zt||(Zt=16),j+=Zt}const At=_r(j,S);return{b:lt,o:on(At),out:At}}(lt,Q,At),Be=on(S);let dr=Be[0],vr=Be[1],cr=Be[2],Qe=Be[3],rr=0;for(;rr+4<=Zt.length;)dr^=Zt[rr+0],vr^=Zt[rr+1],cr^=Zt[rr+2],Qe^=Zt[rr+3],({s0:dr,s1:vr,s2:cr,s3:Qe}=ze(Bt,dr,vr,cr,Qe)),ve[rr++]=dr,ve[rr++]=vr,ve[rr++]=cr,ve[rr++]=Qe;if(Q){const Sr=function Do(v){const _=new Uint8Array(16),S=on(_);_.set(v);const j=16-v.length;for(let Q=16-j;Q<16;Q++)_[Q]=j;return S}(lt.subarray(4*rr));dr^=Sr[0],vr^=Sr[1],cr^=Sr[2],Qe^=Sr[3],({s0:dr,s1:vr,s2:cr,s3:Qe}=ze(Bt,dr,vr,cr,Qe)),ve[rr++]=dr,ve[rr++]=vr,ve[rr++]=cr,ve[rr++]=Qe}return Bt.fill(0),Ne},decrypt:(lt,At)=>{!function Jr(v){if(yn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(lt);const Bt=function Ze(v){const _=Ve(v),S=_.slice(),j=_.length,{sbox2:Q}=Ot,{T0:lt,T1:At,T2:Bt,T3:Zt}=ae;for(let ve=0;ve>>8&255]^Bt[Be>>>16&255]^Zt[Be>>>24]}return S}(_),Zt=on(S),ve=_r(lt.length,At),Ne=on(lt),Be=on(ve);let dr=Zt[0],vr=Zt[1],cr=Zt[2],Qe=Zt[3];for(let rr=0;rr+4<=Ne.length;){const Sr=dr,Tr=vr,oo=cr,lo=Qe;dr=Ne[rr+0],vr=Ne[rr+1],cr=Ne[rr+2],Qe=Ne[rr+3];const{s0:Ho,s1:_o,s2:jo,s3:Go}=nr(Bt,dr,vr,cr,Qe);Be[rr++]=Ho^Sr,Be[rr++]=_o^Tr,Be[rr++]=jo^oo,Be[rr++]=Go^lo}return Bt.fill(0),function Vr(v,_){if(!_)return v;const S=v.length;if(!S)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[S-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const Q=v.subarray(0,-j);for(let lt=0;lt255&v[_++]|(255&v[_++])<<8;class vn{constructor(_){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,yn(_=Ka(_),32);const S=uo(_,0),j=uo(_,2),Q=uo(_,4),lt=uo(_,6),At=uo(_,8),Bt=uo(_,10),Zt=uo(_,12),ve=uo(_,14);this.r[0]=8191&S,this.r[1]=8191&(S>>>13|j<<3),this.r[2]=7939&(j>>>10|Q<<6),this.r[3]=8191&(Q>>>7|lt<<9),this.r[4]=255&(lt>>>4|At<<12),this.r[5]=At>>>1&8190,this.r[6]=8191&(At>>>14|Bt<<2),this.r[7]=8065&(Bt>>>11|Zt<<5),this.r[8]=8191&(Zt>>>8|ve<<8),this.r[9]=ve>>>5&127;for(let Ne=0;Ne<8;Ne++)this.pad[Ne]=uo(_,16+2*Ne)}process(_,S,j=!1){const Q=j?0:2048,{h:lt,r:At}=this,Bt=At[0],Zt=At[1],ve=At[2],Ne=At[3],Be=At[4],dr=At[5],vr=At[6],cr=At[7],Qe=At[8],rr=At[9],Sr=uo(_,S+0),Tr=uo(_,S+2),oo=uo(_,S+4),lo=uo(_,S+6),Ho=uo(_,S+8),_o=uo(_,S+10),jo=uo(_,S+12),Go=uo(_,S+14);let Dn=lt[0]+(8191&Sr),dn=lt[1]+(8191&(Sr>>>13|Tr<<3)),sn=lt[2]+(8191&(Tr>>>10|oo<<6)),Kn=lt[3]+(8191&(oo>>>7|lo<<9)),Gn=lt[4]+(8191&(lo>>>4|Ho<<12)),ti=lt[5]+(Ho>>>1&8191),co=lt[6]+(8191&(Ho>>>14|_o<<2)),wo=lt[7]+(8191&(_o>>>11|jo<<5)),Zo=lt[8]+(8191&(jo>>>8|Go<<8)),an=lt[9]+(Go>>>5|Q),Ao=0,Sn=Ao+Dn*Bt+dn*(5*rr)+sn*(5*Qe)+Kn*(5*cr)+Gn*(5*vr);Ao=Sn>>>13,Sn&=8191,Sn+=ti*(5*dr)+co*(5*Be)+wo*(5*Ne)+Zo*(5*ve)+an*(5*Zt),Ao+=Sn>>>13,Sn&=8191;let Un=Ao+Dn*Zt+dn*Bt+sn*(5*rr)+Kn*(5*Qe)+Gn*(5*cr);Ao=Un>>>13,Un&=8191,Un+=ti*(5*vr)+co*(5*dr)+wo*(5*Be)+Zo*(5*Ne)+an*(5*ve),Ao+=Un>>>13,Un&=8191;let Pn=Ao+Dn*ve+dn*Zt+sn*Bt+Kn*(5*rr)+Gn*(5*Qe);Ao=Pn>>>13,Pn&=8191,Pn+=ti*(5*cr)+co*(5*vr)+wo*(5*dr)+Zo*(5*Be)+an*(5*Ne),Ao+=Pn>>>13,Pn&=8191;let Yi=Ao+Dn*Ne+dn*ve+sn*Zt+Kn*Bt+Gn*(5*rr);Ao=Yi>>>13,Yi&=8191,Yi+=ti*(5*Qe)+co*(5*cr)+wo*(5*vr)+Zo*(5*dr)+an*(5*Be),Ao+=Yi>>>13,Yi&=8191;let Ja=Ao+Dn*Be+dn*Ne+sn*ve+Kn*Zt+Gn*Bt;Ao=Ja>>>13,Ja&=8191,Ja+=ti*(5*rr)+co*(5*Qe)+wo*(5*cr)+Zo*(5*vr)+an*(5*dr),Ao+=Ja>>>13,Ja&=8191;let as=Ao+Dn*dr+dn*Be+sn*Ne+Kn*ve+Gn*Zt;Ao=as>>>13,as&=8191,as+=ti*Bt+co*(5*rr)+wo*(5*Qe)+Zo*(5*cr)+an*(5*vr),Ao+=as>>>13,as&=8191;let ss=Ao+Dn*vr+dn*dr+sn*Be+Kn*Ne+Gn*ve;Ao=ss>>>13,ss&=8191,ss+=ti*Zt+co*Bt+wo*(5*rr)+Zo*(5*Qe)+an*(5*cr),Ao+=ss>>>13,ss&=8191;let Ra=Ao+Dn*cr+dn*vr+sn*dr+Kn*Be+Gn*Ne;Ao=Ra>>>13,Ra&=8191,Ra+=ti*ve+co*Zt+wo*Bt+Zo*(5*rr)+an*(5*Qe),Ao+=Ra>>>13,Ra&=8191;let Ic=Ao+Dn*Qe+dn*cr+sn*vr+Kn*dr+Gn*Be;Ao=Ic>>>13,Ic&=8191,Ic+=ti*Ne+co*ve+wo*Zt+Zo*Bt+an*(5*rr),Ao+=Ic>>>13,Ic&=8191;let xa=Ao+Dn*rr+dn*Qe+sn*cr+Kn*vr+Gn*dr;Ao=xa>>>13,xa&=8191,xa+=ti*Be+co*Ne+wo*ve+Zo*Zt+an*Bt,Ao+=xa>>>13,xa&=8191,Ao=(Ao<<2)+Ao|0,Ao=Ao+Sn|0,Sn=8191&Ao,Ao>>>=13,Un+=Ao,lt[0]=Sn,lt[1]=Un,lt[2]=Pn,lt[3]=Yi,lt[4]=Ja,lt[5]=as,lt[6]=ss,lt[7]=Ra,lt[8]=Ic,lt[9]=xa}finalize(){const{h:_,pad:S}=this,j=new Uint16Array(10);let Q=_[1]>>>13;_[1]&=8191;for(let Bt=2;Bt<10;Bt++)_[Bt]+=Q,Q=_[Bt]>>>13,_[Bt]&=8191;_[0]+=5*Q,Q=_[0]>>>13,_[0]&=8191,_[1]+=Q,Q=_[1]>>>13,_[1]&=8191,_[2]+=Q,j[0]=_[0]+5,Q=j[0]>>>13,j[0]&=8191;for(let Bt=1;Bt<10;Bt++)j[Bt]=_[Bt]+Q,Q=j[Bt]>>>13,j[Bt]&=8191;j[9]-=8192;let lt=(1^Q)-1;for(let Bt=0;Bt<10;Bt++)j[Bt]&=lt;lt=~lt;for(let Bt=0;Bt<10;Bt++)_[Bt]=_[Bt]<|j[Bt];_[0]=65535&(_[0]|_[1]<<13),_[1]=65535&(_[1]>>>3|_[2]<<10),_[2]=65535&(_[2]>>>6|_[3]<<7),_[3]=65535&(_[3]>>>9|_[4]<<4),_[4]=65535&(_[4]>>>12|_[5]<<1|_[6]<<14),_[5]=65535&(_[6]>>>2|_[7]<<11),_[6]=65535&(_[7]>>>5|_[8]<<8),_[7]=65535&(_[8]>>>8|_[9]<<5);let At=_[0]+S[0];_[0]=65535&At;for(let Bt=1;Bt<8;Bt++)At=(_[Bt]+S[Bt]|0)+(At>>>16)|0,_[Bt]=65535&At}update(_){Ea(this);const{buffer:S,blockLen:j}=this,Q=(_=Ka(_)).length;for(let lt=0;lt>>0,_[lt++]=j[At]>>>8;return _}digest(){const{buffer:_,outputLen:S}=this;this.digestInto(_);const j=_.slice(0,S);return this.destroy(),j}}const fo=function Rn(v){const _=(j,Q)=>v(Q).update(Ka(j)).digest(),S=v(new Uint8Array(32));return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=j=>v(j),_}(v=>new vn(v)),Mi=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),ea=Mi("expand 16-byte k"),Fi=Mi("expand 32-byte k"),ws=on(ea),ya=on(Fi);function Po(v,_){return v<<_|v>>>32-_}function li(v){return v.byteOffset%4==0}ya.slice();const la=2**32-1,$o=new Uint32Array;function Aa(v,_){const{allowShortKeys:S,extendNonceFn:j,counterLength:Q,counterRight:lt,rounds:At}=function Us(v,_){if(null==_||"object"!=typeof _)throw new Error("options must be defined");return Object.assign(v,_)}({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},_);if("function"!=typeof v)throw new Error("core must be a function");return Ls(Q),Ls(At),Ps(lt),Ps(S),(Bt,Zt,ve,Ne,Be=0)=>{yn(Bt),yn(Zt),yn(ve);const dr=ve.length;if(Ne||(Ne=new Uint8Array(dr)),yn(Ne),Ls(Be),Be<0||Be>=la)throw new Error("arx: counter overflow");if(Ne.length=la)throw new Error("arx: counter overflow");const Qe=Math.min(64,Zt-cr);if(Be&&64===Qe){const rr=cr/4;if(cr%4!=0)throw new Error("arx: invalid block position");for(let Tr,Sr=0;Sr<16;Sr++)Tr=rr+Sr,vr[Tr]=dr[Tr]^Ne[Sr];cr+=64}else{for(let Sr,rr=0;rr0;)vr.pop().fill(0);return Ne}}function ys(v,_,S,j,Q,lt=20){let At=v[0],Bt=v[1],Zt=v[2],ve=v[3],Ne=_[0],Be=_[1],dr=_[2],vr=_[3],cr=_[4],Qe=_[5],rr=_[6],Sr=_[7],Tr=Q,oo=S[0],lo=S[1],Ho=S[2],_o=At,jo=Bt,Go=Zt,Dn=ve,dn=Ne,sn=Be,Kn=dr,Gn=vr,ti=cr,co=Qe,wo=rr,Zo=Sr,an=Tr,Ao=oo,Sn=lo,Un=Ho;for(let Yi=0;Yi{v.update(_);const S=_.length%16;S&&v.update(km.subarray(S))},Em=new Uint8Array(32);function N(v,_,S,j,Q){const lt=v(_,S,Em),At=fo.create(lt);Q&&zo(At,Q),zo(At,j);const Bt=new Uint8Array(16),Zt=Ji(Bt);ta(Zt,0,BigInt(Q?Q.length:0),!0),ta(Zt,8,BigInt(j.length),!0),At.update(Bt);const ve=At.digest();return lt.fill(0),ve}const W=v=>(_,S,j)=>(yn(_,32),yn(S),{encrypt:(lt,At)=>{const Bt=lt.length,Zt=Bt+16;At?yn(At,Zt):At=new Uint8Array(Zt),v(_,S,lt,At,1);const ve=N(v,_,S,At.subarray(0,-16),j);return At.set(ve,Bt),At},decrypt:(lt,At)=>{const Bt=lt.length,Zt=Bt-16;if(Bt<16)throw new Error("encrypted data must be at least 16 bytes");At?yn(At,Zt):At=new Uint8Array(Zt);const ve=lt.subarray(0,-16);if(!Ca(lt.subarray(-16),N(v,_,S,ve,j)))throw new Error("invalid tag");return v(_,S,ve,At,1),At}});W(rl),W(zp);class wt extends Ko.Vw{constructor(_,S){super(),this.finished=!1,this.destroyed=!1,ii.hash(_);const j=(0,Ko.ZJ)(S);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Q=this.blockLen,lt=new Uint8Array(Q);lt.set(j.length>Q?_.create().update(j).digest():j);for(let At=0;Atnew wt(v,_).update(S).digest();Kt.create=(v,_)=>new wt(v,_);const Ar=new Uint8Array([0]),pr=new Uint8Array;var _n=Object.defineProperty,wn=(v,_)=>{for(var S in _)_n(v,S,{get:_[S],enumerable:!0})},Sa=Symbol("verified"),Ta=v=>v instanceof Object;function Os(v){if(!Ta(v)||"number"!=typeof v.kind||"string"!=typeof v.content||"number"!=typeof v.created_at||"string"!=typeof v.pubkey||!v.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(v.tags))return!1;for(let _=0;_Ks,QueueNode:()=>Kp,binarySearch:()=>td,insertEventIntoAscendingList:()=>$g,insertEventIntoDescendingList:()=>Wp,normalizeURL:()=>ol,utf8Decoder:()=>Ws,utf8Encoder:()=>Ya});var Ws=new TextDecoder("utf-8"),Ya=new TextEncoder;function ol(v){-1===v.indexOf("://")&&(v="wss://"+v);let _=new URL(v);return _.pathname=_.pathname.replace(/\/+/g,"/"),_.pathname.endsWith("/")&&(_.pathname=_.pathname.slice(0,-1)),("80"===_.port&&"ws:"===_.protocol||"443"===_.port&&"wss:"===_.protocol)&&(_.port=""),_.searchParams.sort(),_.hash="",_.toString()}function Wp(v,_){const[S,j]=td(v,Q=>_.id===Q.id?0:_.created_at===Q.created_at?-1:Q.created_at-_.created_at);return j||v.splice(S,0,_),v}function $g(v,_){const[S,j]=td(v,Q=>_.id===Q.id?0:_.created_at===Q.created_at?-1:_.created_at-Q.created_at);return j||v.splice(S,0,_),v}function td(v,_){let S=0,j=v.length-1;for(;S<=j;){const Q=Math.floor((S+j)/2),lt=_(v[Q]);if(0===lt)return[Q,!0];lt<0?j=Q-1:S=Q+1}return[S,!1]}var Kp=class{value;next=null;prev=null;constructor(v){this.value=v}},Ks=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new Kp(v);return this.last?this.last===this.first?(this.last=_,this.last.prev=this.first,this.first.next=_):(_.prev=this.last,this.last.next=_,this.last=_):(this.first=_,this.last=_),!0}dequeue(){if(!this.first)return null;if(this.first===this.last){const _=this.first;return this.first=null,this.last=null,_.value}const v=this.first;return this.first=v.next,v.value}};function Hn(v){let _=bi(Ya.encode(function Xp(v){if(!Os(v))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content])}(v)));return(0,Ko.My)(_)}var vl=new class{generateSecretKey(){return Zi.utils.randomPrivateKey()}getPublicKey(v){return(0,Ko.My)(Zi.getPublicKey(v))}finalizeEvent(v,_){const S=v;return S.pubkey=(0,Ko.My)(Zi.getPublicKey(_)),S.id=Hn(S),S.sig=(0,Ko.My)(Zi.sign(Hn(S),_)),S[Sa]=!0,S}verifyEvent(v){if("boolean"==typeof v[Sa])return v[Sa];const _=Hn(v);if(_!==v.id)return v[Sa]=!1,!1;try{const S=Zi.verify(v.sig,_,v.pubkey);return v[Sa]=S,S}catch{return v[Sa]=!1,!1}}},xl=vl.generateSecretKey,Ma=vl.getPublicKey,Gs=vl.finalizeEvent,Cc=vl.verifyEvent;function xs(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function zu(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function Xs(v){return 2e4<=v&&v<3e4}function Nd(v){return 3e4<=v&&v<4e4}function _s(v){return xs(v)?"regular":zu(v)?"replaceable":Xs(v)?"ephemeral":Nd(v)?"parameterized":"unknown"}function Ld(v,_){const S=_ instanceof Array?_:[_];return Os(v)&&S.includes(v.kind)||!1}wn({},{Application:()=>ah,BadgeAward:()=>mn,BadgeDefinition:()=>ih,BlockedRelaysList:()=>ga,BookmarkList:()=>qp,Bookmarksets:()=>id,Calendar:()=>il,CalendarEventRSVP:()=>Dl,ChannelCreation:()=>Yp,ChannelHideMessage:()=>$d,ChannelMessage:()=>Ud,ChannelMetadata:()=>jg,ChannelMuteUser:()=>rd,ClassifiedListing:()=>ch,ClientAuth:()=>Jp,CommunitiesList:()=>Kd,CommunityDefinition:()=>qu,CommunityPostApproval:()=>Xu,Contacts:()=>Hu,CreateOrUpdateProduct:()=>va,CreateOrUpdateStall:()=>Xd,Curationsets:()=>oh,Date:()=>ad,DirectMessageRelaysList:()=>Ac,DraftClassifiedListing:()=>lh,DraftLong:()=>Ri,Emojisets:()=>Yd,EncryptedDirectMessage:()=>kl,EventDeletion:()=>Fd,FileMetadata:()=>Qp,FileServerPreference:()=>zg,Followsets:()=>Cm,GenericRepost:()=>Ku,Genericlists:()=>Hg,GiftWrap:()=>Zp,HTTPAuth:()=>nd,Handlerinformation:()=>al,Handlerrecommendation:()=>Al,Highlights:()=>Hd,InterestsList:()=>Gd,Interestsets:()=>Cl,JobFeedback:()=>zd,JobRequest:()=>Vd,JobResult:()=>Wn,Label:()=>Cn,LightningPubRPC:()=>Qu,LiveChatMessage:()=>Vg,LiveEvent:()=>sh,LongFormArticle:()=>Uc,Metadata:()=>Pd,Mutelist:()=>Qs,NWCWalletInfo:()=>Es,NWCWalletRequest:()=>od,NWCWalletResponse:()=>th,NostrConnect:()=>eh,OpenTimestamps:()=>nl,Pinlist:()=>El,PrivateDirectMessage:()=>Wu,ProblemTracker:()=>Gu,ProfileBadges:()=>nh,PublicChatsList:()=>Zu,Reaction:()=>$s,RecommendRelay:()=>ed,RelayList:()=>Wd,Relaysets:()=>rh,Report:()=>jd,Reporting:()=>Rr,Repost:()=>Ys,Seal:()=>Bd,SearchRelaysList:()=>Dc,ShortTextNote:()=>ks,Time:()=>cc,UserEmojiList:()=>sc,UserStatuses:()=>Wg,Zap:()=>Yu,ZapGoal:()=>Bc,ZapRequest:()=>Zs,classifyKind:()=>_s,isEphemeralKind:()=>Xs,isKind:()=>Ld,isParameterizedReplaceableKind:()=>Nd,isRegularKind:()=>xs,isReplaceableKind:()=>zu});var Pd=0,ks=1,ed=2,Hu=3,kl=4,Fd=5,Ys=6,$s=7,mn=8,Bd=13,Wu=14,Ku=16,Yp=40,jg=41,Ud=42,$d=43,rd=44,nl=1040,Zp=1059,Qp=1063,Vg=1311,Gu=1971,jd=1984,Rr=1984,Cn=1985,Xu=4550,Vd=5999,Wn=6999,zd=7e3,Bc=9041,Zs=9734,Yu=9735,Hd=9802,Qs=1e4,El=10001,Wd=10002,qp=10003,Kd=10004,Zu=10005,ga=10006,Dc=10007,Gd=10015,sc=10030,Ac=10050,zg=10096,Es=13194,Qu=21e3,Jp=22242,od=23194,th=23195,eh=24133,nd=27235,Cm=3e4,Hg=30001,rh=30002,id=30003,oh=30004,nh=30008,ih=30009,Cl=30015,Xd=30017,va=30018,Uc=30023,Ri=30024,Yd=30030,ah=30078,sh=30311,Wg=30315,ch=30402,lh=30403,ad=31922,cc=31923,il=31924,Dl=31925,Al=31989,al=31990,qu=34550;function dh(v,_){if(v.ids&&-1===v.ids.indexOf(_.id)||v.kinds&&-1===v.kinds.indexOf(_.kind)||v.authors&&-1===v.authors.indexOf(_.pubkey))return!1;for(let S in v)if("#"===S[0]){let Q=v[`#${S.slice(1)}`];if(Q&&!_.tags.find(([lt,At])=>lt===S.slice(1)&&-1!==Q.indexOf(At)))return!1}return!(v.since&&_.created_atv.until)}function Zd(v,_){let S=_.length+3,j=v.indexOf(`"${_}":`)+S,Q=v.slice(j).indexOf('"')+j+1;return v.slice(Q,Q+64)}function cl(v,_){let S=_.length,j=v.indexOf(`"${_}":`)+S+3,Q=v.slice(j),lt=Math.min(Q.indexOf(","),Q.indexOf("}"));return parseInt(Q.slice(0,lt),10)}function cd(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let S=v.slice(_+7+1).indexOf('"');if(-1===S)return null;let j=_+7+1+S,Q=v.slice(j+1,80).indexOf('"');return-1===Q?null:v.slice(j+1,j+1+Q)}function Qd(v,_){return _===Zd(v,"id")}function Kg(v,_){return _===Zd(v,"pubkey")}function ph(v,_){return _===cl(v,"kind")}function hh(v,_){return{kind:Jp,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function ld(){return lc.apply(this,arguments)}function lc(){return(lc=(0,s.A)(function*(){return new Promise(v=>{const _=new MessageChannel,S=()=>{_.port1.removeEventListener("message",S),v()};_.port1.addEventListener("message",S),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}wn({},{getHex64:()=>Zd,getInt:()=>cl,getSubscriptionId:()=>cd,matchEventId:()=>Qd,matchEventKind:()=>ph,matchEventPubkey:()=>Kg}),wn({},{makeAuthEvent:()=>hh});var gh=v=>(v[Sa]=!0,!0),ll=class{url;_connected=!1;onclose=null;onnotice=v=>console.debug(`NOTICE from ${this.url}: ${v}`);_onauth=null;baseEoseTimeout=4400;connectionTimeout=4400;publishTimeout=4400;openSubs=new Map;connectionTimeoutHandle;connectionPromise;openCountRequests=new Map;openEventPublishes=new Map;ws;incomingMessageQueue=new Ks;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=ol(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,s.A)(function*(){const S=new ll(v,_);return yield S.connect(),S})()}closeAllSubscriptions(v){for(let[_,S]of this.openSubs)S.close(v);this.openSubs.clear();for(let[_,S]of this.openEventPublishes)S.reject(new Error(v));this.openEventPublishes.clear();for(let[_,S]of this.openCountRequests)S.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,s.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,S)=>{v.connectionTimeoutHandle=setTimeout(()=>{S("connection timed out"),v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection timed out")},v.connectionTimeout);try{v.ws=new v._WebSocket(v.url)}catch(j){return void S(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{S(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,s.A)(function*(){v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection closed"))}),v.ws.onmessage=v._onmessage.bind(v)})),v.connectionPromise})()}runQueue(){var v=this;return(0,s.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield ld();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=cd(v);if(_){const S=this.openSubs.get(_);if(!S)return;const j=Zd(v,"id"),Q=S.alreadyHaveEvent?.(j);if(S.receivedEvent?.(this,j),Q)return}try{let S=JSON.parse(v);switch(S[0]){case"EVENT":{const j=this.openSubs.get(S[1]),Q=S[2];return void(this.verifyEvent(Q)&&function uh(v,_){for(let S=0;S{_.ws?.send(v)})})()}auth(v){var _=this;return(0,s.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const S=yield v(hh(_.url,_.challenge)),j=new Promise((Q,lt)=>{_.openEventPublishes.set(S.id,{resolve:Q,reject:lt})});return _.send('["AUTH",'+JSON.stringify(S)+"]"),j})()}publish(v){var _=this;return(0,s.A)(function*(){const S=new Promise((j,Q)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:Q})});return _.send('["EVENT",'+JSON.stringify(v)+"]"),setTimeout(()=>{const j=_.openEventPublishes.get(v.id);j&&(j.reject(new Error("publish timed out")),_.openEventPublishes.delete(v.id))},_.publishTimeout),S})()}count(v,_){var S=this;return(0,s.A)(function*(){S.serial++;const j=_?.id||"count:"+S.serial,Q=new Promise((lt,At)=>{S.openCountRequests.set(j,{resolve:lt,reject:At})});return S.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),Q})()}subscribe(v,_){const S=this.prepareSubscription(v,_);return S.fire(),S}prepareSubscription(v,_){this.serial++;const S=_.id||"sub:"+this.serial,j=new fh(this,S,v,_);return this.openSubs.set(S,j),j}close(){this.closeAllSubscriptions("relay connection closed by us"),this._connected=!1,this.ws?.close()}_onmessage(v){this.incomingMessageQueue.enqueue(v.data),this.queueRunning||this.runQueue()}},fh=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,S,j){this.relay=v,this.filters=S,this.id=_,this.alreadyHaveEvent=j.alreadyHaveEvent,this.receivedEvent=j.receivedEvent,this.eoseTimeout=j.eoseTimeout||v.baseEoseTimeout,this.oneose=j.oneose,this.onclose=j.onclose,this.onevent=j.onevent||(Q=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,Q)})}fire(){this.relay.send('["REQ","'+this.id+'",'+JSON.stringify(this.filters).substring(1)),this.eoseTimeoutHandle=setTimeout(this.receivedEose.bind(this),this.eoseTimeout)}receivedEose(){this.eosed||(clearTimeout(this.eoseTimeoutHandle),this.eosed=!0,this.oneose?.())}close(v="closed by caller"){!this.closed&&this.relay.connected&&(this.relay.send('["CLOSE",'+JSON.stringify(this.id)+"]"),this.closed=!0),this.relay.openSubs.delete(this.id),this.onclose?.(v)}};try{WebSocket}catch{}var dd,Ju=class{relays=new Map;seenOn=new Map;trackRelays=!1;verifyEvent;trustedRelayURLs=new Set;_WebSocket;constructor(v){this.verifyEvent=v.verifyEvent,this._WebSocket=v.websocketImplementation}ensureRelay(v,_){var S=this;return(0,s.A)(function*(){v=ol(v);let j=S.relays.get(v);return j||(j=new ll(v,{verifyEvent:S.trustedRelayURLs.has(v)?gh:S.verifyEvent,websocketImplementation:S._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),S.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(ol).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,S){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),S)}subscribeManyMap(v,_){var S=this;this.trackRelays&&(_.receivedEvent=(dr,vr)=>{let cr=this.seenOn.get(vr);cr||(cr=new Set,this.seenOn.set(vr,cr)),cr.add(dr)});const j=new Set,Q=[],lt=Object.keys(v).length,At=[];let Bt=dr=>{At[dr]=!0,At.filter(vr=>vr).length===lt&&(_.oneose?.(),Bt=()=>{})};const Zt=[];let ve=(dr,vr)=>{Bt(dr),Zt[dr]=vr,Zt.filter(cr=>cr).length===lt&&(_.onclose?.(Zt),ve=()=>{})};const Ne=dr=>{if(_.alreadyHaveEvent?.(dr))return!0;const vr=j.has(dr);return j.add(dr),vr},Be=Promise.all(Object.entries(v).map(function(){var dr=(0,s.A)(function*(vr,cr,Qe){if(Qe.indexOf(vr)!==cr)return void ve(cr,"duplicate url");let Tr,[rr,Sr]=vr;rr=ol(rr);try{Tr=yield S.ensureRelay(rr,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(lo){return void ve(cr,lo?.message||String(lo))}let oo=Tr.subscribe(Sr,{..._,oneose:()=>Bt(cr),onclose:lo=>ve(cr,lo),alreadyHaveEvent:Ne,eoseTimeout:_.maxWait});Q.push(oo)});return function(vr,cr,Qe){return dr.apply(this,arguments)}}()));return{close:()=>(0,s.A)(function*(){yield Be,Q.forEach(dr=>{dr.close()})})()}}subscribeManyEose(v,_,S){const j=this.subscribeMany(v,_,{...S,oneose(){j.close()}});return j}querySync(v,_,S){var j=this;return(0,s.A)(function*(){return new Promise(function(){var Q=(0,s.A)(function*(lt){const At=[];j.subscribeManyEose(v,[_],{...S,onevent(Bt){At.push(Bt)},onclose(Bt){lt(At)}})});return function(lt){return Q.apply(this,arguments)}}())})()}get(v,_,S){var j=this;return(0,s.A)(function*(){_.limit=1;const Q=yield j.querySync(v,_,S);return Q.sort((lt,At)=>At.created_at-lt.created_at),Q[0]||null})()}publish(v,_){var S=this;return v.map(ol).map(function(){var j=(0,s.A)(function*(Q,lt,At){if(At.indexOf(Q)!==lt)return Promise.reject("duplicate url");let Bt=yield S.ensureRelay(Q);return Bt.publish(_).then(Zt=>{if(S.trackRelays){let ve=S.seenOn.get(_.id);ve||(ve=new Set,S.seenOn.set(_.id,ve)),ve.add(Bt)}return Zt})});return function(Q,lt,At){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,S)=>v.set(S,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{dd=WebSocket}catch{}var Xg=class extends Ju{constructor(){super({verifyEvent:Cc,websocketImplementation:dd})}},tp={};wn(tp,{BECH32_REGEX:()=>qs,Bech32MaxSize:()=>qd,NostrTypeGuard:()=>mh,decode:()=>$c,encodeBytes:()=>ns,naddrEncode:()=>ou,neventEncode:()=>Tl,noteEncode:()=>tu,nprofileEncode:()=>ru,npubEncode:()=>Jd,nsecEncode:()=>bh});var mh={isNProfile:v=>/^nprofile1[a-z\d]+$/.test(v||""),isNEvent:v=>/^nevent1[a-z\d]+$/.test(v||""),isNAddr:v=>/^naddr1[a-z\d]+$/.test(v||""),isNSec:v=>/^nsec1[a-z\d]{58}$/.test(v||""),isNPub:v=>/^npub1[a-z\d]{58}$/.test(v||""),isNote:v=>/^note1[a-z\d]+$/.test(v||""),isNcryptsec:v=>/^ncryptsec1[a-z\d]+$/.test(v||"")},qd=5e3,qs=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function $c(v){let{prefix:_,words:S}=st.decode(v,qd),j=new Uint8Array(st.fromWords(S));switch(_){case"nprofile":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==Q[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Ko.My)(Q[0][0]),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[]}}}case"nevent":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==Q[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(Q[2]&&32!==Q[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(Q[3]&&4!==Q[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Ko.My)(Q[0][0]),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[],author:Q[2]?.[0]?(0,Ko.My)(Q[2][0]):void 0,kind:Q[3]?.[0]?parseInt((0,Ko.My)(Q[3][0]),16):void 0}}}case"naddr":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!Q[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==Q[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!Q[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==Q[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Ws.decode(Q[0][0]),pubkey:(0,Ko.My)(Q[2][0]),kind:parseInt((0,Ko.My)(Q[3][0]),16),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Ko.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function ud(v){let _={},S=v;for(;S.length>0;){let j=S[0],Q=S[1],lt=S.slice(2,2+Q);if(S=S.slice(2+Q),lt.lengthYa.encode(S))}))}function Tl(v){let _;return void 0!==v.kind&&(_=function ep(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),eu("nevent",rp({0:[(0,Ko.aT)(v.id)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:v.author?[(0,Ko.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function ou(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),eu("naddr",rp({0:[Ya.encode(v.identifier)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:[(0,Ko.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function rp(v){let _=[];return Object.entries(v).reverse().forEach(([S,j])=>{j.forEach(Q=>{let lt=new Uint8Array(Q.length+2);lt.set([parseInt(S)],0),lt.set([Q.length],1),lt.set(Q,2),_.push(lt)})}),(0,Ko.Id)(..._)}var wh={};function op(v,_,S){return dl.apply(this,arguments)}function dl(){return(dl=(0,s.A)(function*(v,_,S){const j=v instanceof Uint8Array?(0,Ko.My)(v):v,lt=ra(xo.getSharedSecret(j,"02"+_));let At=Uint8Array.from((0,Ko.po)(16)),Bt=Ya.encode(S),Zt=Xr(lt,At).encrypt(Bt);return`${so.encode(new Uint8Array(Zt))}?iv=${so.encode(new Uint8Array(At.buffer))}`})).apply(this,arguments)}function Ml(v,_,S){return Sc.apply(this,arguments)}function Sc(){return(Sc=(0,s.A)(function*(v,_,S){const j=v instanceof Uint8Array?(0,Ko.My)(v):v;let[Q,lt]=S.split("?iv="),Bt=ra(xo.getSharedSecret(j,"02"+_)),Zt=so.decode(lt),ve=so.decode(Q),Ne=Xr(Bt,Zt).decrypt(ve);return Ws.decode(Ne)})).apply(this,arguments)}function ra(v){return v.slice(1,33)}wn(wh,{decrypt:()=>Ml,encrypt:()=>op}),wn({},{NIP05_REGEX:()=>is,isNip05:()=>Vc,isValid:()=>su,queryProfile:()=>au,searchDomain:()=>pd,useFetchImplementation:()=>vh});var iu,is=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Vc=v=>is.test(v||"");try{iu=fetch}catch{}function vh(v){iu=v}function pd(v){return np.apply(this,arguments)}function np(){return(np=(0,s.A)(function*(v,_=""){try{const S=`https://${v}/.well-known/nostr.json?name=${_}`,j=yield iu(S,{redirect:"manual"});if(200!==j.status)throw Error("Wrong response code");return(yield j.json()).names}catch{return{}}})).apply(this,arguments)}function au(v){return Tc.apply(this,arguments)}function Tc(){return(Tc=(0,s.A)(function*(v){const _=v.match(is);if(!_)return null;const[,S="_",j]=_;try{const Q=`https://${j}/.well-known/nostr.json?name=${S}`,lt=yield iu(Q,{redirect:"manual"});if(200!==lt.status)throw Error("Wrong response code");const At=yield lt.json(),Bt=At.names[S];return Bt?{pubkey:Bt,relays:At.relays?.[Bt]}:null}catch{return null}})).apply(this,arguments)}function su(v,_){return zc.apply(this,arguments)}function zc(){return(zc=(0,s.A)(function*(v,_){const S=yield au(_);return!!S&&S.pubkey===v})).apply(this,arguments)}function Yg(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[]},S=[];for(const j of v.tags)"e"===j[0]&&j[1]&&S.push(j),"p"===j[0]&&j[1]&&_.profiles.push({pubkey:j[1],relays:j[2]?[j[2]]:[]});for(let j=0;jYg}),wn({},{fetchRelayInformation:()=>Zg,useFetchImplementation:()=>Sm});try{fetch}catch{}function Sm(v){}function Zg(v){return Il.apply(this,arguments)}function Il(){return(Il=(0,s.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function kh(v){let _=0;for(let S=0;S<64;S+=8){const j=parseInt(v.substring(S,S+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function Eh(v,_){let S=0;const j=v,Q=["nonce",S.toString(),_.toString()];for(j.tags.push(Q);;){const lt=Math.floor((new Date).getTime()/1e3);if(lt!==j.created_at&&(S=0,j.created_at=lt),Q[1]=(++S).toString(),j.id=ap(j),kh(j.id)>=_)break}return j}function ap(v){return(0,Ko.My)(bi(Ya.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function Tm(v,_,S,j){return Gs({kind:Ys,tags:[...v.tags??[],["e",_.id,S],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function Ch(v){if(v.kind!==Ys)return;let _,S;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===S);j--){const Q=v.tags[j];Q.length>=2&&("e"===Q[0]&&void 0===_?_=Q:"p"===Q[0]&&void 0===S&&(S=Q))}return void 0!==_?{id:_[1],relays:[_[2],S?.[2]].filter(j=>"string"==typeof j),author:S?.[1]}:void 0}function Mm(v,{skipVerification:_}={}){const S=Ch(v);if(void 0===S||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===S.id&&(_||Cc(j))?j:void 0}wn({},{fastEventHash:()=>ap,getPow:()=>kh,minePow:()=>Eh}),wn({},{finishRepostEvent:()=>Tm,getRepostedEvent:()=>Mm,getRepostedEventPointer:()=>Ch}),wn({},{NOSTR_URI_REGEX:()=>lu,parse:()=>Ah,test:()=>sp});var lu=new RegExp(`nostr:(${qs.source})`);function sp(v){return"string"==typeof v&&new RegExp(`^${lu.source}$`).test(v)}function Ah(v){const _=v.match(new RegExp(`^${lu.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:$c(_[1])}}function Qg(v,_,S){const j=_.tags.filter(Q=>Q.length>=2&&("e"===Q[0]||"p"===Q[0]));return Gs({...v,kind:$s,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},S)}function Im(v){if(v.kind!==$s)return;let _,S;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===S);j--){const Q=v.tags[j];Q.length>=2&&("e"===Q[0]&&void 0===_?_=Q:"p"===Q[0]&&void 0===S&&(S=Q))}return void 0!==_&&void 0!==S?{id:_[1],relays:[_[2],S[2]].filter(j=>void 0!==j),author:S[1]}:void 0}wn({},{finishReactionEvent:()=>Qg,getReactedEventPointer:()=>Im}),wn({},{matchAll:()=>hd,regex:()=>uu,replaceAll:()=>dc});var uu=()=>new RegExp(`\\b${lu.source}\\b`,"g");function*hd(v){const _=v.matchAll(uu());for(const S of _)try{const[j,Q]=S;yield{uri:j,value:Q,decoded:$c(Q),start:S.index,end:S.index+j.length}}catch{}}function dc(v,_){return v.replaceAll(uu(),(S,j)=>_({uri:S,value:j,decoded:$c(j)}))}wn({},{channelCreateEvent:()=>Sh,channelHideMessageEvent:()=>Hc,channelMessageEvent:()=>jw,channelMetadataEvent:()=>ul,channelMuteUserEvent:()=>Rl});var Sh=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:Yp,tags:[...v.tags??[]],content:S,created_at:v.created_at},_)},ul=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:jg,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:S,created_at:v.created_at},_)},jw=(v,_)=>{const S=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&S.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Gs({kind:Ud,tags:[...S,...v.tags??[]],content:v.content,created_at:v.created_at},_)},Hc=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:$d,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:S,created_at:v.created_at},_)},Rl=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:rd,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:S,created_at:v.created_at},_)};wn({},{EMOJI_SHORTCODE_REGEX:()=>Bi,matchAll:()=>cp,regex:()=>pu,replaceAll:()=>qg});var gd,Bi=/:(\w+):/,pu=()=>new RegExp(`\\B${Bi.source}\\B`,"g");function*cp(v){const _=v.matchAll(pu());for(const S of _)try{const[j,Q]=S;yield{shortcode:j,name:Q,start:S.index,end:S.index+j.length}}catch{}}function qg(v,_){return v.replaceAll(pu(),(S,j)=>_({shortcode:S,name:j}))}wn({},{useFetchImplementation:()=>lp,validateGithub:()=>Th});try{gd=fetch}catch{}function lp(v){gd=v}function Th(v,_,S){return fd.apply(this,arguments)}function fd(){return(fd=(0,s.A)(function*(v,_,S){try{return(yield(yield gd(`https://gist.github.com/${_}/${S}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}wn({},{decrypt:()=>Oh,encrypt:()=>Ih,getConversationKey:()=>Ll,v2:()=>Mc});var Nl=1,dp=65535;function Ll(v,_){const S=xo.getSharedSecret(v,"02"+_).subarray(1,33);return function Te(v,_,S){return ii.hash(v),void 0===S&&(S=new Uint8Array(v.outputLen)),Kt(v,(0,Ko.ZJ)(S),(0,Ko.ZJ)(_))}(bi,S,"nip44-v2")}function uc(v,_){const S=function bo(v,_,S,j=32){if(ii.hash(v),ii.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const Q=Math.ceil(j/v.outputLen);void 0===S&&(S=pr);const lt=new Uint8Array(Q*v.outputLen),At=Kt.create(v,_),Bt=At._cloneInto(),Zt=new Uint8Array(At.outputLen);for(let ve=0;vedp)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const _=new Uint8Array(2);return new DataView(_.buffer).setUint16(0,v,!1),_}(S),Q=new Uint8Array(hu(S)-S);return(0,Ko.Id)(j,_,Q)}(v),Bt=rl(j,Q,At),Zt=ef(lt,Bt,S);return so.encode((0,Ko.Id)(new Uint8Array([2]),S,Bt,Zt))}function Oh(v,_){const{nonce:S,ciphertext:j,mac:Q}=function Mh(v){if("string"!=typeof v)throw new Error("payload must be a valid string");const _=v.length;if(_<132||_>87472)throw new Error("invalid payload length: "+_);if("#"===v[0])throw new Error("unknown encryption version");let S;try{S=so.decode(v)}catch(lt){throw new Error("invalid base64: "+lt.message)}const j=S.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const Q=S[0];if(2!==Q)throw new Error("unknown encryption version "+Q);return{nonce:S.subarray(1,33),ciphertext:S.subarray(33,-32),mac:S.subarray(-32)}}(v),{chacha_key:lt,chacha_nonce:At,hmac_key:Bt}=uc(_,S);if(!Ca(ef(Bt,j,S),Q))throw new Error("invalid MAC");return function tf(v){const _=new DataView(v.buffer).getUint16(0),S=v.subarray(2,2+_);if(_dp||S.length!==_||v.length!==2+hu(_))throw new Error("invalid padding");return Ws.decode(S)}(rl(lt,At,j))}var gu,Mc={utils:{getConversationKey:Ll,calcPaddedLen:hu},encrypt:Ih,decrypt:Oh};function pp(v){const{pathname:_,searchParams:S}=new URL(v),j=_,Q=S.get("relay"),lt=S.get("secret");if(!j||!Q||!lt)throw new Error("invalid connection string");return{pubkey:j,relay:Q,secret:lt}}function rf(v,_,S){return pl.apply(this,arguments)}function pl(){return(pl=(0,s.A)(function*(v,_,S){const Q=yield op(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:S}})),lt={kind:od,created_at:Math.round(Date.now()/1e3),content:Q,tags:[["p",v]]};return Gs(lt,_)})).apply(this,arguments)}wn({},{makeNwcRequestEvent:()=>rf,parseConnectionString:()=>pp}),wn({},{getZapEndpoint:()=>hp,makeZapReceipt:()=>mu,makeZapRequest:()=>yd,useFetchImplementation:()=>fu,validateZapRequest:()=>gp});try{gu=fetch}catch{}function fu(v){gu=v}function hp(v){return Wc.apply(this,arguments)}function Wc(){return(Wc=(0,s.A)(function*(v){try{let _="",{lud06:S,lud16:j}=JSON.parse(v.content);if(S){let{words:At}=st.decode(S,1e3),Bt=st.fromWords(At);_=Ws.decode(Bt)}else{if(!j)return null;{let[At,Bt]=j.split("@");_=new URL(`/.well-known/lnurlp/${At}`,`https://${Bt}`).toString()}}let lt=yield(yield gu(_)).json();if(lt.allowsNostr&<.nostrPubkey)return lt.callback}catch{}return null})).apply(this,arguments)}function yd({profile:v,event:_,amount:S,relays:j,comment:Q=""}){if(!S)throw new Error("amount not given");if(!v)throw new Error("profile not given");let lt={kind:9734,created_at:Math.round(Date.now()/1e3),content:Q,tags:[["p",v],["amount",S.toString()],["relays",...j]]};return _&<.tags.push(["e",_]),lt}function gp(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!Os(_))return"Zap request is not a valid Nostr event.";if(!Cc(_))return"Invalid signature on zap request.";let S=_.tags.find(([lt,At])=>"p"===lt&&At);if(!S)return"Zap request doesn't have a 'p' tag.";if(!S[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([lt,At])=>"e"===lt&&At);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([lt,At])=>"relays"===lt&&At)?null:"Zap request doesn't have a 'relays' tag."}function mu({zapRequest:v,preimage:_,bolt11:S,paidAt:j}){let Q=JSON.parse(v),lt=Q.tags.filter(([Bt])=>"e"===Bt||"p"===Bt||"a"===Bt),At={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...lt,["P",Q.pubkey],["bolt11",S],["description",v]]};return _&&At.tags.push(["preimage",_]),At}wn({},{createRumor:()=>mp,createSeal:()=>bu,createWrap:()=>Pl,unwrapEvent:()=>qa,unwrapManyEvents:()=>Kc,wrapEvent:()=>wu,wrapManyEvents:()=>af});var Nh=()=>Math.round(Date.now()/1e3),fp=()=>Math.round(Nh()-172800*Math.random()),pc=(v,_)=>Ll(v,_),Lh=(v,_,S)=>Ih(JSON.stringify(v),pc(_,S)),Oa=(v,_)=>JSON.parse(Oh(v.content,pc(_,v.pubkey)));function mp(v,_){const S={created_at:Nh(),content:"",tags:[],...v,pubkey:Ma(_)};return S.id=Hn(S),S}function bu(v,_,S){return Gs({kind:Bd,content:Lh(v,_,S),created_at:fp(),tags:[]},_)}function Pl(v,_){const S=xl();return Gs({kind:Zp,content:Lh(v,S,_),created_at:fp(),tags:[["p",_]]},S)}function wu(v,_,S){return Pl(bu(mp(v,_),_,S),S)}function af(v,_,S){if(!S||0===S.length)throw new Error("At least one recipient is required.");const j=Ma(_),Q=[wu(v,_,j)];return S.forEach(lt=>{Q.push(wu(v,_,lt))}),Q}function qa(v,_){const S=Oa(v,_);return Oa(S,_)}function Kc(v,_){let S=[];return v.forEach(j=>{S.push(qa(j,_))}),S.sort((j,Q)=>j.created_at-Q.created_at),S}wn({},{getToken:()=>sf,hashPayload:()=>_d,unpackEventFromToken:()=>Fh,validateEvent:()=>yu,validateEventKind:()=>Uh,validateEventMethodTag:()=>lf,validateEventPayloadTag:()=>wp,validateEventTimestamp:()=>Bh,validateEventUrlTag:()=>cf,validateToken:()=>Fl});var bp="Nostr ";function sf(v,_,S){return vd.apply(this,arguments)}function vd(){return(vd=(0,s.A)(function*(v,_,S,j=!1,Q){const lt={kind:nd,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};Q&<.tags.push(["payload",_d(Q)]);const At=yield S(lt);return(j?bp:"")+so.encode(Ya.encode(JSON.stringify(At)))})).apply(this,arguments)}function Fl(v,_,S){return Gc.apply(this,arguments)}function Gc(){return(Gc=(0,s.A)(function*(v,_,S){const j=yield Fh(v).catch(lt=>{throw lt});return yield yu(j,_,S).catch(lt=>{throw lt})})).apply(this,arguments)}function Fh(v){return xd.apply(this,arguments)}function xd(){return(xd=(0,s.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(bp,"");const _=Ws.decode(so.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Bh(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Uh(v){return v.kind===nd}function cf(v,_){const S=v.tags.find(j=>"u"===j[0]);return!!S&&S.length>0&&S[1]===_}function lf(v,_){const S=v.tags.find(j=>"method"===j[0]);return!!S&&S.length>0&&S[1].toLowerCase()===_.toLowerCase()}function _d(v){const _=bi(Ya.encode(JSON.stringify(v)));return(0,Ko.My)(_)}function wp(v,_){const S=v.tags.find(Q=>"payload"===Q[0]);if(!S)return!1;const j=_d(_);return S.length>0&&S[1]===j}function yu(v,_,S,j){return Bl.apply(this,arguments)}function Bl(){return(Bl=(0,s.A)(function*(v,_,S,j){if(!Cc(v))throw new Error("Invalid nostr event, signature invalid");if(!Uh(v))throw new Error("Invalid nostr event, kind invalid");if(!Bh(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!cf(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!lf(v,S))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!wp(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},8418:(i,a,r)=>{"use strict";r.d(a,{In:()=>z,OS:()=>O,rV:()=>q}),Symbol("verified");var O=0,z=3,q=4},6391:(i,a,r)=>{"use strict";r.d(a,{Vw:()=>tt,My:()=>T,Id:()=>dt,O8:()=>k,aT:()=>O,po:()=>nt,Ow:()=>A,ZJ:()=>ct,ld:()=>$t});const o="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,s=at=>at instanceof Uint8Array,k=at=>new DataView(at.buffer,at.byteOffset,at.byteLength),A=(at,rt)=>at<<32-rt|at>>>rt;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const M=Array.from({length:256},(at,rt)=>rt.toString(16).padStart(2,"0"));function T(at){if(!s(at))throw new Error("Uint8Array expected");let rt="";for(let yt=0;ytCt+Vt.length,0));let yt=0;return at.forEach(Ct=>{if(!s(Ct))throw new Error("Uint8Array expected");rt.set(Ct,yt),yt+=Ct.length}),rt}class tt{clone(){return this._cloneInto()}}function $t(at){const rt=Ct=>at().update(ct(Ct)).digest(),yt=at();return rt.outputLen=yt.outputLen,rt.blockLen=yt.blockLen,rt.create=()=>at(),rt}function nt(at=32){if(o&&"function"==typeof o.getRandomValues)return o.getRandomValues(new Uint8Array(at));throw new Error("crypto.getRandomValues must be defined")}},7106:(i,a,r)=>{"use strict";function o(s,c){this.v=s,this.k=c}r.d(a,{A:()=>o})},467:(i,a,r)=>{"use strict";function o(c,y,k,A,I,M,T){try{var O=c[M](T),L=O.value}catch(Y){return void k(Y)}O.done?y(L):Promise.resolve(L).then(A,I)}function s(c){return function(){var y=this,k=arguments;return new Promise(function(A,I){var M=c.apply(y,k);function T(L){o(M,A,I,T,O,"next",L)}function O(L){o(M,A,I,T,O,"throw",L)}T(void 0)})}}r.d(a,{A:()=>s})},6218:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(c){return new o.A(c,0)}},600:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(y){return function(){return new c(y.apply(this,arguments))}}function c(y){var k,A;function I(T,O){try{var L=y[T](O),Y=L.value,z=Y instanceof o.A;Promise.resolve(z?Y.v:Y).then(function(q){if(z){var ct="return"===T?"return":"next";if(!Y.k||q.done)return I(ct,q);q=y[ct](q).value}M(L.done?"return":"normal",q)},function(q){I("throw",q)})}catch(q){M("throw",q)}}function M(T,O){switch(T){case"return":k.resolve({value:O,done:!0});break;case"throw":k.reject(O);break;default:k.resolve({value:O,done:!1})}(k=k.next)?I(k.key,k.arg):A=null}this._invoke=function(T,O){return new Promise(function(L,Y){var z={key:T,arg:O,resolve:L,reject:Y,next:null};A?A=A.next=z:(k=A=z,I(T,O))})},"function"!=typeof y.return&&(this.return=void 0)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(y){return this._invoke("next",y)},c.prototype.throw=function(y){return this._invoke("throw",y)},c.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,a,r)=>{"use strict";function Y(gt,Nt,Se,Rt){return new(Se||(Se=Promise))(function(jt,De){function Ye(Ut){try{pe(Rt.next(Ut))}catch(Ee){De(Ee)}}function ft(Ut){try{pe(Rt.throw(Ut))}catch(Ee){De(Ee)}}function pe(Ut){Ut.done?jt(Ut.value):function de(jt){return jt instanceof Se?jt:new Se(function(De){De(jt)})}(Ut.value).then(Ye,ft)}pe((Rt=Rt.apply(gt,Nt||[])).next())})}function St(gt){return this instanceof St?(this.v=gt,this):new St(gt)}function kt(gt,Nt,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,Rt=Se.apply(gt,Nt||[]),jt=[];return de=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ye("next"),Ye("throw"),Ye("return",function De(He){return function(Ht){return Promise.resolve(Ht).then(He,Ee)}}),de[Symbol.asyncIterator]=function(){return this},de;function Ye(He,Ht){Rt[He]&&(de[He]=function(Me){return new Promise(function(Pe,We){jt.push([He,Me,Pe,We])>1||ft(He,Me)})},Ht&&(de[He]=Ht(de[He])))}function ft(He,Ht){try{!function pe(He){He.value instanceof St?Promise.resolve(He.value.v).then(Ut,Ee):ie(jt[0][2],He)}(Rt[He](Ht))}catch(Me){ie(jt[0][3],Me)}}function Ut(He){ft("next",He)}function Ee(He){ft("throw",He)}function ie(He,Ht){He(Ht),jt.shift(),jt.length&&ft(jt[0][0],jt[0][1])}}function at(gt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,Nt=gt[Symbol.asyncIterator];return Nt?Nt.call(gt):(gt=function dt(gt){var Nt="function"==typeof Symbol&&Symbol.iterator,Se=Nt&>[Nt],Rt=0;if(Se)return Se.call(gt);if(gt&&"number"==typeof gt.length)return{next:function(){return gt&&Rt>=gt.length&&(gt=void 0),{value:gt&>[Rt++],done:!gt}}};throw new TypeError(Nt?"Object is not iterable.":"Symbol.iterator is not defined.")}(gt),Se={},Rt("next"),Rt("throw"),Rt("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Rt(jt){Se[jt]=gt[jt]&&function(De){return new Promise(function(Ye,ft){!function de(jt,De,Ye,ft){Promise.resolve(ft).then(function(pe){jt({value:pe,done:Ye})},De)}(Ye,ft,(De=gt[jt](De)).done,De.value)})}}}r.d(a,{AQ:()=>kt,N3:()=>St,sH:()=>Y,xN:()=>at}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=4312)}]); \ No newline at end of file diff --git a/main.3fe5f5906a2fa9e5.js b/main.3fe5f5906a2fa9e5.js new file mode 100644 index 0000000..3ea8cfb --- /dev/null +++ b/main.3fe5f5906a2fa9e5.js @@ -0,0 +1 @@ +(self.webpackChunkangor=self.webpackChunkangor||[]).push([[792],{1648:(i,a,r)=>{"use strict";r.d(a,{F:()=>o.F});var o=r(5888)},5888:(i,a,r)=>{"use strict";r.d(a,{F:()=>Ct});let o=(()=>{class Vt{static{this.standard="cubic-bezier(0.4, 0.0, 0.2, 1)"}static{this.deceleration="cubic-bezier(0.0, 0.0, 0.2, 1)"}static{this.acceleration="cubic-bezier(0.4, 0.0, 1, 1)"}static{this.sharp="cubic-bezier(0.4, 0.0, 0.6, 1)"}}return Vt})(),s=(()=>{class Vt{static{this.complex="375ms"}static{this.entering="225ms"}static{this.exiting="195ms"}}return Vt})();var c=r(9969);const at=(Vt,Xt,oe,Xe,kr=`${s.entering} ${o.deceleration}`,gr=`${s.exiting} ${o.acceleration}`)=>(0,c.hZ)(Vt,[(0,c.wk)("void",(0,c.iF)(Xt)),(0,c.wk)("*",(0,c.iF)(oe)),(0,c.kY)("void => false, * => false",[]),(0,c.kY)("void => *",(0,c.i0)(Xe||kr),{params:{timings:kr}}),(0,c.kY)("* => void",(0,c.i0)(Xe||gr),{params:{timings:gr}})]),Ct=[(0,c.hZ)("expandCollapse",[(0,c.wk)("void, collapsed",(0,c.iF)({height:"0"})),(0,c.wk)("*, expanded",(0,c.iF)("*")),(0,c.kY)("void <=> false, collapsed <=> false, expanded <=> false",[]),(0,c.kY)("void <=> *, collapsed <=> expanded",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeIn",[(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInTop",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInBottom",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInLeft",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeInRight",[(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("fadeOut",[(0,c.wk)("*",(0,c.iF)({opacity:1})),(0,c.wk)("void",(0,c.iF)({opacity:0})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutTop",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutBottom",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutLeft",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("fadeOutRight",[(0,c.wk)("*",(0,c.iF)({opacity:1,transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({opacity:0,transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("shake",[(0,c.kY)("void => false",[]),(0,c.kY)("void => *, * => true",[(0,c.i0)("{{timings}}",(0,c.i7)([(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:0}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.1}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.2}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.3}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.4}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.5}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.6}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.7}),(0,c.iF)({transform:"translate3d(10px, 0, 0)",offset:.8}),(0,c.iF)({transform:"translate3d(-10px, 0, 0)",offset:.9}),(0,c.iF)({transform:"translate3d(0, 0, 0)",offset:1})]))],{params:{timings:"0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)"}})]),(0,c.hZ)("slideInTop",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInBottom",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInLeft",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideInRight",[(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.kY)("void => false",[]),(0,c.kY)("void => *",(0,c.i0)("{{timings}}"),{params:{timings:`${s.entering} ${o.deceleration}`}})]),(0,c.hZ)("slideOutTop",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, -100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutBottom",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(0, 100%, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutLeft",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(-100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),(0,c.hZ)("slideOutRight",[(0,c.wk)("*",(0,c.iF)({transform:"translate3d(0, 0, 0)"})),(0,c.wk)("void",(0,c.iF)({transform:"translate3d(100%, 0, 0)"})),(0,c.kY)("false => void",[]),(0,c.kY)("* => void",(0,c.i0)("{{timings}}"),{params:{timings:`${s.exiting} ${o.acceleration}`}})]),at("zoomIn",{opacity:0,transform:"scale(0.5)"},{opacity:1,transform:"scale(1)"},""),at("zoomOut",{opacity:1,transform:"scale(1)"},{opacity:0,transform:"scale(0.5)"},"")]},7857:(i,a,r)=>{"use strict";r.d(a,{$w:()=>lr,lX:()=>c,Tv:()=>os});var o=r(1648),s=r(4438);let c=(()=>{class G{constructor(){this._componentRegistry=new Map,this._navigationStore=new Map}registerComponent(et,te){this._componentRegistry.set(et,te)}deregisterComponent(et){this._componentRegistry.delete(et)}getComponent(et){return this._componentRegistry.get(et)}storeNavigation(et,te){this._navigationStore.set(et,te)}getNavigation(et){return this._navigationStore.get(et)??[]}deleteNavigation(et){this._navigationStore.has(et)||console.warn(`Navigation with the key '${et}' does not exist.`),this._navigationStore.delete(et)}getFlatNavigation(et,te=[]){for(const le of et)"basic"===le.type?te.push(le):le.children&&this.getFlatNavigation(le.children,te);return te}getItem(et,te){for(const le of te){if(le.id===et)return le;if(le.children){const Br=this.getItem(et,le.children);if(Br)return Br}}return null}getItemParent(et,te,le){for(const Br of te){if(Br.id===et)return le;if(Br.children){const jr=this.getItemParent(et,Br.children,Br);if(jr)return jr}}return null}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275prov=s.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})();var y=r(7209),k=r(2771),A=r(1413),I=r(177),M=r(9213),T=r(9115),O=r(4823),L=r(5245),Y=r(6977);const z=G=>({"angor-horizontal-navigation-item-active-forced":G}),q=G=>[G];function ct(G,Qt){1&G&&s.eu8(0)}function dt(G,Qt){if(1&G&&(s.j41(0,"div",2),s.DNE(1,ct,1,0,"ng-container",7),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,z,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function tt(G,Qt){1&G&&s.eu8(0)}function vt(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,tt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Mt(G,Qt){1&G&&s.eu8(0)}function $t(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,Mt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,z,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function St(G,Qt){1&G&&s.eu8(0)}function kt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,St,1,0,"ng-container",7),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,z,jr.item.active))("routerLink",s.eq3(12,q,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-horizontal-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function nt(G,Qt){1&G&&s.eu8(0)}function at(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function rt(G,Qt){1&G&&s.eu8(0)}function yt(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,rt,1,0,"ng-container",7),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,z,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function Ct(G,Qt){1&G&&s.eu8(0)}function Vt(G,Qt){if(1&G&&(s.j41(0,"div",6),s.DNE(1,Ct,1,0,"ng-container",7),s.k0s()),2&G){s.XpG();const et=s.sdS(9);s.R7$(),s.Y8G("ngTemplateOutlet",et)}}function Xt(G,Qt){if(1&G&&s.nrm(0,"mat-icon",11),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function oe(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"span",14),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Xe(G,Qt){if(1&G&&(s.j41(0,"div",16)(1,"div",17),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function kr(G,Qt){if(1&G&&(s.DNE(0,Xt,1,2,"mat-icon",11),s.j41(1,"div",12)(2,"div",13)(3,"span",14),s.EFF(4),s.k0s()(),s.DNE(5,oe,3,2,"div",15),s.k0s(),s.DNE(6,Xe,3,2,"div",16)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let gr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new A.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"href","target","matTooltip"],[1,"angor-horizontal-navigation-item","angor-horizontal-navigation-item-disabled"],[4,"ngTemplateOutlet"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-horizontal-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],["mat-menu-item","",1,"angor-horizontal-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,dt,2,14,"div",2)(2,vt,2,4,"a",3)(3,$t,2,5,"div",4)(4,kt,2,14,"div",2)(5,at,2,4,"a",5)(6,yt,2,5,"div",4)(7,Vt,2,1,"div",6),s.k0s(),s.DNE(8,kr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-horizontal-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,O.uc,O.oV,I.T3,T.Cn,T.fb,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),wr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();const Wr=["matMenu"],xe=(G,Qt)=>({"angor-horizontal-navigation-menu-active":G,"angor-horizontal-navigation-menu-active-forced":Qt}),Le=G=>({$implicit:G}),gt=(G,Qt)=>({"angor-horizontal-navigation-item-disabled":G,"angor-horizontal-navigation-item-active-forced":Qt});function Nt(G,Qt){1&G&&s.eu8(0)}function Se(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",6,2),s.bIt("onMenuOpen",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())})("onMenuClose",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.triggerChangeDetection())}),s.DNE(2,Nt,1,0,"ng-container",7),s.k0s()}if(2&G){const et=s.sdS(1),te=s.XpG(),le=s.sdS(2),Br=s.sdS(6);s.Y8G("ngClass",s.l_i(4,xe,et.menuOpen,te.item.active))("matMenuTriggerFor",le),s.R7$(2),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te.item))}}function Rt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.nrm(1,"angor-horizontal-navigation-basic-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("disabled",et.disabled),s.R7$(),s.Y8G("item",et)("name",te.name)}}function de(G,Qt){1&G&&s.eu8(0)}function jt(G,Qt){if(1&G&&(s.j41(0,"div",9),s.DNE(1,de,1,0,"ng-container",7),s.nrm(2,"angor-horizontal-navigation-branch-item",12,3),s.k0s()),2&G){const et=s.sdS(3),te=s.XpG(2).$implicit,le=s.XpG(),Br=s.sdS(6);s.Y8G("disabled",te.disabled)("matMenuTriggerFor",et.matMenu),s.R7$(),s.Y8G("ngTemplateOutlet",Br)("ngTemplateOutletContext",s.eq3(7,Le,te)),s.R7$(),s.Y8G("child",!0)("item",te)("name",le.name)}}function De(G,Qt){if(1&G&&(s.j41(0,"div",10),s.nrm(1,"angor-horizontal-navigation-divider-item",11),s.k0s()),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.R7$(),s.Y8G("item",et)("name",te.name)}}function Ye(G,Qt){if(1&G&&s.DNE(0,Rt,2,3,"div",8)(1,jt,4,9,"div",9)(2,De,2,2,"div",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1)}}function ft(G,Qt){if(1&G&&s.DNE(0,Ye,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function pe(G,Qt){if(1&G&&s.nrm(0,"mat-icon",15),2&G){const et=s.XpG().$implicit;s.Y8G("ngClass",null==et.classes?null:et.classes.icon)("svgIcon",et.icon)}}function Ut(G,Qt){if(1&G&&(s.j41(0,"div",19)(1,"span",18),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",null==et.classes?null:et.classes.subtitle),s.R7$(),s.SpI(" ",et.subtitle," ")}}function Ee(G,Qt){if(1&G&&(s.j41(0,"div",20)(1,"div",21),s.EFF(2),s.k0s()()),2&G){const et=s.XpG().$implicit;s.R7$(),s.Y8G("ngClass",et.badge.classes),s.R7$(),s.SpI(" ",et.badge.title," ")}}function ie(G,Qt){if(1&G&&(s.j41(0,"div",13)(1,"div",14),s.DNE(2,pe,1,2,"mat-icon",15),s.j41(3,"div",16)(4,"div",17)(5,"span",18),s.EFF(6),s.k0s()(),s.DNE(7,Ut,3,2,"div",19),s.k0s(),s.DNE(8,Ee,3,2,"div",20),s.k0s()()),2&G){const et=Qt.$implicit;s.AVh("angor-horizontal-navigation-item-has-subtitle",!!et.subtitle),s.Y8G("ngClass",null==et.classes?null:et.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.l_i(10,gt,et.disabled,et.active))("matTooltip",et.tooltip||""),s.R7$(),s.vxM(et.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==et.classes?null:et.classes.title),s.R7$(),s.SpI(" ",et.title," "),s.R7$(),s.vxM(et.subtitle?7:-1),s.R7$(),s.vxM(et.badge?8:-1)}}let He=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this.child=!1,this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}triggerChangeDetection(){this._changeDetectorRef.markForCheck()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-branch-item"]],viewQuery:function(te,le){if(1&te&&s.GBs(Wr,7),2&te){let Br;s.mGM(Br=s.lsd())&&(le.matMenu=Br.first)}},inputs:{child:"child",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:7,vars:2,consts:[["matMenu","matMenu"],["itemTemplate",""],["trigger","matMenuTrigger"],["branch",""],[3,"ngClass","matMenuTriggerFor"],[1,"angor-horizontal-navigation-menu-panel",3,"overlapTrigger"],[3,"onMenuOpen","onMenuClose","ngClass","matMenuTriggerFor"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item",3,"disabled","matMenuTriggerFor"],["mat-menu-item","",1,"angor-horizontal-navigation-menu-item"],[3,"item","name"],[3,"child","item","name"],[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"],[1,"angor-horizontal-navigation-item",3,"ngClass","matTooltip"],[1,"angor-horizontal-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-horizontal-navigation-item-title-wrapper"],[1,"angor-horizontal-navigation-item-title"],[3,"ngClass"],[1,"angor-horizontal-navigation-item-subtitle","text-hint"],[1,"angor-horizontal-navigation-item-badge"],[1,"angor-horizontal-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.DNE(0,Se,3,9,"div",4),s.j41(1,"mat-menu",5,0),s.Z7z(3,ft,1,1,null,null,le.trackByFn,!0),s.k0s(),s.DNE(5,ie,9,13,"ng-template",null,1,s.C5r)),2&te&&(s.vxM(le.child?-1:0),s.R7$(),s.Y8G("overlapTrigger",!1),s.R7$(2),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,T.Cn,T.kk,T.fb,T.Cp,I.T3,gr,wr,O.uc,O.oV,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),Ht=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorHorizontalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorHorizontalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-horizontal-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function Me(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-basic-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Pe(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-branch-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function We(G,Qt){if(1&G&&s.nrm(0,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Or(G,Qt){if(1&G&&s.DNE(0,Me,1,2,"angor-horizontal-navigation-basic-item",1)(1,Pe,1,2,"angor-horizontal-navigation-branch-item",1)(2,We,1,2,"angor-horizontal-navigation-spacer-item",1),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("aside"===et.type||"collapsable"===et.type||"group"===et.type?1:-1),s.R7$(),s.vxM("spacer"===et.type?2:-1)}}function ko(G,Qt){if(1&G&&s.DNE(0,Or,3,3),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let lr=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.name=this._angorUtilsService.randomId(),this.onRefreshed=new k.m(1),this._unsubscribeAll=new A.B}ngOnChanges(et){"navigation"in et&&this._changeDetectorRef.markForCheck()}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this)}ngOnDestroy(){this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-horizontal-navigation"]],inputs:{name:"name",navigation:"navigation"},exportAs:["angorHorizontalNavigation"],standalone:!0,features:[s.OA$,s.aNF],decls:3,vars:0,consts:[[1,"angor-horizontal-navigation-wrapper"],[1,"angor-horizontal-navigation-menu-item",3,"item","name"]],template:function(te,le){1&te&&(s.j41(0,"div",0),s.Z7z(1,ko,1,1,null,null,le.trackByFn,!0),s.k0s()),2&te&&(s.R7$(),s.Dyx(le.navigation))},dependencies:[gr,He,Ht],styles:["angor-horizontal-navigation .angor-horizontal-navigation-wrapper{display:flex;align-items:center}@media (min-width: 600px){angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item:hover .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item:hover .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper{border-radius:4px;overflow:hidden}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{padding:0 16px;cursor:pointer;-webkit-user-select:none;user-select:none}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-icon{margin-right:12px}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active .angor-horizontal-navigation-item-wrapper,angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-branch-item .angor-horizontal-navigation-menu-active-forced .angor-horizontal-navigation-item-wrapper{background-color:var(--angor-bg-hover)}angor-horizontal-navigation .angor-horizontal-navigation-wrapper angor-horizontal-navigation-spacer-item{margin:12px 0}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item{height:auto;min-height:0;line-height:normal;white-space:normal}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-branch-item,.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{display:flex;flex:1 1 auto}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item{margin:8px -16px}.angor-horizontal-navigation-menu-panel .angor-horizontal-navigation-menu-item angor-horizontal-navigation-divider-item .angor-horizontal-navigation-item-wrapper{height:1px;box-shadow:0 1px}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-title,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-title{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))!important}.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-subtitle,.dark .angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-subtitle{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active .angor-horizontal-navigation-item-icon,.angor-horizontal-navigation-menu-item angor-horizontal-navigation-basic-item .angor-horizontal-navigation-item-active-forced .angor-horizontal-navigation-item-icon{--tw-text-opacity: 1 !important;color:rgba(var(--angor-primary-rgb),var(--tw-text-opacity))!important}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper{width:100%}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper.angor-horizontal-navigation-item-has-subtitle .angor-horizontal-navigation-item{min-height:56px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:48px;width:100%;font-size:13px;font-weight:500;text-decoration:none}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-title-wrapper .angor-horizontal-navigation-item-subtitle{font-size:12px}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge{margin-left:auto}.angor-horizontal-navigation-menu-item .angor-horizontal-navigation-item-wrapper .angor-horizontal-navigation-item .angor-horizontal-navigation-item-badge .angor-horizontal-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}\n"],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Lt=G=>({"angor-vertical-navigation-item-active-forced":G}),be=G=>[G];function se(G,Qt){1&G&&s.eu8(0)}function Ie(G,Qt){if(1&G&&(s.j41(0,"a",2),s.DNE(1,se,1,0,"ng-container",6),s.k0s()),2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function br(G,Qt){1&G&&s.eu8(0)}function mt(G,Qt){if(1&G&&(s.j41(0,"a",3),s.DNE(1,br,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function $(G,Qt){1&G&&s.eu8(0)}function Z(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"div",7),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,$,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function it(G,Qt){1&G&&s.eu8(0)}function Tt(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",8),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,it,1,0,"ng-container",6),s.k0s()}if(2&G){let et,te,le,Br;const jr=s.XpG(),Oo=s.sdS(9);s.Y8G("ngClass",s.eq3(10,Lt,jr.item.active))("routerLink",s.eq3(12,be,jr.item.link))("fragment",null!==(et=jr.item.fragment)&&void 0!==et?et:null)("preserveFragment",null!==(te=jr.item.preserveFragment)&&void 0!==te&&te)("queryParams",null!==(le=jr.item.queryParams)&&void 0!==le?le:null)("queryParamsHandling",null!==(Br=jr.item.queryParamsHandling)&&void 0!==Br?Br:null)("routerLinkActive","angor-vertical-navigation-item-active")("routerLinkActiveOptions",jr.isActiveMatchOptions)("matTooltip",jr.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",Oo)}}function It(G,Qt){1&G&&s.eu8(0)}function ye(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"a",9),s.bIt("click",function(){s.eBV(et);const le=s.XpG();return s.Njj(le.item.function(le.item))}),s.DNE(1,It,1,0,"ng-container",6),s.k0s()}if(2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("href",et.item.link,s.B4B)("target",et.item.target||"_self")("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function ir(G,Qt){1&G&&s.eu8(0)}function Je(G,Qt){if(1&G&&(s.j41(0,"div",4),s.DNE(1,ir,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("ngClass",s.eq3(3,Lt,et.item.active))("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function er(G,Qt){1&G&&s.eu8(0)}function Hr(G,Qt){if(1&G&&(s.j41(0,"div",5),s.DNE(1,er,1,0,"ng-container",6),s.k0s()),2&G){const et=s.XpG(),te=s.sdS(9);s.Y8G("matTooltip",et.item.tooltip||""),s.R7$(),s.Y8G("ngTemplateOutlet",te)}}function eo(G,Qt){if(1&G&&s.nrm(0,"mat-icon",10),2&G){const et=s.XpG(2);s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Bo(G,Qt){if(1&G&&(s.j41(0,"div",14)(1,"span",13),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function fr(G,Qt){if(1&G&&(s.j41(0,"div",15)(1,"div",16),s.EFF(2),s.k0s()()),2&G){const et=s.XpG(2);s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Pr(G,Qt){if(1&G&&(s.DNE(0,eo,1,2,"mat-icon",10),s.j41(1,"div",11)(2,"div",12)(3,"span",13),s.EFF(4),s.k0s()(),s.DNE(5,Bo,3,2,"div",14),s.k0s(),s.DNE(6,fr,3,2,"div",15)),2&G){const et=s.XpG();s.vxM(et.item.icon?0:-1),s.R7$(3),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.title),s.R7$(),s.SpI(" ",et.item.title," "),s.R7$(),s.vxM(et.item.subtitle?5:-1),s.R7$(),s.vxM(et.item.badge?6:-1)}}let re=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.isActiveMatchOptions=this._angorUtilsService.subsetMatchOptions,this._unsubscribeAll=new A.B}ngOnInit(){this.isActiveMatchOptions=this.item.isActiveMatchOptions??this.item.exactMatch?this._angorUtilsService.exactMatchOptions:this._angorUtilsService.subsetMatchOptions,this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-basic-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:10,vars:10,consts:[["itemTemplate",""],[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"href","target","matTooltip"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item","angor-vertical-navigation-item-disabled",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","ngClass","routerLink","fragment","preserveFragment","queryParams","queryParamsHandling","routerLinkActive","routerLinkActiveOptions","matTooltip"],[1,"angor-vertical-navigation-item",3,"click","href","target","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"]],template:function(te,le){1&te&&(s.j41(0,"div",1),s.DNE(1,Ie,2,14,"a",2)(2,mt,2,4,"a",3)(3,Z,2,5,"div",4)(4,Tt,2,14,"a",2)(5,ye,2,4,"a",3)(6,Je,2,5,"div",4)(7,Hr,2,2,"div",5),s.k0s(),s.DNE(8,Pr,7,5,"ng-template",null,0,s.C5r)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.vxM(!le.item.link||le.item.externalLink||le.item.function||le.item.disabled?-1:1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&!le.item.function&&!le.item.disabled?2:-1),s.R7$(),s.vxM(le.item.link||!le.item.function||le.item.disabled?-1:3),s.R7$(),s.vxM(le.item.link&&!le.item.externalLink&&le.item.function&&!le.item.disabled?4:-1),s.R7$(),s.vxM(le.item.link&&le.item.externalLink&&le.item.function&&!le.item.disabled?5:-1),s.R7$(),s.vxM(le.item.link||le.item.function||le.item.disabled?-1:6),s.R7$(),s.vxM(le.item.disabled?7:-1))},dependencies:[I.YU,L.Wk,L.wQ,O.uc,O.oV,I.T3,M.m_,M.An],encapsulation:2,changeDetection:0})}}return G})(),qt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-divider-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper","divider",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})(),Pt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-spacer-item"]],inputs:{item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:1,vars:1,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"]],template:function(te,le){1&te&&s.nrm(0,"div",0),2&te&&s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper)},dependencies:[I.YU],encapsulation:2,changeDetection:0})}}return G})();function ue(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function mr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Qr(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",8),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function Ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Wo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function tr(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function $e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function _e(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function qe(G,Qt){if(1&G&&s.DNE(0,Ro,1,2,"angor-vertical-navigation-basic-item",9)(1,Wo,1,3,"angor-vertical-navigation-collapsable-item",10)(2,tr,1,2,"angor-vertical-navigation-divider-item",9)(3,$e,1,2,"angor-vertical-navigation-group-item",9)(4,_e,1,2,"angor-vertical-navigation-spacer-item",9),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ke(G,Qt){if(1&G&&s.DNE(0,qe,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}let me=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._angorNavigationService=(0,s.WQX)(c),this._unsubscribeAll=new A.B}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-group-item"]],inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:8,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,ue,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,mr,3,2,"div",6),s.k0s(),s.DNE(8,Qr,3,2,"div",7),s.k0s()(),s.Z7z(9,ke,1,1,null,null,le.trackByFn,!0)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(2),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Dyx(le.item.children))},dependencies:()=>[G,I.YU,M.m_,M.An,re,Ke,qt,Pt],encapsulation:2,changeDetection:0})}}return G})();var Yt=r(5964);const Ae=G=>({"angor-vertical-navigation-item-disabled":G});function ar(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function yr(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function Eo(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",10),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function $n(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Xn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",12),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Yo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ni(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function Fo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function pi(G,Qt){if(1&G&&s.DNE(0,$n,1,2,"angor-vertical-navigation-basic-item",11)(1,Xn,1,3,"angor-vertical-navigation-collapsable-item",12)(2,Yo,1,2,"angor-vertical-navigation-divider-item",11)(3,ni,1,2,"angor-vertical-navigation-group-item",11)(4,Fo,1,2,"angor-vertical-navigation-spacer-item",11),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ei(G,Qt){if(1&G&&s.DNE(0,pi,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Oe(G,Qt){if(1&G&&(s.j41(0,"div",9),s.Z7z(1,ei,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("@expandCollapse",void 0),s.R7$(),s.Dyx(et.item.children)}}let Ke=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.isCollapsed=!0,this.isExpanded=!1,this._unsubscribeAll=new A.B}get classList(){return{"angor-vertical-navigation-item-collapsed":this.isCollapsed,"angor-vertical-navigation-item-expanded":this.isExpanded}}ngOnInit(){this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._hasActiveChild(this.item,this._router.url)?this.expand():this.autoCollapse&&this.collapse(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&this._isChildrenOf(et,this.item)&&this.collapse()}),this.autoCollapse&&this._angorVerticalNavigationComponent.onCollapsableItemExpanded.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{null!==et&&(this._isChildrenOf(this.item,et)||this._hasActiveChild(this.item,this._router.url)||this.item!==et&&this.collapse())}),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{this._hasActiveChild(this.item,et.urlAfterRedirects)?this.expand():this.autoCollapse&&this.collapse()}),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}collapse(){this.item.disabled||this.isCollapsed||(this.isCollapsed=!0,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemCollapsed.next(this.item))}expand(){this.item.disabled||this.isCollapsed&&(this.isCollapsed=!1,this.isExpanded=!this.isCollapsed,this._changeDetectorRef.markForCheck(),this._angorVerticalNavigationComponent.onCollapsableItemExpanded.next(this.item))}toggleCollapsable(){this.isCollapsed?this.expand():this.collapse()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le)if(Br.children&&this._hasActiveChild(Br,te)||Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0;return!1}_isChildrenOf(et,te){const le=et.children;if(!le)return!1;if(le.indexOf(te)>-1)return!0;for(const Br of le)if(Br.children&&this._isChildrenOf(Br,te))return!0;return!1}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-collapsable-item"]],hostVars:2,hostBindings:function(te,le){2&te&&s.HbH(le.classList)},inputs:{autoCollapse:"autoCollapse",item:"item",name:"name"},standalone:!0,features:[s.aNF],decls:11,vars:14,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"click","ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-arrow","icon-size-4",3,"svgIcon"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.bIt("click",function(){return le.toggleCollapsable()}),s.DNE(2,ar,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,yr,3,2,"div",6),s.k0s(),s.DNE(8,Eo,3,2,"div",7),s.nrm(9,"mat-icon",8),s.k0s()(),s.DNE(10,Oe,3,1,"div",9)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.eq3(12,Ae,le.item.disabled))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.Y8G("svgIcon","heroicons_solid:chevron-right"),s.R7$(),s.vxM(le.isCollapsed?-1:10))},dependencies:()=>[G,I.YU,O.uc,O.oV,M.m_,M.An,re,qt,me,Pt],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})();const Dr=(G,Qt,et)=>({"angor-vertical-navigation-item-active":G,"angor-vertical-navigation-item-disabled":Qt,"angor-vertical-navigation-item-active-forced":et});function Lr(G,Qt){if(1&G&&s.nrm(0,"mat-icon",2),2&G){const et=s.XpG();s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.icon)("svgIcon",et.item.icon)}}function Ur(G,Qt){if(1&G&&(s.j41(0,"div",6)(1,"span",5),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",null==et.item.classes?null:et.item.classes.subtitle),s.R7$(),s.SpI(" ",et.item.subtitle," ")}}function ao(G,Qt){if(1&G&&(s.j41(0,"div",7)(1,"div",9),s.EFF(2),s.k0s()()),2&G){const et=s.XpG();s.R7$(),s.Y8G("ngClass",et.item.badge.classes),s.R7$(),s.SpI(" ",et.item.badge.title," ")}}function no(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function vo(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",11),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Co(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function ro(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function zt(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)}}function he(G,Qt){if(1&G&&s.DNE(0,no,1,2,"angor-vertical-navigation-basic-item",10)(1,vo,1,3,"angor-vertical-navigation-collapsable-item",11)(2,Co,1,2,"angor-vertical-navigation-divider-item",10)(3,ro,1,2,"angor-vertical-navigation-group-item",10)(4,zt,1,2,"angor-vertical-navigation-spacer-item",10),2&G){const et=s.XpG().$implicit;s.vxM("basic"===et.type?0:-1),s.R7$(),s.vxM("collapsable"===et.type?1:-1),s.R7$(),s.vxM("divider"===et.type?2:-1),s.R7$(),s.vxM("group"===et.type?3:-1),s.R7$(),s.vxM("spacer"===et.type?4:-1)}}function ce(G,Qt){if(1&G&&s.DNE(0,he,5,5),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function pt(G,Qt){if(1&G&&(s.j41(0,"div",8),s.Z7z(1,ce,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.R7$(),s.Dyx(et.item.children)}}let Gt=(()=>{class G{constructor(){this._changeDetectorRef=(0,s.WQX)(s.gRc),this._router=(0,s.WQX)(L.Ix),this._angorNavigationService=(0,s.WQX)(c),this.active=!1,this._unsubscribeAll=new A.B}ngOnChanges(et){"activeItemId"in et&&this._markIfActive(this._router.url)}ngOnInit(){this._markIfActive(this._router.url),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(et=>{this._markIfActive(et.urlAfterRedirects)}),this._angorVerticalNavigationComponent=this._angorNavigationService.getComponent(this.name),this._angorVerticalNavigationComponent.onRefreshed.pipe((0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}trackByFn(et,te){return te.id||et}_hasActiveChild(et,te){const le=et.children;if(!le)return!1;for(const Br of le){if(Br.children&&this._hasActiveChild(Br,te))return!0;if("basic"===Br.type&&Br.link&&this._router.isActive(Br.link,Br.exactMatch||!1))return!0}return!1}_markIfActive(et){this.active=this.activeItemId===this.item.id,this._hasActiveChild(this.item,et)&&(this.active=!0),this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation-aside-item"]],inputs:{activeItemId:"activeItemId",autoCollapse:"autoCollapse",item:"item",name:"name",skipChildren:"skipChildren"},standalone:!0,features:[s.OA$,s.aNF],decls:10,vars:15,consts:[[1,"angor-vertical-navigation-item-wrapper",3,"ngClass"],[1,"angor-vertical-navigation-item",3,"ngClass","matTooltip"],[1,"angor-vertical-navigation-item-icon",3,"ngClass","svgIcon"],[1,"angor-vertical-navigation-item-title-wrapper"],[1,"angor-vertical-navigation-item-title"],[3,"ngClass"],[1,"angor-vertical-navigation-item-subtitle"],[1,"angor-vertical-navigation-item-badge"],[1,"angor-vertical-navigation-item-children"],[1,"angor-vertical-navigation-item-badge-content",3,"ngClass"],[3,"item","name"],[3,"item","name","autoCollapse"]],template:function(te,le){1&te&&(s.j41(0,"div",0)(1,"div",1),s.DNE(2,Lr,1,2,"mat-icon",2),s.j41(3,"div",3)(4,"div",4)(5,"span",5),s.EFF(6),s.k0s()(),s.DNE(7,Ur,3,2,"div",6),s.k0s(),s.DNE(8,ao,3,2,"div",7),s.k0s()(),s.DNE(9,pt,3,0,"div",8)),2&te&&(s.AVh("angor-vertical-navigation-item-has-subtitle",!!le.item.subtitle),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.wrapper),s.R7$(),s.Y8G("ngClass",s.sMw(11,Dr,le.active,le.item.disabled,le.item.active))("matTooltip",le.item.tooltip||""),s.R7$(),s.vxM(le.item.icon?2:-1),s.R7$(3),s.Y8G("ngClass",null==le.item.classes?null:le.item.classes.title),s.R7$(),s.SpI(" ",le.item.title," "),s.R7$(),s.vxM(le.item.subtitle?7:-1),s.R7$(),s.vxM(le.item.badge?8:-1),s.R7$(),s.vxM(le.skipChildren?-1:9))},dependencies:[I.YU,O.uc,O.oV,M.m_,M.An,re,Ke,qt,me,Pt],encapsulation:2,changeDetection:0})}}return G})();class Dt{constructor(Qt,et,te,le){this.x=Qt,this.y=et,this.w=te,this.h=le}}class ne{constructor(Qt,et){this.x=Qt,this.y=et}}var Re=r(4085),Ce=r(6860),or=r(2401);function Cr(G){return getComputedStyle(G)}function Er(G,Qt){for(var et in Qt){var te=Qt[et];"number"==typeof te&&(te+="px"),G.style[et]=te}return G}function Nr(G){var Qt=document.createElement("div");return Qt.className=G,Qt}var Fr=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function qr(G,Qt){if(!Fr)throw new Error("No element matching method supported");return Fr.call(G,Qt)}function to(G){G.remove?G.remove():G.parentNode&&G.parentNode.removeChild(G)}function xo(G,Qt){return Array.prototype.filter.call(G.children,function(et){return qr(et,Qt)})}var So={main:"ps",rtl:"ps__rtl",element:{thumb:function(G){return"ps__thumb-"+G},rail:function(G){return"ps__rail-"+G},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(G){return"ps--active-"+G},scrolling:function(G){return"ps--scrolling-"+G}}},po={x:null,y:null};function io(G,Qt){var et=G.element.classList,te=So.state.scrolling(Qt);et.contains(te)?clearTimeout(po[Qt]):et.add(te)}function Yn(G,Qt){po[Qt]=setTimeout(function(){return G.isAlive&&G.element.classList.remove(So.state.scrolling(Qt))},G.settings.scrollingThreshold)}var jn=function(Qt){this.element=Qt,this.handlers={}},Uo={isEmpty:{configurable:!0}};jn.prototype.bind=function(Qt,et){typeof this.handlers[Qt]>"u"&&(this.handlers[Qt]=[]),this.handlers[Qt].push(et),this.element.addEventListener(Qt,et,!1)},jn.prototype.unbind=function(Qt,et){var te=this;this.handlers[Qt]=this.handlers[Qt].filter(function(le){return!(!et||le===et)||(te.element.removeEventListener(Qt,le,!1),!1)})},jn.prototype.unbindAll=function(){for(var Qt in this.handlers)this.unbind(Qt)},Uo.isEmpty.get=function(){var G=this;return Object.keys(this.handlers).every(function(Qt){return 0===G.handlers[Qt].length})},Object.defineProperties(jn.prototype,Uo);var Fn=function(){this.eventElements=[]};function zi(G){if("function"==typeof window.CustomEvent)return new CustomEvent(G);var Qt=document.createEvent("CustomEvent");return Qt.initCustomEvent(G,!1,!1,void 0),Qt}function nn(G,Qt,et,te,le){var Br;if(void 0===te&&(te=!0),void 0===le&&(le=!1),"top"===Qt)Br=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==Qt)throw new Error("A proper axis should be provided");Br=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function ja(G,Qt,et,te,le){var Br=et[0],jr=et[1],Oo=et[2],so=et[3],rn=et[4],bn=et[5];void 0===te&&(te=!0),void 0===le&&(le=!1);var Lo=G.element;G.reach[so]=null,Lo[Oo]<1&&(G.reach[so]="start"),Lo[Oo]>G[Br]-G[jr]-1&&(G.reach[so]="end"),Qt&&(Lo.dispatchEvent(zi("ps-scroll-"+so)),Qt<0?Lo.dispatchEvent(zi("ps-scroll-"+rn)):Qt>0&&Lo.dispatchEvent(zi("ps-scroll-"+bn)),te&&function Di(G,Qt){io(G,Qt),Yn(G,Qt)}(G,so)),G.reach[so]&&(Qt||le)&&Lo.dispatchEvent(zi("ps-"+so+"-reach-"+G.reach[so]))}(G,et,Br,te,le)}function Tn(G){return parseInt(G,10)||0}Fn.prototype.eventElement=function(Qt){var et=this.eventElements.filter(function(te){return te.element===Qt})[0];return et||(et=new jn(Qt),this.eventElements.push(et)),et},Fn.prototype.bind=function(Qt,et,te){this.eventElement(Qt).bind(et,te)},Fn.prototype.unbind=function(Qt,et,te){var le=this.eventElement(Qt);le.unbind(et,te),le.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(le),1)},Fn.prototype.unbindAll=function(){this.eventElements.forEach(function(Qt){return Qt.unbindAll()}),this.eventElements=[]},Fn.prototype.once=function(Qt,et,te){var le=this.eventElement(Qt),Br=function(jr){le.unbind(et,Br),te(jr)};le.bind(et,Br)};var da={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function ka(G){var Qt=G.element,et=Math.floor(Qt.scrollTop),te=Qt.getBoundingClientRect();G.containerWidth=Math.floor(te.width),G.containerHeight=Math.floor(te.height),G.contentWidth=Qt.scrollWidth,G.contentHeight=Qt.scrollHeight,Qt.contains(G.scrollbarXRail)||(xo(Qt,So.element.rail("x")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarXRail)),Qt.contains(G.scrollbarYRail)||(xo(Qt,So.element.rail("y")).forEach(function(le){return to(le)}),Qt.appendChild(G.scrollbarYRail)),!G.settings.suppressScrollX&&G.containerWidth+G.settings.scrollXMarginOffset=G.railXWidth-G.scrollbarXWidth&&(G.scrollbarXLeft=G.railXWidth-G.scrollbarXWidth),G.scrollbarYTop>=G.railYHeight-G.scrollbarYHeight&&(G.scrollbarYTop=G.railYHeight-G.scrollbarYHeight),function Zi(G,Qt){var et={width:Qt.railXWidth},te=Math.floor(G.scrollTop);et.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+Qt.containerWidth-Qt.contentWidth:G.scrollLeft,Qt.isScrollbarXUsingBottom?et.bottom=Qt.scrollbarXBottom-te:et.top=Qt.scrollbarXTop+te,Er(Qt.scrollbarXRail,et);var le={top:te,height:Qt.railYHeight};Qt.isScrollbarYUsingRight?le.right=Qt.isRtl?Qt.contentWidth-(Qt.negativeScrollAdjustment+G.scrollLeft)-Qt.scrollbarYRight-Qt.scrollbarYOuterWidth-9:Qt.scrollbarYRight-G.scrollLeft:le.left=Qt.isRtl?Qt.negativeScrollAdjustment+G.scrollLeft+2*Qt.containerWidth-Qt.contentWidth-Qt.scrollbarYLeft-Qt.scrollbarYOuterWidth:Qt.scrollbarYLeft+G.scrollLeft,Er(Qt.scrollbarYRail,le),Er(Qt.scrollbarX,{left:Qt.scrollbarXLeft,width:Qt.scrollbarXWidth-Qt.railBorderXWidth}),Er(Qt.scrollbarY,{top:Qt.scrollbarYTop,height:Qt.scrollbarYHeight-Qt.railBorderYWidth})}(Qt,G),G.scrollbarXActive?Qt.classList.add(So.state.active("x")):(Qt.classList.remove(So.state.active("x")),G.scrollbarXWidth=0,G.scrollbarXLeft=0,Qt.scrollLeft=!0===G.isRtl?G.contentWidth:0),G.scrollbarYActive?Qt.classList.add(So.state.active("y")):(Qt.classList.remove(So.state.active("y")),G.scrollbarYHeight=0,G.scrollbarYTop=0,Qt.scrollTop=0)}function Ai(G,Qt){return G.settings.minScrollbarLength&&(Qt=Math.max(Qt,G.settings.minScrollbarLength)),G.settings.maxScrollbarLength&&(Qt=Math.min(Qt,G.settings.maxScrollbarLength)),Qt}var ua=null;function na(G,Qt){var et=Qt[0],te=Qt[1],le=Qt[2],Br=Qt[3],jr=Qt[4],Oo=Qt[5],so=Qt[6],rn=Qt[7],bn=Qt[8],Lo=G.element,In=null,Si=null,Bn=null;function Ti(ri){ri.touches&&ri.touches[0]&&(ri[le]=ri.touches[0]["page"+rn.toUpperCase()]),ua===jr&&(Lo[so]=In+Bn*(ri[le]-Si),io(G,rn),ka(G),ri.stopPropagation(),ri.preventDefault())}function wi(){Yn(G,rn),G[bn].classList.remove(So.state.clicking),document.removeEventListener("mousemove",Ti),document.removeEventListener("mouseup",wi),document.removeEventListener("touchmove",Ti),document.removeEventListener("touchend",wi),ua=null}function qi(ri){null===ua&&(ua=jr,In=Lo[so],ri.touches&&(ri[le]=ri.touches[0]["page"+rn.toUpperCase()]),Si=ri[le],Bn=(G[te]-G[et])/(G[Br]-G[Oo]),ri.touches?(document.addEventListener("touchmove",Ti,{passive:!1}),document.addEventListener("touchend",wi)):(document.addEventListener("mousemove",Ti),document.addEventListener("mouseup",wi)),G[bn].classList.add(So.state.clicking)),ri.stopPropagation(),ri.cancelable&&ri.preventDefault()}G[jr].addEventListener("mousedown",qi),G[jr].addEventListener("touchstart",qi)}var qn={"click-rail":function Zn(G){G.event.bind(G.scrollbarY,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarYRail,"mousedown",function(Qt){var et=Qt.pageY-window.pageYOffset-G.scrollbarYRail.getBoundingClientRect().top;G.element.scrollTop+=(et>G.scrollbarYTop?1:-1)*G.containerHeight,ka(G),Qt.stopPropagation()}),G.event.bind(G.scrollbarX,"mousedown",function(Qt){return Qt.stopPropagation()}),G.event.bind(G.scrollbarXRail,"mousedown",function(Qt){var et=Qt.pageX-window.pageXOffset-G.scrollbarXRail.getBoundingClientRect().left;G.element.scrollLeft+=(et>G.scrollbarXLeft?1:-1)*G.containerWidth,ka(G),Qt.stopPropagation()})},"drag-thumb":function Mn(G){na(G,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"]),na(G,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"])},keyboard:function fi(G){var Qt=G.element;G.event.bind(G.ownerDocument,"keydown",function(Br){if(!(Br.isDefaultPrevented&&Br.isDefaultPrevented()||Br.defaultPrevented)&&(qr(Qt,":hover")||qr(G.scrollbarX,":focus")||qr(G.scrollbarY,":focus"))){var jr=document.activeElement?document.activeElement:G.ownerDocument.activeElement;if(jr){if("IFRAME"===jr.tagName)jr=jr.contentDocument.activeElement;else for(;jr.shadowRoot;)jr=jr.shadowRoot.activeElement;if(function vi(G){return qr(G,"input,[contenteditable]")||qr(G,"select,[contenteditable]")||qr(G,"textarea,[contenteditable]")||qr(G,"button,[contenteditable]")}(jr))return}var Oo=0,so=0;switch(Br.which){case 37:Oo=Br.metaKey?-G.contentWidth:Br.altKey?-G.containerWidth:-30;break;case 38:so=Br.metaKey?G.contentHeight:Br.altKey?G.containerHeight:30;break;case 39:Oo=Br.metaKey?G.contentWidth:Br.altKey?G.containerWidth:30;break;case 40:so=Br.metaKey?-G.contentHeight:Br.altKey?-G.containerHeight:-30;break;case 32:so=Br.shiftKey?G.containerHeight:-G.containerHeight;break;case 33:so=G.containerHeight;break;case 34:so=-G.containerHeight;break;case 36:so=G.contentHeight;break;case 35:so=-G.contentHeight;break;default:return}G.settings.suppressScrollX&&0!==Oo||G.settings.suppressScrollY&&0!==so||(Qt.scrollTop-=so,Qt.scrollLeft+=Oo,ka(G),function le(Br,jr){var Oo=Math.floor(Qt.scrollTop);if(0===Br){if(!G.scrollbarYActive)return!1;if(0===Oo&&jr>0||Oo>=G.contentHeight-G.containerHeight&&jr<0)return!G.settings.wheelPropagation}var so=Qt.scrollLeft;if(0===jr){if(!G.scrollbarXActive)return!1;if(0===so&&Br<0||so>=G.contentWidth-G.containerWidth&&Br>0)return!G.settings.wheelPropagation}return!0}(Oo,so)&&Br.preventDefault())}})},wheel:function Ko(G){var Qt=G.element;function Br(jr){var Oo=function te(jr){var Oo=jr.deltaX,so=-1*jr.deltaY;return(typeof Oo>"u"||typeof so>"u")&&(Oo=-1*jr.wheelDeltaX/6,so=jr.wheelDeltaY/6),jr.deltaMode&&1===jr.deltaMode&&(Oo*=10,so*=10),Oo!=Oo&&so!=so&&(Oo=0,so=jr.wheelDelta),jr.shiftKey?[-so,-Oo]:[Oo,so]}(jr),so=Oo[0],rn=Oo[1];if(!function le(jr,Oo,so){if(!da.isWebKit&&Qt.querySelector("select:focus"))return!0;if(!Qt.contains(jr))return!1;for(var rn=jr;rn&&rn!==Qt;){if(rn.classList.contains(So.element.consuming))return!0;var bn=Cr(rn);if(so&&bn.overflowY.match(/(scroll|auto)/)){var Lo=rn.scrollHeight-rn.clientHeight;if(Lo>0&&(rn.scrollTop>0&&so<0||rn.scrollTop0))return!0}if(Oo&&bn.overflowX.match(/(scroll|auto)/)){var In=rn.scrollWidth-rn.clientWidth;if(In>0&&(rn.scrollLeft>0&&Oo<0||rn.scrollLeft0))return!0}rn=rn.parentNode}return!1}(jr.target,so,rn)){var bn=!1;G.settings.useBothWheelAxes?G.scrollbarYActive&&!G.scrollbarXActive?(rn?Qt.scrollTop-=rn*G.settings.wheelSpeed:Qt.scrollTop+=so*G.settings.wheelSpeed,bn=!0):G.scrollbarXActive&&!G.scrollbarYActive&&(so?Qt.scrollLeft+=so*G.settings.wheelSpeed:Qt.scrollLeft-=rn*G.settings.wheelSpeed,bn=!0):(Qt.scrollTop-=rn*G.settings.wheelSpeed,Qt.scrollLeft+=so*G.settings.wheelSpeed),ka(G),bn=bn||function et(jr,Oo){var so=Math.floor(Qt.scrollTop),rn=0===Qt.scrollTop,bn=so+Qt.offsetHeight===Qt.scrollHeight,Lo=0===Qt.scrollLeft,In=Qt.scrollLeft+Qt.offsetWidth===Qt.scrollWidth;return!(Math.abs(Oo)>Math.abs(jr)?rn||bn:Lo||In)||!G.settings.wheelPropagation}(so,rn),bn&&!jr.ctrlKey&&(jr.stopPropagation(),jr.preventDefault())}}typeof window.onwheel<"u"?G.event.bind(Qt,"wheel",Br):typeof window.onmousewheel<"u"&&G.event.bind(Qt,"mousewheel",Br)},touch:function pa(G){if(da.supportsTouch||da.supportsIePointer){var Qt=G.element,et={startOffset:{},startTime:0,speed:{},easingLoop:null};da.supportsTouch?(G.event.bind(Qt,"touchstart",Oo),G.event.bind(Qt,"touchmove",rn),G.event.bind(Qt,"touchend",bn)):da.supportsIePointer&&(window.PointerEvent?(G.event.bind(Qt,"pointerdown",Oo),G.event.bind(Qt,"pointermove",rn),G.event.bind(Qt,"pointerup",bn)):window.MSPointerEvent&&(G.event.bind(Qt,"MSPointerDown",Oo),G.event.bind(Qt,"MSPointerMove",rn),G.event.bind(Qt,"MSPointerUp",bn)))}function le(Lo,In){Qt.scrollTop-=In,Qt.scrollLeft-=Lo,ka(G)}function Br(Lo){return Lo.targetTouches?Lo.targetTouches[0]:Lo}function jr(Lo){return!(Lo.target===G.scrollbarX||Lo.target===G.scrollbarY||Lo.pointerType&&"pen"===Lo.pointerType&&0===Lo.buttons||!(Lo.targetTouches&&1===Lo.targetTouches.length||Lo.pointerType&&"mouse"!==Lo.pointerType&&Lo.pointerType!==Lo.MSPOINTER_TYPE_MOUSE))}function Oo(Lo){if(jr(Lo)){var In=Br(Lo);et.startOffset.pageX=In.pageX,et.startOffset.pageY=In.pageY,et.startTime=(new Date).getTime(),null!==et.easingLoop&&clearInterval(et.easingLoop)}}function rn(Lo){if(jr(Lo)){var In=Br(Lo),Si={pageX:In.pageX,pageY:In.pageY},Bn=Si.pageX-et.startOffset.pageX,Ti=Si.pageY-et.startOffset.pageY;if(function so(Lo,In,Si){if(!Qt.contains(Lo))return!1;for(var Bn=Lo;Bn&&Bn!==Qt;){if(Bn.classList.contains(So.element.consuming))return!0;var Ti=Cr(Bn);if(Si&&Ti.overflowY.match(/(scroll|auto)/)){var wi=Bn.scrollHeight-Bn.clientHeight;if(wi>0&&(Bn.scrollTop>0&&Si<0||Bn.scrollTop0))return!0}if(In&&Ti.overflowX.match(/(scroll|auto)/)){var qi=Bn.scrollWidth-Bn.clientWidth;if(qi>0&&(Bn.scrollLeft>0&&In<0||Bn.scrollLeft0))return!0}Bn=Bn.parentNode}return!1}(Lo.target,Bn,Ti))return;le(Bn,Ti),et.startOffset=Si;var wi=(new Date).getTime(),qi=wi-et.startTime;qi>0&&(et.speed.x=Bn/qi,et.speed.y=Ti/qi,et.startTime=wi),function te(Lo,In){var Si=Math.floor(Qt.scrollTop),Bn=Qt.scrollLeft,Ti=Math.abs(Lo),wi=Math.abs(In);if(wi>Ti){if(In<0&&Si===G.contentHeight-G.containerHeight||In>0&&0===Si)return 0===window.scrollY&&In>0&&da.isChrome}else if(Ti>wi&&(Lo<0&&Bn===G.contentWidth-G.containerWidth||Lo>0&&0===Bn))return!0;return!0}(Bn,Ti)&&Lo.cancelable&&Lo.preventDefault()}}function bn(){G.settings.swipeEasing&&(clearInterval(et.easingLoop),et.easingLoop=setInterval(function(){G.isInitialized?clearInterval(et.easingLoop):et.speed.x||et.speed.y?Math.abs(et.speed.x)<.01&&Math.abs(et.speed.y)<.01?clearInterval(et.easingLoop):(le(30*et.speed.x,30*et.speed.y),et.speed.x*=.8,et.speed.y*=.8):clearInterval(et.easingLoop)},10))}}},Nn=function(Qt,et){var te=this;if(void 0===et&&(et={}),"string"==typeof Qt&&(Qt=document.querySelector(Qt)),!Qt||!Qt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var le in this.element=Qt,Qt.classList.add(So.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},et)this.settings[le]=et[le];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var bn,rn,Br=function(){return Qt.classList.add(So.state.focus)},jr=function(){return Qt.classList.remove(So.state.focus)};this.isRtl="rtl"===Cr(Qt).direction,!0===this.isRtl&&Qt.classList.add(So.rtl),this.isNegativeScroll=(rn=Qt.scrollLeft,Qt.scrollLeft=-1,bn=Qt.scrollLeft<0,Qt.scrollLeft=rn,bn),this.negativeScrollAdjustment=this.isNegativeScroll?Qt.scrollWidth-Qt.clientWidth:0,this.event=new Fn,this.ownerDocument=Qt.ownerDocument||document,this.scrollbarXRail=Nr(So.element.rail("x")),Qt.appendChild(this.scrollbarXRail),this.scrollbarX=Nr(So.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Br),this.event.bind(this.scrollbarX,"blur",jr),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Oo=Cr(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Oo.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Tn(Oo.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Tn(Oo.borderLeftWidth)+Tn(Oo.borderRightWidth),Er(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Tn(Oo.marginLeft)+Tn(Oo.marginRight),Er(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Nr(So.element.rail("y")),Qt.appendChild(this.scrollbarYRail),this.scrollbarY=Nr(So.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Br),this.event.bind(this.scrollbarY,"blur",jr),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var so=Cr(this.scrollbarYRail);this.scrollbarYRight=parseInt(so.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Tn(so.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function us(G){var Qt=Cr(G);return Tn(Qt.width)+Tn(Qt.paddingLeft)+Tn(Qt.paddingRight)+Tn(Qt.borderLeftWidth)+Tn(Qt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Tn(so.borderTopWidth)+Tn(so.borderBottomWidth),Er(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Tn(so.marginTop)+Tn(so.marginBottom),Er(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:Qt.scrollLeft<=0?"start":Qt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:Qt.scrollTop<=0?"start":Qt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(rn){return qn[rn](te)}),this.lastScrollTop=Math.floor(Qt.scrollTop),this.lastScrollLeft=Qt.scrollLeft,this.event.bind(this.element,"scroll",function(rn){return te.onScroll(rn)}),ka(this)};Nn.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Er(this.scrollbarXRail,{display:"block"}),Er(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Tn(Cr(this.scrollbarXRail).marginLeft)+Tn(Cr(this.scrollbarXRail).marginRight),this.railYMarginHeight=Tn(Cr(this.scrollbarYRail).marginTop)+Tn(Cr(this.scrollbarYRail).marginBottom),Er(this.scrollbarXRail,{display:"none"}),Er(this.scrollbarYRail,{display:"none"}),ka(this),nn(this,"top",0,!1,!0),nn(this,"left",0,!1,!0),Er(this.scrollbarXRail,{display:""}),Er(this.scrollbarYRail,{display:""}))},Nn.prototype.onScroll=function(Qt){this.isAlive&&(ka(this),nn(this,"top",this.element.scrollTop-this.lastScrollTop),nn(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Nn.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),to(this.scrollbarX),to(this.scrollbarY),to(this.scrollbarXRail),to(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Nn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(Qt){return!Qt.match(/^ps([-_].+|)$/)}).join(" ")};const ma=Nn;var Vo=r(3726),Va=r(152);let ii=(()=>{class G{constructor(){this._elementRef=(0,s.WQX)(s.aKT),this._platform=(0,s.WQX)(Ce.OD),this.angorScrollbar=!0,this._ps=null,this._unsubscribeAll=new A.B}get elementRef(){return this._elementRef}get ps(){return this._ps}ngOnChanges(et){"angorScrollbar"in et&&(this.angorScrollbar=(0,Re.he)(et.angorScrollbar.currentValue),this.angorScrollbar?this._initScrollbar():this._destroyScrollbar()),"angorScrollbarOptions"in et&&(this._options=(0,or.A)({},this._options,et.angorScrollbarOptions.currentValue),this._reinitializeScrollbar())}ngOnInit(){(0,Vo.R)(window,"resize").pipe((0,Y.Q)(this._unsubscribeAll),(0,Va.B)(150)).subscribe(()=>this.update())}ngOnDestroy(){this._destroyScrollbar(),this._unsubscribeAll.next(),this._unsubscribeAll.complete()}isEnabled(){return this.angorScrollbar}update(){this._ps?.update()}destroy(){this.ngOnDestroy()}geometry(et="scroll"){return new Dt(this._elementRef.nativeElement[`${et}Left`],this._elementRef.nativeElement[`${et}Top`],this._elementRef.nativeElement[`${et}Width`],this._elementRef.nativeElement[`${et}Height`])}position(et=!1){return!et&&this._ps?new ne(this._ps.reach.x||0,this._ps.reach.y||0):new ne(this._elementRef.nativeElement.scrollLeft,this._elementRef.nativeElement.scrollTop)}scrollTo(et,te,le){null==te&&null==le?this.animateScrolling("scrollTop",et,le):(null!=et&&this.scrollToX(et,le),null!=te&&this.scrollToY(te,le))}scrollToX(et,te){this.animateScrolling("scrollLeft",et,te)}scrollToY(et,te){this.animateScrolling("scrollTop",et,te)}scrollToTop(et=0,te){this.animateScrolling("scrollTop",et,te)}scrollToBottom(et=0,te){this.animateScrolling("scrollTop",this._elementRef.nativeElement.scrollHeight-this._elementRef.nativeElement.clientHeight-et,te)}scrollToLeft(et=0,te){this.animateScrolling("scrollLeft",et,te)}scrollToRight(et=0,te){this.animateScrolling("scrollLeft",this._elementRef.nativeElement.scrollWidth-this._elementRef.nativeElement.clientWidth-et,te)}scrollToElement(et,te=0,le=!1,Br){const jr=this._elementRef.nativeElement.querySelector(et);if(!jr)return;const Oo=jr.getBoundingClientRect(),so=this._elementRef.nativeElement.getBoundingClientRect();this._elementRef.nativeElement.classList.contains("ps--active-x")&&this._scrollToInAxis(Oo.left,so.left,"scrollLeft",te,le,Br),this._elementRef.nativeElement.classList.contains("ps--active-y")&&this._scrollToInAxis(Oo.top,so.top,"scrollTop",te,le,Br)}animateScrolling(et,te,le){this._animation&&window.cancelAnimationFrame(this._animation),!le||typeof window>"u"?this._elementRef.nativeElement[et]=te:te!==this._elementRef.nativeElement[et]&&this._smoothScroll(et,te,le)}_initScrollbar(){this._ps||this._platform.ANDROID||this._platform.IOS||!this._platform.isBrowser||(this._ps=new ma(this._elementRef.nativeElement,{...this._options}))}_destroyScrollbar(){this._ps?.destroy(),this._ps=null}_reinitializeScrollbar(){setTimeout(()=>this._destroyScrollbar()),setTimeout(()=>this._initScrollbar())}_scrollToInAxis(et,te,le,Br,jr,Oo){jr&&et<=te-Math.abs(Br)||this.animateScrolling(le,et-te+this._elementRef.nativeElement[le]+Br,Oo)}_smoothScroll(et,te,le){let Br=0,jr=this._elementRef.nativeElement[et];const Oo=(jr-te)/2;let so=performance.now();const rn=bn=>{Br+=Math.PI/(le/(bn-so));const Lo=Math.round(te+Oo+Oo*Math.cos(Br));this._elementRef.nativeElement[et]===jr&&(Br>=Math.PI?this.animateScrolling(et,te,0):(this._elementRef.nativeElement[et]=Lo,jr=this._elementRef.nativeElement[et],so=bn,this._animation=window.requestAnimationFrame(rn)))};window.requestAnimationFrame(rn)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275dir=s.FsC({type:G,selectors:[["","angorScrollbar",""]],inputs:{angorScrollbar:"angorScrollbar",angorScrollbarOptions:"angorScrollbarOptions"},exportAs:["angorScrollbar"],standalone:!0,features:[s.OA$]})}}return G})();var mi=r(9969),Qi=r(7987),ps=r(7786),ba=r(1986);const za=["navigationContent"],hi=[[["","angorVerticalNavigationHeader",""]],[["","angorVerticalNavigationContentHeader",""]],[["","angorVerticalNavigationFooter",""]]],Jo=["[angorVerticalNavigationHeader]","[angorVerticalNavigationContentHeader]","[angorVerticalNavigationFooter]"],On=G=>({wheelPropagation:G,suppressScrollX:!0}),ia=()=>({wheelPropagation:!1,suppressScrollX:!0});function bi(G,Qt){if(1&G){const et=s.RV6();s.j41(0,"angor-vertical-navigation-aside-item",10),s.bIt("click",function(){s.eBV(et);const le=s.XpG(2).$implicit,Br=s.XpG();return s.Njj(Br.toggleAside(le))}),s.k0s()}if(2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("activeItemId",te.activeAsideItemId)("autoCollapse",te.autoCollapse)("skipChildren",!0)}}function es(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-basic-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Vn(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-collapsable-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function xi(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-divider-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function ci(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-group-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function Ui(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG(2).$implicit,te=s.XpG();s.Y8G("item",et)("name",te.name)}}function Jn(G,Qt){if(1&G&&s.DNE(0,bi,1,5,"angor-vertical-navigation-aside-item",7)(1,es,1,2,"angor-vertical-navigation-basic-item",8)(2,Vn,1,3,"angor-vertical-navigation-collapsable-item",9)(3,xi,1,2,"angor-vertical-navigation-divider-item",8)(4,ci,1,3,"angor-vertical-navigation-group-item",9)(5,Ui,1,2,"angor-vertical-navigation-spacer-item",8),2&G){const et=s.XpG().$implicit;s.vxM("aside"===et.type?0:-1),s.R7$(),s.vxM("basic"===et.type?1:-1),s.R7$(),s.vxM("collapsable"===et.type?2:-1),s.R7$(),s.vxM("divider"===et.type?3:-1),s.R7$(),s.vxM("group"===et.type?4:-1),s.R7$(),s.vxM("spacer"===et.type?5:-1)}}function aa(G,Qt){if(1&G&&s.DNE(0,Jn,6,6),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function Ni(G,Qt){if(1&G&&s.nrm(0,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG(2).$implicit,te=s.XpG(2);s.Y8G("item",et)("name",te.name)("autoCollapse",te.autoCollapse)}}function wa(G,Qt){if(1&G&&s.DNE(0,Ni,1,3,"angor-vertical-navigation-aside-item",9),2&G){const et=s.XpG().$implicit,te=s.XpG(2);s.vxM("aside"===et.type&&et.id===te.activeAsideItemId?0:-1)}}function rs(G,Qt){if(1&G&&s.DNE(0,wa,1,1),2&G){const et=Qt.$implicit;s.vxM(et.hidden&&!et.hidden(et)||!et.hidden?0:-1)}}function _i(G,Qt){if(1&G&&(s.j41(0,"div",6),s.Z7z(1,rs,1,1,null,null,s.BUC().trackByFn,!0),s.k0s()),2&G){const et=s.XpG();s.Y8G("angorScrollbarOptions",s.lJ4(5,ia))("@fadeInLeft","left"===et.position)("@fadeInRight","right"===et.position)("@fadeOutLeft","left"===et.position)("@fadeOutRight","right"===et.position),s.R7$(),s.Dyx(et.navigation)}}let os=(()=>{class G{constructor(){this._animationBuilder=(0,s.WQX)(mi.S6),this._changeDetectorRef=(0,s.WQX)(s.gRc),this._document=(0,s.WQX)(I.qQ),this._elementRef=(0,s.WQX)(s.aKT),this._renderer2=(0,s.WQX)(s.sFG),this._router=(0,s.WQX)(L.Ix),this._scrollStrategyOptions=(0,s.WQX)(Qi.Tv),this._angorNavigationService=(0,s.WQX)(c),this._angorUtilsService=(0,s.WQX)(y.Q),this.appearance="default",this.autoCollapse=!0,this.inner=!1,this.mode="side",this.name=this._angorUtilsService.randomId(),this.opened=!0,this.position="left",this.transparentOverlay=!1,this.appearanceChanged=new s.bkB,this.modeChanged=new s.bkB,this.openedChanged=new s.bkB,this.positionChanged=new s.bkB,this.activeAsideItemId=null,this.onCollapsableItemCollapsed=new k.m(1),this.onCollapsableItemExpanded=new k.m(1),this.onRefreshed=new k.m(1),this._animationsEnabled=!1,this._hovered=!1,this._scrollStrategy=this._scrollStrategyOptions.block(),this._unsubscribeAll=new A.B,this._handleAsideOverlayClick=()=>{this.closeAside()},this._handleOverlayClick=()=>{this.close()}}get classList(){return{"angor-vertical-navigation-animations-enabled":this._animationsEnabled,[`angor-vertical-navigation-appearance-${this.appearance}`]:!0,"angor-vertical-navigation-hover":this._hovered,"angor-vertical-navigation-inner":this.inner,"angor-vertical-navigation-mode-over":"over"===this.mode,"angor-vertical-navigation-mode-side":"side"===this.mode,"angor-vertical-navigation-opened":this.opened,"angor-vertical-navigation-position-left":"left"===this.position,"angor-vertical-navigation-position-right":"right"===this.position}}get styleList(){return{visibility:this.opened?"visible":"hidden"}}set angorScrollbarDirectives(et){this._angorScrollbarDirectives=et,0!==et.length&&(this._angorScrollbarDirectivesSubscription&&this._angorScrollbarDirectivesSubscription.unsubscribe(),this._angorScrollbarDirectivesSubscription=(0,ps.h)(this.onCollapsableItemCollapsed,this.onCollapsableItemExpanded).pipe((0,Y.Q)(this._unsubscribeAll),(0,ba.c)(250)).subscribe(()=>{et.forEach(te=>{te.update()})}))}_onMouseenter(){this._enableAnimations(),this._hovered=!0}_onMouseleave(){this._enableAnimations(),this._hovered=!1}ngOnChanges(et){if("appearance"in et&&this.appearanceChanged.next(et.appearance.currentValue),"inner"in et&&(this.inner=(0,Re.he)(et.inner.currentValue)),"mode"in et){const te=et.mode.currentValue,le=et.mode.previousValue;this._disableAnimations(),"over"===le&&"side"===te&&this._hideOverlay(),"side"===le&&"over"===te&&(this.closeAside(),this.opened&&this._showOverlay()),this.modeChanged.next(te),setTimeout(()=>{this._enableAnimations()},500)}"navigation"in et&&this._changeDetectorRef.markForCheck(),"opened"in et&&(this.opened=(0,Re.he)(et.opened.currentValue),this._toggleOpened(this.opened)),"position"in et&&this.positionChanged.next(et.position.currentValue),"transparentOverlay"in et&&(this.transparentOverlay=(0,Re.he)(et.transparentOverlay.currentValue))}ngOnInit(){""===this.name&&(this.name=this._angorUtilsService.randomId()),this._angorNavigationService.registerComponent(this.name,this),this._router.events.pipe((0,Yt.p)(et=>et instanceof L.wF),(0,Y.Q)(this._unsubscribeAll)).subscribe(()=>{"over"===this.mode&&this.opened&&this.close(),"side"===this.mode&&this.activeAsideItemId&&this.closeAside()})}ngAfterViewInit(){this._mutationObserver=new MutationObserver(et=>{et.forEach(te=>{const le=te.target;if("class"===te.attributeName)if(le.classList.contains("cdk-global-scrollblock")){const Br=parseInt(le.style.top,10);this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",`${Math.abs(Br)}px`)}else this._renderer2.setStyle(this._elementRef.nativeElement,"margin-top",null)})}),this._mutationObserver.observe(this._document.documentElement,{attributes:!0,attributeFilter:["class"]}),setTimeout(()=>{if(this._navigationContentEl)if(this._navigationContentEl.nativeElement.classList.contains("ps"))this._angorScrollbarDirectives.forEach(et=>{et.isEnabled()&&et.scrollToElement(".angor-vertical-navigation-item-active",-120,!0)});else{const et=this._navigationContentEl.nativeElement.querySelector(".angor-vertical-navigation-item-active");et&&et.scrollIntoView()}})}ngOnDestroy(){this._mutationObserver.disconnect(),this.close(),this.closeAside(),this._angorNavigationService.deregisterComponent(this.name),this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}refresh(){this._changeDetectorRef.markForCheck(),this.onRefreshed.next(!0)}open(){this.opened||this._toggleOpened(!0)}close(){this.opened&&(this.closeAside(),this._toggleOpened(!1))}toggle(){this.opened?this.close():this.open()}openAside(et){et.disabled||!et.id||(this.activeAsideItemId=et.id,this._showAsideOverlay(),this._changeDetectorRef.markForCheck())}closeAside(){this.activeAsideItemId=null,this._hideAsideOverlay(),this._changeDetectorRef.markForCheck()}toggleAside(et){this.activeAsideItemId===et.id?this.closeAside():this.openAside(et)}trackByFn(et,te){return te.id||et}_enableAnimations(){this._animationsEnabled||(this._animationsEnabled=!0)}_disableAnimations(){this._animationsEnabled&&(this._animationsEnabled=!1)}_showOverlay(){this._asideOverlay||(this._overlay=this._renderer2.createElement("div"),this._overlay.classList.add("angor-vertical-navigation-overlay"),this.transparentOverlay&&this._overlay.classList.add("angor-vertical-navigation-overlay-transparent"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._overlay),this._scrollStrategy.enable(),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._overlay),this._player.play(),this._overlay.addEventListener("click",this._handleOverlayClick))}_hideOverlay(){this._overlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._overlay),this._player.play(),this._player.onDone(()=>{this._overlay&&(this._overlay.removeEventListener("click",this._handleOverlayClick),this._overlay.parentNode.removeChild(this._overlay),this._overlay=null),this._scrollStrategy.disable()}))}_showAsideOverlay(){this._asideOverlay||(this._asideOverlay=this._renderer2.createElement("div"),this._asideOverlay.classList.add("angor-vertical-navigation-aside-overlay"),this._renderer2.appendChild(this._elementRef.nativeElement.parentElement,this._asideOverlay),this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:1}))]).create(this._asideOverlay),this._player.play(),this._asideOverlay.addEventListener("click",this._handleAsideOverlayClick))}_hideAsideOverlay(){this._asideOverlay&&(this._player=this._animationBuilder.build([(0,mi.i0)("300ms cubic-bezier(0.25, 0.8, 0.25, 1)",(0,mi.iF)({opacity:0}))]).create(this._asideOverlay),this._player.play(),this._player.onDone(()=>{this._asideOverlay&&(this._asideOverlay.removeEventListener("click",this._handleAsideOverlayClick),this._asideOverlay.parentNode.removeChild(this._asideOverlay),this._asideOverlay=null)}))}_toggleOpened(et){this.opened=et,this._enableAnimations(),"over"===this.mode&&(this.opened?this._showOverlay():this._hideOverlay()),this.openedChanged.next(et)}static{this.\u0275fac=function(te){return new(te||G)}}static{this.\u0275cmp=s.VBU({type:G,selectors:[["angor-vertical-navigation"]],viewQuery:function(te,le){if(1&te&&(s.GBs(za,5),s.GBs(ii,5)),2&te){let Br;s.mGM(Br=s.lsd())&&(le._navigationContentEl=Br.first),s.mGM(Br=s.lsd())&&(le.angorScrollbarDirectives=Br)}},hostVars:4,hostBindings:function(te,le){1&te&&s.bIt("mouseenter",function(){return le._onMouseenter()})("mouseleave",function(){return le._onMouseleave()}),2&te&&(s.Aen(le.styleList),s.HbH(le.classList))},inputs:{appearance:"appearance",autoCollapse:"autoCollapse",inner:"inner",mode:"mode",name:"name",navigation:"navigation",opened:"opened",position:"position",transparentOverlay:"transparentOverlay"},outputs:{appearanceChanged:"appearanceChanged",modeChanged:"modeChanged",openedChanged:"openedChanged",positionChanged:"positionChanged"},exportAs:["angorVerticalNavigation"],standalone:!0,features:[s.OA$,s.aNF],ngContentSelectors:Jo,decls:12,vars:4,consts:[["navigationContent",""],[1,"angor-vertical-navigation-wrapper"],[1,"angor-vertical-navigation-header"],["angorScrollbar","",1,"angor-vertical-navigation-content",3,"angorScrollbarOptions"],[1,"angor-vertical-navigation-content-header"],[1,"angor-vertical-navigation-footer"],["angorScrollbar","",1,"angor-vertical-navigation-aside-wrapper",3,"angorScrollbarOptions"],[3,"item","name","activeItemId","autoCollapse","skipChildren"],[3,"item","name"],[3,"item","name","autoCollapse"],[3,"click","item","name","activeItemId","autoCollapse","skipChildren"]],template:function(te,le){1&te&&(s.NAR(hi),s.j41(0,"div",1)(1,"div",2),s.SdG(2),s.k0s(),s.j41(3,"div",3,0)(5,"div",4),s.SdG(6,1),s.k0s(),s.Z7z(7,aa,1,1,null,null,le.trackByFn,!0),s.k0s(),s.j41(9,"div",5),s.SdG(10,2),s.k0s()(),s.DNE(11,_i,3,6,"div",6)),2&te&&(s.R7$(3),s.Y8G("angorScrollbarOptions",s.eq3(2,On,le.inner)),s.R7$(4),s.Dyx(le.navigation),s.R7$(4),s.vxM(le.activeAsideItemId?11:-1))},dependencies:[ii,Gt,re,Ke,qt,me,Pt],styles:[':root{--angor-vertical-navigation-width: 280px}angor-vertical-navigation{position:sticky;display:flex;flex-direction:column;flex:1 0 auto;top:0;width:var(--angor-vertical-navigation-width);min-width:var(--angor-vertical-navigation-width);max-width:var(--angor-vertical-navigation-width);height:100vh;min-height:100vh;max-height:100vh;z-index:200}angor-vertical-navigation.angor-vertical-navigation-animations-enabled{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:visibility,margin-left,margin-right,transform,width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-animations-enabled .angor-vertical-navigation-wrapper{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:width,max-width,min-width}angor-vertical-navigation.angor-vertical-navigation-mode-over{position:fixed;top:0;bottom:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over{left:0;transform:translate3d(-100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-left .angor-vertical-navigation-wrapper{left:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over{right:0;transform:translate3d(100%,0,0)}angor-vertical-navigation.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-over.angor-vertical-navigation-opened{transform:translateZ(0)}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-wrapper{right:0}angor-vertical-navigation.angor-vertical-navigation-inner{position:relative;width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper{position:relative;overflow:visible;height:auto}angor-vertical-navigation.angor-vertical-navigation-inner .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{overflow:visible!important}angor-vertical-navigation .angor-vertical-navigation-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;width:100%;height:100%;overflow:hidden;z-index:10;background:inherit;box-shadow:inset -1px 0 0 var(--angor-border)}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-divider-item{margin:24px 0}angor-vertical-navigation .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item{margin-top:24px}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper{position:absolute;display:flex;flex:1 1 auto;flex-direction:column;top:0;bottom:0;left:var(--angor-vertical-navigation-width);width:var(--angor-vertical-navigation-width);height:100%;z-index:5;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;transition-duration:.4s;transition-property:left,right;transition-timing-function:cubic-bezier(.25,.8,.25,1);background:inherit}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item{padding:24px 0}angor-vertical-navigation .angor-vertical-navigation-aside-wrapper>angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper{display:none!important}angor-vertical-navigation.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item,angor-vertical-navigation angor-vertical-navigation-divider-item,angor-vertical-navigation angor-vertical-navigation-group-item,angor-vertical-navigation angor-vertical-navigation-spacer-item{display:flex;flex-direction:column;flex:1 0 auto;-webkit-user-select:none;user-select:none}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{position:relative;display:flex;align-items:center;justify-content:flex-start;padding:10px 16px;font-size:13px;font-weight:500;line-height:20px;text-decoration:none;border-radius:6px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item.angor-vertical-navigation-item-disabled{cursor:default;opacity:.4}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:16px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{font-size:11px;line-height:1.5}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{margin-left:auto}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content,angor-vertical-navigation angor-vertical-navigation-spacer-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge .angor-vertical-navigation-item-badge-content{display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;white-space:nowrap;height:20px}angor-vertical-navigation angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{margin:0 12px}angor-vertical-navigation angor-vertical-navigation-aside-item,angor-vertical-navigation angor-vertical-navigation-basic-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item{margin-bottom:4px}angor-vertical-navigation angor-vertical-navigation-aside-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-basic-item .angor-vertical-navigation-item,angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item{cursor:pointer}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge+.angor-vertical-navigation-item-arrow{margin-left:8px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{height:20px;line-height:20px;margin-left:auto;transition:transform .3s cubic-bezier(.25,.8,.25,1),color 375ms cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{transform:rotate(90deg)}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:first-child{margin-top:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:6px}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children>*:last-child>.angor-vertical-navigation-item-children>*:last-child{padding-bottom:0}angor-vertical-navigation angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{overflow:hidden}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:56px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:72px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:88px}angor-vertical-navigation angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item-children .angor-vertical-navigation-item{padding-left:104px}angor-vertical-navigation angor-vertical-navigation-divider-item{margin:12px 0}angor-vertical-navigation angor-vertical-navigation-divider-item .angor-vertical-navigation-item-wrapper{height:1px;box-shadow:0 1px}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{display:none!important}angor-vertical-navigation angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}angor-vertical-navigation angor-vertical-navigation-spacer-item{margin:6px 0}.angor-vertical-navigation-overlay{position:absolute;inset:0;z-index:170;opacity:0;background-color:#0009}.angor-vertical-navigation-overlay+.angor-vertical-navigation-aside-overlay{background-color:transparent}.angor-vertical-navigation-aside-overlay{position:absolute;inset:0;z-index:169;opacity:0;background-color:#0000004d}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{color:currentColor}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{color:currentColor;opacity:.6}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{color:currentColor;opacity:.8}angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{color:currentColor;opacity:.5}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-title{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-disabled).angor-vertical-navigation-item-active-forced .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover{background-color:rgb(3 33 40 / var(--tw-bg-opacity));--tw-bg-opacity: .05}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *),angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover:is(.dark *){background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-bg-opacity: .12}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-aside-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-basic-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle,angor-vertical-navigation-collapsable-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:not(.angor-vertical-navigation-item-active-forced):not(.angor-vertical-navigation-item-active):not(.angor-vertical-navigation-item-disabled):hover .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title,angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow{opacity:1}angor-vertical-navigation-collapsable-item.angor-vertical-navigation-item-expanded>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-subtitle{opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{--tw-text-opacity: 1;color:rgba(var(--angor-primary-600-rgb),var(--tw-text-opacity));opacity:1}angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--angor-primary-400-rgb),var(--tw-text-opacity))}:root{--angor-vertical-navigation-compact-width: 112px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact{width:var(--angor-vertical-navigation-compact-width);min-width:var(--angor-vertical-navigation-compact-width);max-width:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-compact-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-compact-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{margin:4px 8px 0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{flex-direction:column;justify-content:center;padding:12px;border-radius:6px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{margin-top:8px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-title{font-size:12px;font-weight:500;text-align:center;line-height:16px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper .angor-vertical-navigation-item-subtitle{display:none!important}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge{position:absolute;top:12px;left:64px}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-collapsable-item,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-compact .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-compact-width)}:root{--angor-vertical-navigation-width: 280px;--angor-vertical-navigation-dense-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over){width:var(--angor-vertical-navigation-dense-width);min-width:var(--angor-vertical-navigation-dense-width);max-width:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-dense-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-mode-over).angor-vertical-navigation-position-right.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-dense-width) - 24px);min-width:calc(var(--angor-vertical-navigation-dense-width) - 24px);max-width:calc(var(--angor-vertical-navigation-dense-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{transition:opacity .4s cubic-bezier(.25,.8,.25,1)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item:first-of-type{margin-top:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{padding:10px 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;opacity:0}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-collapsable-item .angor-vertical-navigation-item-children{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-dense:not(.angor-vertical-navigation-hover):not(.angor-vertical-navigation-mode-over) .angor-vertical-navigation-wrapper .angor-vertical-navigation-content angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item:before{content:"";position:absolute;top:20px;width:23px;border-top-width:2px}angor-vertical-navigation.angor-vertical-navigation-appearance-dense .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-dense-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper{width:var(--angor-vertical-navigation-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{width:calc(var(--angor-vertical-navigation-width) - 24px);min-width:calc(var(--angor-vertical-navigation-width) - 24px);max-width:calc(var(--angor-vertical-navigation-width) - 24px)}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge,angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-wrapper .angor-vertical-navigation-content .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{white-space:nowrap;animation:removeWhiteSpaceNoWrap 1ms linear .35s;animation-fill-mode:forwards}angor-vertical-navigation.angor-vertical-navigation-appearance-dense.angor-vertical-navigation-hover .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-width)}@keyframes removeWhiteSpaceNoWrap{0%{white-space:nowrap}99%{white-space:nowrap}to{white-space:normal}}:root{--angor-vertical-navigation-thin-width: 80px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin{width:var(--angor-vertical-navigation-thin-width);min-width:var(--angor-vertical-navigation-thin-width);max-width:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-mode-side{margin-left:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-left.angor-vertical-navigation-opened{margin-left:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-mode-side{margin-right:calc(var(--angor-vertical-navigation-thin-width) * -1)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right.angor-vertical-navigation-opened{margin-right:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin.angor-vertical-navigation-position-right .angor-vertical-navigation-aside-wrapper{left:auto;right:var(--angor-vertical-navigation-thin-width)}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item{flex-direction:column;justify-content:center;height:64px;min-height:64px;max-height:64px;padding:0 16px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper{display:flex;align-items:center;justify-content:center}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item{justify-content:center;padding:12px;border-radius:4px}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-icon{margin:0}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-aside-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-arrow,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-badge-content,angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-basic-item .angor-vertical-navigation-item-wrapper .angor-vertical-navigation-item .angor-vertical-navigation-item-title-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-collapsable-item{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-wrapper .angor-vertical-navigation-content>angor-vertical-navigation-group-item>.angor-vertical-navigation-item-wrapper{display:none}angor-vertical-navigation.angor-vertical-navigation-appearance-thin .angor-vertical-navigation-aside-wrapper{left:var(--angor-vertical-navigation-thin-width)}\n'],encapsulation:2,data:{animation:o.F},changeDetection:0})}}return G})()},9097:(i,a,r)=>{"use strict";r.d(a,{t:()=>s});const s=new(r(4438).nKC)("ANGOR_APP_CONFIG")},881:(i,a,r)=>{"use strict";r.d(a,{P:()=>k});var o=r(9097),s=r(4438),c=r(2401),y=r(4412);let k=(()=>{class A{constructor(){this._defaultConfig=(0,s.WQX)(o.t),this._configSubject=new y.t(this._defaultConfig)}get config$(){return this._configSubject.asObservable()}set config(M){const T=(0,c.A)({},this._configSubject.getValue(),M);this._configSubject.next(T)}reset(){this._configSubject.next(this._defaultConfig)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275prov=s.jDH({token:A,factory:A.\u0275fac,providedIn:"root"})}}return A})()},9979:(i,a,r)=>{"use strict";r.d(a,{m:()=>tt});var o=r(177),s=r(4438),c=r(8834),y=r(5351),k=r(9213);const A=(vt,Mt,$t,St,kt,nt,at,rt)=>({"bg-primary-100 text-primary-600 dark:bg-primary-600 dark:text-primary-50":vt,"bg-accent-100 text-accent-600 dark:bg-accent-600 dark:text-accent-50":Mt,"bg-warn-100 text-warn-600 dark:bg-warn-600 dark:text-warn-50":$t,"bg-gray-100 text-gray-600 dark:bg-gray-600 dark:text-gray-50":St,"bg-blue-100 text-blue-600 dark:bg-blue-600 dark:text-blue-50":kt,"bg-green-100 text-green-500 dark:bg-green-500 dark:text-green-50":nt,"bg-amber-100 text-amber-500 dark:bg-amber-500 dark:text-amber-50":at,"bg-red-100 text-red-600 dark:bg-red-600 dark:text-red-50":rt});function I(vt,Mt){1&vt&&(s.j41(0,"div",1)(1,"button",6),s.nrm(2,"mat-icon",7),s.k0s()()),2&vt&&(s.R7$(),s.Y8G("matDialogClose",void 0),s.R7$(),s.Y8G("svgIcon","heroicons_outline:x-mark"))}function M(vt,Mt){if(1&vt&&(s.j41(0,"div",3),s.nrm(1,"mat-icon",8),s.k0s()),2&vt){const $t=s.XpG();s.Y8G("ngClass",s.lV(2,A,"primary"===$t.data.icon.color,"accent"===$t.data.icon.color,"warn"===$t.data.icon.color,"basic"===$t.data.icon.color,"info"===$t.data.icon.color,"success"===$t.data.icon.color,"warning"===$t.data.icon.color,"error"===$t.data.icon.color)),s.R7$(),s.Y8G("svgIcon",$t.data.icon.name)}}function T(vt,Mt){if(1&vt&&s.nrm(0,"div",9),2&vt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.title,s.npT)}}function O(vt,Mt){if(1&vt&&s.nrm(0,"div",10),2&vt){const $t=s.XpG(2);s.Y8G("innerHTML",$t.data.message,s.npT)}}function L(vt,Mt){if(1&vt&&(s.j41(0,"div",4),s.DNE(1,T,1,1,"div",9)(2,O,1,1,"div",10),s.k0s()),2&vt){const $t=s.XpG();s.R7$(),s.vxM($t.data.title?1:-1),s.R7$(),s.vxM($t.data.message?2:-1)}}function Y(vt,Mt){if(1&vt&&(s.j41(0,"button",11),s.EFF(1),s.k0s()),2&vt){const $t=s.XpG(2);s.Y8G("matDialogClose","cancelled"),s.R7$(),s.SpI(" ",$t.data.actions.cancel.label," ")}}function z(vt,Mt){if(1&vt&&(s.j41(0,"button",12),s.EFF(1),s.k0s()),2&vt){const $t=s.XpG(2);s.Y8G("color",$t.data.actions.confirm.color)("matDialogClose","confirmed"),s.R7$(),s.SpI(" ",$t.data.actions.confirm.label," ")}}function q(vt,Mt){if(1&vt&&(s.j41(0,"div",5),s.DNE(1,Y,2,2,"button",11)(2,z,2,3,"button",12),s.k0s()),2&vt){const $t=s.XpG();s.R7$(),s.vxM($t.data.actions.cancel.show?1:-1),s.R7$(),s.vxM($t.data.actions.confirm.show?2:-1)}}let ct=(()=>{class vt{constructor(){this.data=(0,s.WQX)(y.Vh)}static{this.\u0275fac=function(St){return new(St||vt)}}static{this.\u0275cmp=s.VBU({type:vt,selectors:[["angor-confirmation-dialog"]],standalone:!0,features:[s.aNF],decls:6,vars:4,consts:[[1,"relative","flex","h-full","w-full","flex-col"],[1,"absolute","right-0","top-0","pr-4","pt-4"],[1,"flex","flex-auto","flex-col","items-center","p-8","pb-6","sm:flex-row","sm:items-start","sm:pb-8"],[1,"flex","h-10","w-10","flex-0","items-center","justify-center","rounded-full","sm:mr-4",3,"ngClass"],[1,"mt-4","flex","flex-col","items-center","space-y-1","text-center","sm:mt-0","sm:items-start","sm:pr-8","sm:text-left"],[1,"flex","items-center","justify-center","space-x-3","bg-gray-50","px-6","py-4","dark:bg-black","dark:bg-opacity-10","sm:justify-end"],["mat-icon-button","",3,"matDialogClose"],[1,"text-secondary",3,"svgIcon"],[1,"text-current",3,"svgIcon"],[1,"text-xl","font-medium","leading-6",3,"innerHTML"],[1,"text-secondary",3,"innerHTML"],["mat-stroked-button","",3,"matDialogClose"],["mat-flat-button","",3,"color","matDialogClose"]],template:function(St,kt){1&St&&(s.j41(0,"div",0),s.DNE(1,I,3,2,"div",1),s.j41(2,"div",2),s.DNE(3,M,2,11,"div",3)(4,L,3,2,"div",4),s.k0s(),s.DNE(5,q,3,2,"div",5),s.k0s()),2&St&&(s.R7$(),s.vxM(kt.data.dismissible?1:-1),s.R7$(2),s.vxM(kt.data.icon.show?3:-1),s.R7$(),s.vxM(kt.data.title||kt.data.message?4:-1),s.R7$(),s.vxM(kt.data.actions.confirm.show||kt.data.actions.cancel.show?5:-1))},dependencies:[c.Hl,c.$z,c.iY,y.hM,y.tx,k.m_,k.An,o.YU],styles:["@media (min-width: 960px){.angor-confirmation-dialog-panel{width:32rem}}.angor-confirmation-dialog-panel .mat-mdc-dialog-container .mat-mdc-dialog-surface{padding:0!important}\n"],encapsulation:2})}}return vt})();var dt=r(2401);let tt=(()=>{class vt{constructor(){this._matDialog=(0,s.WQX)(y.bZ),this._defaultConfig={title:"Confirm action",message:"Are you sure you want to confirm this action?",icon:{show:!0,name:"heroicons_outline:exclamation-triangle",color:"warn"},actions:{confirm:{show:!0,label:"Confirm",color:"warn"},cancel:{show:!0,label:"Cancel"}},dismissible:!1}}open($t={}){const St=(0,dt.A)({},this._defaultConfig,$t);return this._matDialog.open(ct,{autoFocus:!1,disableClose:!St.dismissible,data:St,panelClass:"angor-confirmation-dialog-panel"})}static{this.\u0275fac=function(St){return new(St||vt)}}static{this.\u0275prov=s.jDH({token:vt,factory:vt.\u0275fac,providedIn:"root"})}}return vt})()},4977:(i,a,r)=>{"use strict";r.d(a,{l:()=>M});var o=r(881),s=r(9327),c=r(4438),y=r(7680),k=r(2771),A=r(6354),I=r(5558);let M=(()=>{class T{constructor(){this._breakpointObserver=(0,c.WQX)(s.QP),this._angorConfigService=(0,c.WQX)(o.P),this._onMediaChange=new k.m(1),this._angorConfigService.config$.pipe((0,A.T)(L=>(0,y.A)(Object.entries(L.screens).map(([Y,z])=>[Y,`(min-width: ${z})`]))),(0,I.n)(L=>this._breakpointObserver.observe(Object.values(L)).pipe((0,A.T)(Y=>{const z=[],q={},ct=Object.entries(Y.breakpoints).filter(([dt,tt])=>tt)??[];for(const[dt]of ct){const tt=Object.entries(L).find(([vt,Mt])=>Mt===dt)[0];tt&&(z.push(tt),q[tt]=dt)}this._onMediaChange.next({matchingAliases:z,matchingQueries:q})})))).subscribe()}get onMediaChange$(){return this._onMediaChange.asObservable()}onMediaQueryChange$(L){return this._breakpointObserver.observe(L)}static{this.\u0275fac=function(Y){return new(Y||T)}}static{this.\u0275prov=c.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},7209:(i,a,r)=>{"use strict";r.d(a,{Q:()=>s});var o=r(4438);let s=(()=>{class c{get exactMatchOptions(){return{paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"}}get subsetMatchOptions(){return{paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"}}randomId(k=10){let I="";for(let M=0;M<10;M++)I+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return I}static{this.\u0275fac=function(A){return new(A||c)}}static{this.\u0275prov=o.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})()},2332:(i,a,r)=>{"use strict";r.d(a,{v:()=>y});var o=r(6616),s=r(1413),c=r(4438);let y=(()=>{class k{constructor(){this.publicKeySubject=new s.B,this.previousPublicKey=null,this.initializeNostrLogin(),this.setupEventListeners()}initializeNostrLogin(){(0,o.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(I,M)=>{this.handleAuthSuccess(I,M)}})}setupEventListeners(){document.addEventListener("nlAuth",this.handleNlAuthEvent.bind(this)),document.addEventListener("nlLogout",this.handleNlLogoutEvent.bind(this)),document.addEventListener("nlDarkMode",this.handleNlDarkModeEvent.bind(this)),document.addEventListener("nlLaunch",this.handleNlLaunchEvent.bind(this))}handleNlLogoutEvent(){console.log("Logout event detected"),this.handleLogout()}handleNlAuthEvent(I){const{type:M,pubkey:T,options:O}=I.detail;switch(M){case"login":console.log("User logged in:",T),this.handleAuthSuccess(T,O);break;case"signup":console.log("User signed up:",T),this.handleSignupSuccess(T,O);break;case"logout":console.log("User logged out"),this.handleLogout();break;case"switch-account":console.log("User switched account:",T),this.handleAccountSwitch(T,O);break;default:console.warn("Unknown nlAuth event type:",M)}this.previousPublicKey&&this.previousPublicKey!==T&&(console.log("Account switched to:",T),this.handleAccountSwitch(T,O)),this.previousPublicKey=T}handleAuthSuccess(I,M){console.log("Authenticated successfully with public key:",I),this.publicKeySubject.next(I)}handleSignupSuccess(I,M){console.log("Signup successful with public key:",I),this.publicKeySubject.next(I)}handleAccountSwitch(I,M){console.log("Account switched to:",I),this.publicKeySubject.next(I),window.location.reload()}handleLogout(){console.log("Logged out"),this.publicKeySubject.next("")}handleNlDarkModeEvent(I){const M=I.detail;console.log("Dark mode changed to:",M?"enabled":"disabled"),this.updateDarkMode(M)}handleNlLaunchEvent(I){const M=I.detail||"welcome";console.log(`Launching Nostr login screen: ${M}`),this.launchScreen(M)}launchScreen(I){(0,o.ql)(I)}updateDarkMode(I){document.body.classList.toggle("dark-mode",I),console.log("Dark mode is now "+(I?"enabled":"disabled"))}getPublicKeyObservable(){return this.publicKeySubject.asObservable()}launchWelcomeScreen(){(0,o.ql)("welcome")}launchSignupScreen(){(0,o.ql)("welcome-signup")}launchLoginScreen(){(0,o.ql)("welcome-login")}switchAccount(){document.dispatchEvent(new CustomEvent("nlLaunch",{detail:"switch-account"}))}logout(){document.dispatchEvent(new Event("nlLogout"))}toggleDarkMode(I){document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:I}))}static{this.\u0275fac=function(M){return new(M||k)}}static{this.\u0275prov=c.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},6231:(i,a,r)=>{"use strict";r.d(a,{b:()=>A});var o=r(467),s=r(719),c=r(4412),y=r(1413),k=r(4438);let A=(()=>{class I{constructor(){this.pool=new s.lo,this.relays=[],this.maxRetries=10,this.retryDelay=15e3,this.eventSubject=new c.t(null),this.relaysSubject=new c.t([]),this.destroy$=new y.B,this.initializeRelays(),this.setupVisibilityHandling()}initializeRelays(){this.relays=this.loadRelaysFromLocalStorage(),this.connectToRelays(),this.relaysSubject.next(this.relays)}loadRelaysFromLocalStorage(){const T=JSON.parse(localStorage.getItem("nostrRelays")||"[]");return T.length>0?T.map(L=>({...L,connected:!1,retries:0,retryTimeout:null,ws:void 0})):[{url:"wss://relay.primal.net",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.damus.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"},{url:"wss://relay2.angor.io",connected:!1,retries:0,retryTimeout:null,accessType:"read-write"}]}saveRelaysToLocalStorage(){const T=this.relays.map(({url:O,accessType:L,connected:Y,retries:z,retryTimeout:q})=>({url:O,accessType:L,connected:Y,retries:z,retryTimeout:q}));localStorage.setItem("nostrRelays",JSON.stringify(T)),this.relaysSubject.next(this.relays)}connectToRelay(T){T.connected||(T.ws=new WebSocket(T.url),T.ws.onopen=()=>{T.connected=!0,T.retries=0,clearTimeout(T.retryTimeout),this.saveRelaysToLocalStorage()},T.ws.onerror=()=>this.handleRelayError(T),T.ws.onclose=()=>{T.connected=!1,this.handleRelayError(T)},T.ws.onmessage=({data:O})=>{try{const L=JSON.parse("string"==typeof O?O:O.toString("utf-8"));this.eventSubject.next(L)}catch(L){console.warn("Error parsing WebSocket message:",L)}})}handleRelayError(T){T.retries>=this.maxRetries?console.warn(`Max retries reached for relay: ${T.url}. No further attempts will be made.`):(T.retries++,T.retryTimeout=setTimeout(()=>this.connectToRelay(T),this.retryDelay*T.retries))}connectToRelays(){this.relays.forEach(T=>!T.connected&&this.connectToRelay(T))}ensureConnectedRelays(){var T=this;return(0,o.A)(function*(){return T.connectToRelays(),new Promise(O=>{const L=()=>{T.getConnectedRelays().length>0?O():setTimeout(L,1e3)};L()})})()}setupVisibilityHandling(){typeof document<"u"&&document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&this.connectToRelays()}),typeof window<"u"&&window.addEventListener("beforeunload",()=>{this.relays.forEach(T=>T.ws?.close())})}getConnectedRelays(){return this.relays.filter(T=>T.connected).map(T=>T.url)}getRelays(){return this.relaysSubject.asObservable()}publishEventToWriteRelays(T){var O=this;return(0,o.A)(function*(){const L=O.relays.filter(Y=>["write","read-write"].includes(Y.accessType)&&Y.connected);if(!L.length)throw new Error("No connected write relays available");try{return yield Promise.any(L.map(Y=>O.pool.publish([Y.url],T))),O.eventSubject.next(T),T}catch(Y){throw console.error("Failed to publish event to relays:",Y),Y}})()}addRelay(T,O="read-write"){if(!this.relays.some(L=>L.url===T)){const L={url:T,connected:!1,retries:0,retryTimeout:null,accessType:O};this.relays.push(L),this.connectToRelay(L),this.saveRelaysToLocalStorage()}}removeRelay(T){const O=this.relays.find(L=>L.url===T);O&&(O.ws?.close(),clearTimeout(O.retryTimeout)),this.relays=this.relays.filter(L=>L.url!==T),this.saveRelaysToLocalStorage()}removeAllCustomRelays(){const T=["wss://relay.angor.io","wss://relay2.angor.io"];this.relays.forEach(O=>{T.includes(O.url)||(O.ws?.close(),clearTimeout(O.retryTimeout))}),this.relays=this.relays.filter(O=>T.includes(O.url)),this.saveRelaysToLocalStorage()}updateRelayAccessType(T,O){const L=this.relays.find(Y=>Y.url===T);L&&(L.accessType=O,this.saveRelaysToLocalStorage())}getPool(){return this.pool}getEventStream(){return this.eventSubject.asObservable()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},4930:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var o=r(467),s=r(5766),c=r(7292),y=r(3838),k=r(719),M=(r(6391),r(5693),r(9673)),T=r(9608),tt=r(4438),vt=r(3813);let Mt=(()=>{class nt{constructor(){this.encoder=new TextEncoder,this.decoder=new TextDecoder}getPasswordKey(rt){var yt=this;return(0,o.A)(function*(){return window.crypto.subtle.importKey("raw",yt.encoder.encode(rt),"PBKDF2",!1,["deriveKey"])})()}deriveKey(rt,yt,Ct){return(0,o.A)(function*(){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:yt,iterations:25e4,hash:"SHA-256"},rt,{name:"AES-GCM",length:256},!1,Ct)})()}encryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=window.crypto.getRandomValues(new Uint8Array(16)),Xt=window.crypto.getRandomValues(new Uint8Array(12)),oe=yield Ct.getPasswordKey(yt),Xe=yield Ct.deriveKey(oe,Vt,["encrypt"]),kr=new Uint8Array(yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:Xt},Xe,Ct.encoder.encode(rt))),gr=new Uint8Array(Vt.length+Xt.length+kr.length);return gr.set(Vt,0),gr.set(Xt,Vt.length),gr.set(kr,Vt.length+Xt.length),vt.K3.encode(gr)}catch(Vt){throw console.error("Encryption failed:",Vt),new Error("Failed to encrypt data.")}})()}decryptData(rt,yt){var Ct=this;return(0,o.A)(function*(){try{const Vt=vt.K3.decode(rt),Xt=Vt.slice(0,16),oe=Vt.slice(16,28),Xe=Vt.slice(28),kr=yield Ct.getPasswordKey(yt),gr=yield Ct.deriveKey(kr,Xt,["decrypt"]),wr=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:oe},gr,Xe);return Ct.decoder.decode(wr)}catch(Vt){throw console.error("Decryption failed:",Vt),new Error("Failed to decrypt data.")}})()}static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();var $t=r(5351),St=r(2332);let kt=(()=>{class nt{constructor(rt,yt,Ct){this.securityService=rt,this.dialog=yt,this._nostrLoginService=Ct,this.localStorageSecretKeyName="secretKey",this.localStoragePublicKeyName="publicKey",this.localStorageNpubName="npub",this.localStorageNsecName="nsec",this.storageKey="userPassword"}savePassword(rt,yt){const Ct=Date.now()+60*yt*1e3;sessionStorage.setItem(this.storageKey,JSON.stringify({password:rt,expirationTime:Ct}))}getPassword(){const rt=sessionStorage.getItem(this.storageKey);if(!rt)return null;const{password:yt,expirationTime:Ct}=JSON.parse(rt);return Date.now()>Ct?(this.clearPassword(),null):yt}clearPassword(){sessionStorage.removeItem(this.storageKey)}changePassword(rt,yt,Ct){var Vt=this;return(0,o.A)(function*(){try{const Xt=yield Vt.getSecretKey(rt);if(!Xt)throw new Error("Incorrect current password.");yield Vt.setSecretKey(Xt,yt);const oe=yield Vt.getNsec(rt);return oe&&(yield Vt.setNsec(oe,yt)),Vt.clearPassword(),Ct&&Vt.savePassword(yt,60),!0}catch(Xt){return console.error("Failed to change password: ",Xt),!1}})()}getUsername(rt){return rt.startsWith("npub")&&(rt=k.Qe.decode(rt).data.toString()),`@${localStorage.getItem(`${rt}`)||k.Qe.npubEncode(rt)}`}npub(){let rt=this.getPublicKey();return k.Qe.npubEncode(rt)}requestPassword(){var rt=this;return(0,o.A)(function*(){return rt.dialog.open(c.b,{width:"300px",disableClose:!0}).afterClosed().toPromise()})()}nsec(rt){var yt=this;return(0,o.A)(function*(){if(yt.usingSecretKey()){let Ct=yield yt.getSecretKey(rt);const Vt=Uint8Array.from(y.hp.from(Ct,"hex"));return k.Qe.nsecEncode(Vt)}return""})()}pubkey(rt){return k.Qe.decode(rt).data.toString()}setPublicKey(rt){const yt=k.Qe.npubEncode(rt);window.localStorage.setItem(this.localStoragePublicKeyName,rt),window.localStorage.setItem(this.localStorageNpubName,yt)}getPublicKey(){const rt=localStorage.getItem("__nostrlogin_nip46");if(rt)try{return JSON.parse(rt).pubkey||""}catch(yt){console.error("Error parsing nostr login data:",yt)}return localStorage.getItem(this.localStoragePublicKeyName)||""}setNpub(rt){localStorage.setItem(this.localStorageNpubName,rt)}getNpub(){return window.localStorage.getItem(this.localStorageNpubName)||""}setSecretKey(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageSecretKeyName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageSecretKeyName,Vt),localStorage.setItem("usePassword","true")}})()}getSecretKey(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageSecretKeyName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}getDecryptedSecretKey(){var rt=this;return(0,o.A)(function*(){try{if("true"!==localStorage.getItem("usePassword"))return rt.getSecretKey();const Ct=rt.getPassword();if(Ct)return yield rt.getSecretKey(Ct);const Vt=yield rt.requestPassword();if(Vt?.password){const Xt=yield rt.getSecretKey(Vt.password);return 0!==Vt.duration&&rt.savePassword(Vt.password,Vt.duration),Xt}return console.error("Password not provided"),null}catch(yt){return console.error("Error decrypting private key:",yt),null}})()}setNsec(rt,yt=""){var Ct=this;return(0,o.A)(function*(){if(""===yt)localStorage.setItem(Ct.localStorageNsecName,rt),localStorage.setItem("usePassword","false");else{const Vt=yield Ct.securityService.encryptData(rt,yt);localStorage.setItem(Ct.localStorageNsecName,Vt),localStorage.setItem("usePassword","true")}})()}getNsec(rt=""){var yt=this;return(0,o.A)(function*(){const Ct=localStorage.getItem(yt.localStorageNsecName),Vt="true"===localStorage.getItem("usePassword");return Ct?Vt?yield yt.securityService.decryptData(Ct,rt):Ct:null})()}setPublicKeyFromExtension(rt){this.setPublicKey(rt)}handleLoginWithKey(rt,yt=""){let Ct,Vt,Xt,oe;try{if(rt.startsWith(this.localStorageNsecName)){const kr=k.Qe.decode(rt);if(kr.type!==this.localStorageNsecName)throw new Error("Invalid nsec key.");Ct=y.hp.from(kr.data).toString("hex")}else{if(!/^[0-9a-fA-F]{64}$/.test(rt))throw new Error("Invalid key format. Must be either nsec or hex.");Ct=rt}const Xe=new Uint8Array(y.hp.from(Ct,"hex"));return Vt=(0,k.lG)(Xe),oe=k.Qe.npubEncode(Vt),Xt=k.Qe.nsecEncode(Xe),this.setSecretKey(Ct,yt),this.setNsec(oe,yt),this.setPublicKey(Vt),this.setNpub(oe),!0}catch(Xe){return console.error("Error during key handling: ",Xe),!1}}handleLoginWithMnemonic(rt,yt="",Ct=""){try{const Xt=function L(nt,at,rt=0){let Ct=T.c.fromMasterSeed((0,M.kw)(nt,at)).derive(`m/44'/1237'/${rt}'/0/0`).privateKey;if(!Ct)throw new Error("could not derive private key");return Ct}(rt,yt,0),oe=(0,s.My)(Xt),Xe=(0,k.lG)(Xt),kr=k.Qe.npubEncode(Xe),gr=k.Qe.nsecEncode(Xt);return this.setSecretKey(oe,Ct),this.setNsec(gr,Ct),this.setPublicKey(Xe),this.setNpub(kr),window.localStorage.setItem(this.localStorageNsecName,gr),!0}catch(Vt){return console.error("Error during login with mnemonic:",Vt),!1}}logout(){window.localStorage.removeItem(this.localStorageSecretKeyName),window.localStorage.removeItem(this.localStoragePublicKeyName),window.localStorage.removeItem(this.localStorageNpubName),window.localStorage.removeItem(this.localStorageNsecName),this._nostrLoginService.logout()}usingNostrBrowserExtension(){return!this.usingSecretKey()&&!!globalThis.nostr}usingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}generateAndStoreKeys(rt=""){try{const yt=(0,k.Bq)(),Ct=y.hp.from(yt).toString("hex"),Vt=(0,k.lG)(yt),Xt=k.Qe.npubEncode(Vt),oe=k.Qe.nsecEncode(yt);return this.setSecretKey(Ct,rt),this.setNsec(oe,rt),this.setPublicKey(Vt),this.setNpub(Xt),{secretKey:Ct,pubkey:Vt,npub:Xt,nsec:oe}}catch(yt){return console.error("Error during key generation:",yt),null}}handleLoginWithExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(!yt.nostr)return!1;try{const Ct=yield yt.nostr.getPublicKey();if(!Ct)throw new Error("Public key not available from Nostr extension.");return rt.setPublicKeyFromExtension(Ct),!0}catch(Ct){return console.error("Failed to connect to Nostr extension:",Ct),!1}})()}encryptMessage(rt,yt,Ct){return(0,o.A)(function*(){console.log(Ct);try{return yield k.sh.encrypt(rt,yt,Ct)}catch(Vt){throw console.error("Error encrypting message:",Vt),Vt}})()}encryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){return yield globalThis.nostr.nip04.encrypt(yt,rt)})()}decryptMessageWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&"function"==typeof Ct.nostr.nip04?.decrypt)try{return yield Ct.nostr.nip04.decrypt(rt,yt)}catch(Vt){return console.error("Decryption failed:",Vt),"*Failed to decrypt content: "+Vt.message+"*"}return console.warn("Nostr extension or decrypt method is unavailable"),"Attempted Nostr Window decryption and failed."})()}decryptMessage(rt,yt,Ct){return(0,o.A)(function*(){try{if(!rt||!yt||!Ct)throw new Error("Private key, public key, or encrypted message is missing or undefined.");const Vt=yield k.sh.decrypt(rt,yt,Ct);if(!Vt)throw new Error("Decryption returned an empty message.");return Vt}catch(Vt){throw Vt}})()}getUnsignedEvent(rt,yt,Ct){return{kind:rt,pubkey:this.getPublicKey(),tags:yt,content:Ct,created_at:Math.floor(Date.now()/1e3)}}getSignedEvent(rt,yt){const Ct=(0,s.aT)(yt);return(0,k.pC)(rt,Ct)}getMuteList(){return(localStorage.getItem("muteList")||"").split(",")}setMuteListFromTags(rt){let yt=[];rt.forEach(Ct=>{yt.push(Ct[1])}),this.setMuteList(yt)}setMuteList(rt){if(0===rt.length)localStorage.setItem("muteList","");else{let yt=Array.from(new Set(rt));localStorage.setItem("muteList",yt.filter(Ct=>Ct).join(","))}}signEventWithExtension(rt){return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr)return yield yt.nostr.signEvent(rt);throw new Error("Tried to sign event with extension but failed")})()}signDMWithExtension(rt,yt){return(0,o.A)(function*(){const Ct=globalThis;if(Ct.nostr&&Ct.nostr.nip04?.encrypt)return yield Ct.nostr.nip04.encrypt(rt,yt);throw new Error("Failed to Sign with extension")})()}isUsingExtension(){var rt=this;return(0,o.A)(function*(){const yt=globalThis;if(yt.nostr&&yt.nostr.getPublicKey)try{return!localStorage.getItem(rt.localStorageSecretKeyName)}catch(Ct){return console.error("Failed to check Nostr extension:",Ct),!1}return!1})()}isUsingSecretKey(){return!!localStorage.getItem(this.localStorageSecretKeyName)}getNpubFromPubkey(rt){try{return k.Qe.npubEncode(rt)}catch(yt){return console.error("Error converting hex to npub:",yt),""}}getNsecFromSeckey(rt){try{const yt=Uint8Array.from(y.hp.from(rt,"hex"));return k.Qe.nsecEncode(yt)}catch(yt){return console.error("Error converting hex to nsec:",yt),""}}static{this.\u0275fac=function(yt){return new(yt||nt)(tt.KVO(Mt),tt.KVO($t.bZ),tt.KVO(St.v))}}static{this.\u0275prov=tt.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})()},2083:(i,a,r)=>{"use strict";r.d(a,{d:()=>A});var o=r(467),s=r(8418),c=r(4438),y=r(5645),k=r(7291);let A=(()=>{class I{constructor(T,O){this.subscriptionService=T,this.storageService=O,this.isProfileLoaded=!1}loadUserProfile(T){var O=this;return(0,o.A)(function*(){O.isProfileLoaded||(yield O.subscribeToUserProfile(T),yield O.subscribeToUserContacts(T),yield O.subscribeToUserChats(T),yield O.subscribeToUserPosts(T),O.isProfileLoaded=!0)})()}subscribeToUserProfile(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("users"),Y={kinds:[0],authors:[T],limit:1};L&&(Y.since=parseInt(L,10)),O.subscriptionService.addSubscriptions([Y],z=>{const q=O.parseMetadataEvent(z);O.storageService.saveProfile(T,q)})})()}subscribeToUserContacts(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("contacts"),Y=[{kinds:[s.In],authors:[T]},{kinds:[s.In],"#p":[T]}];if(L){const z=parseInt(L,10);Y.forEach(q=>q.since=z)}O.subscriptionService.addSubscriptions(Y,z=>{O.storageService.saveContacts(T,[{id:z.id,pubkey:z.pubkey,created_at:z.created_at,tags:z.tags,isFollower:z.pubkey===T}])})})()}subscribeToUserChats(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("chats"),Y=[{kinds:[s.rV],authors:[T],limit:300},{kinds:[s.rV],"#p":[T],limit:300}];if(L){const z=parseInt(L,10);Y.forEach(q=>q.since=z)}else O.storageService.removeAllChats();O.subscriptionService.addSubscriptions(Y,z=>{const q=O.parseChatEvent(z);O.storageService.saveChatEvent(q)})})()}subscribeToUserPosts(T){var O=this;return(0,o.A)(function*(){const L=yield O.storageService.getLastUpdateDate("posts"),Y={kinds:[1],authors:[T]};L&&(Y.since=parseInt(L,10)),O.subscriptionService.addSubscriptions([Y],z=>{O.isReply(z)||O.storageService.savePost(z)})})()}isReply(T){return T.tags.filter(L=>"e"===L[0]||"p"===L[0]).length>0}parseMetadataEvent(T){try{return JSON.parse(T.content)}catch(O){return console.error("Error parsing metadata event:",O),null}}parseChatEvent(T){try{const O=T.content.split("?iv=");return{id:T.id,kind:T.kind,pubkey:T.pubkey,created_at:T.created_at,tags:T.tags,content:O[0],iv:O[1],IsRead:!1}}catch(O){return console.error("Error parsing chat event:",O),null}}static{this.\u0275fac=function(O){return new(O||I)(c.KVO(y.n),c.KVO(k.n))}}static{this.\u0275prov=c.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},7291:(i,a,r)=>{"use strict";r.d(a,{n:()=>A});var o=r(467),s=r(119),c=r.n(s),y=r(4412),k=r(4438);let A=(()=>{class I{constructor(){this.profileSubject=new y.t(null),this.projectsSubject=new y.t([]),this.projectStatsSubject=new y.t({}),this.chatEventsSubject=new y.t([]),this.unreadChatCountSubject=new y.t(0),this.contactsSubject=new y.t({pubKey:"",contacts:[]}),this.postsSubject=new y.t(null),this.myLikesSubject=new y.t([]),this.notificationsSubject=new y.t([]),this.contactStatsSubject=new y.t({totalContacts:0,followersCount:0,followingCount:0}),this.contactStatsMap={},this.profileStore=this.createStore("profiles"),this.updateHistoryStore=this.createStore("updateHistory"),this.contactsStore=this.createStore("contacts"),this.chatsStore=this.createStore("chats"),this.postsStore=this.createStore("posts"),this.myLikesStore=this.createStore("myLikes"),this.notificationsStore=this.createStore("notifications"),this.projectsStore=this.createStore("projects"),this.projectStatsStore=this.createStore("projectStats"),this.loadAllProjectsFromDB(),this.loadAllProjectStatsFromDB(),this.loadAllContactsFromDB(),this.loadAllChatEventsFromDB(),this.loadAllMyLikesFromDB(),this.loadAllNotificationsFromDB(),this.loadContactStatsFromDB(),this.calculateAndStoreAllContactStats()}createStore(T){return c().createInstance({driver:c().INDEXEDDB,name:"angor-hub",version:1,storeName:T})}get profile$(){return this.profileSubject.asObservable()}get projects$(){return this.projectsSubject.asObservable()}get projectStats$(){return this.projectStatsSubject.asObservable()}get chatEvents$(){return this.chatEventsSubject.asObservable()}get unreadChatCount$(){return this.unreadChatCountSubject.asObservable()}get contacts$(){return this.contactsSubject.asObservable()}get posts$(){return this.postsSubject.asObservable()}get contactStats$(){return this.contactStatsSubject.asObservable()}get myLikes$(){return this.myLikesSubject.asObservable()}get notifications$(){return this.notificationsSubject.asObservable()}saveContacts(T,O){var L=this;return(0,o.A)(function*(){try{const Y=[];for(const z of O){const q=`${T}:${z.id}`;yield L.contactsStore.setItem(q,z),Y.push(z)}L.contactsSubject.next({pubKey:T,contacts:Y}),yield L.calculateAndStoreAllContactStats(),yield L.setUpdateHistory("contacts")}catch(Y){console.error("Error saving contacts:",Y)}})()}calculateAndStoreAllContactStats(){var T=this;return(0,o.A)(function*(){try{const O={};yield T.contactsStore.iterate((L,Y)=>{const[z]=Y.split(":");O[z]||(O[z]={totalContacts:0,followersCount:0,followingCount:0}),O[z].totalContacts++,L.isFollower?O[z].followersCount++:O[z].followingCount++});for(const L in O)T.contactStatsMap[L]||(T.contactStatsMap[L]=new y.t({pubKey:L,totalContacts:0,followersCount:0,followingCount:0})),T.contactStatsMap[L].next({pubKey:L,totalContacts:O[L].totalContacts,followersCount:O[L].followersCount,followingCount:O[L].followingCount})}catch(O){console.error("Error calculating and storing contact stats:",O)}})()}getContactStats$(T){return this.contactStatsMap[T]||(this.contactStatsMap[T]=new y.t({pubKey:T,totalContacts:0,followersCount:0,followingCount:0}),this.calculateAndStoreAllContactStats()),this.contactStatsMap[T].asObservable()}getAllContactsPaginated(T,O,L){var Y=this;return(0,o.A)(function*(){try{const z=[];yield Y.contactsStore.iterate((tt,vt)=>{const[Mt]=vt.split(":");Mt===T&&z.push(tt)});const q=z.length,ct=(O-1)*L;return{contacts:z.slice(ct,ct+L),totalCount:q}}catch(z){return console.error("Error retrieving paginated contacts for pubKey:",z),{contacts:[],totalCount:0}}})()}getAllContacts(T=""){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.contactsStore.iterate((Y,z)=>{const[q,ct]=z.split(":");(""===T||q===T)&&L.push({pubKey:q,contact:Y})}),L}catch(L){return console.error("Error retrieving contacts:",L),[]}})()}getContactStats(T){var O=this;return(0,o.A)(function*(){try{let L=0,Y=0,z=0;return yield O.contactsStore.iterate((q,ct)=>{const[dt,tt]=ct.split(":");dt===T&&(L++,q.isFollower?Y++:z++)}),{totalContacts:L,followersCount:Y,followingCount:z}}catch(L){return console.error("Error retrieving contact stats for pubKey:",L),{totalContacts:0,followersCount:0,followingCount:0}}})()}removeAllContacts(T){var O=this;return(0,o.A)(function*(){try{const L=[];yield O.contactsStore.iterate((Y,z)=>{const[q]=z.split(":");q===T&&L.push(z)});for(const Y of L)yield O.contactsStore.removeItem(Y);yield O.contactsStore.clear(),O.contactStatsSubject.next({totalContacts:0,followersCount:0,followingCount:0}),O.contactsSubject.next({pubKey:T,contacts:[]}),yield O.setUpdateHistory("contacts")}catch(L){console.error("Error removing all contacts for pubKey:",L)}})()}saveProfile(T,O){var L=this;return(0,o.A)(function*(){try{if(!T||!O)return void console.error("Invalid pubKey or metadata:",T,O);O.pubKey=T,yield L.profileStore.setItem(T,O),L.profileSubject.next({pubKey:T,metadata:O}),yield L.setUpdateHistory("profiles")}catch(Y){console.error("Error saving profile",Y)}})()}getProfile(T){var O=this;return(0,o.A)(function*(){try{return(yield O.profileStore.getItem(T))||null}catch(L){return console.error("Error retrieving profile metadata:",L),null}})()}getAllProfiles(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.profileStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all Profile:",O),[]}})()}searchProfile(T){var O=this;return(0,o.A)(function*(){try{const L=[],Y=T.toLowerCase();return yield O.profileStore.iterate((z,q)=>{JSON.stringify(z).toLowerCase().includes(Y)&&L.push({pubKey:q,profile:z})}),L}catch(L){return console.error("Error searching profiles by metadata:",L),[]}})()}getLastUpdateDate(T){var O=this;return(0,o.A)(function*(){try{return(yield O.updateHistoryStore.getItem(T))||null}catch(L){return console.error("Error retrieving last update date:",L),null}})()}saveProject(T){var O=this;return(0,o.A)(function*(){try{yield O.projectsStore.setItem(T.projectIdentifier,T);const L=yield O.getAllProjects();O.projectsSubject.next(L),yield O.setUpdateHistory("projects")}catch(L){console.error("Error saving project:",L)}})()}getProjectsByIds(T){var O=this;return(0,o.A)(function*(){if(!T||0===T.length)return[];const L=[];for(const Y of T){const z=yield O.projectsStore.getItem(Y);z&&L.push(z)}return L})()}getAllProjects(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.projectsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all projects:",O),[]}})()}getProjectStats(T){var O=this;return(0,o.A)(function*(){try{return(yield O.projectStatsStore.getItem(T))||null}catch(L){return console.error("Error retrieving project stats:",L),null}})()}saveProjectStats(T,O){var L=this;return(0,o.A)(function*(){try{yield L.projectStatsStore.setItem(T,O);const Y=yield L.getAllProjectStats();L.projectStatsSubject.next(Y),yield L.setUpdateHistory("projectStats")}catch(Y){console.error("Error saving project stats:",Y)}})()}getAllProjectStats(){var T=this;return(0,o.A)(function*(){try{const O={};return yield T.projectStatsStore.iterate((L,Y)=>{O[Y]=L}),O}catch(O){return console.error("Error retrieving all project stats:",O),{}}})()}savePost(T){var O=this;return(0,o.A)(function*(){try{yield O.postsStore.setItem(T.id,T),yield O.setUpdateHistory("posts"),O.postsSubject.next(T)}catch(L){console.error("Error saving event type 1 and sending it to clients:",L)}})()}getPostsByPubKey(T){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.postsStore.iterate(Y=>{Y.pubkey===T&&1===Y.kind&&L.push(Y)}),L.sort((Y,z)=>z.createdAt-Y.createdAt)}catch(L){return console.error("Error retrieving events for pubKey:",L),[]}})()}getPostById(T){var O=this;return(0,o.A)(function*(){try{let L=null;return yield O.postsStore.iterate(Y=>{if(Y.id===T&&1===Y.kind)return L=Y,L}),L}catch(L){return console.error("Error retrieving post by ID:",L),null}})()}getAllPosts(T=10){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.postsStore.iterate(Y=>{L.push(Y)}),L.sort((Y,z)=>z.created_at-Y.created_at).slice(0,T)}catch(L){return console.error("Error retrieving all events:",L),[]}})()}saveLike(T){var O=this;return(0,o.A)(function*(){try{yield O.myLikesStore.setItem(T.id,T);const L=yield O.getAllMyLikes();O.myLikesSubject.next(L),yield O.setUpdateHistory("myLikes")}catch(L){console.error("Error saving like:",L)}})()}getAllMyLikes(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.myLikesStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all likes:",O),[]}})()}saveNotification(T){var O=this;return(0,o.A)(function*(){try{yield O.notificationsStore.setItem(T.id,T);const L=yield O.getAllNotifications();O.notificationsSubject.next(L),yield O.setUpdateHistory("notifications")}catch(L){console.error("Error saving notification:",L)}})()}getAllNotifications(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.notificationsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all notifications:",O),[]}})()}saveChatEvent(T){var O=this;return(0,o.A)(function*(){try{yield O.chatsStore.setItem(T.id,T),yield O.setUpdateHistory("chats");const L=yield O.getAllChatEvents();O.chatEventsSubject.next(L),O.updateUnreadChatCount(L)}catch(L){console.error("Error saving chat event:",L)}})()}getAllChatEvents(){var T=this;return(0,o.A)(function*(){try{const O=[];return yield T.chatsStore.iterate(L=>{O.push(L)}),O}catch(O){return console.error("Error retrieving all chat events:",O),[]}})()}getChatEventsByPubKey(T){var O=this;return(0,o.A)(function*(){try{const L=[];return yield O.chatsStore.iterate(Y=>{const z=O.getReceiverPubKeyFromTags(Y.tags);(Y.pubkey===T||z===T)&&L.push(Y)}),L}catch(L){return console.error("Error retrieving chat events by pubkey:",L),[]}})()}updateChatEventReadStatus(T,O){var L=this;return(0,o.A)(function*(){try{const Y=yield L.chatsStore.getItem(T);if(Y){Y.IsRead=O,yield L.chatsStore.setItem(T,Y);const z=yield L.getAllChatEvents();L.chatEventsSubject.next(z),L.updateUnreadChatCount(z)}}catch(Y){console.error("Error updating chat event read status:",Y)}})()}markAllChatEventsAsRead(T){var O=this;return(0,o.A)(function*(){try{yield O.chatsStore.iterate(function(){var Y=(0,o.A)(function*(z,q){const ct=O.getReceiverPubKeyFromTags(z.tags);(z.pubkey===T||ct===T)&&!z.IsRead&&(z.IsRead=!0,yield O.chatsStore.setItem(q,z))});return function(z,q){return Y.apply(this,arguments)}}());const L=yield O.getAllChatEvents();O.chatEventsSubject.next(L),O.updateUnreadChatCount(L)}catch(L){console.error("Error marking all chat events as read:",L)}})()}getReceiverPubKeyFromTags(T){for(const O of T)if("p"===O[0]&&O[1])return O[1];return null}updateUnreadChatCount(T){const O=T.filter(L=>!L.IsRead).length;this.unreadChatCountSubject.next(O)}removeAllChats(){var T=this;return(0,o.A)(function*(){try{yield T.chatsStore.clear(),T.chatEventsSubject.next([]),T.unreadChatCountSubject.next(0),console.log("All chat events have been removed successfully.")}catch(O){console.error("Error removing all chat events:",O)}})()}setUpdateHistory(T){var O=this;return(0,o.A)(function*(){try{const L=Math.floor(Date.now()/1e3);yield O.updateHistoryStore.setItem(T,L)}catch(L){console.error("Error updating history:",L)}})()}loadAllProjectsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllProjects();T.projectsSubject.next(O)}catch(O){console.error("Error loading projects from DB:",O)}})()}loadAllProjectStatsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllProjectStats();T.projectStatsSubject.next(O)}catch(O){console.error("Error loading project stats from DB:",O)}})()}loadAllContactsFromDB(T=""){var O=this;return(0,o.A)(function*(){try{const L=yield O.getAllContacts(T);if(L.length>0){const Y={};for(const z of L)Y[z.pubKey]||(Y[z.pubKey]=[]),Y[z.pubKey].push(z.contact);for(const z in Y)O.contactsSubject.next({pubKey:z,contacts:Y[z]})}}catch(L){console.error("Error loading contacts from DB:",L)}})()}loadAllChatEventsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllChatEvents();T.chatEventsSubject.next(O)}catch(O){console.error("Error loading chat events from DB:",O)}})()}loadPostsFromDB(T=10,O=0){var L=this;return(0,o.A)(function*(){try{const Y=[];return yield L.postsStore.iterate(z=>{Y.push(z)}),Y.sort((z,q)=>q.created_at-z.created_at).slice(O,O+T)}catch(Y){return console.error("Error retrieving events from DB:",Y),[]}})()}loadPosts(T){var O=this;return(0,o.A)(function*(){const Y=10*(T-1),z=yield O.loadPostsFromDB(10,Y);z.length>0&&z.forEach(q=>{O.postsSubject.next(q)})})()}loadAllMyLikesFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllMyLikes();T.myLikesSubject.next(O)}catch(O){console.error("Error loading likes from DB:",O)}})()}loadAllNotificationsFromDB(){var T=this;return(0,o.A)(function*(){try{const O=yield T.getAllNotifications();T.notificationsSubject.next(O)}catch(O){console.error("Error loading notifications from DB:",O)}})()}loadContactStatsFromDB(){var T=this;return(0,o.A)(function*(){try{let O=0,L=0,Y=0;yield T.contactsStore.iterate((z,q)=>{const[ct]=q.split(":");O++,z.isFollower?L++:Y++}),T.contactStatsSubject.next({totalContacts:O,followersCount:L,followingCount:Y})}catch(O){console.error("Error loading contact stats from DB:",O)}})()}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=k.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})()},5645:(i,a,r)=>{"use strict";r.d(a,{n:()=>dt});var s,o=r(4412),c=new Uint8Array(16);function y(){if(!s&&!(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(c)}const k=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var M=[],T=0;T<256;++T)M.push((T+256).toString(16).substr(1));const L=function O(tt){var vt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Mt=(M[tt[vt+0]]+M[tt[vt+1]]+M[tt[vt+2]]+M[tt[vt+3]]+"-"+M[tt[vt+4]]+M[tt[vt+5]]+"-"+M[tt[vt+6]]+M[tt[vt+7]]+"-"+M[tt[vt+8]]+M[tt[vt+9]]+"-"+M[tt[vt+10]]+M[tt[vt+11]]+M[tt[vt+12]]+M[tt[vt+13]]+M[tt[vt+14]]+M[tt[vt+15]]).toLowerCase();if(!function A(tt){return"string"==typeof tt&&k.test(tt)}(Mt))throw TypeError("Stringified UUID is invalid");return Mt},z=function Y(tt,vt,Mt){var $t=(tt=tt||{}).random||(tt.rng||y)();if($t[6]=15&$t[6]|64,$t[8]=63&$t[8]|128,vt){Mt=Mt||0;for(var St=0;St<16;++St)vt[Mt+St]=$t[St];return vt}return L($t)};var q=r(4438),ct=r(6231);let dt=(()=>{class tt{constructor(Mt){this.relayService=Mt,this.subscriptions=new Map,this.activeRelays=[],this.pendingSubscriptions=new Map,this.subscriptionsSubject=new o.t(new Map),this.subscriptions$=this.subscriptionsSubject.asObservable(),this.subscriptionQueue=[],this.isProcessingQueue=!1,this.queueInterval=3e3,this.maxSubscriptionsPerBatch=5,this.debounceInterval=5e3,this.lastActionTimestamp=new Map,this.connectToAllRelays(),this.processSubscriptionQueue()}addSubscriptions(Mt,$t,St){const kt=this.findExistingSubscription(Mt);if(kt)return kt.callbacks.push($t),kt.id;const nt=z();this.lastActionTimestamp.set(nt,Date.now());const at={filter:Mt,callbacks:[$t],id:nt};return this.subscriptions.set(at.id,at),this.subscriptionsSubject.next(this.subscriptions),this.addToQueue(at),at.id}findExistingSubscription(Mt){return Array.from(this.subscriptions.values()).find($t=>JSON.stringify($t.filter)===JSON.stringify(Mt))}removeSubscriptionById(Mt){const $t=Date.now(),St=this.lastActionTimestamp.get(Mt);St&&$t-St{this.subscriptionQueue.length>0&&this.subscriptionQueue.splice(0,this.maxSubscriptionsPerBatch).forEach(St=>this.subscribeToRelays(St.filter,St))},this.queueInterval))}subscribeToRelays(Mt,$t){0!==this.activeRelays.length?this.relayService.ensureConnectedRelays().then(()=>{const St=this.relayService.getConnectedRelays();this.relayService.getPool().subscribeMany(St,Mt,{onevent:kt=>{$t.callbacks.forEach(nt=>nt(kt))},onclose:()=>console.log("Subscription closed")})}).catch(St=>{console.error("Error subscribing to relays:",St)}):this.pendingSubscriptions.set($t.id,$t)}subscribeToAllRelays(){this.pendingSubscriptions.forEach(Mt=>{this.subscribeToRelays(Mt.filter,Mt)}),this.pendingSubscriptions.clear()}connectToAllRelays(){this.relayService.ensureConnectedRelays().then(()=>{this.activeRelays=this.relayService.getConnectedRelays(),this.subscribeToAllRelays()}).catch(Mt=>{console.error("Error connecting to relays:",Mt)})}clearAllSubscriptions(){this.subscriptions.clear(),this.pendingSubscriptions.clear(),this.subscriptionsSubject.next(new Map)}getSubscriptions(){return Array.from(this.subscriptions.values())}static{this.\u0275fac=function($t){return new($t||tt)(q.KVO(ct.b))}}static{this.\u0275prov=q.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}}return tt})()},7292:(i,a,r)=>{"use strict";r.d(a,{b:()=>z});var o=r(177),s=r(9417),c=r(8834),y=r(6600),k=r(5351),A=r(2102),I=r(9213),M=r(9042),T=r(2798),O=r(882),L=r(4438);function Y(q,ct){1&q&&(L.j41(0,"mat-error"),L.EFF(1," Password is required "),L.k0s())}let z=(()=>{class q{constructor(dt,tt,vt){this.fb=dt,this.dialogRef=tt,this.data=vt,this.passwordForm=this.fb.group({password:["",s.k0.required],duration:["0",s.k0.required]})}onCancel(){this.dialogRef.close()}onSubmit(){this.dialogRef.close(this.passwordForm.value)}static{this.\u0275fac=function(tt){return new(tt||q)(L.rXU(s.ok),L.rXU(k.CP),L.rXU(k.Vh))}}static{this.\u0275cmp=L.VBU({type:q,selectors:[["password-dialog"]],standalone:!0,features:[L.aNF],decls:30,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"w-full",3,"subscriptSizing"],["matPrefix",""],["matInput","","type","password",3,"formControlName"],[4,"ngIf"],[1,"mt-5","w-full"],["formControlName","duration"],["value","0"],["value","1"],["value","5"],["value","10"],["value","60"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(tt,vt){1&tt&&(L.j41(0,"h1",0),L.EFF(1,"Enter Password"),L.k0s(),L.j41(2,"div",1)(3,"form",2)(4,"mat-form-field",3)(5,"mat-label"),L.EFF(6,"Password"),L.k0s(),L.j41(7,"mat-icon",4),L.EFF(8,"lock"),L.k0s(),L.nrm(9,"input",5),L.DNE(10,Y,2,0,"mat-error",6),L.k0s(),L.j41(11,"mat-form-field",7)(12,"mat-label"),L.EFF(13,"Duration"),L.k0s(),L.j41(14,"mat-select",8)(15,"mat-option",9),L.EFF(16,"0 Minute"),L.k0s(),L.j41(17,"mat-option",10),L.EFF(18,"1 Minute"),L.k0s(),L.j41(19,"mat-option",11),L.EFF(20,"5 Minutes"),L.k0s(),L.j41(21,"mat-option",12),L.EFF(22,"10 Minutes"),L.k0s(),L.j41(23,"mat-option",13),L.EFF(24,"1 Hour"),L.k0s()()()()(),L.j41(25,"div",14)(26,"button",15),L.bIt("click",function(){return vt.onCancel()}),L.EFF(27,"Cancel"),L.k0s(),L.j41(28,"button",16),L.bIt("click",function(){return vt.onSubmit()}),L.EFF(29," Submit "),L.k0s()()),2&tt&&(L.R7$(3),L.Y8G("formGroup",vt.passwordForm),L.R7$(),L.Y8G("subscriptSizing","dynamic"),L.R7$(5),L.Y8G("formControlName","password"),L.R7$(),L.Y8G("ngIf",vt.passwordForm.get("password").hasError("required")),L.R7$(18),L.Y8G("disabled",vt.passwordForm.invalid))},dependencies:[O.vg,c.Hl,c.$z,I.m_,I.An,s.YN,s.qT,s.me,s.BC,s.cb,y.wT,A.nJ,A.rl,s.X1,s.j4,s.JD,o.MD,o.bT,T.Ve,A.TL,A.JW,T.VO,A.RG,M.fS,M.fg],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return q})()},4312:(i,a,r)=>{"use strict";var o=r(345),s=r(5245),c=r(4438);let y=(()=>{class b{constructor(){}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["app-root"]],standalone:!0,features:[c.aNF],decls:1,vars:0,template:function(m,D){1&m&&c.nrm(0,"router-outlet")},dependencies:[s.n3],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto;width:100%;height:100%}"]})}}return b})();var k=r(467);const A=new c.nKC("ANGOR_MOCK_API_DEFAULT_DELAY");var I=r(8810),M=r(1985),T=r(6697),O=r(7673);class L{constructor(p,d){this.url=p,this.delay=d,this._replyCount=0,this._replied=0}get response(){if(this._replyCount>0&&this._replyCount<=this._replied)return(0,I.$)(()=>new Error("Execution limit has been reached!"));if(!this._reply)return(0,I.$)(()=>new Error("Response callback function does not exist!"));if(!this.request)return(0,I.$)(()=>new Error("Request does not exist!"));this._replied++;const p=this._reply({request:this.request,urlParams:this.urlParams});return p instanceof M.c?p.pipe((0,T.s)(1)):(0,O.of)(p).pipe((0,T.s)(1))}reply(p){this._reply=p}replyCount(p){this._replyCount=p}}var Y=r(7680);let z=(()=>{class b{constructor(){this._handlers={get:new Map,post:new Map,patch:new Map,delete:new Map,put:new Map,head:new Map,jsonp:new Map,options:new Map}}findHandler(d,m){const D={handler:void 0,urlParams:{}},V=m.split("/"),J=this._handlers[d.toLowerCase()];for(const[_t,Wt]of J){const we=_t.split("/");if(V.length===we.length&&we.every((xr,mo)=>xr.startsWith(":")||xr===V[mo])){D.handler=Wt,D.urlParams=(0,Y.A)(we.map((xr,mo)=>xr.startsWith(":")?[xr.substring(1),V[mo]]:void 0).filter(Boolean));break}}return D}onGet(d,m){return this._registerHandler("get",d,m)}onPost(d,m){return this._registerHandler("post",d,m)}onPatch(d,m){return this._registerHandler("patch",d,m)}onDelete(d,m){return this._registerHandler("delete",d,m)}onPut(d,m){return this._registerHandler("put",d,m)}onHead(d,m){return this._registerHandler("head",d,m)}onJsonp(d,m){return this._registerHandler("jsonp",d,m)}onOptions(d,m){return this._registerHandler("options",d,m)}_registerHandler(d,m,D){const V=new L(m,D);return this._handlers[d].set(m,V),V}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var q=r(1626),ct=r(1986),dt=r(5558);const tt=(b,p)=>{const d=(0,c.WQX)(A),m=(0,c.WQX)(z),{handler:D,urlParams:V}=m.findHandler(b.method.toUpperCase(),b.url);return D?(D.request=b,D.urlParams=V,D.response.pipe((0,ct.c)(D.delay??d??0),(0,dt.n)(J=>{if(!J)return(0,I.$)(()=>new q.yz({error:"NOT FOUND",status:404,statusText:"NOT FOUND"}));const _t={status:J[0],body:J[1]};return _t.status>=200&&_t.status<300?(0,O.of)(new q.cS({body:_t.body,status:_t.status,statusText:"OK"})):(0,I.$)(()=>new q.yz({error:_t.body?.error,status:_t.status,statusText:"ERROR"}))}))):p(b)};var vt=r(9097),Mt=r(9979),$t=r(4412);let St=(()=>{class b{constructor(){this._auto$=new $t.t(!0),this._mode$=new $t.t("indeterminate"),this._progress$=new $t.t(0),this._show$=new $t.t(!1),this._urlMap=new Map}get auto$(){return this._auto$.asObservable()}get mode$(){return this._mode$.asObservable()}get progress$(){return this._progress$.asObservable()}get show$(){return this._show$.asObservable()}show(){this._show$.next(!0)}hide(){this._show$.next(!1)}setAutoMode(d){this._auto$.next(d)}setMode(d){this._mode$.next(d)}setProgress(d){d<0||d>100?console.error("Progress value must be between 0 and 100!"):this._progress$.next(d)}_setLoadingStatus(d,m){m?(!0===d?(this._urlMap.set(m,d),this._show$.next(!0)):!1===d&&this._urlMap.has(m)&&this._urlMap.delete(m),0===this._urlMap.size&&this._show$.next(!1)):console.error("The request URL must be provided!")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var kt=r(980);const nt=(b,p)=>{const d=(0,c.WQX)(St);let m=!1;return d.auto$.pipe((0,T.s)(1)).subscribe(D=>{m=D}),m?(d._setLoadingStatus(!0,b.url),p(b).pipe((0,kt.j)(()=>{d._setLoadingStatus(!1,b.url)}))):p(b)};var at=r(4977),rt=r(6860);let yt=(()=>{class b{constructor(){this._platform=(0,c.WQX)(rt.OD),this.osName="os-unknown",this._platform.isBrowser&&(navigator.userAgent.includes("Win")&&(this.osName="os-windows"),navigator.userAgent.includes("Mac")&&(this.osName="os-mac"),navigator.userAgent.includes("X11")&&(this.osName="os-unix"),navigator.userAgent.includes("Linux")&&(this.osName="os-linux"),this._platform.IOS&&(this.osName="os-ios"),this._platform.ANDROID&&(this.osName="os-android"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Ct=r(177),Vt=r(5964);let Xt=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ),this._router=(0,c.WQX)(s.Ix),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,T.s)(1)).subscribe(()=>{this.hide()})}show(){this._document.body.classList.remove("angor-splash-screen-hidden")}hide(){this._document.body.classList.add("angor-splash-screen-hidden")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var oe=r(7209),Xe=r(6600),kr=r(5351),gr=r(2102);class Wr extends Error{}class xe extends Wr{constructor(p){super(`Invalid DateTime: ${p.toMessage()}`)}}class Le extends Wr{constructor(p){super(`Invalid Interval: ${p.toMessage()}`)}}class gt extends Wr{constructor(p){super(`Invalid Duration: ${p.toMessage()}`)}}class Nt extends Wr{}class Se extends Wr{constructor(p){super(`Invalid unit ${p}`)}}class Rt extends Wr{}class de extends Wr{constructor(){super("Zone is an abstract class")}}const jt="numeric",De="short",Ye="long",ft={year:jt,month:jt,day:jt},pe={year:jt,month:De,day:jt},Ut={year:jt,month:De,day:jt,weekday:De},Ee={year:jt,month:Ye,day:jt},ie={year:jt,month:Ye,day:jt,weekday:Ye},He={hour:jt,minute:jt},Ht={hour:jt,minute:jt,second:jt},Me={hour:jt,minute:jt,second:jt,timeZoneName:De},Pe={hour:jt,minute:jt,second:jt,timeZoneName:Ye},We={hour:jt,minute:jt,hourCycle:"h23"},Or={hour:jt,minute:jt,second:jt,hourCycle:"h23"},ko={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:De},lr={hour:jt,minute:jt,second:jt,hourCycle:"h23",timeZoneName:Ye},Lt={year:jt,month:jt,day:jt,hour:jt,minute:jt},be={year:jt,month:jt,day:jt,hour:jt,minute:jt,second:jt},se={year:jt,month:De,day:jt,hour:jt,minute:jt},Ie={year:jt,month:De,day:jt,hour:jt,minute:jt,second:jt},br={year:jt,month:De,day:jt,weekday:De,hour:jt,minute:jt},mt={year:jt,month:Ye,day:jt,hour:jt,minute:jt,timeZoneName:De},$={year:jt,month:Ye,day:jt,hour:jt,minute:jt,second:jt,timeZoneName:De},Z={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,timeZoneName:Ye},it={year:jt,month:Ye,day:jt,weekday:Ye,hour:jt,minute:jt,second:jt,timeZoneName:Ye};class Tt{get type(){throw new de}get name(){throw new de}get ianaName(){return this.name}get isUniversal(){throw new de}offsetName(p,d){throw new de}formatOffset(p,d){throw new de}offset(p){throw new de}equals(p){throw new de}get isValid(){throw new de}}let It=null;class ye extends Tt{static get instance(){return null===It&&(It=new ye),It}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m)}formatOffset(p,d){return za(this.offset(p),d)}offset(p){return-new Date(p).getTimezoneOffset()}equals(p){return"system"===p.type}get isValid(){return!0}}let ir={};const er={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bo={};class fr extends Tt{static create(p){return Bo[p]||(Bo[p]=new fr(p)),Bo[p]}static resetCache(){Bo={},ir={}}static isValidSpecifier(p){return this.isValidZone(p)}static isValidZone(p){if(!p)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:p}).format(),!0}catch{return!1}}constructor(p){super(),this.zoneName=p,this.valid=fr.isValidZone(p)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(p,{format:d,locale:m}){return mi(p,d,m,this.name)}formatOffset(p,d){return za(this.offset(p),d)}offset(p){const d=new Date(p);if(isNaN(d))return NaN;const m=function Je(b){return ir[b]||(ir[b]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:b,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ir[b]}(this.name);let[D,V,J,_t,Wt,we,ur]=m.formatToParts?function eo(b,p){const d=b.formatToParts(p),m=[];for(let D=0;D=0?yo:1e3+yo,(ma({year:D,month:V,day:J,hour:24===Wt?0:Wt,minute:we,second:ur,millisecond:0})-Zr)/6e4}equals(p){return"iana"===p.type&&p.name===this.name}get isValid(){return this.valid}}let Pr={},qt={};function Pt(b,p={}){const d=JSON.stringify([b,p]);let m=qt[d];return m||(m=new Intl.DateTimeFormat(b,p),qt[d]=m),m}let ue={},Qr={},Wo=null,$e={};function Ae(b,p,d,m){const D=b.listingMode();return"error"===D?null:"en"===D?d(p):m(p)}class yr{constructor(p,d,m){this.padTo=m.padTo||0,this.floor=m.floor||!1;const{padTo:D,floor:V,...J}=m;if(!d||Object.keys(J).length>0){const _t={useGrouping:!1,...m};m.padTo>0&&(_t.minimumIntegerDigits=m.padTo),this.inf=function mr(b,p={}){const d=JSON.stringify([b,p]);let m=ue[d];return m||(m=new Intl.NumberFormat(b,p),ue[d]=m),m}(p,_t)}}format(p){if(this.inf){const d=this.floor?Math.floor(p):p;return this.inf.format(d)}return Mn(this.floor?Math.floor(p):pa(p,3),this.padTo)}}class Eo{constructor(p,d,m){let D;if(this.opts=m,this.originalZone=void 0,this.opts.timeZone)this.dt=p;else if("fixed"===p.zone.type){const J=p.offset/60*-1,_t=J>=0?`Etc/GMT+${J}`:`Etc/GMT${J}`;0!==p.offset&&fr.create(_t).valid?(D=_t,this.dt=p):(D="UTC",this.dt=0===p.offset?p:p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone)}else"system"===p.zone.type?this.dt=p:"iana"===p.zone.type?(this.dt=p,D=p.zone.name):(D="UTC",this.dt=p.setZone("UTC").plus({minutes:p.offset}),this.originalZone=p.zone);const V={...this.opts};V.timeZone=V.timeZone||D,this.dtf=Pt(d,V)}format(){return this.originalZone?this.formatToParts().map(({value:p})=>p).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const p=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?p.map(d=>{if("timeZoneName"===d.type){const m=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...d,value:m}}return d}):p}resolvedOptions(){return this.dtf.resolvedOptions()}}class $n{constructor(p,d,m){this.opts={style:"long",...m},!d&&Tn()&&(this.rtf=function Ro(b,p={}){const{base:d,...m}=p,D=JSON.stringify([b,m]);let V=Qr[D];return V||(V=new Intl.RelativeTimeFormat(b,p),Qr[D]=V),V}(p,m))}format(p,d){return this.rtf?this.rtf.format(p,d):function et(b,p,d="always",m=!1){const D={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},V=-1===["hours","minutes","seconds"].indexOf(b);if("auto"===d&&V){const xr="days"===b;switch(p){case 1:return xr?"tomorrow":`next ${D[b][0]}`;case-1:return xr?"yesterday":`last ${D[b][0]}`;case 0:return xr?"today":`this ${D[b][0]}`}}const J=Object.is(p,-0)||p<0,_t=Math.abs(p),Wt=1===_t,we=D[b],ur=m?Wt?we[1]:we[2]||we[1]:Wt?D[b][0]:b;return J?`${_t} ${ur} ago`:`in ${_t} ${ur}`}(d,p,this.opts.numeric,"long"!==this.opts.style)}formatToParts(p,d){return this.rtf?this.rtf.formatToParts(p,d):[]}}const Xn={firstDay:1,minimalDays:4,weekend:[6,7]};class Yo{static fromOpts(p){return Yo.create(p.locale,p.numberingSystem,p.outputCalendar,p.weekSettings,p.defaultToEN)}static create(p,d,m,D,V=!1){const J=p||Dt.defaultLocale,_t=J||(V?"en-US":function tr(){return Wo||(Wo=(new Intl.DateTimeFormat).resolvedOptions().locale,Wo)}()),Wt=d||Dt.defaultNumberingSystem,we=m||Dt.defaultOutputCalendar,ur=Zi(D)||Dt.defaultWeekSettings;return new Yo(_t,Wt,we,ur,J)}static resetCache(){Wo=null,qt={},ue={},Qr={}}static fromObject({locale:p,numberingSystem:d,outputCalendar:m,weekSettings:D}={}){return Yo.create(p,d,m,D)}constructor(p,d,m,D,V){const[J,_t,Wt]=function qe(b){const p=b.indexOf("-x-");-1!==p&&(b=b.substring(0,p));const d=b.indexOf("-u-");if(-1===d)return[b];{let m,D;try{m=Pt(b).resolvedOptions(),D=b}catch{const Wt=b.substring(0,d);m=Pt(Wt).resolvedOptions(),D=Wt}const{numberingSystem:V,calendar:J}=m;return[D,V,J]}}(p);this.locale=J,this.numberingSystem=d||_t||null,this.outputCalendar=m||Wt||null,this.weekSettings=D,this.intl=function ke(b,p,d){return(d||p)&&(b.includes("-u-")||(b+="-u"),d&&(b+=`-ca-${d}`),p&&(b+=`-nu-${p}`)),b}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=V,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function ar(b){return(!b.numberingSystem||"latn"===b.numberingSystem)&&("latn"===b.numberingSystem||!b.locale||b.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(b.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(p){return p&&0!==Object.getOwnPropertyNames(p).length?Yo.create(p.locale||this.specifiedLocale,p.numberingSystem||this.numberingSystem,p.outputCalendar||this.outputCalendar,Zi(p.weekSettings)||this.weekSettings,p.defaultToEN||!1):this}redefaultToEN(p={}){return this.clone({...p,defaultToEN:!0})}redefaultToSystem(p={}){return this.clone({...p,defaultToEN:!1})}months(p,d=!1){return Ae(this,p,es,()=>{const m=d?{month:p,day:"numeric"}:{month:p},D=d?"format":"standalone";return this.monthsCache[D][p]||(this.monthsCache[D][p]=function me(b){const p=[];for(let d=1;d<=12;d++){const m=$o.utc(2009,d,1);p.push(b(m))}return p}(V=>this.extract(V,m,"month"))),this.monthsCache[D][p]})}weekdays(p,d=!1){return Ae(this,p,Ui,()=>{const m=d?{weekday:p,year:"numeric",month:"long",day:"numeric"}:{weekday:p},D=d?"format":"standalone";return this.weekdaysCache[D][p]||(this.weekdaysCache[D][p]=function Yt(b){const p=[];for(let d=1;d<=7;d++){const m=$o.utc(2016,11,13+d);p.push(b(m))}return p}(V=>this.extract(V,m,"weekday"))),this.weekdaysCache[D][p]})}meridiems(){return Ae(this,void 0,()=>Jn,()=>{if(!this.meridiemCache){const p={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[$o.utc(2016,11,13,9),$o.utc(2016,11,13,19)].map(d=>this.extract(d,p,"dayperiod"))}return this.meridiemCache})}eras(p){return Ae(this,p,rs,()=>{const d={era:p};return this.eraCache[p]||(this.eraCache[p]=[$o.utc(-40,1,1),$o.utc(2017,1,1)].map(m=>this.extract(m,d,"era"))),this.eraCache[p]})}extract(p,d,m){const J=this.dtFormatter(p,d).formatToParts().find(_t=>_t.type.toLowerCase()===m);return J?J.value:null}numberFormatter(p={}){return new yr(this.intl,p.forceSimple||this.fastNumbers,p)}dtFormatter(p,d={}){return new Eo(p,this.intl,d)}relFormatter(p={}){return new $n(this.intl,this.isEnglish(),p)}listFormatter(p={}){return function re(b,p={}){const d=JSON.stringify([b,p]);let m=Pr[d];return m||(m=new Intl.ListFormat(b,p),Pr[d]=m),m}(this.intl,p)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:vi()?function _e(b){let p=$e[b];if(!p){const d=new Intl.Locale(b);p="getWeekInfo"in d?d.getWeekInfo():d.weekInfo,$e[b]=p}return p}(this.locale):Xn}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(p){return this.locale===p.locale&&this.numberingSystem===p.numberingSystem&&this.outputCalendar===p.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ni=null;class Fo extends Tt{static get utcInstance(){return null===ni&&(ni=new Fo(0)),ni}static instance(p){return 0===p?Fo.utcInstance:new Fo(p)}static parseSpecifier(p){if(p){const d=p.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(d)return new Fo(Qi(d[1],d[2]))}return null}constructor(p){super(),this.fixed=p}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${za(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${za(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(p,d){return za(this.fixed,d)}get isUniversal(){return!0}offset(){return this.fixed}equals(p){return"fixed"===p.type&&p.fixed===this.fixed}get isValid(){return!0}}class pi extends Tt{constructor(p){super(),this.zoneName=p}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ei(b,p){if(Uo(b)||null===b)return p;if(b instanceof Tt)return b;if(function nn(b){return"string"==typeof b}(b)){const m=b.toLowerCase();return"default"===m?p:"local"===m||"system"===m?ye.instance:"utc"===m||"gmt"===m?Fo.utcInstance:Fo.parseSpecifier(m)||fr.create(b)}return Fn(b)?Fo.instance(b):"object"==typeof b&&"offset"in b&&"function"==typeof b.offset?b:new pi(b)}const Oe={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},Ke={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Dr=Oe.hanidec.replace(/[\[|\]]/g,"").split("");let Ur={};function no({numberingSystem:b},p=""){const d=b||"latn";return Ur[d]||(Ur[d]={}),Ur[d][p]||(Ur[d][p]=new RegExp(`${Oe[d]}${p}`)),Ur[d][p]}let pt,vo=()=>Date.now(),Co="system",ro=null,zt=null,he=null,ce=60,Gt=null;class Dt{static get now(){return vo}static set now(p){vo=p}static set defaultZone(p){Co=p}static get defaultZone(){return ei(Co,ye.instance)}static get defaultLocale(){return ro}static set defaultLocale(p){ro=p}static get defaultNumberingSystem(){return zt}static set defaultNumberingSystem(p){zt=p}static get defaultOutputCalendar(){return he}static set defaultOutputCalendar(p){he=p}static get defaultWeekSettings(){return Gt}static set defaultWeekSettings(p){Gt=Zi(p)}static get twoDigitCutoffYear(){return ce}static set twoDigitCutoffYear(p){ce=p%100}static get throwOnInvalid(){return pt}static set throwOnInvalid(p){pt=p}static resetCaches(){Yo.resetCache(),fr.resetCache(),$o.resetCache(),function ao(){Ur={}}()}}class ne{constructor(p,d){this.reason=p,this.explanation=d}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Re=[0,31,59,90,120,151,181,212,243,273,304,334],Ce=[0,31,60,91,121,152,182,213,244,274,305,335];function or(b,p){return new ne("unit out of range",`you specified ${p} (of type ${typeof p}) as a ${b}, which is invalid`)}function Cr(b,p,d){const m=new Date(Date.UTC(b,p-1,d));b<100&&b>=0&&m.setUTCFullYear(m.getUTCFullYear()-1900);const D=m.getUTCDay();return 0===D?7:D}function Er(b,p,d){return d+(Qn(b)?Ce:Re)[p-1]}function Nr(b,p){const d=Qn(b)?Ce:Re,m=d.findIndex(V=>VVa(m,p,d)?(we=m+1,Wt=1):we=m,{weekYear:we,weekNumber:Wt,weekday:_t,...hi(b)}}function to(b,p=4,d=1){const{weekYear:m,weekNumber:D,weekday:V}=b,J=Fr(Cr(m,1,p),d),_t=qn(m);let we,Wt=7*D+V-J-7+p;Wt<1?(we=m-1,Wt+=qn(we)):Wt>_t?(we=m+1,Wt-=qn(m)):we=m;const{month:ur,day:xr}=Nr(we,Wt);return{year:we,month:ur,day:xr,...hi(b)}}function xo(b){const{year:p,month:d,day:m}=b;return{year:p,ordinal:Er(p,d,m),...hi(b)}}function So(b){const{year:p,ordinal:d}=b,{month:m,day:D}=Nr(p,d);return{year:p,month:m,day:D,...hi(b)}}function po(b,p){if(Uo(b.localWeekday)&&Uo(b.localWeekNumber)&&Uo(b.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Uo(b.weekday)||!Uo(b.weekNumber)||!Uo(b.weekYear))throw new Nt("Cannot mix locale-based week fields with ISO-based week fields");return Uo(b.localWeekday)||(b.weekday=b.localWeekday),Uo(b.localWeekNumber)||(b.weekNumber=b.localWeekNumber),Uo(b.localWeekYear)||(b.weekYear=b.localWeekYear),delete b.localWeekday,delete b.localWeekNumber,delete b.localWeekYear,{minDaysInFirstWeek:p.getMinDaysInFirstWeek(),startOfWeek:p.getStartOfWeek()}}function Di(b){const p=zi(b.year),d=Zn(b.month,1,12),m=Zn(b.day,1,Nn(b.year,b.month));return p?d?!m&&or("day",b.day):or("month",b.month):or("year",b.year)}function jn(b){const{hour:p,minute:d,second:m,millisecond:D}=b,V=Zn(p,0,23)||24===p&&0===d&&0===m&&0===D,J=Zn(d,0,59),_t=Zn(m,0,59),Wt=Zn(D,0,999);return V?J?_t?!Wt&&or("millisecond",D):or("second",m):or("minute",d):or("hour",p)}function Uo(b){return typeof b>"u"}function Fn(b){return"number"==typeof b}function zi(b){return"number"==typeof b&&b%1==0}function Tn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function vi(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function da(b,p,d){if(0!==b.length)return b.reduce((m,D)=>{const V=[p(D),D];return m&&d(m[0],V[0])===m[0]?m:V},null)[1]}function Ai(b,p){return Object.prototype.hasOwnProperty.call(b,p)}function Zi(b){if(null==b)return null;if("object"!=typeof b)throw new Rt("Week settings must be an object");if(!Zn(b.firstDay,1,7)||!Zn(b.minimalDays,1,7)||!Array.isArray(b.weekend)||b.weekend.some(p=>!Zn(p,1,7)))throw new Rt("Invalid week settings");return{firstDay:b.firstDay,minimalDays:b.minimalDays,weekend:Array.from(b.weekend)}}function Zn(b,p,d){return zi(b)&&b>=p&&b<=d}function Mn(b,p=2){let m;return m=b<0?"-"+(""+-b).padStart(p,"0"):(""+b).padStart(p,"0"),m}function na(b){if(!Uo(b)&&null!==b&&""!==b)return parseInt(b,10)}function fi(b){if(!Uo(b)&&null!==b&&""!==b)return parseFloat(b)}function Ko(b){if(!Uo(b)&&null!==b&&""!==b){const p=1e3*parseFloat("0."+b);return Math.floor(p)}}function pa(b,p,d=!1){const m=10**p;return(d?Math.trunc:Math.round)(b*m)/m}function Qn(b){return b%4==0&&(b%100!=0||b%400==0)}function qn(b){return Qn(b)?366:365}function Nn(b,p){const d=function ua(b,p){return b-p*Math.floor(b/p)}(p-1,12)+1;return 2===d?Qn(b+(p-d)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][d-1]}function ma(b){let p=Date.UTC(b.year,b.month-1,b.day,b.hour,b.minute,b.second,b.millisecond);return b.year<100&&b.year>=0&&(p=new Date(p),p.setUTCFullYear(b.year,b.month-1,b.day)),+p}function Vo(b,p,d){return-Fr(Cr(b,1,p),d)+p-1}function Va(b,p=4,d=1){const m=Vo(b,p,d),D=Vo(b+1,p,d);return(qn(b)-m+D)/7}function ii(b){return b>99?b:b>Dt.twoDigitCutoffYear?1900+b:2e3+b}function mi(b,p,d,m=null){const D=new Date(b),V={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};m&&(V.timeZone=m);const J={timeZoneName:p,...V},_t=new Intl.DateTimeFormat(d,J).formatToParts(D).find(Wt=>"timezonename"===Wt.type.toLowerCase());return _t?_t.value:null}function Qi(b,p){let d=parseInt(b,10);Number.isNaN(d)&&(d=0);const m=parseInt(p,10)||0;return 60*d+(d<0||Object.is(d,-0)?-m:m)}function ps(b){const p=Number(b);if("boolean"==typeof b||""===b||Number.isNaN(p))throw new Rt(`Invalid unit value ${b}`);return p}function ba(b,p){const d={};for(const m in b)if(Ai(b,m)){const D=b[m];if(null==D)continue;d[p(m)]=ps(D)}return d}function za(b,p){const d=Math.trunc(Math.abs(b/60)),m=Math.trunc(Math.abs(b%60)),D=b>=0?"+":"-";switch(p){case"short":return`${D}${Mn(d,2)}:${Mn(m,2)}`;case"narrow":return`${D}${d}${m>0?`:${m}`:""}`;case"techie":return`${D}${Mn(d,2)}${Mn(m,2)}`;default:throw new RangeError(`Value format ${p} is out of range for property format`)}}function hi(b){return function ka(b,p){return p.reduce((d,m)=>(d[m]=b[m],d),{})}(b,["hour","minute","second","millisecond"])}const On=["January","February","March","April","May","June","July","August","September","October","November","December"],ia=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],bi=["J","F","M","A","M","J","J","A","S","O","N","D"];function es(b){switch(b){case"narrow":return[...bi];case"short":return[...ia];case"long":return[...On];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Vn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xi=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ci=["M","T","W","T","F","S","S"];function Ui(b){switch(b){case"narrow":return[...ci];case"short":return[...xi];case"long":return[...Vn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Jn=["AM","PM"],aa=["Before Christ","Anno Domini"],Ni=["BC","AD"],wa=["B","A"];function rs(b){switch(b){case"narrow":return[...wa];case"short":return[...Ni];case"long":return[...aa];default:return null}}function le(b,p){let d="";for(const m of b)d+=m.literal?m.val:p(m.val);return d}const Br={D:ft,DD:pe,DDD:Ee,DDDD:ie,t:He,tt:Ht,ttt:Me,tttt:Pe,T:We,TT:Or,TTT:ko,TTTT:lr,f:Lt,ff:se,fff:mt,ffff:Z,F:be,FF:Ie,FFF:$,FFFF:it};class jr{static create(p,d={}){return new jr(p,d)}static parseFormat(p){let d=null,m="",D=!1;const V=[];for(let J=0;J0&&V.push({literal:D||/^\s+$/.test(m),val:m}),d=null,m="",D=!D):D||_t===d?m+=_t:(m.length>0&&V.push({literal:/^\s+$/.test(m),val:m}),m=_t,d=_t)}return m.length>0&&V.push({literal:D||/^\s+$/.test(m),val:m}),V}static macroTokenToFormatOpts(p){return Br[p]}constructor(p,d){this.opts=d,this.loc=p,this.systemLoc=null}formatWithSystemDefault(p,d){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(p,{...this.opts,...d}).format()}dtFormatter(p,d={}){return this.loc.dtFormatter(p,{...this.opts,...d})}formatDateTime(p,d){return this.dtFormatter(p,d).format()}formatDateTimeParts(p,d){return this.dtFormatter(p,d).formatToParts()}formatInterval(p,d){return this.dtFormatter(p.start,d).dtf.formatRange(p.start.toJSDate(),p.end.toJSDate())}resolvedOptions(p,d){return this.dtFormatter(p,d).resolvedOptions()}num(p,d=0){if(this.opts.forceSimple)return Mn(p,d);const m={...this.opts};return d>0&&(m.padTo=d),this.loc.numberFormatter(m).format(p)}formatDateTimeFromString(p,d){const m="en"===this.loc.listingMode(),D=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,V=(Zr,yo)=>this.loc.extract(p,Zr,yo),J=Zr=>p.isOffsetFixed&&0===p.offset&&Zr.allowZ?"Z":p.isValid?p.zone.formatOffset(p.ts,Zr.format):"",Wt=(Zr,yo)=>m?function G(b,p){return es(p)[b.month-1]}(p,Zr):V(yo?{month:Zr}:{month:Zr,day:"numeric"},"month"),we=(Zr,yo)=>m?function os(b,p){return Ui(p)[b.weekday-1]}(p,Zr):V(yo?{weekday:Zr}:{weekday:Zr,month:"long",day:"numeric"},"weekday"),ur=Zr=>{const yo=jr.macroTokenToFormatOpts(Zr);return yo?this.formatWithSystemDefault(p,yo):Zr},xr=Zr=>m?function Qt(b,p){return rs(p)[b.year<0?0:1]}(p,Zr):V({era:Zr},"era");return le(jr.parseFormat(d),Zr=>{switch(Zr){case"S":return this.num(p.millisecond);case"u":case"SSS":return this.num(p.millisecond,3);case"s":return this.num(p.second);case"ss":return this.num(p.second,2);case"uu":return this.num(Math.floor(p.millisecond/10),2);case"uuu":return this.num(Math.floor(p.millisecond/100));case"m":return this.num(p.minute);case"mm":return this.num(p.minute,2);case"h":return this.num(p.hour%12==0?12:p.hour%12);case"hh":return this.num(p.hour%12==0?12:p.hour%12,2);case"H":return this.num(p.hour);case"HH":return this.num(p.hour,2);case"Z":return J({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return J({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return J({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return p.zone.offsetName(p.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return p.zone.offsetName(p.ts,{format:"long",locale:this.loc.locale});case"z":return p.zoneName;case"a":return m?function _i(b){return Jn[b.hour<12?0:1]}(p):V({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return D?V({day:"numeric"},"day"):this.num(p.day);case"dd":return D?V({day:"2-digit"},"day"):this.num(p.day,2);case"c":case"E":return this.num(p.weekday);case"ccc":return we("short",!0);case"cccc":return we("long",!0);case"ccccc":return we("narrow",!0);case"EEE":return we("short",!1);case"EEEE":return we("long",!1);case"EEEEE":return we("narrow",!1);case"L":return D?V({month:"numeric",day:"numeric"},"month"):this.num(p.month);case"LL":return D?V({month:"2-digit",day:"numeric"},"month"):this.num(p.month,2);case"LLL":return Wt("short",!0);case"LLLL":return Wt("long",!0);case"LLLLL":return Wt("narrow",!0);case"M":return D?V({month:"numeric"},"month"):this.num(p.month);case"MM":return D?V({month:"2-digit"},"month"):this.num(p.month,2);case"MMM":return Wt("short",!1);case"MMMM":return Wt("long",!1);case"MMMMM":return Wt("narrow",!1);case"y":return D?V({year:"numeric"},"year"):this.num(p.year);case"yy":return D?V({year:"2-digit"},"year"):this.num(p.year.toString().slice(-2),2);case"yyyy":return D?V({year:"numeric"},"year"):this.num(p.year,4);case"yyyyyy":return D?V({year:"numeric"},"year"):this.num(p.year,6);case"G":return xr("short");case"GG":return xr("long");case"GGGGG":return xr("narrow");case"kk":return this.num(p.weekYear.toString().slice(-2),2);case"kkkk":return this.num(p.weekYear,4);case"W":return this.num(p.weekNumber);case"WW":return this.num(p.weekNumber,2);case"n":return this.num(p.localWeekNumber);case"nn":return this.num(p.localWeekNumber,2);case"ii":return this.num(p.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(p.localWeekYear,4);case"o":return this.num(p.ordinal);case"ooo":return this.num(p.ordinal,3);case"q":return this.num(p.quarter);case"qq":return this.num(p.quarter,2);case"X":return this.num(Math.floor(p.ts/1e3));case"x":return this.num(p.ts);default:return ur(Zr)}})}formatDurationFromString(p,d){const m=Wt=>{switch(Wt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},V=jr.parseFormat(d),J=V.reduce((Wt,{literal:we,val:ur})=>we?Wt:Wt.concat(ur),[]);return le(V,(Wt=>we=>{const ur=m(we);return ur?this.num(Wt.get(ur),we.length):we})(p.shiftTo(...J.map(m).filter(Wt=>Wt))))}}const Oo=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function so(...b){const p=b.reduce((d,m)=>d+m.source,"");return RegExp(`^${p}$`)}function rn(...b){return p=>b.reduce(([d,m,D],V)=>{const[J,_t,Wt]=V(p,D);return[{...d,...J},_t||m,Wt]},[{},null,1]).slice(0,2)}function bn(b,...p){if(null==b)return[null,null];for(const[d,m]of p){const D=d.exec(b);if(D)return m(D)}return[null,null]}function Lo(...b){return(p,d)=>{const m={};let D;for(D=0;Dvoid 0!==Zr&&(yo||Zr&&ur)?-Zr:Zr;return[{years:mo(fi(d)),months:mo(fi(m)),weeks:mo(fi(D)),days:mo(fi(V)),hours:mo(fi(J)),minutes:mo(fi(_t)),seconds:mo(fi(Wt),"-0"===Wt),milliseconds:mo(Ko(we),xr)}]}const Ps={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wa(b,p,d,m,D,V,J){const _t={year:2===p.length?ii(na(p)):na(p),month:ia.indexOf(d)+1,day:na(m),hour:na(D),minute:na(V)};return J&&(_t.second=na(J)),b&&(_t.weekday=b.length>3?Vn.indexOf(b)+1:xi.indexOf(b)+1),_t}const yn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Fs(b){const[,p,d,m,D,V,J,_t,Wt,we,ur,xr]=b,mo=Wa(p,D,m,d,V,J,_t);let Zr;return Zr=Wt?Ps[Wt]:we?0:Qi(ur,xr),[mo,new Fo(Zr)]}const hs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ql=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function ln(b){const[,p,d,m,D,V,J,_t]=b;return[Wa(p,D,m,d,V,J,_t),Fo.utcInstance]}function Li(b){const[,p,d,m,D,V,J,_t]=b;return[Wa(p,_t,d,m,D,V,J),Fo.utcInstance]}const on=so(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,wi),Ji=so(/(\d{4})-?W(\d\d)(?:-?(\d))?/,wi),$i=so(/(\d{4})-?(\d{3})/,wi),zs=so(Ti),As=rn(function je(b,p){return[{year:Ft(b,p),month:Ft(b,p+1,1),day:Ft(b,p+2,1)},null,p+3]},No,gn,ha),sa=rn(zn,No,gn,ha),yc=rn(Gi,No,gn,ha),Ss=rn(No,gn,ha),xc=rn(No),kc=so(/(\d{4})-(\d\d)-(\d\d)/,X),Lc=so(bt),Ka=rn(No,gn,ha),Us="Invalid Duration",Ca={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},el={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Ca},ki=365.2425,ta=30.436875,Jl={years:{quarters:4,months:12,weeks:ki/7,days:ki,hours:24*ki,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:ki/28,days:ki/4,hours:24*ki/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:ta/7,days:ta,hours:24*ta,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Ca},Xi=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ts=Xi.slice(0).reverse();function ai(b,p,d=!1){const m={values:d?p.values:{...b.values,...p.values||{}},loc:b.loc.clone(p.loc),conversionAccuracy:p.conversionAccuracy||b.conversionAccuracy,matrix:p.matrix||b.matrix};return new Ln(m)}function Hs(b,p){let d=p.milliseconds??0;for(const m of Ts.slice(1))p[m]&&(d+=p[m]*b[m].milliseconds);return d}function Ms(b,p){const d=Hs(b,p)<0?-1:1;Xi.reduceRight((m,D)=>{if(Uo(p[D]))return m;if(m){const J=b[D][m],_t=Math.floor(p[m]*d/J);p[D]+=_t*d,p[m]-=_t*J*d}return D},null),Xi.reduce((m,D)=>{if(Uo(p[D]))return m;if(m){const V=p[m]%1;p[m]-=V,p[D]+=V*b[m][D]}return D},null)}class Ln{constructor(p){const d="longterm"===p.conversionAccuracy||!1;let m=d?Jl:el;p.matrix&&(m=p.matrix),this.values=p.values,this.loc=p.loc||Yo.create(),this.conversionAccuracy=d?"longterm":"casual",this.invalid=p.invalid||null,this.matrix=m,this.isLuxonDuration=!0}static fromMillis(p,d){return Ln.fromObject({milliseconds:p},d)}static fromObject(p,d={}){if(null==p||"object"!=typeof p)throw new Rt("Duration.fromObject: argument expected to be an object, got "+(null===p?"null":typeof p));return new Ln({values:ba(p,Ln.normalizeUnit),loc:Yo.fromObject(d),conversionAccuracy:d.conversionAccuracy,matrix:d.matrix})}static fromDurationLike(p){if(Fn(p))return Ln.fromMillis(p);if(Ln.isDuration(p))return p;if("object"==typeof p)return Ln.fromObject(p);throw new Rt(`Unknown duration argument ${p} of type ${typeof p}`)}static fromISO(p,d){const[m]=function tl(b){return bn(b,[Ha,Ls])}(p);return m?Ln.fromObject(m,d):Ln.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static fromISOTime(p,d){const[m]=function _c(b){return bn(b,[Ns,xc])}(p);return m?Ln.fromObject(m,d):Ln.invalid("unparsable",`the input "${p}" can't be parsed as ISO 8601`)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Duration is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new gt(m);return new Ln({invalid:m})}static normalizeUnit(p){const d={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[p&&p.toLowerCase()];if(!d)throw new Se(p);return d}static isDuration(p){return p&&p.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(p,d={}){const m={...d,floor:!1!==d.round&&!1!==d.floor};return this.isValid?jr.create(this.loc,m).formatDurationFromString(this,p):Us}toHuman(p={}){if(!this.isValid)return Us;const d=Xi.map(m=>{const D=this.values[m];return Uo(D)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...p,unit:m.slice(0,-1)}).format(D)}).filter(m=>m);return this.loc.listFormatter({type:"conjunction",style:p.listStyle||"narrow",...p}).format(d)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let p="P";return 0!==this.years&&(p+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(p+=this.months+3*this.quarters+"M"),0!==this.weeks&&(p+=this.weeks+"W"),0!==this.days&&(p+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(p+="T"),0!==this.hours&&(p+=this.hours+"H"),0!==this.minutes&&(p+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(p+=pa(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===p&&(p+="T0S"),p}toISOTime(p={}){if(!this.isValid)return null;const d=this.toMillis();return d<0||d>=864e5?null:(p={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...p,includeOffset:!1},$o.fromMillis(d,{zone:"UTC"}).toISOTime(p))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Hs(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(p){if(!this.isValid)return this;const d=Ln.fromDurationLike(p),m={};for(const D of Xi)(Ai(d.values,D)||Ai(this.values,D))&&(m[D]=d.get(D)+this.get(D));return ai(this,{values:m},!0)}minus(p){if(!this.isValid)return this;const d=Ln.fromDurationLike(p);return this.plus(d.negate())}mapUnits(p){if(!this.isValid)return this;const d={};for(const m of Object.keys(this.values))d[m]=ps(p(this.values[m],m));return ai(this,{values:d},!0)}get(p){return this[Ln.normalizeUnit(p)]}set(p){return this.isValid?ai(this,{values:{...this.values,...ba(p,Ln.normalizeUnit)}}):this}reconfigure({locale:p,numberingSystem:d,conversionAccuracy:m,matrix:D}={}){return ai(this,{loc:this.loc.clone({locale:p,numberingSystem:d}),matrix:D,conversionAccuracy:m})}as(p){return this.isValid?this.shiftTo(p).get(p):NaN}normalize(){if(!this.isValid)return this;const p=this.toObject();return Ms(this.matrix,p),ai(this,{values:p},!0)}rescale(){return this.isValid?ai(this,{values:function Da(b){const p={};for(const[d,m]of Object.entries(b))0!==m&&(p[d]=m);return p}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...p){if(!this.isValid)return this;if(0===p.length)return this;p=p.map(J=>Ln.normalizeUnit(J));const d={},m={},D=this.toObject();let V;for(const J of Xi)if(p.indexOf(J)>=0){V=J;let _t=0;for(const we in m)_t+=this.matrix[we][J]*m[we],m[we]=0;Fn(D[J])&&(_t+=D[J]);const Wt=Math.trunc(_t);d[J]=Wt,m[J]=(1e3*_t-1e3*Wt)/1e3}else Fn(D[J])&&(m[J]=D[J]);for(const J in m)0!==m[J]&&(d[V]+=J===V?m[J]:m[J]/this.matrix[V][J]);return Ms(this.matrix,d),ai(this,{values:d},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const p={};for(const d of Object.keys(this.values))p[d]=0===this.values[d]?0:-this.values[d];return ai(this,{values:p},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(p){if(!this.isValid||!p.isValid||!this.loc.equals(p.loc))return!1;function d(m,D){return void 0===m||0===m?void 0===D||0===D:m===D}for(const m of Xi)if(!d(this.values[m],p.values[m]))return!1;return!0}}const Ga="Invalid Interval";class gi{constructor(p){this.s=p.start,this.e=p.end,this.invalid=p.invalid||null,this.isLuxonInterval=!0}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the Interval is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new Le(m);return new gi({invalid:m})}static fromDateTimes(p,d){const m=Ci(p),D=Ci(d),V=function gs(b,p){return b&&b.isValid?p&&p.isValid?pp}isBefore(p){return!!this.isValid&&this.e<=p}contains(p){return!!this.isValid&&this.s<=p&&this.e>p}set({start:p,end:d}={}){return this.isValid?gi.fromDateTimes(p||this.s,d||this.e):this}splitAt(...p){if(!this.isValid)return[];const d=p.map(Ci).filter(J=>this.contains(J)).sort((J,_t)=>J.toMillis()-_t.toMillis()),m=[];let{s:D}=this,V=0;for(;D+this.e?this.e:J;m.push(gi.fromDateTimes(D,_t)),D=_t,V+=1}return m}splitBy(p){const d=Ln.fromDurationLike(p);if(!this.isValid||!d.isValid||0===d.as("milliseconds"))return[];let V,{s:m}=this,D=1;const J=[];for(;mWt*D));V=+_t>+this.e?this.e:_t,J.push(gi.fromDateTimes(m,V)),m=V,D+=1}return J}divideEqually(p){return this.isValid?this.splitBy(this.length()/p).slice(0,p):[]}overlaps(p){return this.e>p.s&&this.s=p.e}equals(p){return!(!this.isValid||!p.isValid)&&this.s.equals(p.s)&&this.e.equals(p.e)}intersection(p){if(!this.isValid)return this;const d=this.s>p.s?this.s:p.s,m=this.e=m?null:gi.fromDateTimes(d,m)}union(p){return this.isValid?gi.fromDateTimes(this.sp.e?this.e:p.e):this}static merge(p){const[d,m]=p.sort((D,V)=>D.s-V.s).reduce(([D,V],J)=>V?V.overlaps(J)||V.abutsStart(J)?[D,V.union(J)]:[D.concat([V]),J]:[D,J],[[],null]);return m&&d.push(m),d}static xor(p){let d=null,m=0;const D=[],V=p.map(Wt=>[{time:Wt.s,type:"s"},{time:Wt.e,type:"e"}]),_t=Array.prototype.concat(...V).sort((Wt,we)=>Wt.time-we.time);for(const Wt of _t)m+="s"===Wt.type?1:-1,1===m?d=Wt.time:(d&&+d!=+Wt.time&&D.push(gi.fromDateTimes(d,Wt.time)),d=null);return gi.merge(D)}difference(...p){return gi.xor([this].concat(p)).map(d=>this.intersection(d)).filter(d=>d&&!d.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ga}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(p=ft,d={}){return this.isValid?jr.create(this.s.loc.clone(d),p).formatInterval(this):Ga}toISO(p){return this.isValid?`${this.s.toISO(p)}/${this.e.toISO(p)}`:Ga}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ga}toISOTime(p){return this.isValid?`${this.s.toISOTime(p)}/${this.e.toISOTime(p)}`:Ga}toFormat(p,{separator:d=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(p)}${d}${this.e.toFormat(p)}`:Ga}toDuration(p,d){return this.isValid?this.e.diff(this.s,p,d):Ln.invalid(this.invalidReason)}mapEndpoints(p){return gi.fromDateTimes(p(this.s),p(this.e))}}class fs{static hasDST(p=Dt.defaultZone){const d=$o.now().setZone(p).set({month:12});return!p.isUniversal&&d.offset!==d.set({month:6}).offset}static isValidIANAZone(p){return fr.isValidZone(p)}static normalizeZone(p){return ei(p,Dt.defaultZone)}static getStartOfWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:p=null,locObj:d=null}={}){return(d||Yo.create(p)).getWeekendDays().slice()}static months(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p)}static monthsFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null,outputCalendar:V="gregory"}={}){return(D||Yo.create(d,m,V)).months(p,!0)}static weekdays(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p)}static weekdaysFormat(p="long",{locale:d=null,numberingSystem:m=null,locObj:D=null}={}){return(D||Yo.create(d,m,null)).weekdays(p,!0)}static meridiems({locale:p=null}={}){return Yo.create(p).meridiems()}static eras(p="short",{locale:d=null}={}){return Yo.create(d,null,"gregory").eras(p)}static features(){return{relative:Tn(),localeWeek:vi()}}}function ic(b,p){const d=D=>D.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),m=d(p)-d(b);return Math.floor(Ln.fromMillis(m).as("days"))}function fn(b,p=d=>d){return{regex:b,deser:([d])=>p(function Lr(b){let p=parseInt(b,10);if(isNaN(p)){p="";for(let d=0;d=V&&m<=J&&(p+=m-V)}}return parseInt(p,10)}return p}(d))}}const Ec="[ \xa0]",B=new RegExp(Ec,"g");function Et(b){return b.replace(/\./g,"\\.?").replace(B,Ec)}function x(b){return b.replace(/\./g,"").replace(B," ").toLowerCase()}function C(b,p){return null===b?null:{regex:RegExp(b.map(Et).join("|")),deser:([d])=>b.findIndex(m=>x(d)===x(m))+p}}function F(b,p){return{regex:b,deser:([,d,m])=>Qi(d,m),groups:p}}function ht(b){return{regex:b,deser:([p])=>p}}function Ot(b){return b.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const Ue={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let ze=null;function Yr(b,p){return Array.prototype.concat(...b.map(d=>function _r(b,p){if(b.literal)return b;const m=go(jr.macroTokenToFormatOpts(b.val),p);return null==m||m.includes(void 0)?b:m}(d,p)))}class Mr{constructor(p,d){if(this.locale=p,this.format=d,this.tokens=Yr(jr.parseFormat(d),p),this.units=this.tokens.map(m=>function ae(b,p){const d=no(p),m=no(p,"{2}"),D=no(p,"{3}"),V=no(p,"{4}"),J=no(p,"{6}"),_t=no(p,"{1,2}"),Wt=no(p,"{1,3}"),we=no(p,"{1,6}"),ur=no(p,"{1,9}"),xr=no(p,"{2,4}"),mo=no(p,"{4,6}"),Zr=hn=>({regex:RegExp(Ot(hn.val)),deser:([si])=>si,literal:!0}),qo=(hn=>{if(b.literal)return Zr(hn);switch(hn.val){case"G":return C(p.eras("short"),0);case"GG":return C(p.eras("long"),0);case"y":return fn(we);case"yy":case"kk":return fn(xr,ii);case"yyyy":case"kkkk":return fn(V);case"yyyyy":return fn(mo);case"yyyyyy":return fn(J);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return fn(_t);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return fn(m);case"MMM":return C(p.months("short",!0),1);case"MMMM":return C(p.months("long",!0),1);case"LLL":return C(p.months("short",!1),1);case"LLLL":return C(p.months("long",!1),1);case"o":case"S":return fn(Wt);case"ooo":case"SSS":return fn(D);case"u":return ht(ur);case"uu":return ht(_t);case"uuu":case"E":case"c":return fn(d);case"a":return C(p.meridiems(),0);case"EEE":return C(p.weekdays("short",!1),1);case"EEEE":return C(p.weekdays("long",!1),1);case"ccc":return C(p.weekdays("short",!0),1);case"cccc":return C(p.weekdays("long",!0),1);case"Z":case"ZZ":return F(new RegExp(`([+-]${_t.source})(?::(${m.source}))?`),2);case"ZZZ":return F(new RegExp(`([+-]${_t.source})(${m.source})?`),2);case"z":return ht(/[a-z_+-/]{1,256}?/i);case" ":return ht(/[^\S\n\r]/);default:return Zr(hn)}})(b)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return qo.token=b,qo}(m,p)),this.disqualifyingUnit=this.units.find(m=>m.invalidReason),!this.disqualifyingUnit){const[m,D]=function Ze(b){return[`^${b.map(d=>d.regex).reduce((d,m)=>`${d}(${m.source})`,"")}$`,b]}(this.units);this.regex=RegExp(m,"i"),this.handlers=D}}explainFromTokens(p){if(this.isValid){const[d,m]=function sr(b,p,d){const m=b.match(p);if(m){const D={};let V=1;for(const J in d)if(Ai(d,J)){const _t=d[J],Wt=_t.groups?_t.groups+1:1;!_t.literal&&_t.token&&(D[_t.token.val[0]]=_t.deser(m.slice(V,V+Wt))),V+=Wt}return[m,D]}return[m,{}]}(p,this.regex,this.handlers),[D,V,J]=m?function Ir(b){let m,d=null;return Uo(b.z)||(d=fr.create(b.z)),Uo(b.Z)||(d||(d=new Fo(b.Z)),m=b.Z),Uo(b.q)||(b.M=3*(b.q-1)+1),Uo(b.h)||(b.h<12&&1===b.a?b.h+=12:12===b.h&&0===b.a&&(b.h=0)),0===b.G&&b.y&&(b.y=-b.y),Uo(b.u)||(b.S=Ko(b.u)),[Object.keys(b).reduce((V,J)=>{const _t=(V=>{switch(V){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(J);return _t&&(V[_t]=b[J]),V},{}),d,m]}(m):[null,null,void 0];if(Ai(m,"a")&&Ai(m,"H"))throw new Nt("Can't include meridiem when specifying 24-hour format");return{input:p,tokens:this.tokens,regex:this.regex,rawMatches:d,matches:m,result:D,zone:V,specificOffset:J}}return{input:p,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Gr(b,p,d){return new Mr(b,d).explainFromTokens(p)}function go(b,p){if(!b)return null;const m=jr.create(p,b).dtFormatter(function nr(){return ze||(ze=$o.fromMillis(1555555555555)),ze}()),D=m.formatToParts(),V=m.resolvedOptions();return D.map(J=>function Ve(b,p,d){const{type:m,value:D}=b;if("literal"===m){const Wt=/^\s+$/.test(D);return{literal:!Wt,val:Wt?" ":D}}let J=m;"hour"===m&&(J=null!=p.hour12?p.hour12?"hour12":"hour24":null!=p.hourCycle?"h11"===p.hourCycle||"h12"===p.hourCycle?"hour12":"hour24":d.hour12?"hour12":"hour24");let _t=Ue[J];if("object"==typeof _t&&(_t=_t[p[m]]),_t)return{literal:!1,val:_t}}(J,b,V))}const Vr="Invalid DateTime",Do=864e13;function Io(b){return new ne("unsupported zone",`the zone "${b.name}" is not supported`)}function Xr(b){return null===b.weekData&&(b.weekData=qr(b.c)),b.weekData}function tn(b){return null===b.localWeekData&&(b.localWeekData=qr(b.c,b.loc.getMinDaysInFirstWeek(),b.loc.getStartOfWeek())),b.localWeekData}function Xo(b,p){const d={ts:b.ts,zone:b.zone,c:b.c,o:b.o,loc:b.loc,invalid:b.invalid};return new $o({...d,...p,old:d})}function En(b,p,d){let m=b-60*p*1e3;const D=d.offset(m);if(p===D)return[m,p];m-=60*(D-p)*1e3;const V=d.offset(m);return D===V?[m,D]:[b-60*Math.min(D,V)*1e3,Math.max(D,V)]}function Qo(b,p){const d=new Date(b+=60*p*1e3);return{year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate(),hour:d.getUTCHours(),minute:d.getUTCMinutes(),second:d.getUTCSeconds(),millisecond:d.getUTCMilliseconds()}}function xn(b,p,d){return En(ma(b),p,d)}function Ei(b,p){const d=b.o,m=b.c.year+Math.trunc(p.years),D=b.c.month+Math.trunc(p.months)+3*Math.trunc(p.quarters),V={...b.c,year:m,month:D,day:Math.min(b.c.day,Nn(m,D))+Math.trunc(p.days)+7*Math.trunc(p.weeks)},J=Ln.fromObject({years:p.years-Math.trunc(p.years),quarters:p.quarters-Math.trunc(p.quarters),months:p.months-Math.trunc(p.months),weeks:p.weeks-Math.trunc(p.weeks),days:p.days-Math.trunc(p.days),hours:p.hours,minutes:p.minutes,seconds:p.seconds,milliseconds:p.milliseconds}).as("milliseconds"),_t=ma(V);let[Wt,we]=En(_t,d,b.zone);return 0!==J&&(Wt+=J,we=b.zone.offset(Wt)),{ts:Wt,o:we}}function oi(b,p,d,m,D,V){const{setZone:J,zone:_t}=d;if(b&&0!==Object.keys(b).length||p){const Wt=p||_t,we=$o.fromObject(b,{...d,zone:Wt,specificOffset:V});return J?we:we.setZone(_t)}return $o.invalid(new ne("unparsable",`the input "${D}" can't be parsed as ${m}`))}function Hi(b,p,d=!0){return b.isValid?jr.create(Yo.create("en-US"),{allowZ:d,forceSimple:!0}).formatDateTimeFromString(b,p):null}function To(b,p){const d=b.c.year>9999||b.c.year<0;let m="";return d&&b.c.year>=0&&(m+="+"),m+=Mn(b.c.year,d?6:4),p?(m+="-",m+=Mn(b.c.month),m+="-",m+=Mn(b.c.day)):(m+=Mn(b.c.month),m+=Mn(b.c.day)),m}function uo(b,p,d,m,D,V){let J=Mn(b.c.hour);return p?(J+=":",J+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(J+=":")):J+=Mn(b.c.minute),(0!==b.c.millisecond||0!==b.c.second||!d)&&(J+=Mn(b.c.second),(0!==b.c.millisecond||!m)&&(J+=".",J+=Mn(b.c.millisecond,3))),D&&(b.isOffsetFixed&&0===b.offset&&!V?J+="Z":b.o<0?(J+="-",J+=Mn(Math.trunc(-b.o/60)),J+=":",J+=Mn(Math.trunc(-b.o%60))):(J+="+",J+=Mn(Math.trunc(b.o/60)),J+=":",J+=Mn(Math.trunc(b.o%60)))),V&&(J+="["+b.zone.ianaName+"]"),J}const vn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Rn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},fo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Mi=["year","month","day","hour","minute","second","millisecond"],ea=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Fi=["year","ordinal","hour","minute","second","millisecond"];function ya(b){switch(b.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function ws(b){const p={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[b.toLowerCase()];if(!p)throw new Se(b);return p}(b)}}function Po(b,p){const d=ei(p.zone,Dt.defaultZone);if(!d.isValid)return $o.invalid(Io(d));const m=Yo.fromObject(p);let D,V;if(Uo(b.year))D=Dt.now();else{for(const Wt of Mi)Uo(b[Wt])&&(b[Wt]=vn[Wt]);const J=Di(b)||jn(b);if(J)return $o.invalid(J);const _t=function yi(b){return la[b]||(void 0===Xa&&(Xa=Dt.now()),la[b]=b.offset(Xa)),la[b]}(d);[D,V]=xn(b,_t,d)}return new $o({ts:D,zone:d,loc:m,o:V})}function li(b,p,d){const m=!!Uo(d.round)||d.round,D=(J,_t)=>(J=pa(J,m||d.calendary?0:2,!0),p.loc.clone(d).relFormatter(d).format(J,_t)),V=J=>d.calendary?p.hasSame(b,J)?0:p.startOf(J).diff(b.startOf(J),J).get(J):p.diff(b,J).get(J);if(d.unit)return D(V(d.unit),d.unit);for(const J of d.units){const _t=V(J);if(Math.abs(_t)>=1)return D(_t,J)}return D(b>p?-0:0,d.units[d.units.length-1])}function Ii(b){let d,p={};return b.length>0&&"object"==typeof b[b.length-1]?(p=b[b.length-1],d=Array.from(b).slice(0,b.length-1)):d=Array.from(b),[p,d]}let Xa,la={};class $o{constructor(p){const d=p.zone||Dt.defaultZone;let m=p.invalid||(Number.isNaN(p.ts)?new ne("invalid input"):null)||(d.isValid?null:Io(d));this.ts=Uo(p.ts)?Dt.now():p.ts;let D=null,V=null;if(!m)if(p.old&&p.old.ts===this.ts&&p.old.zone.equals(d))[D,V]=[p.old.c,p.old.o];else{const _t=Fn(p.o)&&!p.old?p.o:d.offset(this.ts);D=Qo(this.ts,_t),m=Number.isNaN(D.year)?new ne("invalid input"):null,D=m?null:D,V=m?null:_t}this._zone=d,this.loc=p.loc||Yo.create(),this.invalid=m,this.weekData=null,this.localWeekData=null,this.c=D,this.o=V,this.isLuxonDateTime=!0}static now(){return new $o({})}static local(){const[p,d]=Ii(arguments),[m,D,V,J,_t,Wt,we]=d;return Po({year:m,month:D,day:V,hour:J,minute:_t,second:Wt,millisecond:we},p)}static utc(){const[p,d]=Ii(arguments),[m,D,V,J,_t,Wt,we]=d;return p.zone=Fo.utcInstance,Po({year:m,month:D,day:V,hour:J,minute:_t,second:Wt,millisecond:we},p)}static fromJSDate(p,d={}){const m=function ja(b){return"[object Date]"===Object.prototype.toString.call(b)}(p)?p.valueOf():NaN;if(Number.isNaN(m))return $o.invalid("invalid input");const D=ei(d.zone,Dt.defaultZone);return D.isValid?new $o({ts:m,zone:D,loc:Yo.fromObject(d)}):$o.invalid(Io(D))}static fromMillis(p,d={}){if(Fn(p))return p<-Do||p>Do?$o.invalid("Timestamp out of range"):new $o({ts:p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt(`fromMillis requires a numerical input, but received a ${typeof p} with value ${p}`)}static fromSeconds(p,d={}){if(Fn(p))return new $o({ts:1e3*p,zone:ei(d.zone,Dt.defaultZone),loc:Yo.fromObject(d)});throw new Rt("fromSeconds requires a numerical input")}static fromObject(p,d={}){p=p||{};const m=ei(d.zone,Dt.defaultZone);if(!m.isValid)return $o.invalid(Io(m));const D=Yo.fromObject(d),V=ba(p,ya),{minDaysInFirstWeek:J,startOfWeek:_t}=po(V,D),Wt=Dt.now(),we=Uo(d.specificOffset)?m.offset(Wt):d.specificOffset,ur=!Uo(V.ordinal),xr=!Uo(V.year),mo=!Uo(V.month)||!Uo(V.day),Zr=xr||mo,yo=V.weekYear||V.weekNumber;if((Zr||ur)&&yo)throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(mo&&ur)throw new Nt("Can't mix ordinal dates with month/day");const qo=yo||V.weekday&&!Zr;let hn,si,Wi=Qo(Wt,we);qo?(hn=ea,si=Rn,Wi=qr(Wi,J,_t)):ur?(hn=Fi,si=fo,Wi=xo(Wi)):(hn=Mi,si=vn);let La=!1;for(const fc of hn)Uo(V[fc])?V[fc]=La?si[fc]:Wi[fc]:La=!0;const Pa=qo?function io(b,p=4,d=1){const m=zi(b.weekYear),D=Zn(b.weekNumber,1,Va(b.weekYear,p,d)),V=Zn(b.weekday,1,7);return m?D?!V&&or("weekday",b.weekday):or("week",b.weekNumber):or("weekYear",b.weekYear)}(V,J,_t):ur?function Yn(b){const p=zi(b.year),d=Zn(b.ordinal,1,qn(b.year));return p?!d&&or("ordinal",b.ordinal):or("year",b.year)}(V):Di(V),fl=Pa||jn(V);if(fl)return $o.invalid(fl);const gc=qo?to(V,J,_t):ur?So(V):V,[fa,Ds]=xn(gc,we,m),rc=new $o({ts:fa,zone:m,o:Ds,loc:D});return V.weekday&&Zr&&p.weekday!==rc.weekday?$o.invalid("mismatched weekday",`you can't specify both a weekday of ${V.weekday} and a date of ${rc.toISO()}`):rc.isValid?rc:$o.invalid(rc.invalid)}static fromISO(p,d={}){const[m,D]=function Oi(b){return bn(b,[on,As],[Ji,sa],[$i,yc],[zs,Ss])}(p);return oi(m,D,d,"ISO 8601",p)}static fromRFC2822(p,d={}){const[m,D]=function vc(b){return bn(function Ea(b){return b.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(b),[yn,Fs])}(p);return oi(m,D,d,"RFC 2822",p)}static fromHTTP(p,d={}){const[m,D]=function Nc(b){return bn(b,[hs,ln],[ql,ln],[Jc,Li])}(p);return oi(m,D,d,"HTTP",d)}static fromFormat(p,d,m={}){if(Uo(p)||Uo(d))throw new Rt("fromFormat requires an input string and a format");const{locale:D=null,numberingSystem:V=null}=m,J=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),[_t,Wt,we,ur]=function Jr(b,p,d){const{result:m,zone:D,specificOffset:V,invalidReason:J}=Gr(b,p,d);return[m,D,V,J]}(J,p,d);return ur?$o.invalid(ur):oi(_t,Wt,m,`format ${d}`,p,we)}static fromString(p,d,m={}){return $o.fromFormat(p,d,m)}static fromSQL(p,d={}){const[m,D]=function Bs(b){return bn(b,[kc,As],[Lc,Ka])}(p);return oi(m,D,d,"SQL",p)}static invalid(p,d=null){if(!p)throw new Rt("need to specify a reason the DateTime is invalid");const m=p instanceof ne?p:new ne(p,d);if(Dt.throwOnInvalid)throw new xe(m);return new $o({invalid:m})}static isDateTime(p){return p&&p.isLuxonDateTime||!1}static parseFormatForOpts(p,d={}){const m=go(p,Yo.fromObject(d));return m?m.map(D=>D?D.val:null).join(""):null}static expandFormat(p,d={}){return Yr(jr.parseFormat(p),Yo.fromObject(d)).map(D=>D.val).join("")}static resetCache(){Xa=void 0,la={}}get(p){return this[p]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xr(this).weekYear:NaN}get weekNumber(){return this.isValid?Xr(this).weekNumber:NaN}get weekday(){return this.isValid?Xr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tn(this).weekday:NaN}get localWeekNumber(){return this.isValid?tn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tn(this).weekYear:NaN}get ordinal(){return this.isValid?xo(this.c).ordinal:NaN}get monthShort(){return this.isValid?fs.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fs.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fs.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fs.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const p=864e5,d=6e4,m=ma(this.c),D=this.zone.offset(m-p),V=this.zone.offset(m+p),J=this.zone.offset(m-D*d),_t=this.zone.offset(m-V*d);if(J===_t)return[this];const Wt=m-J*d,we=m-_t*d,ur=Qo(Wt,J),xr=Qo(we,_t);return ur.hour===xr.hour&&ur.minute===xr.minute&&ur.second===xr.second&&ur.millisecond===xr.millisecond?[Xo(this,{ts:Wt}),Xo(this,{ts:we})]:[this]}get isInLeapYear(){return Qn(this.year)}get daysInMonth(){return Nn(this.year,this.month)}get daysInYear(){return this.isValid?qn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Va(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Va(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(p={}){const{locale:d,numberingSystem:m,calendar:D}=jr.create(this.loc.clone(p),p).resolvedOptions(this);return{locale:d,numberingSystem:m,outputCalendar:D}}toUTC(p=0,d={}){return this.setZone(Fo.instance(p),d)}toLocal(){return this.setZone(Dt.defaultZone)}setZone(p,{keepLocalTime:d=!1,keepCalendarTime:m=!1}={}){if((p=ei(p,Dt.defaultZone)).equals(this.zone))return this;if(p.isValid){let D=this.ts;if(d||m){const V=p.offset(this.ts),J=this.toObject();[D]=xn(J,V,p)}return Xo(this,{ts:D,zone:p})}return $o.invalid(Io(p))}reconfigure({locale:p,numberingSystem:d,outputCalendar:m}={}){return Xo(this,{loc:this.loc.clone({locale:p,numberingSystem:d,outputCalendar:m})})}setLocale(p){return this.reconfigure({locale:p})}set(p){if(!this.isValid)return this;const d=ba(p,ya),{minDaysInFirstWeek:m,startOfWeek:D}=po(d,this.loc),V=!Uo(d.weekYear)||!Uo(d.weekNumber)||!Uo(d.weekday),J=!Uo(d.ordinal),_t=!Uo(d.year),Wt=!Uo(d.month)||!Uo(d.day);if((_t||Wt||J)&&(d.weekYear||d.weekNumber))throw new Nt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Wt&&J)throw new Nt("Can't mix ordinal dates with month/day");let xr;V?xr=to({...qr(this.c,m,D),...d},m,D):Uo(d.ordinal)?(xr={...this.toObject(),...d},Uo(d.day)&&(xr.day=Math.min(Nn(xr.year,xr.month),xr.day))):xr=So({...xo(this.c),...d});const[mo,Zr]=xn(xr,this.o,this.zone);return Xo(this,{ts:mo,o:Zr})}plus(p){return this.isValid?Xo(this,Ei(this,Ln.fromDurationLike(p))):this}minus(p){return this.isValid?Xo(this,Ei(this,Ln.fromDurationLike(p).negate())):this}startOf(p,{useLocaleWeeks:d=!1}={}){if(!this.isValid)return this;const m={},D=Ln.normalizeUnit(p);switch(D){case"years":m.month=1;case"quarters":case"months":m.day=1;case"weeks":case"days":m.hour=0;case"hours":m.minute=0;case"minutes":m.second=0;case"seconds":m.millisecond=0}if("weeks"===D)if(d){const V=this.loc.getStartOfWeek(),{weekday:J}=this;Jthis.valueOf(),we=function ca(b,p,d,m){let[D,V,J,_t]=function Is(b,p,d){const m=[["years",(Wt,we)=>we.year-Wt.year],["quarters",(Wt,we)=>we.quarter-Wt.quarter+4*(we.year-Wt.year)],["months",(Wt,we)=>we.month-Wt.month+12*(we.year-Wt.year)],["weeks",(Wt,we)=>{const ur=ic(Wt,we);return(ur-ur%7)/7}],["days",ic]],D={},V=b;let J,_t;for(const[Wt,we]of m)d.indexOf(Wt)>=0&&(J=Wt,D[Wt]=we(b,p),_t=V.plus(D),_t>p?(D[Wt]--,(b=V.plus(D))>p&&(_t=b,D[Wt]--,b=V.plus(D))):b=_t);return[b,D,_t,J]}(b,p,d);const Wt=p-D,we=d.filter(xr=>["hours","minutes","seconds","milliseconds"].indexOf(xr)>=0);0===we.length&&(J0?Ln.fromMillis(Wt,m).shiftTo(...we).plus(ur):ur}(J?this:p,J?p:this,V,D);return J?we.negate():we}diffNow(p="milliseconds",d={}){return this.diff($o.now(),p,d)}until(p){return this.isValid?gi.fromDateTimes(this,p):this}hasSame(p,d,m){if(!this.isValid)return!1;const D=p.valueOf(),V=this.setZone(p.zone,{keepLocalTime:!0});return V.startOf(d,m)<=D&&D<=V.endOf(d,m)}equals(p){return this.isValid&&p.isValid&&this.valueOf()===p.valueOf()&&this.zone.equals(p.zone)&&this.loc.equals(p.loc)}toRelative(p={}){if(!this.isValid)return null;const d=p.base||$o.fromObject({},{zone:this.zone}),m=p.padding?thisd.valueOf(),Math.min)}static max(...p){if(!p.every($o.isDateTime))throw new Rt("max requires all arguments be DateTimes");return da(p,d=>d.valueOf(),Math.max)}static fromFormatExplain(p,d,m={}){const{locale:D=null,numberingSystem:V=null}=m;return Gr(Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0}),p,d)}static fromStringExplain(p,d,m={}){return $o.fromFormatExplain(p,d,m)}static buildFormatParser(p,d={}){const{locale:m=null,numberingSystem:D=null}=d,V=Yo.fromOpts({locale:m,numberingSystem:D,defaultToEN:!0});return new Mr(V,p)}static fromFormatParser(p,d,m={}){if(Uo(p)||Uo(d))throw new Rt("fromFormatParser requires an input string and a format parser");const{locale:D=null,numberingSystem:V=null}=m,J=Yo.fromOpts({locale:D,numberingSystem:V,defaultToEN:!0});if(!J.equals(d.locale))throw new Rt(`fromFormatParser called with a locale of ${J}, but the format parser was created for ${d.locale}`);const{result:_t,zone:Wt,specificOffset:we,invalidReason:ur}=d.explainFromTokens(p);return ur?$o.invalid(ur):oi(_t,Wt,m,`format ${d.format}`,p,we)}static get DATE_SHORT(){return ft}static get DATE_MED(){return pe}static get DATE_MED_WITH_WEEKDAY(){return Ut}static get DATE_FULL(){return Ee}static get DATE_HUGE(){return ie}static get TIME_SIMPLE(){return He}static get TIME_WITH_SECONDS(){return Ht}static get TIME_WITH_SHORT_OFFSET(){return Me}static get TIME_WITH_LONG_OFFSET(){return Pe}static get TIME_24_SIMPLE(){return We}static get TIME_24_WITH_SECONDS(){return Or}static get TIME_24_WITH_SHORT_OFFSET(){return ko}static get TIME_24_WITH_LONG_OFFSET(){return lr}static get DATETIME_SHORT(){return Lt}static get DATETIME_SHORT_WITH_SECONDS(){return be}static get DATETIME_MED(){return se}static get DATETIME_MED_WITH_SECONDS(){return Ie}static get DATETIME_MED_WITH_WEEKDAY(){return br}static get DATETIME_FULL(){return mt}static get DATETIME_FULL_WITH_SECONDS(){return $}static get DATETIME_HUGE(){return Z}static get DATETIME_HUGE_WITH_SECONDS(){return it}}function Ci(b){if($o.isDateTime(b))return b;if(b&&b.valueOf&&Fn(b.valueOf()))return $o.fromJSDate(b);if(b&&"object"==typeof b)return $o.fromObject(b);throw new Rt(`Unknown datetime argument: ${b}, of type ${typeof b}`)}const ys=new c.nKC("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function yl(){return{useUtc:!1,firstDayOfWeek:0,defaultOutputCalendar:"gregory"}}});let rl=(()=>{class b extends Xe.MJ{constructor(d,m){super(),this._useUTC=!!m?.useUtc,this._firstDayOfWeek=m?.firstDayOfWeek||0,this._defaultOutputCalendar=m?.defaultOutputCalendar||"gregory",this.setLocale(d||$o.local().locale)}getYear(d){return d.year}getMonth(d){return d.month-1}getDate(d){return d.day}getDayOfWeek(d){return d.weekday}getMonthNames(d){return fs.months(d,{locale:this.locale,outputCalendar:this._defaultOutputCalendar})}getDateNames(){const d=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function Pc(b,p){const d=Array(b);for(let m=0;md.format($o.utc(2017,1,m+1).toJSDate()))}getDayOfWeekNames(d){const m=fs.weekdays(d,{locale:this.locale});return m.unshift(m.pop()),m}getYearName(d){return d.toFormat("yyyy",this._getOptions())}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(d){return d.daysInMonth}clone(d){return $o.fromObject(d.toObject(),this._getOptions())}createDate(d,m,D){const V=this._getOptions();if(m<0||m>11)throw Error(`Invalid month index "${m}". Month index has to be between 0 and 11.`);if(D<1)throw Error(`Invalid date "${D}". Date has to be greater than 0.`);const J=this._useUTC?$o.utc(d,m+1,D,V):$o.local(d,m+1,D,V);if(!this.isValid(J))throw Error(`Invalid date "${D}". Reason: "${J.invalidReason}".`);return J}today(){const d=this._getOptions();return this._useUTC?$o.utc(d):$o.local(d)}parse(d,m){const D=this._getOptions();if("string"==typeof d&&d.length>0){const V=$o.fromISO(d,D);if(this.isValid(V))return V;const J=Array.isArray(m)?m:[m];if(!m.length)throw Error("Formats array must not be empty.");for(const _t of J){const Wt=$o.fromFormat(d,_t,D);if(this.isValid(Wt))return Wt}return this.invalid()}return"number"==typeof d?$o.fromMillis(d,D):d instanceof Date?$o.fromJSDate(d,D):d instanceof $o?$o.fromMillis(d.toMillis(),D):null}format(d,m){if(!this.isValid(d))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?d.setLocale(this.locale).setZone("utc").toFormat(m):d.setLocale(this.locale).toFormat(m)}addCalendarYears(d,m){return d.reconfigure(this._getOptions()).plus({years:m})}addCalendarMonths(d,m){return d.reconfigure(this._getOptions()).plus({months:m})}addCalendarDays(d,m){return d.reconfigure(this._getOptions()).plus({days:m})}toIso8601(d){return d.toISO()}deserialize(d){const m=this._getOptions();let D;if(d instanceof Date&&(D=$o.fromJSDate(d,m)),"string"==typeof d){if(!d)return null;D=$o.fromISO(d,m)}return D&&this.isValid(D)?D:super.deserialize(d)}isDateInstance(d){return d instanceof $o}isValid(d){return d.isValid}invalid(){return $o.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale,outputCalendar:this._defaultOutputCalendar}}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Xe.Ju,8),c.KVO(ys,8))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();var zo=r(9969);function N(b){return new c.wOt(3e3,!1)}function Xs(b){switch(b.length){case 0:return new zo.sf;case 1:return b[0];default:return new zo.ui(b)}}function Nd(b,p,d=new Map,m=new Map){const D=[],V=[];let J=-1,_t=null;if(p.forEach(Wt=>{const we=Wt.get("offset"),ur=we==J,xr=ur&&_t||new Map;Wt.forEach((mo,Zr)=>{let yo=Zr,qo=mo;if("offset"!==Zr)switch(yo=b.normalizePropertyName(yo,D),qo){case zo.FX:qo=d.get(Zr);break;case zo.kp:qo=m.get(Zr);break;default:qo=b.normalizeStyleValue(Zr,yo,qo,D)}xr.set(yo,qo)}),ur||V.push(xr),_t=xr,J=we}),D.length)throw function Kp(){return new c.wOt(3502,!1)}();return V}function _s(b,p,d,m){switch(p){case"start":b.onStart(()=>m(d&&Ld(d,"start",b)));break;case"done":b.onDone(()=>m(d&&Ld(d,"done",b)));break;case"destroy":b.onDestroy(()=>m(d&&Ld(d,"destroy",b)))}}function Ld(b,p,d){const V=Pd(b.element,b.triggerName,b.fromState,b.toState,p||b.phaseName,d.totalTime??b.totalTime,!!d.disabled),J=b._data;return null!=J&&(V._data=J),V}function Pd(b,p,d,m,D="",V=0,J){return{element:b,triggerName:p,fromState:d,toState:m,phaseName:D,totalTime:V,disabled:!!J}}function ks(b,p,d){let m=b.get(p);return m||b.set(p,m=d),m}function ed(b){const p=b.indexOf(":");return[b.substring(1,p),b.slice(p+1)]}const Hu=typeof document>"u"?null:document.documentElement;function kl(b){const p=b.parentNode||b.host||null;return p===Hu?null:p}let Ys=null,$s=!1;function Ku(b,p){for(;p;){if(p===b)return!0;p=kl(p)}return!1}function Yp(b,p,d){if(d)return Array.from(b.querySelectorAll(p));const m=b.querySelector(p);return m?[m]:[]}let Ud=(()=>{class b{validateStyleProperty(d){return function mn(b){Ys||(Ys=function Wu(){return typeof document<"u"?document.body:null}()||{},$s=!!Ys.style&&"WebkitAppearance"in Ys.style);let p=!0;return Ys.style&&!function Fd(b){return"ebkit"==b.substring(1,6)}(b)&&(p=b in Ys.style,!p&&$s&&(p="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in Ys.style)),p}(d)}containsElement(d,m){return Ku(d,m)}getParentElement(d){return kl(d)}query(d,m,D){return Yp(d,m,D)}computeStyle(d,m,D){return D||""}animate(d,m,D,V,J,_t=[],Wt){return new zo.sf(D,V)}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();class $d{static{this.NOOP=new Ud}}class rd{}const Zp=1e3,Gu="ng-enter",jd="ng-leave",Rr="ng-trigger",Cn=".ng-trigger",Xu="ng-animating",Vd=".ng-animating";function Wn(b){if("number"==typeof b)return b;const p=b.match(/^(-?[\.\d]+)(m?s)/);return!p||p.length<2?0:zd(parseFloat(p[1]),p[2])}function zd(b,p){return"s"===p?b*Zp:b}function Bc(b,p,d){return b.hasOwnProperty("duration")?b:function Zs(b,p,d){let D,V=0,J="";if("string"==typeof b){const _t=b.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===_t)return p.push(N()),{duration:0,delay:0,easing:""};D=zd(parseFloat(_t[1]),_t[2]);const Wt=_t[3];null!=Wt&&(V=zd(parseFloat(Wt),_t[4]));const we=_t[5];we&&(J=we)}else D=b;if(!d){let _t=!1,Wt=p.length;D<0&&(p.push(function W(){return new c.wOt(3100,!1)}()),_t=!0),V<0&&(p.push(function P(){return new c.wOt(3101,!1)}()),_t=!0),_t&&p.splice(Wt,0,N())}return{duration:D,delay:V,easing:J}}(b,p,d)}function Qs(b,p,d){p.forEach((m,D)=>{const V=Gd(D);d&&!d.has(D)&&d.set(D,b.style[V]),b.style[V]=m})}function El(b,p){p.forEach((d,m)=>{const D=Gd(m);b.style[D]=""})}function Wd(b){return Array.isArray(b)?1==b.length?b[0]:(0,zo.K2)(b):b}const Kd=new RegExp("{{\\s*(.+?)\\s*}}","g");function Zu(b){let p=[];if("string"==typeof b){let d;for(;d=Kd.exec(b);)p.push(d[1]);Kd.lastIndex=0}return p}function ga(b,p,d){const m=`${b}`,D=m.replace(Kd,(V,J)=>{let _t=p[J];return null==_t&&(d.push(function wt(){return new c.wOt(3003,!1)}()),_t=""),_t.toString()});return D==m?b:D}const Dc=/-+([a-z0-9])/g;function Gd(b){return b.replace(Dc,(...p)=>p[1].toUpperCase())}function Es(b,p,d){switch(p.type){case zo.If.Trigger:return b.visitTrigger(p,d);case zo.If.State:return b.visitState(p,d);case zo.If.Transition:return b.visitTransition(p,d);case zo.If.Sequence:return b.visitSequence(p,d);case zo.If.Group:return b.visitGroup(p,d);case zo.If.Animate:return b.visitAnimate(p,d);case zo.If.Keyframes:return b.visitKeyframes(p,d);case zo.If.Style:return b.visitStyle(p,d);case zo.If.Reference:return b.visitReference(p,d);case zo.If.AnimateChild:return b.visitAnimateChild(p,d);case zo.If.AnimateRef:return b.visitAnimateRef(p,d);case zo.If.Query:return b.visitQuery(p,d);case zo.If.Stagger:return b.visitStagger(p,d);default:throw function Kt(){return new c.wOt(3004,!1)}()}}function Qu(b,p){return window.getComputedStyle(b)[p]}const Jp=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class od extends rd{normalizePropertyName(p,d){return Gd(p)}normalizeStyleValue(p,d,m,D){let V="";const J=m.toString().trim();if(Jp.has(d)&&0!==m&&"0"!==m)if("number"==typeof m)V="px";else{const _t=m.match(/^[+-]?[\d\.]+([a-z]*)$/);_t&&0==_t[1].length&&D.push(function Te(){return new c.wOt(3005,!1)}())}return J+V}}const id="*";const Cl=new Set(["true","1"]),Xd=new Set(["false","0"]);function va(b,p){const d=Cl.has(b)||Xd.has(b),m=Cl.has(p)||Xd.has(p);return(D,V)=>{let J=b==id||b==D,_t=p==id||p==V;return!J&&d&&"boolean"==typeof D&&(J=D?Cl.has(b):Xd.has(b)),!_t&&m&&"boolean"==typeof V&&(_t=V?Cl.has(p):Xd.has(p)),J&&_t}}const Ri=new RegExp("s*:selfs*,?","g");function Yd(b,p,d,m){return new sh(b).build(p,d,m)}class sh{constructor(p){this._driver=p}build(p,d,m){const D=new lh(d);return this._resetContextStyleTimingState(D),Es(this,Wd(p),D)}_resetContextStyleTimingState(p){p.currentQuerySelector="",p.collectedStyles=new Map,p.collectedStyles.set("",new Map),p.currentTime=0}visitTrigger(p,d){let m=d.queryCount=0,D=d.depCount=0;const V=[],J=[];return"@"==p.name.charAt(0)&&d.errors.push(function Ar(){return new c.wOt(3006,!1)}()),p.definitions.forEach(_t=>{if(this._resetContextStyleTimingState(d),_t.type==zo.If.State){const Wt=_t,we=Wt.name;we.toString().split(/\s*,\s*/).forEach(ur=>{Wt.name=ur,V.push(this.visitState(Wt,d))}),Wt.name=we}else if(_t.type==zo.If.Transition){const Wt=this.visitTransition(_t,d);m+=Wt.queryCount,D+=Wt.depCount,J.push(Wt)}else d.errors.push(function pr(){return new c.wOt(3007,!1)}())}),{type:zo.If.Trigger,name:p.name,states:V,transitions:J,queryCount:m,depCount:D,options:null}}visitState(p,d){const m=this.visitStyle(p.styles,d),D=p.options&&p.options.params||null;if(m.containsDynamicStyles){const V=new Set,J=D||{};m.styles.forEach(_t=>{_t instanceof Map&&_t.forEach(Wt=>{Zu(Wt).forEach(we=>{J.hasOwnProperty(we)||V.add(we)})})}),V.size&&d.errors.push(function bo(){return new c.wOt(3008,!1)}(0,V.values()))}return{type:zo.If.State,name:p.name,style:m,options:D?{params:D}:null}}visitTransition(p,d){d.queryCount=0,d.depCount=0;const m=Es(this,Wd(p.animation),d),D=function oh(b,p){const d=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(m=>function nh(b,p,d){if(":"==b[0]){const Wt=function ih(b,p){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,m)=>parseFloat(m)>parseFloat(d);case":decrement":return(d,m)=>parseFloat(m) *"}}(b,d);if("function"==typeof Wt)return void p.push(Wt);b=Wt}const m=b.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return d.push(function Ya(){return new c.wOt(3015,!1)}()),p;const D=m[1],V=m[2],J=m[3];p.push(va(D,J)),"<"==V[0]&&(D!=id||J!=id)&&p.push(va(J,D))}(m,d,p)):d.push(b),d}(p.expr,d.errors);return{type:zo.If.Transition,matchers:D,animation:m,queryCount:d.queryCount,depCount:d.depCount,options:il(p.options)}}visitSequence(p,d){return{type:zo.If.Sequence,steps:p.steps.map(m=>Es(this,m,d)),options:il(p.options)}}visitGroup(p,d){const m=d.currentTime;let D=0;const V=p.steps.map(J=>{d.currentTime=m;const _t=Es(this,J,d);return D=Math.max(D,d.currentTime),_t});return d.currentTime=D,{type:zo.If.Group,steps:V,options:il(p.options)}}visitAnimate(p,d){const m=function cc(b,p){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Dl(Bc(b,p).duration,0,"");const d=b;if(d.split(/\s+/).some(V=>"{"==V.charAt(0)&&"{"==V.charAt(1))){const V=Dl(0,0,"");return V.dynamic=!0,V.strValue=d,V}const D=Bc(d,p);return Dl(D.duration,D.delay,D.easing)}(p.timings,d.errors);d.currentAnimateTimings=m;let D,V=p.styles?p.styles:(0,zo.iF)({});if(V.type==zo.If.Keyframes)D=this.visitKeyframes(V,d);else{let J=p.styles,_t=!1;if(!J){_t=!0;const we={};m.easing&&(we.easing=m.easing),J=(0,zo.iF)(we)}d.currentTime+=m.duration+m.delay;const Wt=this.visitStyle(J,d);Wt.isEmptyStep=_t,D=Wt}return d.currentAnimateTimings=null,{type:zo.If.Animate,timings:m,style:D,options:null}}visitStyle(p,d){const m=this._makeStyleAst(p,d);return this._validateStyleAst(m,d),m}_makeStyleAst(p,d){const m=[],D=Array.isArray(p.styles)?p.styles:[p.styles];for(let _t of D)"string"==typeof _t?_t===zo.kp?m.push(_t):d.errors.push(new c.wOt(3002,!1)):m.push(new Map(Object.entries(_t)));let V=!1,J=null;return m.forEach(_t=>{if(_t instanceof Map&&(_t.has("easing")&&(J=_t.get("easing"),_t.delete("easing")),!V))for(let Wt of _t.values())if(Wt.toString().indexOf("{{")>=0){V=!0;break}}),{type:zo.If.Style,styles:m,easing:J,offset:p.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(p,d){const m=d.currentAnimateTimings;let D=d.currentTime,V=d.currentTime;m&&V>0&&(V-=m.duration+m.delay),p.styles.forEach(J=>{"string"!=typeof J&&J.forEach((_t,Wt)=>{const we=d.collectedStyles.get(d.currentQuerySelector),ur=we.get(Wt);let xr=!0;ur&&(V!=D&&V>=ur.startTime&&D<=ur.endTime&&(d.errors.push(function wn(){return new c.wOt(3010,!1)}()),xr=!1),V=ur.startTime),xr&&we.set(Wt,{startTime:V,endTime:D}),d.options&&function qp(b,p,d){const m=p.params||{},D=Zu(b);D.length&&D.forEach(V=>{m.hasOwnProperty(V)||d.push(function K(){return new c.wOt(3001,!1)}())})}(_t,d.options,d.errors)})})}visitKeyframes(p,d){const m={type:zo.If.Keyframes,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function Sa(){return new c.wOt(3011,!1)}()),m;let V=0;const J=[];let _t=!1,Wt=!1,we=0;const ur=p.steps.map(si=>{const Wi=this._makeStyleAst(si,d);let La=null!=Wi.offset?Wi.offset:function ad(b){if("string"==typeof b)return null;let p=null;if(Array.isArray(b))b.forEach(d=>{if(d instanceof Map&&d.has("offset")){const m=d;p=parseFloat(m.get("offset")),m.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const d=b;p=parseFloat(d.get("offset")),d.delete("offset")}return p}(Wi.styles),Pa=0;return null!=La&&(V++,Pa=Wi.offset=La),Wt=Wt||Pa<0||Pa>1,_t=_t||Pa0&&V{const La=mo>0?Wi==Zr?1:mo*Wi:J[Wi],Pa=La*hn;d.currentTime=yo+qo.delay+Pa,qo.duration=Pa,this._validateStyleAst(si,d),si.offset=La,m.styles.push(si)}),m}visitReference(p,d){return{type:zo.If.Reference,animation:Es(this,Wd(p.animation),d),options:il(p.options)}}visitAnimateChild(p,d){return d.depCount++,{type:zo.If.AnimateChild,options:il(p.options)}}visitAnimateRef(p,d){return{type:zo.If.AnimateRef,animation:this.visitReference(p.animation,d),options:il(p.options)}}visitQuery(p,d){const m=d.currentQuerySelector,D=p.options||{};d.queryCount++,d.currentQuery=p;const[V,J]=function Wg(b){const p=!!b.split(/\s*,\s*/).find(d=>":self"==d);return p&&(b=b.replace(Ri,"")),b=b.replace(/@\*/g,Cn).replace(/@\w+/g,d=>Cn+"-"+d.slice(1)).replace(/:animating/g,Vd),[b,p]}(p.selector);d.currentQuerySelector=m.length?m+" "+V:V,ks(d.collectedStyles,d.currentQuerySelector,new Map);const _t=Es(this,Wd(p.animation),d);return d.currentQuery=null,d.currentQuerySelector=m,{type:zo.If.Query,selector:V,limit:D.limit||0,optional:!!D.optional,includeSelf:J,animation:_t,originalSelector:p.selector,options:il(p.options)}}visitStagger(p,d){d.currentQuery||d.errors.push(function Fc(){return new c.wOt(3013,!1)}());const m="full"===p.timings?{duration:0,delay:0,easing:"full"}:Bc(p.timings,d.errors,!0);return{type:zo.If.Stagger,animation:Es(this,Wd(p.animation),d),timings:m,options:null}}}class lh{constructor(p){this.errors=p,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function il(b){return b?(b={...b}).params&&(b.params=function ch(b){return b?{...b}:null}(b.params)):b={},b}function Dl(b,p,d){return{duration:b,delay:p,easing:d}}function Al(b,p,d,m,D,V,J=null,_t=!1){return{type:1,element:b,keyframes:p,preStyleProps:d,postStyleProps:m,duration:D,delay:V,totalTime:D+V,easing:J,subTimeline:_t}}class al{constructor(){this._map=new Map}get(p){return this._map.get(p)||[]}append(p,d){let m=this._map.get(p);m||this._map.set(p,m=[]),m.push(...d)}has(p){return this._map.has(p)}clear(){this._map.clear()}}const uh=new RegExp(":enter","g"),sd=new RegExp(":leave","g");function sl(b,p,d,m,D,V=new Map,J=new Map,_t,Wt,we=[]){return(new Zd).buildKeyframes(b,p,d,m,D,V,J,_t,Wt,we)}class Zd{buildKeyframes(p,d,m,D,V,J,_t,Wt,we,ur=[]){we=we||new al;const xr=new cd(p,d,we,D,V,ur,[]);xr.options=Wt;const mo=Wt.delay?Wn(Wt.delay):0;xr.currentTimeline.delayNextStep(mo),xr.currentTimeline.setStyles([J],null,xr.errors,Wt),Es(this,m,xr);const Zr=xr.timelines.filter(yo=>yo.containsAnimation());if(Zr.length&&_t.size){let yo;for(let qo=Zr.length-1;qo>=0;qo--){const hn=Zr[qo];if(hn.element===d){yo=hn;break}}yo&&!yo.allowOnlyTimelineStyles()&&yo.setStyles([_t],null,xr.errors,Wt)}return Zr.length?Zr.map(yo=>yo.buildKeyframes()):[Al(d,[],[],[],0,mo,"",!1)]}visitTrigger(p,d){}visitState(p,d){}visitTransition(p,d){}visitAnimateChild(p,d){const m=d.subInstructions.get(d.element);if(m){const D=d.createSubContext(p.options),V=d.currentTimeline.currentTime,J=this._visitSubInstructions(m,D,D.options);V!=J&&d.transformIntoNewTimeline(J)}d.previousNode=p}visitAnimateRef(p,d){const m=d.createSubContext(p.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([p.options,p.animation.options],d,m),this.visitReference(p.animation,m),d.transformIntoNewTimeline(m.currentTimeline.currentTime),d.previousNode=p}_applyAnimationRefDelays(p,d,m){for(const D of p){const V=D?.delay;if(V){const J="number"==typeof V?V:Wn(ga(V,D?.params??{},d.errors));m.delayNextStep(J)}}}_visitSubInstructions(p,d,m){let V=d.currentTimeline.currentTime;const J=null!=m.duration?Wn(m.duration):null,_t=null!=m.delay?Wn(m.delay):null;return 0!==J&&p.forEach(Wt=>{const we=d.appendInstructionToTimeline(Wt,J,_t);V=Math.max(V,we.duration+we.delay)}),V}visitReference(p,d){d.updateOptions(p.options,!0),Es(this,p.animation,d),d.previousNode=p}visitSequence(p,d){const m=d.subContextCount;let D=d;const V=p.options;if(V&&(V.params||V.delay)&&(D=d.createSubContext(V),D.transformIntoNewTimeline(),null!=V.delay)){D.previousNode.type==zo.If.Style&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=cl);const J=Wn(V.delay);D.delayNextStep(J)}p.steps.length&&(p.steps.forEach(J=>Es(this,J,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>m&&D.transformIntoNewTimeline()),d.previousNode=p}visitGroup(p,d){const m=[];let D=d.currentTimeline.currentTime;const V=p.options&&p.options.delay?Wn(p.options.delay):0;p.steps.forEach(J=>{const _t=d.createSubContext(p.options);V&&_t.delayNextStep(V),Es(this,J,_t),D=Math.max(D,_t.currentTimeline.currentTime),m.push(_t.currentTimeline)}),m.forEach(J=>d.currentTimeline.mergeTimelineCollectedStyles(J)),d.transformIntoNewTimeline(D),d.previousNode=p}_visitTiming(p,d){if(p.dynamic){const m=p.strValue;return Bc(d.params?ga(m,d.params,d.errors):m,d.errors)}return{duration:p.duration,delay:p.delay,easing:p.easing}}visitAnimate(p,d){const m=d.currentAnimateTimings=this._visitTiming(p.timings,d),D=d.currentTimeline;m.delay&&(d.incrementTime(m.delay),D.snapshotCurrentStyles());const V=p.style;V.type==zo.If.Keyframes?this.visitKeyframes(V,d):(d.incrementTime(m.duration),this.visitStyle(V,d),D.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=p}visitStyle(p,d){const m=d.currentTimeline,D=d.currentAnimateTimings;!D&&m.hasCurrentStyleProperties()&&m.forwardFrame();const V=D&&D.easing||p.easing;p.isEmptyStep?m.applyEmptyStep(V):m.setStyles(p.styles,V,d.errors,d.options),d.previousNode=p}visitKeyframes(p,d){const m=d.currentAnimateTimings,D=d.currentTimeline.duration,V=m.duration,_t=d.createSubContext().currentTimeline;_t.easing=m.easing,p.styles.forEach(Wt=>{_t.forwardTime((Wt.offset||0)*V),_t.setStyles(Wt.styles,Wt.easing,d.errors,d.options),_t.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(_t),d.transformIntoNewTimeline(D+V),d.previousNode=p}visitQuery(p,d){const m=d.currentTimeline.currentTime,D=p.options||{},V=D.delay?Wn(D.delay):0;V&&(d.previousNode.type===zo.If.Style||0==m&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=cl);let J=m;const _t=d.invokeQuery(p.selector,p.originalSelector,p.limit,p.includeSelf,!!D.optional,d.errors);d.currentQueryTotal=_t.length;let Wt=null;_t.forEach((we,ur)=>{d.currentQueryIndex=ur;const xr=d.createSubContext(p.options,we);V&&xr.delayNextStep(V),we===d.element&&(Wt=xr.currentTimeline),Es(this,p.animation,xr),xr.currentTimeline.applyStylesToKeyframe(),J=Math.max(J,xr.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline(J),Wt&&(d.currentTimeline.mergeTimelineCollectedStyles(Wt),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=p}visitStagger(p,d){const m=d.parentContext,D=d.currentTimeline,V=p.timings,J=Math.abs(V.duration),_t=J*(d.currentQueryTotal-1);let Wt=J*d.currentQueryIndex;switch(V.duration<0?"reverse":V.easing){case"reverse":Wt=_t-Wt;break;case"full":Wt=m.currentStaggerTime}const ur=d.currentTimeline;Wt&&ur.delayNextStep(Wt);const xr=ur.currentTime;Es(this,p.animation,d),d.previousNode=p,m.currentStaggerTime=D.currentTime-xr+(D.startTime-m.currentTimeline.startTime)}}const cl={};class cd{constructor(p,d,m,D,V,J,_t,Wt){this._driver=p,this.element=d,this.subInstructions=m,this._enterClassName=D,this._leaveClassName=V,this.errors=J,this.timelines=_t,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=cl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Wt||new Qd(this._driver,d,0),_t.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(p,d){if(!p)return;const m=p;let D=this.options;null!=m.duration&&(D.duration=Wn(m.duration)),null!=m.delay&&(D.delay=Wn(m.delay));const V=m.params;if(V){let J=D.params;J||(J=this.options.params={}),Object.keys(V).forEach(_t=>{(!d||!J.hasOwnProperty(_t))&&(J[_t]=ga(V[_t],J,this.errors))})}}_copyOptions(){const p={};if(this.options){const d=this.options.params;if(d){const m=p.params={};Object.keys(d).forEach(D=>{m[D]=d[D]})}}return p}createSubContext(p=null,d,m){const D=d||this.element,V=new cd(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,m||0));return V.previousNode=this.previousNode,V.currentAnimateTimings=this.currentAnimateTimings,V.options=this._copyOptions(),V.updateOptions(p),V.currentQueryIndex=this.currentQueryIndex,V.currentQueryTotal=this.currentQueryTotal,V.parentContext=this,this.subContextCount++,V}transformIntoNewTimeline(p){return this.previousNode=cl,this.currentTimeline=this.currentTimeline.fork(this.element,p),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(p,d,m){const D={duration:d??p.duration,delay:this.currentTimeline.currentTime+(m??0)+p.delay,easing:""},V=new Kg(this._driver,p.element,p.keyframes,p.preStyleProps,p.postStyleProps,D,p.stretchStartingKeyframe);return this.timelines.push(V),D}incrementTime(p){this.currentTimeline.forwardTime(this.currentTimeline.duration+p)}delayNextStep(p){p>0&&this.currentTimeline.delayNextStep(p)}invokeQuery(p,d,m,D,V,J){let _t=[];if(D&&_t.push(this.element),p.length>0){p=(p=p.replace(uh,"."+this._enterClassName)).replace(sd,"."+this._leaveClassName);let we=this._driver.query(this.element,p,1!=m);0!==m&&(we=m<0?we.slice(we.length+m,we.length):we.slice(0,m)),_t.push(...we)}return!V&&0==_t.length&&J.push(function Ws(){return new c.wOt(3014,!1)}()),_t}}class Qd{constructor(p,d,m,D){this._driver=p,this.element=d,this.startTime=m,this._elementTimelineStylesLookup=D,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(p){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+p),d&&this.snapshotCurrentStyles()):this.startTime+=p}fork(p,d){return this.applyStylesToKeyframe(),new Qd(this._driver,p,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(p){this.applyStylesToKeyframe(),this.duration=p,this._loadKeyframe()}_updateStyle(p,d){this._localTimelineStyles.set(p,d),this._globalTimelineStyles.set(p,d),this._styleSummary.set(p,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(p){p&&this._previousKeyframe.set("easing",p);for(let[d,m]of this._globalTimelineStyles)this._backFill.set(d,m||zo.kp),this._currentKeyframe.set(d,zo.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(p,d,m,D){d&&this._previousKeyframe.set("easing",d);const V=D&&D.params||{},J=function Am(b,p){const d=new Map;let m;return b.forEach(D=>{if("*"===D){m??=p.keys();for(let V of m)d.set(V,zo.kp)}else for(let[V,J]of D)d.set(V,J)}),d}(p,this._globalTimelineStyles);for(let[_t,Wt]of J){const we=ga(Wt,V,m);this._pendingStyles.set(_t,we),this._localTimelineStyles.has(_t)||this._backFill.set(_t,this._globalTimelineStyles.get(_t)??zo.kp),this._updateStyle(_t,we)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((p,d)=>{this._currentKeyframe.set(d,p)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((p,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,p)}))}snapshotCurrentStyles(){for(let[p,d]of this._localTimelineStyles)this._pendingStyles.set(p,d),this._updateStyle(p,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const p=[];for(let d in this._currentKeyframe)p.push(d);return p}mergeTimelineCollectedStyles(p){p._styleSummary.forEach((d,m)=>{const D=this._styleSummary.get(m);(!D||d.time>D.time)&&this._updateStyle(m,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const p=new Set,d=new Set,m=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((_t,Wt)=>{const we=new Map([...this._backFill,..._t]);we.forEach((ur,xr)=>{ur===zo.FX?p.add(xr):ur===zo.kp&&d.add(xr)}),m||we.set("offset",Wt/this.duration),D.push(we)});const V=[...p.values()],J=[...d.values()];if(m){const _t=D[0],Wt=new Map(_t);_t.set("offset",0),Wt.set("offset",1),D=[_t,Wt]}return Al(this.element,D,V,J,this.duration,this.startTime,this.easing,!1)}}class Kg extends Qd{constructor(p,d,m,D,V,J,_t=!1){super(p,d,J.delay),this.keyframes=m,this.preStyleProps=D,this.postStyleProps=V,this._stretchStartingKeyframe=_t,this.timings={duration:J.duration,delay:J.delay,easing:J.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let p=this.keyframes,{delay:d,duration:m,easing:D}=this.timings;if(this._stretchStartingKeyframe&&d){const V=[],J=m+d,_t=d/J,Wt=new Map(p[0]);Wt.set("offset",0),V.push(Wt);const we=new Map(p[0]);we.set("offset",ph(_t)),V.push(we);const ur=p.length-1;for(let xr=1;xr<=ur;xr++){let mo=new Map(p[xr]);const Zr=mo.get("offset");mo.set("offset",ph((d+Zr*m)/J)),V.push(mo)}m=J,d=0,D="",p=V}return Al(this.element,p,this.preStyleProps,this.postStyleProps,m,d,D,!0)}}function ph(b,p=3){const d=Math.pow(10,p-1);return Math.round(b*d)/d}function hh(b,p,d,m,D,V,J,_t,Wt,we,ur,xr,mo){return{type:0,element:b,triggerName:p,isRemovalTransition:D,fromState:d,fromStyles:V,toState:m,toStyles:J,timelines:_t,queriedElements:Wt,preStyleProps:we,postStyleProps:ur,totalTime:xr,errors:mo}}const ld={};class lc{constructor(p,d,m){this._triggerName=p,this.ast=d,this._stateStyles=m}match(p,d,m,D){return function ll(b,p,d,m,D){return b.some(V=>V(p,d,m,D))}(this.ast.matchers,p,d,m,D)}buildStyles(p,d,m){let D=this._stateStyles.get("*");return void 0!==p&&(D=this._stateStyles.get(p?.toString())||D),D?D.buildStyles(d,m):new Map}build(p,d,m,D,V,J,_t,Wt,we,ur){const xr=[],mo=this.ast.options&&this.ast.options.params||ld,yo=this.buildStyles(m,_t&&_t.params||ld,xr),qo=Wt&&Wt.params||ld,hn=this.buildStyles(D,qo,xr),si=new Set,Wi=new Map,La=new Map,Pa="void"===D,fl={params:fh(qo,mo),delay:this.ast.options?.delay},gc=ur?[]:sl(p,d,this.ast.animation,V,J,yo,hn,fl,we,xr);let fa=0;return gc.forEach(Ds=>{fa=Math.max(Ds.duration+Ds.delay,fa)}),xr.length?hh(d,this._triggerName,m,D,Pa,yo,hn,[],[],Wi,La,fa,xr):(gc.forEach(Ds=>{const rc=Ds.element,fc=ks(Wi,rc,new Set);Ds.preStyleProps.forEach(Hl=>fc.add(Hl));const Rd=ks(La,rc,new Set);Ds.postStyleProps.forEach(Hl=>Rd.add(Hl)),rc!==d&&si.add(rc)}),hh(d,this._triggerName,m,D,Pa,yo,hn,gc,[...si.values()],Wi,La,fa))}}function fh(b,p){const d={...p};return Object.entries(b).forEach(([m,D])=>{null!=D&&(d[m]=D)}),d}class Sl{constructor(p,d,m){this.styles=p,this.defaultParams=d,this.normalizer=m}buildStyles(p,d){const m=new Map,D=fh(p,this.defaultParams);return this.styles.styles.forEach(V=>{"string"!=typeof V&&V.forEach((J,_t)=>{J&&(J=ga(J,D,d));const Wt=this.normalizer.normalizePropertyName(_t,d);J=this.normalizer.normalizeStyleValue(_t,Wt,J,d),m.set(_t,J)})}),m}}class Ju{constructor(p,d,m){this.name=p,this.ast=d,this._normalizer=m,this.transitionFactories=[],this.states=new Map,d.states.forEach(D=>{this.states.set(D.name,new Sl(D.style,D.options&&D.options.params||{},m))}),Xg(this.states,"true","1"),Xg(this.states,"false","0"),d.transitions.forEach(D=>{this.transitionFactories.push(new lc(p,D,this.states))}),this.fallbackTransition=function dd(b,p){return new lc(b,{type:zo.If.Transition,animation:{type:zo.If.Sequence,steps:[],options:null},matchers:[(J,_t)=>!0],options:null,queryCount:0,depCount:0},p)}(p,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(p,d,m,D){return this.transitionFactories.find(J=>J.match(p,d,m,D))||null}matchStyles(p,d,m){return this.fallbackTransition.buildStyles(p,d,m)}}function Xg(b,p,d){b.has(p)?b.has(d)||b.set(d,b.get(p)):b.has(d)&&b.set(p,b.get(d))}const tp=new al;class mh{constructor(p,d,m){this.bodyNode=p,this._driver=d,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(p,d){const m=[],V=Yd(this._driver,d,m,[]);if(m.length)throw function Ks(){return new c.wOt(3503,!1)}();this._animations.set(p,V)}_buildPlayer(p,d,m){const D=p.element,V=Nd(this._normalizer,p.keyframes,d,m);return this._driver.animate(D,V,p.duration,p.delay,p.easing,[],!0)}create(p,d,m={}){const D=[],V=this._animations.get(p);let J;const _t=new Map;if(V?(J=sl(this._driver,d,V,Gu,jd,new Map,new Map,m,tp,D),J.forEach(ur=>{const xr=ks(_t,ur.element,new Map);ur.postStyleProps.forEach(mo=>xr.set(mo,null))})):(D.push(function Gp(){return new c.wOt(3300,!1)}()),J=[]),D.length)throw function Xp(){return new c.wOt(3504,!1)}();_t.forEach((ur,xr)=>{ur.forEach((mo,Zr)=>{ur.set(Zr,this._driver.computeStyle(xr,Zr,zo.kp))})});const we=Xs(J.map(ur=>{const xr=_t.get(ur.element);return this._buildPlayer(ur,new Map,xr)}));return this._playersById.set(p,we),we.onDestroy(()=>this.destroy(p)),this.players.push(we),we}destroy(p){const d=this._getPlayer(p);d.destroy(),this._playersById.delete(p);const m=this.players.indexOf(d);m>=0&&this.players.splice(m,1)}_getPlayer(p){const d=this._playersById.get(p);if(!d)throw function Hn(){return new c.wOt(3301,!1)}();return d}listen(p,d,m,D){const V=Pd(d,"","","");return _s(this._getPlayer(p),m,V,D),()=>{}}command(p,d,m,D){if("register"==m)return void this.register(p,D[0]);if("create"==m)return void this.create(p,d,D[0]||{});const V=this._getPlayer(p);switch(m){case"play":V.play();break;case"pause":V.pause();break;case"reset":V.reset();break;case"restart":V.restart();break;case"finish":V.finish();break;case"init":V.init();break;case"setPosition":V.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(p)}}}const qd="ng-animate-queued",ep="ng-animate-disabled",Jd=[],tu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eu={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ns="__ng_removed";class ru{get params(){return this.options.params}constructor(p,d=""){this.namespaceId=d;const m=p&&p.hasOwnProperty("value");if(this.value=function op(b){return b??null}(m?p.value:p),m){const{value:V,...J}=p;this.options=J}else this.options={};this.options.params||(this.options.params={})}absorbOptions(p){const d=p.params;if(d){const m=this.options.params;Object.keys(d).forEach(D=>{null==m[D]&&(m[D]=d[D])})}}}const Tl="void",ou=new ru(Tl);class rp{constructor(p,d,m){this.id=p,this.hostElement=d,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+p,is(d,this._hostClassName)}listen(p,d,m,D){if(!this._triggers.has(d))throw function vl(){return new c.wOt(3302,!1)}();if(null==m||0==m.length)throw function xl(){return new c.wOt(3303,!1)}();if(!function Ml(b){return"start"==b||"done"==b}(m))throw function Ma(){return new c.wOt(3400,!1)}();const V=ks(this._elementListeners,p,[]),J={name:d,phase:m,callback:D};V.push(J);const _t=ks(this._engine.statesByElement,p,new Map);return _t.has(d)||(is(p,Rr),is(p,Rr+"-"+d),_t.set(d,ou)),()=>{this._engine.afterFlush(()=>{const Wt=V.indexOf(J);Wt>=0&&V.splice(Wt,1),this._triggers.has(d)||_t.delete(d)})}}register(p,d){return!this._triggers.has(p)&&(this._triggers.set(p,d),!0)}_getTrigger(p){const d=this._triggers.get(p);if(!d)throw function Gs(){return new c.wOt(3401,!1)}();return d}trigger(p,d,m,D=!0){const V=this._getTrigger(d),J=new jc(this.id,d,p);let _t=this._engine.statesByElement.get(p);_t||(is(p,Rr),is(p,Rr+"-"+d),this._engine.statesByElement.set(p,_t=new Map));let Wt=_t.get(d);const we=new ru(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Wt&&we.absorbOptions(Wt.options),_t.set(d,we),Wt||(Wt=ou),we.value!==Tl&&Wt.value===we.value){if(!function np(b,p){const d=Object.keys(b),m=Object.keys(p);if(d.length!=m.length)return!1;for(let D=0;D{El(p,hn),Qs(p,si)})}return}const mo=ks(this._engine.playersByElement,p,[]);mo.forEach(qo=>{qo.namespaceId==this.id&&qo.triggerName==d&&qo.queued&&qo.destroy()});let Zr=V.matchTransition(Wt.value,we.value,p,we.params),yo=!1;if(!Zr){if(!D)return;Zr=V.fallbackTransition,yo=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:d,transition:Zr,fromState:Wt,toState:we,player:J,isFallbackTransition:yo}),yo||(is(p,qd),J.onStart(()=>{Vc(p,qd)})),J.onDone(()=>{let qo=this.players.indexOf(J);qo>=0&&this.players.splice(qo,1);const hn=this._engine.playersByElement.get(p);if(hn){let si=hn.indexOf(J);si>=0&&hn.splice(si,1)}}),this.players.push(J),mo.push(J),J}deregister(p){this._triggers.delete(p),this._engine.statesByElement.forEach(d=>d.delete(p)),this._elementListeners.forEach((d,m)=>{this._elementListeners.set(m,d.filter(D=>D.name!=p))})}clearElementCache(p){this._engine.statesByElement.delete(p),this._elementListeners.delete(p);const d=this._engine.playersByElement.get(p);d&&(d.forEach(m=>m.destroy()),this._engine.playersByElement.delete(p))}_signalRemovalForInnerTriggers(p,d){const m=this._engine.driver.query(p,Cn,!0);m.forEach(D=>{if(D[ns])return;const V=this._engine.fetchNamespacesByElement(D);V.size?V.forEach(J=>J.triggerLeaveAnimation(D,d,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(p,d,m,D){const V=this._engine.statesByElement.get(p),J=new Map;if(V){const _t=[];if(V.forEach((Wt,we)=>{if(J.set(we,Wt.value),this._triggers.has(we)){const ur=this.trigger(p,we,Tl,D);ur&&_t.push(ur)}}),_t.length)return this._engine.markElementAsRemoved(this.id,p,!0,d,J),m&&Xs(_t).onDone(()=>this._engine.processLeaveNode(p)),!0}return!1}prepareLeaveAnimationListeners(p){const d=this._elementListeners.get(p),m=this._engine.statesByElement.get(p);if(d&&m){const D=new Set;d.forEach(V=>{const J=V.name;if(D.has(J))return;D.add(J);const Wt=this._triggers.get(J).fallbackTransition,we=m.get(J)||ou,ur=new ru(Tl),xr=new jc(this.id,J,p);this._engine.totalQueuedPlayers++,this._queue.push({element:p,triggerName:J,transition:Wt,fromState:we,toState:ur,player:xr,isFallbackTransition:!0})})}}removeNode(p,d){const m=this._engine;if(p.childElementCount&&this._signalRemovalForInnerTriggers(p,d),this.triggerLeaveAnimation(p,d,!0))return;let D=!1;if(m.totalAnimations){const V=m.players.length?m.playersByQueriedElement.get(p):[];if(V&&V.length)D=!0;else{let J=p;for(;J=J.parentNode;)if(m.statesByElement.get(J)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(p),D)m.markElementAsRemoved(this.id,p,!1,d);else{const V=p[ns];(!V||V===tu)&&(m.afterFlush(()=>this.clearElementCache(p)),m.destroyInnerAnimations(p),m._onRemovalComplete(p,d))}}insertNode(p,d){is(p,this._hostClassName)}drainQueuedTransitions(p){const d=[];return this._queue.forEach(m=>{const D=m.player;if(D.destroyed)return;const V=m.element,J=this._elementListeners.get(V);J&&J.forEach(_t=>{if(_t.name==m.triggerName){const Wt=Pd(V,m.triggerName,m.fromState.value,m.toState.value);Wt._data=p,_s(m.player,_t.phase,Wt,_t.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):d.push(m)}),this._queue=[],d.sort((m,D)=>{const V=m.transition.ast.depCount,J=D.transition.ast.depCount;return 0==V||0==J?V-J:this._engine.driver.containsElement(m.element,D.element)?1:-1})}destroy(p){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,p)}}class nu{_onRemovalComplete(p,d){this.onRemovalComplete(p,d)}constructor(p,d,m){this.bodyNode=p,this.driver=d,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,V)=>{}}get queuedPlayers(){const p=[];return this._namespaceList.forEach(d=>{d.players.forEach(m=>{m.queued&&p.push(m)})}),p}createNamespace(p,d){const m=new rp(p,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(m,d):(this.newHostElements.set(d,m),this.collectEnterElement(d)),this._namespaceLookup[p]=m}_balanceNamespaceList(p,d){const m=this._namespaceList,D=this.namespacesByHostElement;if(m.length-1>=0){let J=!1,_t=this.driver.getParentElement(d);for(;_t;){const Wt=D.get(_t);if(Wt){const we=m.indexOf(Wt);m.splice(we+1,0,p),J=!0;break}_t=this.driver.getParentElement(_t)}J||m.unshift(p)}else m.push(p);return D.set(d,p),p}register(p,d){let m=this._namespaceLookup[p];return m||(m=this.createNamespace(p,d)),m}registerTrigger(p,d,m){let D=this._namespaceLookup[p];D&&D.register(d,m)&&this.totalAnimations++}destroy(p,d){p&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(p);this.namespacesByHostElement.delete(m.hostElement);const D=this._namespaceList.indexOf(m);D>=0&&this._namespaceList.splice(D,1),m.destroy(d),delete this._namespaceLookup[p]}))}_fetchNamespace(p){return this._namespaceLookup[p]}fetchNamespacesByElement(p){const d=new Set,m=this.statesByElement.get(p);if(m)for(let D of m.values())if(D.namespaceId){const V=this._fetchNamespace(D.namespaceId);V&&d.add(V)}return d}trigger(p,d,m,D){if(dl(d)){const V=this._fetchNamespace(p);if(V)return V.trigger(d,m,D),!0}return!1}insertNode(p,d,m,D){if(!dl(d))return;const V=d[ns];if(V&&V.setForRemoval){V.setForRemoval=!1,V.setForMove=!0;const J=this.collectedLeaveElements.indexOf(d);J>=0&&this.collectedLeaveElements.splice(J,1)}if(p){const J=this._fetchNamespace(p);J&&J.insertNode(d,m)}D&&this.collectEnterElement(d)}collectEnterElement(p){this.collectedEnterElements.push(p)}markElementAsDisabled(p,d){d?this.disabledNodes.has(p)||(this.disabledNodes.add(p),is(p,ep)):this.disabledNodes.has(p)&&(this.disabledNodes.delete(p),Vc(p,ep))}removeNode(p,d,m){if(dl(d)){const D=p?this._fetchNamespace(p):null;D?D.removeNode(d,m):this.markElementAsRemoved(p,d,!1,m);const V=this.namespacesByHostElement.get(d);V&&V.id!==p&&V.removeNode(d,m)}else this._onRemovalComplete(d,m)}markElementAsRemoved(p,d,m,D,V){this.collectedLeaveElements.push(d),d[ns]={namespaceId:p,setForRemoval:D,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:V}}listen(p,d,m,D,V){return dl(d)?this._fetchNamespace(p).listen(d,m,D,V):()=>{}}_buildInstruction(p,d,m,D,V){return p.transition.build(this.driver,p.element,p.fromState.value,p.toState.value,m,D,p.fromState.options,p.toState.options,d,V)}destroyInnerAnimations(p){let d=this.driver.query(p,Cn,!0);d.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(p,Vd,!0),d.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(p){const d=this.playersByElement.get(p);d&&d.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(p){const d=this.playersByQueriedElement.get(p);d&&d.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(p=>{if(this.players.length)return Xs(this.players).onDone(()=>p());p()})}processLeaveNode(p){const d=p[ns];if(d&&d.setForRemoval){if(p[ns]=tu,d.namespaceId){this.destroyInnerAnimations(p);const m=this._fetchNamespace(d.namespaceId);m&&m.clearElementCache(p)}this._onRemovalComplete(p,d.setForRemoval)}p.classList?.contains(ep)&&this.markElementAsDisabled(p,!1),this.driver.query(p,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(p=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,D)=>this._balanceNamespaceList(m,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],d.length?Xs(d).onDone(()=>{m.forEach(D=>D())}):m.forEach(D=>D())}}reportError(p){throw function Cc(){return new c.wOt(3402,!1)}()}_flushAnimations(p,d){const m=new al,D=[],V=new Map,J=[],_t=new Map,Wt=new Map,we=new Map,ur=new Set;this.disabledNodes.forEach(en=>{ur.add(en);const cn=this.driver.query(en,".ng-animate-queued",!0);for(let un=0;un{const un=Gu+qo++;yo.set(cn,un),en.forEach(ui=>is(ui,un))});const hn=[],si=new Set,Wi=new Set;for(let en=0;ensi.add(ui)):Wi.add(cn))}const La=new Map,Pa=yh(mo,Array.from(si));Pa.forEach((en,cn)=>{const un=jd+qo++;La.set(cn,un),en.forEach(ui=>is(ui,un))}),p.push(()=>{Zr.forEach((en,cn)=>{const un=yo.get(cn);en.forEach(ui=>Vc(ui,un))}),Pa.forEach((en,cn)=>{const un=La.get(cn);en.forEach(ui=>Vc(ui,un))}),hn.forEach(en=>{this.processLeaveNode(en)})});const fl=[],gc=[];for(let en=this._namespaceList.length-1;en>=0;en--)this._namespaceList[en].drainQueuedTransitions(d).forEach(un=>{const ui=un.player,ts=un.element;if(fl.push(ui),this.collectedEnterElements.length){const cs=ts[ns];if(cs&&cs.setForMove){if(cs.previousTriggersValues&&cs.previousTriggersValues.has(un.triggerName)){const Gl=cs.previousTriggersValues.get(un.triggerName),mc=this.statesByElement.get(un.element);if(mc&&mc.has(un.triggerName)){const Xl=mc.get(un.triggerName);Xl.value=Gl,mc.set(un.triggerName,Xl)}}return void ui.destroy()}}const Qc=!xr||!this.driver.containsElement(xr,ts),oc=La.get(ts),Wl=yo.get(ts),oa=this._buildInstruction(un,m,Wl,oc,Qc);if(oa.errors&&oa.errors.length)return void gc.push(oa);if(Qc)return ui.onStart(()=>El(ts,oa.fromStyles)),ui.onDestroy(()=>Qs(ts,oa.toStyles)),void D.push(ui);if(un.isFallbackTransition)return ui.onStart(()=>El(ts,oa.fromStyles)),ui.onDestroy(()=>Qs(ts,oa.toStyles)),void D.push(ui);const gg=[];oa.timelines.forEach(cs=>{cs.stretchStartingKeyframe=!0,this.disabledNodes.has(cs.element)||gg.push(cs)}),oa.timelines=gg,m.append(ts,oa.timelines),J.push({instruction:oa,player:ui,element:ts}),oa.queriedElements.forEach(cs=>ks(_t,cs,[]).push(ui)),oa.preStyleProps.forEach((cs,Gl)=>{if(cs.size){let mc=Wt.get(Gl);mc||Wt.set(Gl,mc=new Set),cs.forEach((Xl,Fu)=>mc.add(Fu))}}),oa.postStyleProps.forEach((cs,Gl)=>{let mc=we.get(Gl);mc||we.set(Gl,mc=new Set),cs.forEach((Xl,Fu)=>mc.add(Fu))})});if(gc.length){const en=[];gc.forEach(cn=>{en.push(function xs(){return new c.wOt(3505,!1)}())}),fl.forEach(cn=>cn.destroy()),this.reportError(en)}const fa=new Map,Ds=new Map;J.forEach(en=>{const cn=en.element;m.has(cn)&&(Ds.set(cn,cn),this._beforeAnimationBuild(en.player.namespaceId,en.instruction,fa))}),D.forEach(en=>{const cn=en.element;this._getPreviousPlayers(cn,!1,en.namespaceId,en.triggerName,null).forEach(ui=>{ks(fa,cn,[]).push(ui),ui.destroy()})});const rc=hn.filter(en=>au(en,Wt,we)),fc=new Map;ra(fc,this.driver,Wi,we,zo.kp).forEach(en=>{au(en,Wt,we)&&rc.push(en)});const Hl=new Map;Zr.forEach((en,cn)=>{ra(Hl,this.driver,new Set(en),Wt,zo.FX)}),rc.forEach(en=>{const cn=fc.get(en),un=Hl.get(en);fc.set(en,new Map([...cn?.entries()??[],...un?.entries()??[]]))});const hg=[],Yf=[],Xb={};J.forEach(en=>{const{element:cn,player:un,instruction:ui}=en;if(m.has(cn)){if(ur.has(cn))return un.onDestroy(()=>Qs(cn,ui.toStyles)),un.disabled=!0,un.overrideTotalTime(ui.totalTime),void D.push(un);let ts=Xb;if(Ds.size>1){let oc=cn;const Wl=[];for(;oc=oc.parentNode;){const oa=Ds.get(oc);if(oa){ts=oa;break}Wl.push(oc)}Wl.forEach(oa=>Ds.set(oa,ts))}const Qc=this._buildAnimation(un.namespaceId,ui,fa,V,Hl,fc);if(un.setRealPlayer(Qc),ts===Xb)hg.push(un);else{const oc=this.playersByElement.get(ts);oc&&oc.length&&(un.parentPlayer=Xs(oc)),D.push(un)}}else El(cn,ui.fromStyles),un.onDestroy(()=>Qs(cn,ui.toStyles)),Yf.push(un),ur.has(cn)&&D.push(un)}),Yf.forEach(en=>{const cn=V.get(en.element);if(cn&&cn.length){const un=Xs(cn);en.setRealPlayer(un)}}),D.forEach(en=>{en.parentPlayer?en.syncPlayerEvents(en.parentPlayer):en.destroy()});for(let en=0;en!Qc.destroyed);ts.length?iu(this,cn,ts):this.processLeaveNode(cn)}return hn.length=0,hg.forEach(en=>{this.players.push(en),en.onDone(()=>{en.destroy();const cn=this.players.indexOf(en);this.players.splice(cn,1)}),en.play()}),hg}afterFlush(p){this._flushFns.push(p)}afterFlushAnimationsDone(p){this._whenQuietFns.push(p)}_getPreviousPlayers(p,d,m,D,V){let J=[];if(d){const _t=this.playersByQueriedElement.get(p);_t&&(J=_t)}else{const _t=this.playersByElement.get(p);if(_t){const Wt=!V||V==Tl;_t.forEach(we=>{we.queued||!Wt&&we.triggerName!=D||J.push(we)})}}return(m||D)&&(J=J.filter(_t=>!(m&&m!=_t.namespaceId||D&&D!=_t.triggerName))),J}_beforeAnimationBuild(p,d,m){const V=d.element,J=d.isRemovalTransition?void 0:p,_t=d.isRemovalTransition?void 0:d.triggerName;for(const Wt of d.timelines){const we=Wt.element,ur=we!==V,xr=ks(m,we,[]);this._getPreviousPlayers(we,ur,J,_t,d.toState).forEach(Zr=>{const yo=Zr.getRealPlayer();yo.beforeDestroy&&yo.beforeDestroy(),Zr.destroy(),xr.push(Zr)})}El(V,d.fromStyles)}_buildAnimation(p,d,m,D,V,J){const _t=d.triggerName,Wt=d.element,we=[],ur=new Set,xr=new Set,mo=d.timelines.map(yo=>{const qo=yo.element;ur.add(qo);const hn=qo[ns];if(hn&&hn.removedBeforeQueried)return new zo.sf(yo.duration,yo.delay);const si=qo!==Wt,Wi=function vh(b){const p=[];return pd(b,p),p}((m.get(qo)||Jd).map(fa=>fa.getRealPlayer())).filter(fa=>!!fa.element&&fa.element===qo),La=V.get(qo),Pa=J.get(qo),fl=Nd(this._normalizer,yo.keyframes,La,Pa),gc=this._buildPlayer(yo,fl,Wi);if(yo.subTimeline&&D&&xr.add(qo),si){const fa=new jc(p,_t,qo);fa.setRealPlayer(gc),we.push(fa)}return gc});we.forEach(yo=>{ks(this.playersByQueriedElement,yo.element,[]).push(yo),yo.onDone(()=>function wh(b,p,d){let m=b.get(p);if(m){if(m.length){const D=m.indexOf(d);m.splice(D,1)}0==m.length&&b.delete(p)}return m}(this.playersByQueriedElement,yo.element,yo))}),ur.forEach(yo=>is(yo,Xu));const Zr=Xs(mo);return Zr.onDestroy(()=>{ur.forEach(yo=>Vc(yo,Xu)),Qs(Wt,d.toStyles)}),xr.forEach(yo=>{ks(D,yo,[]).push(Zr)}),Zr}_buildPlayer(p,d,m){return d.length>0?this.driver.animate(p.element,d,p.duration,p.delay,p.easing,m):new zo.sf(p.duration,p.delay)}}class jc{constructor(p,d,m){this.namespaceId=p,this.triggerName=d,this.element=m,this._player=new zo.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(p){this._containsRealPlayer||(this._player=p,this._queuedCallbacks.forEach((d,m)=>{d.forEach(D=>_s(p,m,void 0,D))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(p.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(p){this.totalTime=p}syncPlayerEvents(p){const d=this._player;d.triggerCallback&&p.onStart(()=>d.triggerCallback("start")),p.onDone(()=>this.finish()),p.onDestroy(()=>this.destroy())}_queueEvent(p,d){ks(this._queuedCallbacks,p,[]).push(d)}onDone(p){this.queued&&this._queueEvent("done",p),this._player.onDone(p)}onStart(p){this.queued&&this._queueEvent("start",p),this._player.onStart(p)}onDestroy(p){this.queued&&this._queueEvent("destroy",p),this._player.onDestroy(p)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(p){this.queued||this._player.setPosition(p)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(p){const d=this._player;d.triggerCallback&&d.triggerCallback(p)}}function dl(b){return b&&1===b.nodeType}function Sc(b,p){const d=b.style.display;return b.style.display=p??"none",d}function ra(b,p,d,m,D){const V=[];d.forEach(Wt=>V.push(Sc(Wt)));const J=[];m.forEach((Wt,we)=>{const ur=new Map;Wt.forEach(xr=>{const mo=p.computeStyle(we,xr,D);ur.set(xr,mo),(!mo||0==mo.length)&&(we[ns]=eu,J.push(we))}),b.set(we,ur)});let _t=0;return d.forEach(Wt=>Sc(Wt,V[_t++])),J}function yh(b,p){const d=new Map;if(b.forEach(_t=>d.set(_t,[])),0==p.length)return d;const D=new Set(p),V=new Map;function J(_t){if(!_t)return 1;let Wt=V.get(_t);if(Wt)return Wt;const we=_t.parentNode;return Wt=d.has(we)?we:D.has(we)?1:J(we),V.set(_t,Wt),Wt}return p.forEach(_t=>{const Wt=J(_t);1!==Wt&&d.get(Wt).push(_t)}),d}function is(b,p){b.classList?.add(p)}function Vc(b,p){b.classList?.remove(p)}function iu(b,p,d){Xs(d).onDone(()=>b.processLeaveNode(p))}function pd(b,p){for(let d=0;dD.add(V)):p.set(b,m),d.delete(b),!0}class Tc{constructor(p,d,m){this._driver=d,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(D,V)=>{},this._transitionEngine=new nu(p.body,d,m),this._timelineEngine=new mh(p.body,d,m),this._transitionEngine.onRemovalComplete=(D,V)=>this.onRemovalComplete(D,V)}registerTrigger(p,d,m,D,V){const J=p+"-"+D;let _t=this._triggerCache[J];if(!_t){const Wt=[],ur=Yd(this._driver,V,Wt,[]);if(Wt.length)throw function td(){return new c.wOt(3404,!1)}();_t=function Gg(b,p,d){return new Ju(b,p,d)}(D,ur,this._normalizer),this._triggerCache[J]=_t}this._transitionEngine.registerTrigger(d,D,_t)}register(p,d){this._transitionEngine.register(p,d)}destroy(p,d){this._transitionEngine.destroy(p,d)}onInsert(p,d,m,D){this._transitionEngine.insertNode(p,d,m,D)}onRemove(p,d,m){this._transitionEngine.removeNode(p,d,m)}disableAnimations(p,d){this._transitionEngine.markElementAsDisabled(p,d)}process(p,d,m,D){if("@"==m.charAt(0)){const[V,J]=ed(m);this._timelineEngine.command(V,d,J,D)}else this._transitionEngine.trigger(p,d,m,D)}listen(p,d,m,D,V){if("@"==m.charAt(0)){const[J,_t]=ed(m);return this._timelineEngine.listen(J,d,_t,V)}return this._transitionEngine.listen(p,d,m,D,V)}flush(p=-1){this._transitionEngine.flush(p)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(p){this._transitionEngine.afterFlushAnimationsDone(p)}}class zc{static{this.initialStylesByElement=new WeakMap}constructor(p,d,m){this._element=p,this._startStyles=d,this._endStyles=m,this._state=0;let D=zc.initialStylesByElement.get(p);D||zc.initialStylesByElement.set(p,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&Qs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qs(this._element,this._initialStyles),this._endStyles&&(Qs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(zc.initialStylesByElement.delete(this._element),this._startStyles&&(El(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(El(this._element,this._endStyles),this._endStyles=null),Qs(this._element,this._initialStyles),this._state=3)}}function ip(b){let p=null;return b.forEach((d,m)=>{(function Yg(b){return"display"===b||"position"===b})(m)&&(p=p||new Map,p.set(m,d))}),p}class xh{constructor(p,d,m,D){this.element=p,this.keyframes=d,this.options=m,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(p=>p()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const p=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,p,this.options),this._finalKeyframe=p.length?p[p.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(p){const d=[];return p.forEach(m=>{d.push(Object.fromEntries(m))}),d}_triggerWebAnimation(p,d,m){return p.animate(this._convertKeyframesToObject(d),m)}onStart(p){this._originalOnStartFns.push(p),this._onStartFns.push(p)}onDone(p){this._originalOnDoneFns.push(p),this._onDoneFns.push(p)}onDestroy(p){this._onDestroyFns.push(p)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(p=>p()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(p=>p()),this._onDestroyFns=[])}setPosition(p){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=p*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const p=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,D)=>{"offset"!==D&&p.set(D,this._finished?m:Qu(this.element,D))}),this.currentSnapshot=p}triggerCallback(p){const d="start"===p?this._onStartFns:this._onDoneFns;d.forEach(m=>m()),d.length=0}}class cu{validateStyleProperty(p){return!0}validateAnimatableStyleProperty(p){return!0}containsElement(p,d){return Ku(p,d)}getParentElement(p){return kl(p)}query(p,d,m){return Yp(p,d,m)}computeStyle(p,d,m){return Qu(p,d)}animate(p,d,m,D,V,J=[]){const Wt={duration:m,delay:D,fill:0==D?"both":"forwards"};V&&(Wt.easing=V);const we=new Map,ur=J.filter(Zr=>Zr instanceof xh);(function Ac(b,p){return 0===b||0===p})(m,D)&&ur.forEach(Zr=>{Zr.currentSnapshot.forEach((yo,qo)=>we.set(qo,yo))});let xr=function Yu(b){return b.length?b[0]instanceof Map?b:b.map(p=>new Map(Object.entries(p))):[]}(d).map(Zr=>new Map(Zr));xr=function zg(b,p,d){if(d.size&&p.length){let m=p[0],D=[];if(d.forEach((V,J)=>{m.has(J)||D.push(J),m.set(J,V)}),D.length)for(let V=1;VJ.set(_t,Qu(b,_t)))}}return p}(p,xr,we);const mo=function su(b,p){let d=null,m=null;return Array.isArray(p)&&p.length?(d=ip(p[0]),p.length>1&&(m=ip(p[p.length-1]))):p instanceof Map&&(d=ip(p)),d||m?new zc(b,d,m):null}(p,xr);return new xh(p,xr,Wt,mo)}}const _h="@.disabled";class kh{constructor(p,d,m,D){this.namespaceId=p,this.delegate=d,this.engine=m,this._onDestroy=D,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(p){this.delegate.destroyNode?.(p)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(p,d){return this.delegate.createElement(p,d)}createComment(p){return this.delegate.createComment(p)}createText(p){return this.delegate.createText(p)}appendChild(p,d){this.delegate.appendChild(p,d),this.engine.onInsert(this.namespaceId,d,p,!1)}insertBefore(p,d,m,D=!0){this.delegate.insertBefore(p,d,m),this.engine.onInsert(this.namespaceId,d,p,D)}removeChild(p,d,m){this.parentNode(d)&&this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(p,d){return this.delegate.selectRootElement(p,d)}parentNode(p){return this.delegate.parentNode(p)}nextSibling(p){return this.delegate.nextSibling(p)}setAttribute(p,d,m,D){this.delegate.setAttribute(p,d,m,D)}removeAttribute(p,d,m){this.delegate.removeAttribute(p,d,m)}addClass(p,d){this.delegate.addClass(p,d)}removeClass(p,d){this.delegate.removeClass(p,d)}setStyle(p,d,m,D){this.delegate.setStyle(p,d,m,D)}removeStyle(p,d,m){this.delegate.removeStyle(p,d,m)}setProperty(p,d,m){"@"==d.charAt(0)&&d==_h?this.disableAnimations(p,!!m):this.delegate.setProperty(p,d,m)}setValue(p,d){this.delegate.setValue(p,d)}listen(p,d,m){return this.delegate.listen(p,d,m)}disableAnimations(p,d){this.engine.disableAnimations(p,d)}}class Eh extends kh{constructor(p,d,m,D,V){super(d,m,D,V),this.factory=p,this.namespaceId=d}setProperty(p,d,m){"@"==d.charAt(0)?"."==d.charAt(1)&&d==_h?this.disableAnimations(p,m=void 0===m||!!m):this.engine.process(this.namespaceId,p,d.slice(1),m):this.delegate.setProperty(p,d,m)}listen(p,d,m){if("@"==d.charAt(0)){const D=function ap(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(p);let V=d.slice(1),J="";return"@"!=V.charAt(0)&&([V,J]=function Za(b){const p=b.indexOf(".");return[b.substring(0,p),b.slice(p+1)]}(V)),this.engine.listen(this.namespaceId,D,V,J,_t=>{this.factory.scheduleListenerCallback(_t._data||-1,m,_t)})}return this.delegate.listen(p,d,m)}}class Tm{constructor(p,d,m){this.delegate=p,this.engine=d,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(D,V)=>{V?.removeChild(null,D)}}createRenderer(p,d){const D=this.delegate.createRenderer(p,d);if(!p||!d?.data?.animation){const we=this._rendererCache;let ur=we.get(D);return ur||(ur=new kh("",D,this.engine,()=>we.delete(D)),we.set(D,ur)),ur}const V=d.id,J=d.id+"-"+this._currentId;this._currentId++,this.engine.register(J,p);const _t=we=>{Array.isArray(we)?we.forEach(_t):this.engine.registerTrigger(V,J,p,we.name,we)};return d.data.animation.forEach(_t),new Eh(this,J,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(p,d,m){if(p>=0&&pd(m));const D=this._animationCallbacksBuffer;0==D.length&&queueMicrotask(()=>{this._zone.run(()=>{D.forEach(V=>{const[J,_t]=V;J(_t)}),this._animationCallbacksBuffer=[]})}),D.push([d,m])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const lu=[{provide:rd,useFactory:function Mm(){return new od}},{provide:Tc,useClass:(()=>{class b extends Tc{constructor(d,m,D){super(d,m,D)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ct.qQ),c.KVO($d),c.KVO(rd))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})()},{provide:c._9s,useFactory:function Dh(b,p,d){return new Tm(b,p,d)},deps:[o.B7,Tc,c.SKi]}],sp=[{provide:$d,useFactory:()=>new cu},{provide:c.bc$,useValue:"BrowserAnimations"},...lu];var uu=r(9030),hd=r(3726),dc=r(8793),Ia=r(1413),Sh=r(5343);const ul=new M.c(Sh.l);var Hc=r(7786),Rl=r(6648),Qa=r(6354),Bi=r(17),pu=r(8071),cp=r(8750),qg=r(9974);const gd={connector:()=>new Ia.B};function lp(b,p=gd){const{connector:d}=p;return(0,qg.N)((m,D)=>{const V=d();(0,cp.Tg)(b(function Jg(b){return new M.c(p=>b.subscribe(p))}(V))).subscribe(D),D.add(m.subscribe(V))})}var md=r(8141);const Nl="Service workers are disabled or not supported by this browser";class Ll{constructor(p){if(this.serviceWorker=p,p){const m=(0,hd.R)(p,"controllerchange").pipe((0,Qa.T)(()=>p.controller)),D=(0,uu.v)(()=>(0,O.of)(p.controller)),V=(0,dc.x)(D,m);this.worker=V.pipe((0,Vt.p)(ur=>!!ur)),this.registration=this.worker.pipe((0,dt.n)(()=>p.getRegistration()));const we=(0,hd.R)(p,"message").pipe((0,Qa.T)(ur=>ur.data)).pipe((0,Vt.p)(ur=>ur&&ur.type)).pipe(function fd(b){return b?p=>lp(b)(p):p=>function Th(b,p){const d=(0,pu.T)(b)?b:()=>b;return(0,pu.T)(p)?lp(p,{connector:d}):m=>new Bi.G(m,d)}(new Ia.B)(p)}());we.connect(),this.events=we}else this.worker=this.events=this.registration=function dp(b){return(0,uu.v)(()=>(0,I.$)(new Error(b)))}(Nl)}postMessage(p,d){return this.worker.pipe((0,T.s)(1),(0,md.M)(m=>{m.postMessage({action:p,...d})})).toPromise().then(()=>{})}postMessageWithOperation(p,d,m){const D=this.waitForOperationCompleted(m),V=this.postMessage(p,d);return Promise.all([V,D]).then(([,J])=>J)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let d;return d="string"==typeof p?m=>m.type===p:m=>p.includes(m.type),this.events.pipe((0,Vt.p)(d))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,T.s)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,Vt.p)(d=>d.nonce===p),(0,T.s)(1),(0,Qa.T)(d=>{if(void 0!==d.result)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let uc=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,this.pushManager=null,this.subscriptionChanges=new Ia.B,!d.isEnabled)return this.messages=ul,this.notificationClicks=ul,void(this.subscription=ul);this.messages=this.sw.eventsOfType("PUSH").pipe((0,Qa.T)(D=>D.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,Qa.T)(D=>D.data)),this.pushManager=this.sw.registration.pipe((0,Qa.T)(D=>D.pushManager));const m=this.pushManager.pipe((0,dt.n)(D=>D.getSubscription()));this.subscription=(0,Hc.h)(m,this.subscriptionChanges)}requestSubscription(d){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Nl));const m={userVisibleOnly:!0};let D=this.decodeBase64(d.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),V=new Uint8Array(new ArrayBuffer(D.length));for(let J=0;JJ.subscribe(m)),(0,T.s)(1)).toPromise().then(J=>(this.subscriptionChanges.next(J),J))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,T.s)(1),(0,dt.n)(m=>{if(null===m)throw new Error("Not subscribed to push notifications.");return m.unsubscribe().then(D=>{if(!D)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Nl))}decodeBase64(d){return atob(d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ll))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})(),hu=(()=>{class b{get isEnabled(){return this.sw.isEnabled}constructor(d){if(this.sw=d,!d.isEnabled)return this.versionUpdates=ul,void(this.unrecoverable=ul);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Nl));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:d},d)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Nl));const d=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:d},d)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(Ll))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac})}}return b})();const up=new c.nKC("");function Om(b,p,d,m){return()=>{if(!(0,Ct.UE)(m)||!("serviceWorker"in navigator)||!1===d.enabled)return;const D=b.get(c.SKi),V=b.get(c.o8S);let J;if(D.runOutsideAngular(()=>{const _t=navigator.serviceWorker,Wt=()=>_t.controller?.postMessage({action:"INITIALIZE"});_t.addEventListener("controllerchange",Wt),V.onDestroy(()=>{_t.removeEventListener("controllerchange",Wt)})}),"function"==typeof d.registrationStrategy)J=d.registrationStrategy();else{const[_t,...Wt]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(_t){case"registerImmediately":J=(0,O.of)(null);break;case"registerWithDelay":J=tf(+Wt[0]||0);break;case"registerWhenStable":const we=(0,Rl.H)(b.get(c.o8S).whenStable());J=Wt[0]?(0,Hc.h)(we,tf(+Wt[0])):we;break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}D.runOutsideAngular(()=>J.pipe((0,T.s)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:d.scope}).catch(_t=>console.error("Service worker registration failed with:",_t))))}}function tf(b){return(0,O.of)(null).pipe((0,ct.c)(b))}function ef(b,p){return new Ll((0,Ct.UE)(p)&&!1!==b.enabled?navigator.serviceWorker:void 0)}class Mh{}var Mc=r(7468),bd=r(2498),pp=r(9437),rf=r(4668),pl=r(4572),wd=r(983);function gu(b){return b&&b.constructor&&"function"==typeof b.constructor.isBuffer&&b.constructor.isBuffer(b)}function fu(b){return b}function hp(b,p){const d=(p=p||{}).delimiter||".",m=p.maxDepth,D=p.transformKey||fu,V={};return function J(_t,Wt,we){we=we||1,Object.keys(_t).forEach(function(ur){const xr=_t[ur],mo=p.safe&&Array.isArray(xr),Zr=Object.prototype.toString.call(xr),yo=gu(xr),qo="[object Object]"===Zr||"[object Array]"===Zr,hn=Wt?Wt+d+D(ur):D(ur);if(!mo&&!yo&&qo&&Object.keys(xr).length&&(!p.maxDepth||we0&&(mo=_t(xr.shift()),Zr=_t(xr[0]))}yo[mo]=Wc(b[ur],p)}),V}class yd{translations;constructor(p){this.translations=p}getTranslation(p){return(0,O.of)(this.translations.get(p)||{})}}const gp=new c.nKC("TRANSLOCO_LOADER");function mu(b,p){return b&&(Object.prototype.hasOwnProperty.call(b,p)?b[p]:p.split(".").reduce((d,m)=>d?.[m],b))}function Rh(b){return b?Array.isArray(b)?b.length:Oa(b)?Object.keys(b).length:b?b.length:0:0}function pc(b){return"string"==typeof b}function Oa(b){return!!b&&"object"==typeof b&&!Array.isArray(b)}function wu(b){return null==b}function af(b){return!1===wu(b)}function Kc(b){return b&&"string"==typeof b.scope}function vd(b){return hp(b,{safe:!0})}const Fl=new c.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Gc}),Gc={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Fh(b={}){return{...Gc,...b,missingHandler:{...Gc.missingHandler,...b.missingHandler},flatten:{...Gc.flatten,...b.flatten}}}const xd=new c.nKC("TRANSLOCO_TRANSPILER");let Bh=(()=>{class b{interpolationMatcher;constructor(d){this.interpolationMatcher=function Uh(b){const[p,d]=b.interpolation;return new RegExp(`${p}(.*?)${d}`,"g")}(d??Gc)}transpile(d,m={},D,V){return pc(d)?d.replace(this.interpolationMatcher,(J,_t)=>(_t=_t.trim(),af(m[_t])?m[_t]:af(D[_t])?this.transpile(D[_t],m,D,V):"")):(m&&(Oa(d)?d=this.handleObject(d,m,D,V):Array.isArray(d)&&(d=this.handleArray(d,m,D,V))),d)}handleObject(d,m={},D,V){let J=d;return Object.keys(m).forEach(_t=>{const Wt=mu(J,_t),we=mu(m,_t),ur=this.transpile(Wt,we,D,V);J=function nf(b,p,d){b={...b};const m=p.split("."),D=m.length-1;return m.reduce((V,J,_t)=>(V[J]=_t===D?d:Array.isArray(V[J])?V[J].slice():{...V[J]},V&&V[J]),b),b}(J,_t,ur)}),J}handleArray(d,m={},D,V){return d.map(J=>this.transpile(J,m,D,V))}static \u0275fac=function(m){return new(m||b)(c.KVO(Fl,8))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const _d=new c.nKC("TRANSLOCO_MISSING_HANDLER");let wp=(()=>{class b{handle(d,m){return m.missingHandler.logMissingKey&&!m.prodMode&&console.warn(`%c Missing translation for '${d}'`,"font-size: 12px; color: red"),d}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const yu=new c.nKC("TRANSLOCO_INTERCEPTOR");let Bl=(()=>{class b{preSaveTranslation(d){return d}preSaveTranslationKey(d,m){return m}static \u0275fac=function(m){return new(m||b)};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();const v=new c.nKC("TRANSLOCO_FALLBACK_STRATEGY");let dr,_=(()=>{class b{userConfig;constructor(d){this.userConfig=d}getNextLangs(){const d=this.userConfig.fallbackLang;if(!d)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(d)?d:[d]}static \u0275fac=function(m){return new(m||b)(c.KVO(Fl))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac})}return b})();function S(b){if(!b)return"";const p=b.split("/");return p.pop(),p.join("/")}function j(b){return b?b.split("/").pop():""}function ve(b){return{scope:S(b)||null,langName:j(b)}}function Ne(b){const{path:p,inlineLoader:d,mainLoader:m,data:D}=b;if(d){if(!1===function fp(b){return"function"==typeof b}(d[p]))throw`You're using an inline loader but didn't provide a loader for ${p}`;return d[p]().then(J=>J.default?J.default:J)}return m.getTranslation(p,D)}let Qe=(()=>{class b{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new Ia.B;events$=this.events.asObservable();config;constructor(d,m,D,V,J,_t){this.loader=d,this.parser=m,this.missingHandler=D,this.interceptor=V,this.fallbackStrategy=_t,this.loader||(this.loader=new yd(this.translations)),dr=this,this.config=JSON.parse(JSON.stringify(J)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new $t.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Wt=>{"translationLoadSuccess"===Wt.type&&Wt.wasFailure&&this.setActiveLang(Wt.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(d){this.defaultLang=d}getActiveLang(){return this.lang.getValue()}setActiveLang(d){return this.parser.onLangChanged?.(d),this.lang.next(d),this.events.next({type:"langChanged",payload:ve(d)}),this}setAvailableLangs(d){this.availableLangs=d}getAvailableLangs(){return this.availableLangs}load(d,m={}){const D=this.cache.get(d);if(D)return D;let V;const J=this._isLangScoped(d);let _t;J&&(_t=S(d));const Wt={path:d,mainLoader:this.loader,inlineLoader:m.inlineLoader,data:J?{scope:_t}:void 0};if(this.useFallbackTranslation(d)){const ur=J?`${_t}/${this.firstFallbackLang}`:this.firstFallbackLang,xr=function Be({mainLoader:b,path:p,data:d,fallbackPath:m,inlineLoader:D}){return(m?[p,m]:[p]).map(J=>{const _t=Ne({path:J,mainLoader:b,inlineLoader:D,data:d});return(0,Rl.H)(_t).pipe((0,Qa.T)(Wt=>({translation:Wt,lang:J})))})}({...Wt,fallbackPath:ur});V=(0,Mc.p)(xr)}else{const ur=Ne(Wt);V=(0,Rl.H)(ur)}const we=V.pipe((0,bd.L)(this.config.failedRetries),(0,md.M)(ur=>{Array.isArray(ur)?ur.forEach(xr=>{this.handleSuccess(xr.lang,xr.translation),xr.lang!==d&&this.cache.set(xr.lang,(0,O.of)({}))}):this.handleSuccess(d,ur)}),(0,pp.W)(ur=>(this.config.prodMode||console.error(`Error while trying to load "${d}"`,ur),this.handleFailure(d,m))),(0,rf.t)(1));return this.cache.set(d,we),we}translate(d,m={},D=this.getActiveLang()){if(!d)return d;const{scope:V,resolveLang:J}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(we=>this.translate(V?`${V}.${we}`:we,m,J));d=V?`${V}.${d}`:d;const _t=this.getTranslation(J),Wt=_t[d];return Wt?this.parser.transpile(Wt,m,_t,d):this._handleMissingKey(d,Wt,m)}selectTranslate(d,m,D,V=!1){let J;const _t=(we,ur)=>this.load(we,ur).pipe((0,Qa.T)(()=>V?this.translateObject(d,m,we):this.translate(d,m,we)));if(wu(D))return this.langChanges$.pipe((0,dt.n)(we=>_t(we)));if(function Ph(b){return Array.isArray(b)&&b.every(Kc)}(D)||Kc(D)){const we=Array.isArray(D)?D[0]:D;D=we.scope,J=function Zt(b,p){return function bp(b){return b&&Oa(b.loader)}(b)?function Bt(b,p){return Object.keys(b).reduce((d,m)=>(d[`${p}/${m}`]=b[m],d),{})}(b.loader,p):void 0}(we,we.scope)}if(this.isLang(D)||this.isScopeWithLang(D))return _t(D);const Wt=D;return this.langChanges$.pipe((0,dt.n)(we=>_t(`${Wt}/${we}`,{inlineLoader:J})))}isScopeWithLang(d){return this.isLang(j(d))}translateObject(d,m={},D=this.getActiveLang()){if(pc(d)||Array.isArray(d)){const{resolveLang:J,scope:_t}=this.resolveLangAndScope(D);if(Array.isArray(d))return d.map(ur=>this.translateObject(_t?`${_t}.${ur}`:ur,m,J));const Wt=this.getTranslation(J),we=function sf(b){return Wc(b)}(this.getObjectByKey(Wt,d=_t?`${_t}.${d}`:d));return function Nh(b){return 0===Rh(b)}(we)?this.translate(d,m,D):this.parser.transpile(we,m,Wt,d)}const V=[];for(const[J,_t]of this.getEntries(d))V.push(this.translateObject(J,_t,D));return V}selectTranslateObject(d,m,D){if(pc(d)||Array.isArray(d))return this.selectTranslate(d,m,D,!0);const[[V,J],..._t]=this.getEntries(d);return this.selectTranslateObject(V,J,D).pipe((0,Qa.T)(Wt=>{const we=[Wt];for(const[ur,xr]of _t)we.push(this.translateObject(ur,xr,D));return we}))}getTranslation(d){if(d){if(this.isLang(d))return this.translations.get(d)||{};{const{scope:m,resolveLang:D}=this.resolveLangAndScope(d),V=this.translations.get(D)||{};return this.getObjectByKey(V,m)}}return this.translations}selectTranslation(d){let m=this.langChanges$;if(d){const D=j(d)!==d;m=this.isLang(d)||D?(0,O.of)(d):this.langChanges$.pipe((0,Qa.T)(V=>`${d}/${V}`))}return m.pipe((0,dt.n)(D=>this.load(D).pipe((0,Qa.T)(()=>this.getTranslation(D)))))}setTranslation(d,m=this.getActiveLang(),D={}){const J={merge:!0,emitChange:!0,...D},_t=S(m);let Wt=d;if(_t){const Zr=this.getMappedScope(_t);Wt=vd({[Zr]:d})}const we=_t?j(m):m,ur={...J.merge&&this.getTranslation(we),...Wt},xr=this.config.flatten.aot?ur:vd(ur),mo=this.interceptor.preSaveTranslation(xr,we);this.translations.set(we,mo),J.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(d,m,D=this.getActiveLang(),V={}){const J=this.interceptor.preSaveTranslationKey(d,m,D);this.setTranslation({[d]:J},D,{...V,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:d}){const m=Array.isArray(d)?d[0]:d;d&&this.useFallbackTranslation(m)&&(this.firstFallbackLang=m)}_handleMissingKey(d,m,D){if(this.config.missingHandler.allowEmpty&&""===m)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const V=this.translate(d,D,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,V}return this.missingHandler.handle(d,this.getMissingHandlerData(),D)}_isLangScoped(d){return-1===this.getAvailableLangsIds().indexOf(d)}isLang(d){return-1!==this.getAvailableLangsIds().indexOf(d)}_loadDependencies(d,m){const D=j(d);return this._isLangScoped(d)&&!this.isLoadedTranslation(D)?(0,pl.z)([this.load(D),this.load(d,{inlineLoader:m})]):this.load(d,{inlineLoader:m})}_completeScopeWithLang(d){return this._isLangScoped(d)&&!this.isLang(j(d))?`${d}/${this.getActiveLang()}`:d}_setScopeAlias(d,m){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[d]=m}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(d){return Rh(this.getTranslation(d))}getAvailableLangsIds(){return pc(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(m=>m.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(d){return this.config.missingHandler.useFallbackTranslation&&d!==this.firstFallbackLang}handleSuccess(d,m){this.setTranslation(m,d,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:ve(d)}),this.failedLangs.forEach(D=>this.cache.delete(D)),this.failedLangs.clear()}handleFailure(d,m){wu(m.failedCounter)&&(m.failedCounter=0,m.fallbackLangs||(m.fallbackLangs=this.fallbackStrategy.getNextLangs(d)));const D=d.split("/"),J=m.fallbackLangs[m.failedCounter];if(this.failedLangs.add(d),this.cache.has(J))return this.handleSuccess(J,this.getTranslation(J)),wd.w;if(!J||J===D[D.length-1]){let we="Unable to load translation and all the fallback languages";throw D.length>1&&(we+=", did you misspelled the scope name?"),new Error(we)}let Wt=J;return D.length>1&&(D[D.length-1]=J,Wt=D.join("/")),m.failedCounter++,this.events.next({type:"translationLoadFailure",payload:ve(d)}),this.load(Wt,m)}getMappedScope(d){const{scopeMapping:m={}}=this.config;return m[d]||function bu(b){return b.replace(/(?:^\w|[A-Z]|\b\w)/g,(p,d)=>0==d?p.toLowerCase():p.toUpperCase()).replace(/\s+|_|-|\//g,"")}(d)}resolveLangAndScope(d){let D,m=d;if(this._isLangScoped(d)){const V=j(d),J=this.isLang(V);m=J?V:this.getActiveLang(),D=this.getMappedScope(J?S(d):d)}return{scope:D,resolveLang:m}}getObjectByKey(d,m){const D={},V=`${m}.`;for(const J in d)J.startsWith(V)&&(D[J.replace(V,"")]=d[J]);return D}getEntries(d){return d instanceof Map?d.entries():Object.entries(d)}static \u0275fac=function(m){return new(m||b)(c.KVO(gp,8),c.KVO(xd),c.KVO(_d),c.KVO(yu),c.KVO(Fl),c.KVO(v))};static \u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})();function wo(b){return(0,c.EmA)([{provide:xd,useClass:b,deps:[Fl]}])}function Zo(b){return(0,c.EmA)([{provide:v,useClass:b,deps:[Fl]}])}function an(b){return(0,c.EmA)([{provide:_d,useClass:b}])}function Ao(b){return(0,c.EmA)([{provide:yu,useClass:b}])}new c.nKC("TRANSLOCO_LANG"),new c.nKC("TRANSLOCO_LOADING_TEMPLATE"),new c.nKC("TRANSLOCO_SCOPE"),new c.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new c.nKC("TRANSLOCO_TEST_OPTIONS - Testing options");var Ic=r(2771);let xa=(()=>{class b{constructor(){this._httpClient=(0,c.WQX)(q.Qq),this._navigation=new Ic.m(1)}get navigation$(){return this._navigation.asObservable()}get(){return this._httpClient.get("api/navigation").pipe((0,md.M)(d=>{this._navigation.next(d)}))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})(),hc=(()=>{class b{constructor(d){this._httpClient=d,this._chat=new $t.t(null),this._chats=new $t.t(null)}get chat$(){return this._chat.asObservable()}get chats$(){return this._chats.asObservable()}getChats(){return this._httpClient.get("api/apps/chat/chats").pipe((0,md.M)(d=>{this._chats.next(d)}))}getChatById(d){return this._httpClient.get("api/apps/chat/chat",{params:{id:d}}).pipe((0,Qa.T)(m=>(this._chat.next(m),m)),(0,dt.n)(m=>m?(0,O.of)(m):(0,I.$)("Could not found chat with id of "+d+"!")))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const Xc=new class Js{constructor(p){this.version=p,this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}("0.0.9").full;var Na=r(6977),vu=r(4085),xu=r(7575);function Vw(b,p){if(1&b&&c.nrm(0,"mat-progress-bar",0),2&b){const d=c.XpG();c.Y8G("mode",d.mode)("value",d.progress)}}let df=(()=>{class b{constructor(){this._angorLoadingService=(0,c.WQX)(St),this.autoMode=!0,this.progress=0,this.show=!1,this._unsubscribeAll=new Ia.B}ngOnChanges(d){"autoMode"in d&&this._angorLoadingService.setAutoMode((0,vu.he)(d.autoMode.currentValue))}ngOnInit(){this._angorLoadingService.mode$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.mode=d}),this._angorLoadingService.progress$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.progress=d}),this._angorLoadingService.show$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.show=d})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-loading-bar"]],inputs:{autoMode:"autoMode"},exportAs:["angorLoadingBar"],standalone:!0,features:[c.OA$,c.aNF],decls:1,vars:1,consts:[[3,"mode","value"]],template:function(m,D){1&m&&c.DNE(0,Vw,1,2,"mat-progress-bar",0),2&m&&c.vxM(D.show?0:-1)},dependencies:[xu.PO,xu.HM],styles:["angor-loading-bar{position:fixed;top:0;z-index:999;width:100%;height:6px}\n"],encapsulation:2})}}return b})();function yp(b,p){1&b&&c.nrm(0,"router-outlet")}let Rm=(()=>{class b{constructor(){this._unsubscribeAll=new Ia.B}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["empty-layout"]],standalone:!0,features:[c.aNF],decls:4,vars:1,consts:[[1,"flex","w-full","flex-auto","flex-col"],[1,"flex","flex-auto","flex-col"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"div",0)(2,"div",1),c.DNE(3,yp,1,0,"router-outlet"),c.k0s()()),2&m&&(c.R7$(3),c.vxM(3))},dependencies:[df,s.n3],encapsulation:2})}}return b})();var Cs=r(8834),Rs=r(9213),vp=r(4823);function Wv(b,p){1&b&&c.nrm(0,"mat-icon",3)}let _u=(()=>{class b{constructor(){this._document=(0,c.WQX)(Ct.qQ)}toggleFullscreen(){this._document.fullscreenEnabled?this._document.fullscreenElement?this._document.exitFullscreen():this._document.documentElement.requestFullscreen().catch(()=>{console.error("Entering fullscreen mode failed.")}):console.log("Fullscreen is not available in this browser.")}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["angor-fullscreen"]],inputs:{iconTpl:"iconTpl",tooltip:"tooltip"},exportAs:["angorFullscreen"],standalone:!0,features:[c.aNF],decls:4,vars:2,consts:[["defaultIconTpl",""],["mat-icon-button","",3,"click","matTooltip"],[3,"ngTemplateOutlet"],["svgIcon","heroicons_outline:arrows-pointing-out"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){return c.eBV(V),c.Njj(D.toggleFullscreen())}),c.eu8(1,2),c.k0s(),c.DNE(2,Wv,1,0,"ng-template",null,0,c.C5r)}if(2&m){const V=c.sdS(3);c.Y8G("matTooltip",D.tooltip||"Toggle Fullscreen"),c.R7$(),c.Y8G("ngTemplateOutlet",D.iconTpl||V)}},dependencies:[Cs.Hl,Cs.iY,vp.uc,vp.oV,Ct.T3,Rs.m_,Rs.An],encapsulation:2,changeDetection:0})}}return b})();var xp=r(7857),_p=r(6939),uf=r(6231);let Nm=(()=>{class b{constructor(d){this.relayService=d,this.notificationSubject=new $t.t([]),this.notificationCount=new $t.t(0),this.lastNotificationTimestamp=null,this.initializeNotificationData()}initializeNotificationData(){this.notificationCount.next(this.loadCountFromLocalStorage()),this.lastNotificationTimestamp=this.loadTimestampFromLocalStorage()}loadCountFromLocalStorage(){const d=localStorage.getItem("notificationCount");return d?parseInt(d,10):0}loadTimestampFromLocalStorage(){const d=localStorage.getItem("lastNotificationTimestamp");return d?parseInt(d,10):null}saveNotificationData(d,m){localStorage.setItem("notificationCount",d.toString()),localStorage.setItem("lastNotificationTimestamp",m.toString())}getNotificationObservable(){return this.notificationSubject.asObservable()}getNotificationCount(){return this.notificationCount.asObservable()}loadFilterPreferences(){const d=localStorage.getItem("notificationSettings");return d?JSON.parse(d):[1,3,4,7,9735]}subscribeToNotifications(d){var m=this;return(0,k.A)(function*(){yield m.relayService.ensureConnectedRelays();const D=m.relayService.getPool(),V=m.relayService.getConnectedRelays();if(0===V.length)throw new Error("No connected relays");const J=m.loadTimestampFromLocalStorage(),_t=m.loadFilterPreferences();0===_t.length&&_t.push(1,3,4,7,9735);const Wt={kinds:_t,"#p":[d],limit:50,since:J||void 0};return new Promise(we=>{D.subscribeMany(V,[Wt],{onevent:xr=>m.handleNotificationEvent(xr,d),oneose(){we()}})})})()}handleNotificationEvent(d,m){if(this.isNotificationEvent(d,m)){const V=new Date(1e3*d.created_at);let J="",_t="",Wt="";switch(d.kind){case 1:J="Mention",_t="Mentioned you in an event.",Wt="heroicons_outline:at-symbol";break;case 4:J="Private Message",_t="Sent a private message.",Wt="heroicons_outline:envelope-open";break;case 9735:J="Zap",_t="Received a zap event.",Wt="feather:zap";break;case 3:J="New Follower",_t="You have a new follower.",Wt="heroicons_outline:user-plus";break;case 7:J="New Like",_t="You have a new Like.",Wt="heroicons_outline:hand-thumb-up";break;default:J="Notification",Wt="heroicons_outline:bell"}const xr=[{id:d.id,icon:Wt,title:J,description:_t,time:V,kind:d.kind,read:!1},...this.notificationSubject.value].slice(0,50);this.notificationSubject.next(xr),this.incrementNotificationCount(d.created_at)}}incrementNotificationCount(d){const m=this.notificationCount.value+1;this.notificationCount.next(m),this.saveNotificationData(m,d)}markAllAsRead(){const d=this.notificationSubject.value.map(D=>({...D,read:!0}));this.notificationSubject.next(d),this.notificationCount.next(0);const m=Math.floor(Date.now()/1e3);this.saveNotificationData(0,m)}isNotificationEvent(d,m){return d.tags.some(D=>"p"===D[0]&&D[1]===m)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(uf.b))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var kd=r(7987),ku=r(4930);const pf=["notificationsOrigin"],Lm=["notificationsPanel"],Ed=b=>({unread:b}),Pm=(b,p)=>({"bg-gray-400 dark:bg-gray-500 sm:opacity-0 sm:group-hover:opacity-100":b,"bg-primary":p});function jh(b,p){if(1&b&&(c.j41(0,"span",4)(1,"span",6),c.EFF(2),c.k0s()()),2&b){const d=c.XpG();c.R7$(2),c.SpI(" ",d.unreadCount," ")}}function Fm(b,p){1&b&&c.eu8(0)}function Bm(b,p){if(1&b&&(c.j41(0,"a",23),c.DNE(1,Fm,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("href",d.link,c.B4B),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function Um(b,p){1&b&&c.eu8(0)}function hf(b,p){if(1&b&&(c.j41(0,"a",24),c.DNE(1,Um,1,0,"ng-container",25),c.k0s()),2&b){const d=c.XpG(2).$implicit,m=c.sdS(9);c.Y8G("routerLink",d.link),c.R7$(),c.Y8G("ngTemplateOutlet",m)}}function $m(b,p){if(1&b&&c.DNE(0,Bm,2,2,"a",23)(1,hf,2,2,"a",24),2&b){const d=c.XpG().$implicit;c.vxM(d.useRouter?-1:0),c.R7$(),c.vxM(d.useRouter?1:-1)}}function Vh(b,p){1&b&&c.eu8(0)}function gf(b,p){if(1&b&&(c.j41(0,"div",17),c.DNE(1,Vh,1,0,"ng-container",25),c.k0s()),2&b){c.XpG();const d=c.sdS(9);c.R7$(),c.Y8G("ngTemplateOutlet",d)}}function Eu(b,p){if(1&b&&(c.j41(0,"div",26),c.nrm(1,"mat-icon",32),c.k0s()),2&b){const d=c.XpG(2).$implicit;c.R7$(),c.Y8G("svgIcon",d.icon)}}function zw(b,p){if(1&b&&c.nrm(0,"img",27),2&b){const d=c.XpG(2).$implicit;c.Y8G("src",d.image,c.B4B)("alt","Notification image")}}function Hw(b,p){if(1&b&&c.nrm(0,"div",29),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.title,c.npT)}}function Kv(b,p){if(1&b&&c.nrm(0,"div",30),2&b){const d=c.XpG(2).$implicit;c.Y8G("innerHTML",d.description,c.npT)}}function zh(b,p){if(1&b&&(c.DNE(0,Eu,2,1,"div",26)(1,zw,1,2,"img",27),c.j41(2,"div",28),c.DNE(3,Hw,1,1,"div",29)(4,Kv,1,1,"div",30),c.j41(5,"div",31),c.EFF(6),c.nI1(7,"date"),c.k0s()()),2&b){const d=c.XpG().$implicit;c.vxM(d.icon&&!d.image?0:-1),c.R7$(),c.vxM(d.image?1:-1),c.R7$(2),c.vxM(d.title?3:-1),c.R7$(),c.vxM(d.description?4:-1),c.R7$(2),c.SpI(" ",c.i5U(7,5,d.time,"MMM dd, h:mm a")," ")}}function ff(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",16),c.DNE(1,$m,2,2)(2,gf,2,1,"div",17),c.j41(3,"div",18)(4,"button",19),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.toggleRead(D))}),c.nrm(5,"span",20),c.k0s(),c.j41(6,"button",21),c.bIt("click",function(){const D=c.eBV(d).$implicit,V=c.XpG(2);return c.Njj(V.delete(D))}),c.nrm(7,"mat-icon",22),c.k0s()()(),c.DNE(8,zh,8,8,"ng-template",null,2,c.C5r)}if(2&b){const d=p.$implicit;c.Y8G("ngClass",c.eq3(7,Ed,!d.read)),c.R7$(),c.vxM(d.link?1:-1),c.R7$(),c.vxM(d.link?-1:2),c.R7$(2),c.Y8G("matTooltip",d.read?"Mark as unread":"Mark as read"),c.R7$(),c.Y8G("ngClass",c.l_i(9,Pm,d.read,!d.read)),c.R7$(),c.Y8G("matTooltip","Remove"),c.R7$(),c.Y8G("svgIcon","heroicons_solid:x-mark")}}function jm(b,p){1&b&&(c.j41(0,"div",15)(1,"div",33),c.nrm(2,"mat-icon",34),c.k0s(),c.j41(3,"div",35),c.EFF(4," No notifications "),c.k0s(),c.j41(5,"div",36),c.EFF(6," When you have notifications, they will appear here. "),c.k0s()()),2&b&&(c.R7$(2),c.Y8G("svgIcon","heroicons_outline:bell"))}function Vm(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",3),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.closePanel())}),c.nrm(4,"mat-icon",10),c.k0s()(),c.j41(5,"div",11),c.EFF(6,"Notifications"),c.k0s(),c.j41(7,"div",12)(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.markAllAsRead())}),c.nrm(9,"mat-icon",10),c.k0s()()(),c.j41(10,"div",14),c.Z7z(11,ff,10,12,null,null,c.BUC().trackByFn,!0),c.DNE(13,jm,7,1,"div",15),c.k0s()()}if(2&b){const d=c.XpG();c.R7$(4),c.Y8G("svgIcon","heroicons_solid:x-mark"),c.R7$(4),c.Y8G("matTooltip","Mark all as read")("disabled",0===d.unreadCount),c.R7$(),c.Y8G("svgIcon","heroicons_solid:envelope-open"),c.R7$(2),c.Dyx(d.notifications),c.R7$(2),c.vxM(d.notifications&&d.notifications.length?-1:13)}}let mf=(()=>{class b{constructor(d,m,D,V,J){this._notificationService=d,this._changeDetectorRef=m,this._overlay=D,this._viewContainerRef=V,this._signerService=J,this.notifications=[],this.unreadCount=0,this._unsubscribeAll=new Ia.B}ngOnInit(){const d=this._signerService.getPublicKey();this._notificationService.subscribeToNotifications(d).then(()=>{this._notificationService.getNotificationObservable().pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(m=>{this.notifications=m,this._changeDetectorRef.markForCheck()}),this._notificationService.getNotificationCount().pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(m=>{this.unreadCount=m,this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}openPanel(){!this._notificationsPanel||!this._notificationsOrigin||(this._overlayRef||this._createOverlay(),this._overlayRef.attach(new _p.VA(this._notificationsPanel,this._viewContainerRef)))}closePanel(){this._overlayRef&&this._overlayRef.detach()}markAllAsRead(){this._notificationService.markAllAsRead()}toggleRead(d){d.read=!d.read}trackByFn(d,m){return m.id}_createOverlay(){this._overlayRef=this._overlay.create({hasBackdrop:!0,backdropClass:"angor-backdrop-on-mobile",scrollStrategy:this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().flexibleConnectedTo(this._notificationsOrigin._elementRef.nativeElement).withLockedPosition(!0).withPush(!0).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"}])}),this._overlayRef.backdropClick().subscribe(()=>{this._overlayRef.detach()})}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(Nm),c.rXU(c.gRc),c.rXU(kd.hJ),c.rXU(c.c1b),c.rXU(ku.A))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["notifications"]],viewQuery:function(m,D){if(1&m&&(c.GBs(pf,5),c.GBs(Lm,5)),2&m){let V;c.mGM(V=c.lsd())&&(D._notificationsOrigin=V.first),c.mGM(V=c.lsd())&&(D._notificationsPanel=V.first)}},exportAs:["notifications"],standalone:!0,features:[c.aNF],decls:6,vars:2,consts:[["notificationsOrigin",""],["notificationsPanel",""],["notificationContent",""],["mat-icon-button","",3,"click"],[1,"absolute","left-0","right-0","top-0","flex","h-3","items-center","justify-center"],[3,"svgIcon"],[1,"ml-4","mt-2.5","flex","h-4","min-w-4","shrink-0","items-center","justify-center","rounded-full","bg-teal-600","px-1","text-xs","font-medium","text-indigo-50"],[1,"fixed","inset-0","flex","flex-col","overflow-hidden","shadow-lg","sm:static","sm:inset-auto","sm:w-90","sm:min-w-90","sm:rounded-2xl"],[1,"flex","shrink-0","items-center","bg-primary","py-4","pl-6","pr-4","text-on-primary"],[1,"-ml-1","mr-3","sm:hidden"],[1,"text-current","icon-size-5",3,"svgIcon"],[1,"text-lg","font-medium","leading-10"],[1,"ml-auto"],["mat-icon-button","",1,"dark:text-white",3,"click","matTooltip","disabled"],[1,"bg-card","relative","flex","flex-auto","flex-col","divide-y","overflow-y-auto","sm:max-h-120"],[1,"flex","flex-auto","flex-col","items-center","justify-center","px-8","py-12","sm:justify-start"],[1,"group","flex","hover:bg-gray-50","dark:hover:bg-black","dark:hover:bg-opacity-5",3,"ngClass"],[1,"flex","flex-auto","py-5","pl-6"],[1,"relative","my-5","ml-2","mr-6","flex","flex-col"],["mat-icon-button","",1,"h-6","min-h-6","w-6",3,"click","matTooltip"],[1,"h-2","w-2","rounded-full",3,"ngClass"],["mat-icon-button","",1,"h-6","min-h-6","w-6","sm:opacity-0","sm:group-hover:opacity-100",3,"click","matTooltip"],[1,"icon-size-4",3,"svgIcon"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"href"],[1,"flex","flex-auto","cursor-pointer","py-5","pl-6",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"mr-4","flex","h-8","w-8","shrink-0","items-center","justify-center","rounded-full","bg-gray-100","dark:bg-gray-700"],[1,"mr-4","h-8","w-8","shrink-0","overflow-hidden","rounded-full","object-cover","object-center",3,"src","alt"],[1,"flex","flex-auto","flex-col"],[1,"line-clamp-1","font-semibold",3,"innerHTML"],[1,"line-clamp-2",3,"innerHTML"],[1,"text-secondary","mt-2","text-sm","leading-none"],[1,"icon-size-5",3,"svgIcon"],[1,"flex","h-14","w-14","flex-0","items-center","justify-center","rounded-full","bg-primary-100","dark:bg-primary-600"],[1,"text-primary-700","dark:text-primary-50",3,"svgIcon"],[1,"mt-5","text-2xl","font-semibold","tracking-tight"],[1,"text-secondary","mt-1","w-full","max-w-60","text-center","text-md"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3,0),c.bIt("click",function(){return c.eBV(V),c.Njj(D.openPanel())}),c.DNE(2,jh,3,1,"span",4),c.nrm(3,"mat-icon",5),c.k0s(),c.DNE(4,Vm,14,5,"ng-template",null,1,c.C5r)}2&m&&(c.R7$(2),c.vxM(D.unreadCount>0?2:-1),c.R7$(),c.Y8G("svgIcon","heroicons_outline:bell"))},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,vp.uc,vp.oV,Ct.YU,Ct.T3,s.Wk,Ct.vh],encapsulation:2,changeDetection:0})}}return b})();var Cd=r(5888),Dd=r(9417),zm=r(5542),Cu=r(9888),bf=r(8359),Yc=r(7336),Zc=r(9327),Du=r(9172),Ww=r(8203);const Kw=["panel"],Gw=["*"];function Xw(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",1,0),c.bIt("@panelAnimation.done",function(D){c.eBV(d);const V=c.XpG();return c.Njj(V._animationDone.next(D))}),c.SdG(2),c.k0s()}if(2&b){const d=p.id,m=c.XpG();c.HbH(m._classList),c.AVh("mat-mdc-autocomplete-visible",m.showPanel)("mat-mdc-autocomplete-hidden",!m.showPanel)("mat-primary","primary"===m._color)("mat-accent","accent"===m._color)("mat-warn","warn"===m._color),c.Y8G("id",m.id)("@panelAnimation",m.isOpen?"visible":"hidden"),c.BMQ("aria-label",m.ariaLabel||null)("aria-labelledby",m._getPanelAriaLabelledby(d))}}const Yw=(0,zo.hZ)("panelAnimation",[(0,zo.wk)("void, hidden",(0,zo.iF)({opacity:0,transform:"scaleY(0.8)"})),(0,zo.kY)(":enter, hidden => visible",[(0,zo.Os)([(0,zo.i0)("0.03s linear",(0,zo.iF)({opacity:1})),(0,zo.i0)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,zo.iF)({transform:"scaleY(1)"}))])]),(0,zo.kY)(":leave, visible => hidden",[(0,zo.i0)("0.075s linear",(0,zo.iF)({opacity:0}))])]);let Zw=0;class Hm{constructor(p,d){this.source=p,this.option=d}}const Wm=new c.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function Qw(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let qw=(()=>{class b{get isOpen(){return this._isOpen&&this.showPanel}_setColor(d){this._color=d,this._changeDetectorRef.markForCheck()}set classList(d){this._classList=d,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(d){this._hideSingleSelectionIndicator=d,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const d of this.options)d._changeDetectorRef.markForCheck()}constructor(d,m,D,V){this._changeDetectorRef=d,this._elementRef=m,this._defaults=D,this._activeOptionChanges=bf.yU.EMPTY,this._animationDone=new c.bkB,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new c.bkB,this.opened=new c.bkB,this.closed=new c.bkB,this.optionActivated=new c.bkB,this.id="mat-autocomplete-"+Zw++,this.inertGroups=V?.SAFARI||!1,this.autoActiveFirstOption=!!D.autoActiveFirstOption,this.autoSelectActiveOption=!!D.autoSelectActiveOption,this.requireSelection=!!D.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Cu.Au(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(d=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[d]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(d){this.panel&&(this.panel.nativeElement.scrollTop=d)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(d){const m=new Hm(this,d);this.optionSelected.emit(m)}_getPanelAriaLabelledby(d){return this.ariaLabel?null:this.ariaLabelledby?(d?d+" ":"")+this.ariaLabelledby:d}_skipPredicate(){return!1}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(Wm),c.rXU(rt.OD))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["mat-autocomplete"]],contentQueries:function(m,D,V){if(1&m&&(c.wni(V,Xe.wT,5),c.wni(V,Xe.QC,5)),2&m){let J;c.mGM(J=c.lsd())&&(D.options=J),c.mGM(J=c.lsd())&&(D.optionGroups=J)}},viewQuery:function(m,D){if(1&m&&(c.GBs(c.C4Q,7),c.GBs(Kw,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.template=V.first),c.mGM(V=c.lsd())&&(D.panel=V.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",c.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",c.L39],requireSelection:[2,"requireSelection","requireSelection",c.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",c.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[c.Jv_([{provide:Xe.is,useExisting:b}]),c.GFd,c.aNF],ngContentSelectors:Gw,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(m,D){1&m&&(c.NAR(),c.DNE(0,Xw,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Yw]},changeDetection:0})}}return b})();const Hh={provide:Dd.kq,useExisting:(0,c.Rfq)(()=>wf),multi:!0},Ad=new c.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const b=(0,c.WQX)(kd.hJ);return()=>b.scrollStrategies.reposition()}}),Gm={provide:Ad,deps:[kd.hJ],useFactory:function Km(b){return()=>b.scrollStrategies.reposition()}};let wf=(()=>{class b{constructor(d,m,D,V,J,_t,Wt,we,ur,xr,mo){this._element=d,this._overlay=m,this._viewContainerRef=D,this._zone=V,this._changeDetectorRef=J,this._dir=Wt,this._formField=we,this._document=ur,this._viewportRuler=xr,this._defaults=mo,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=bf.yU.EMPTY,this._breakpointObserver=(0,c.WQX)(Zc.QP),this._handsetLandscapeSubscription=bf.yU.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ia.B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new Ia.B,this._injector=(0,c.WQX)(c.zZn),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,uu.v)(()=>{const Zr=this.autocomplete?this.autocomplete.options:null;return Zr?Zr.changes.pipe((0,Du.Z)(Zr),(0,dt.n)(()=>(0,Hc.h)(...Zr.map(yo=>yo.onSelectionChange)))):this._initialized.pipe((0,dt.n)(()=>this.optionSelections))}),this._handlePanelKeydown=Zr=>{(Zr.keyCode===Yc._f&&!(0,Yc.rp)(Zr)||Zr.keyCode===Yc.i7&&(0,Yc.rp)(Zr,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Zr.stopPropagation(),Zr.preventDefault())},this._trackedModal=null,this._scrollStrategy=_t}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();const d=this._getWindow();typeof d<"u"&&this._zone.runOutsideAngular(()=>d.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(d){d.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const d=this._getWindow();typeof d<"u"&&d.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&(0,Cu.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,Hc.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,Vt.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,Vt.p)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,Qa.T)(d=>d instanceof Xe.MI?d:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,Hc.h)((0,hd.R)(this._document,"click"),(0,hd.R)(this._document,"auxclick"),(0,hd.R)(this._document,"touchend")).pipe((0,Vt.p)(d=>{const m=(0,rt.Fb)(d),D=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,V=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&m!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!D||!D.contains(m))&&(!V||!V.contains(m))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(m)}))}writeValue(d){Promise.resolve(null).then(()=>this._assignOptionValue(d))}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}setDisabledState(d){this._element.nativeElement.disabled=d}_handleKeydown(d){const m=d.keyCode,D=(0,Yc.rp)(d);if(m===Yc._f&&!D&&d.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&m===Yc.Fm&&this.panelOpen&&!D)this.activeOption._selectViaInteraction(),this._resetActiveItem(),d.preventDefault();else if(this.autocomplete){const V=this.autocomplete._keyManager.activeItem,J=m===Yc.i7||m===Yc.n6;m===Yc.wn||J&&!D&&this.panelOpen?this.autocomplete._keyManager.onKeydown(d):J&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(J||this.autocomplete._keyManager.activeItem!==V)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(d){let m=d.target,D=m.value;if("number"===m.type&&(D=""==D?null:parseFloat(D)),this._previousValue!==D){if(this._previousValue=D,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(D),D){if(this.panelOpen&&!this.autocomplete.requireSelection){const V=this.autocomplete.options?.find(J=>J.selected);V&&D!==this._getDisplayValue(V.value)&&V.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._document.activeElement===d.target){const V=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(V)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(d=!1){this._formField&&"auto"===this._formField.floatLabel&&(d?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const d=new M.c(D=>{(0,c.mal)(()=>{D.next()},{injector:this._injector})}),m=this.autocomplete.options.changes.pipe((0,md.M)(()=>this._positionStrategy.reapplyLastPosition()),(0,ct.c)(0));return(0,Hc.h)(d,m).pipe((0,dt.n)(()=>this._zone.run(()=>{const D=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),D!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,T.s)(1)).subscribe(D=>this._setValueAndClose(D))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(d){const m=this.autocomplete;return m&&m.displayWith?m.displayWith(d):d}_assignOptionValue(d){const m=this._getDisplayValue(d);null==d&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(m??"")}_updateNativeInputValue(d){this._formField?this._formField._control.value=d:this._element.nativeElement.value=d,this._previousValue=d}_setValueAndClose(d){const m=this.autocomplete,D=d?d.source:this._pendingAutoselectedOption;D?(this._clearPreviousSelectedOption(D),this._assignOptionValue(D.value),this._onChange(D.value),m._emitSelectEvent(D),this._element.nativeElement.focus()):m.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),m._animationDone?m._animationDone.pipe((0,T.s)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(d,m){this.autocomplete?.options?.forEach(D=>{D!==d&&D.selected&&D.deselect(m)})}_openPanelInternal(d=this._element.nativeElement.value){this._attachOverlay(d),this._floatLabel(),this._trackedModal&&(0,Cu.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(d){let m=this._overlayRef;m?(this._positionStrategy.setOrigin(this._getConnectedElement()),m.updateSize({width:this._getPanelWidth()})):(this._portal=new _p.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),m=this._overlay.create(this._getOverlayConfig()),this._overlayRef=m,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&m&&m.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zc.Rp.HandsetLandscape).subscribe(V=>{V.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),m&&!m.hasAttached()&&(m.attach(this._portal),this._valueOnAttach=d,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const D=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&D!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const d=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=d.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=d.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new kd.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const d=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(d),this._positionStrategy=d,d}_setStrategyPositions(d){const m=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],D=this._aboveClass,V=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:D},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:D}];let J;J="above"===this.position?V:"below"===this.position?m:[...m,...V],d.withPositions(J)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const d=this.autocomplete;if(d.autoActiveFirstOption){let m=-1;for(let D=0;D .cdk-overlay-container [aria-modal="true"]');if(!d)return;const m=this.autocomplete.id;this._trackedModal&&(0,Cu.Ae)(this._trackedModal,"aria-owns",m),(0,Cu.px)(d,"aria-owns",m),this._trackedModal=d}_clearFromModal(){this._trackedModal&&((0,Cu.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.aKT),c.rXU(kd.hJ),c.rXU(c.c1b),c.rXU(c.SKi),c.rXU(c.gRc),c.rXU(Ad),c.rXU(Ww.dS,8),c.rXU(gr.xb,9),c.rXU(Ct.qQ,8),c.rXU(zm.Xj),c.rXU(Wm,8))}}static{this.\u0275dir=c.FsC({type:b,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(m,D){1&m&&c.bIt("focusin",function(){return D._handleFocus()})("blur",function(){return D._onTouched()})("input",function(J){return D._handleInput(J)})("keydown",function(J){return D._handleKeydown(J)})("click",function(){return D._handleClick()}),2&m&&c.BMQ("autocomplete",D.autocompleteAttribute)("role",D.autocompleteDisabled?null:"combobox")("aria-autocomplete",D.autocompleteDisabled?null:"list")("aria-activedescendant",D.panelOpen&&D.activeOption?D.activeOption.id:null)("aria-expanded",D.autocompleteDisabled?null:D.panelOpen.toString())("aria-controls",D.autocompleteDisabled||!D.panelOpen||null==D.autocomplete?null:D.autocomplete.id)("aria-haspopup",D.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",c.L39]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[c.Jv_([Hh]),c.GFd,c.OA$]})}}return b})(),Xv=(()=>{class b{static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275mod=c.$C({type:b})}static{this.\u0275inj=c.G2t({providers:[Gm],imports:[kd.z_,Xe.Sy,Xe.yE,Ct.MD,zm.Gj,Xe.Sy,Xe.yE]})}}return b})();var Yv=r(9042),Zv=r(152),Wh=r(7291);const yf=["barSearchInput"],Qv=["matAutocomplete"];function qv(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",5),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.open())}),c.nrm(1,"mat-icon",6),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"))}function Xm(b,p){1&b&&(c.j41(0,"mat-option",14),c.EFF(1," No results found! "),c.k0s())}function Jw(b,p){if(1&b){const d=c.RV6();c.j41(0,"img",22),c.bIt("error",function(D){c.eBV(d);const V=c.XpG(5);return c.Njj(V.handleImageError(D))}),c.k0s()}if(2&b){const d=c.XpG().$implicit;c.Mz_("alt","",d.name,"'s avatar"),c.Y8G("src",d.avatar,c.B4B)}}function t0(b,p){1&b&&(c.qex(0),c.nrm(1,"mat-icon",23),c.bVm()),2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:user-circle"))}function e0(b,p){if(1&b&&(c.j41(0,"div",24),c.EFF(1),c.k0s()),2&b){const d=c.XpG().$implicit;c.R7$(),c.SpI(" ",d.about," ")}}function r0(b,p){if(1&b&&(c.qex(0),c.j41(1,"mat-option",15)(2,"div",16)(3,"div",17),c.DNE(4,Jw,1,3,"img",18)(5,t0,2,1,"ng-container",2),c.k0s(),c.j41(6,"div",19)(7,"span",20),c.EFF(8),c.k0s(),c.DNE(9,e0,2,1,"div",21),c.k0s()()(),c.bVm()),2&b){const d=p.$implicit;c.R7$(),c.Y8G("routerLink",d.link)("value",d.name),c.R7$(3),c.Y8G("ngIf",d.avatar),c.R7$(),c.Y8G("ngIf",!d.avatar),c.R7$(3),c.JRh(d.name),c.R7$(),c.Y8G("ngIf",d.about)}}function o0(b,p){if(1&b&&(c.qex(0),c.DNE(1,r0,10,6,"ng-container",12),c.bVm()),2&b){const d=p.$implicit,m=c.XpG(3);c.R7$(),c.Y8G("ngForOf",d.results)("ngForTrackBy",m.trackByFn)}}function Ym(b,p){if(1&b){const d=c.RV6();c.j41(0,"div",7),c.nrm(1,"mat-icon",8),c.j41(2,"input",9,0),c.bIt("keydown",function(D){c.eBV(d);const V=c.XpG(2);return c.Njj(V.onKeydown(D))}),c.k0s(),c.j41(4,"mat-autocomplete",10,1),c.DNE(6,Xm,2,0,"mat-option",11)(7,o0,2,2,"ng-container",12),c.k0s(),c.j41(8,"button",13),c.bIt("click",function(){c.eBV(d);const D=c.XpG(2);return c.Njj(D.close())}),c.nrm(9,"mat-icon",6),c.k0s()()}if(2&b){const d=c.sdS(5),m=c.XpG(2);c.Y8G("@slideInTop",void 0)("@slideOutTop",void 0),c.R7$(),c.Y8G("svgIcon","heroicons_outline:magnifying-glass"),c.R7$(),c.Y8G("formControl",m.searchControl)("matAutocomplete",d)("placeholder","Search..."),c.R7$(2),c.Y8G("autoSelectActiveOption",!0)("disableRipple",!0),c.R7$(2),c.Y8G("ngIf",m.resultSets&&!m.resultSets.length),c.R7$(),c.Y8G("ngForOf",m.resultSets)("ngForTrackBy",m.trackByFn),c.R7$(2),c.Y8G("svgIcon","heroicons_outline:x-mark")}}function Zm(b,p){if(1&b&&(c.j41(0,"div"),c.DNE(1,qv,2,1,"button",3)(2,Ym,10,12,"div",4),c.k0s()),2&b){const d=c.XpG();c.R7$(),c.Y8G("ngIf",!d.opened),c.R7$(),c.Y8G("ngIf",d.opened)}}let Qm=(()=>{class b{constructor(d,m){this._storageService=d,this._sanitizer=m,this.appearance="basic",this.debounce=300,this.minLength=2,this.search=new c.bkB,this.opened=!1,this.searchControl=new Dd.hs,this._unsubscribeAll=new Ia.B}set barSearchInput(d){d&&setTimeout(()=>{d.nativeElement.focus()})}set matAutocomplete(d){this._matAutocomplete=d}ngOnChanges(d){"appearance"in d&&this.close()}ngOnInit(){var d=this;this.searchControl.valueChanges.pipe((0,Zv.B)(this.debounce),(0,Na.Q)(this._unsubscribeAll),(0,Qa.T)(m=>((!m||m.lengthm&&m.length>=this.minLength)).subscribe(function(){var m=(0,k.A)(function*(D){const V=yield d._storageService.searchProfile(D);d.resultSets=V.map(J=>({label:"Project",results:[{name:J.profile.name||J.profile.displayName||J.pubKey,pubkey:J.pubKey,username:J.profile.username||"",website:J.profile.website||"",about:J.profile.about?J.profile.about.replace(/<\/?[^>]+(>|$)/g,""):"",avatar:J.profile.picture||null,banner:J.profile.banner||null,link:`/profile/${J.pubKey}`}]})),d.search.next(d.resultSets)});return function(D){return m.apply(this,arguments)}}())}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}onKeydown(d){"Escape"===d.code&&"bar"===this.appearance&&!this._matAutocomplete.isOpen&&this.close()}open(){this.opened||(this.opened=!0)}close(){this.opened&&(this.searchControl.setValue(""),this.opened=!1)}trackByFn(d,m){return m.id||d}handleImageError(d){const m=d.target;m.onerror=null,m.src="images/avatars/avatar-placeholder.png"}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(Wh.n),c.rXU(o.up))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["search"]],viewQuery:function(m,D){if(1&m&&(c.GBs(yf,5),c.GBs(Qv,5)),2&m){let V;c.mGM(V=c.lsd())&&(D.barSearchInput=V.first),c.mGM(V=c.lsd())&&(D.matAutocomplete=V.first)}},inputs:{appearance:"appearance",debounce:"debounce",minLength:"minLength"},outputs:{search:"search"},exportAs:["angorSearch"],standalone:!0,features:[c.Jv_([{provide:Ad,useFactory:()=>{const d=(0,c.WQX)(kd.hJ);return()=>d.scrollStrategies.block()}}]),c.OA$,c.aNF],decls:1,vars:1,consts:[["barSearchInput",""],["matAutocomplete","matAutocomplete"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","bg-card absolute inset-0 z-99 flex shrink-0 items-center",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"bg-card","absolute","inset-0","z-99","flex","shrink-0","items-center"],[1,"absolute","ml-6","sm:ml-8",3,"svgIcon"],[1,"h-full","w-full","px-16","sm:px-18",3,"keydown","formControl","matAutocomplete","placeholder"],[1,"max-h-128","rounded-b","border-t","shadow-md","sm:px-2",3,"autoSelectActiveOption","disableRipple"],["class","text-secondary pointer-events-none bg-transparent px-6 py-0 text-md",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","",1,"absolute","right-5","top-1/2","-mt-5","h-10","w-10","shrink-0","sm:right-7",3,"click"],[1,"text-secondary","pointer-events-none","bg-transparent","px-6","py-0","text-md"],[1,"group","relative","mb-1","rounded-md","px-6","py-0","text-md","dark:hover:bg-hover","hover:bg-gray-100",3,"routerLink","value"],[1,"flex","items-center"],[1,"flex","h-8","w-8","shrink-0","items-center","justify-center","overflow-hidden","rounded-full","bg-primary-100","dark:bg-primary-800"],["class","h-full w-full object-cover",3,"src","alt","error",4,"ngIf"],[1,"ml-3","truncate"],[1,"font-semibold"],["class","text-sm text-gray-500",4,"ngIf"],[1,"h-full","w-full","object-cover",3,"error","src","alt"],[1,"m-0","text-primary","icon-size-5","dark:text-primary-400",3,"svgIcon"],[1,"text-sm","text-gray-500"]],template:function(m,D){1&m&&c.DNE(0,Zm,3,2,"div",2),2&m&&c.Y8G("ngIf","bar"===D.appearance)},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,Dd.YN,Dd.me,Dd.BC,Xv,qw,Xe.wT,wf,Dd.X1,Dd.l_,Xe.Sy,s.Wk,gr.RG,Yv.fS,Ct.MD,Ct.Sq,Ct.bT],encapsulation:2,data:{animation:Cd.F}})}}return b})();var qm=r(1997),kp=r(9115),Ep=r(881),Jm=r(2332);function vf(b,p){if(1&b&&(c.qex(0),c.nrm(1,"img",14),c.bVm()),2&b){const d=c.XpG();c.R7$(),c.Y8G("src",d.getSafeUrl(null==d.user?null:d.user.picture),c.B4B)}}function n0(b,p){1&b&&c.nrm(0,"mat-icon",12),2&b&&c.Y8G("svgIcon","heroicons_outline:user-circle")}let $l=(()=>{class b{constructor(d,m,D,V,J,_t,Wt,we){this._changeDetectorRef=d,this._router=m,this._angorConfigService=D,this._signerService=V,this._storageService=J,this.sanitizer=_t,this._changeDetectorRefef=Wt,this._nostrLoginService=we,this.isLoading=!0,this.errorMessage=null,this._unsubscribeAll=new Ia.B}ngOnInit(){this.userPubKey=this._signerService.getPublicKey(),this._angorConfigService.config$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{localStorage.setItem("angorConfig",JSON.stringify(d)),this.config=d,this._changeDetectorRef.detectChanges()}),this._storageService.profile$.subscribe(d=>{d&&d.pubKey===this.userPubKey&&(this.user=d.metadata,this._changeDetectorRefef.detectChanges())}),this.loadUserProfile()}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}loadUserProfile(){var d=this;return(0,k.A)(function*(){d._storageService.getProfile(d.userPubKey).then(m=>{d.user=m,d._changeDetectorRefef.detectChanges()})})()}logout(){this._router.navigate(["/logout"])}profile(){this._router.navigate(["/profile"])}setLayout(d){this._angorConfigService.config={layout:d},this._changeDetectorRef.detectChanges()}setScheme(d){this._angorConfigService.config={scheme:d},this._changeDetectorRef.detectChanges()}setTheme(d){this._angorConfigService.config={theme:d},this._changeDetectorRef.detectChanges()}getSafeUrl(d){return this.sanitizer.bypassSecurityTrustUrl(d)}Switch(){this._nostrLoginService.switchAccount()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(c.gRc),c.rXU(s.Ix),c.rXU(Ep.P),c.rXU(ku.A),c.rXU(Wh.n),c.rXU(o.up),c.rXU(c.gRc),c.rXU(Jm.v))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["user"]],standalone:!0,features:[c.aNF],decls:52,vars:13,consts:[["defaultAvatar",""],["userActions","matMenu"],["settingsMenu","matMenu"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"relative"],[4,"ngIf","ngIfElse"],[3,"xPosition"],["mat-menu-item",""],[1,"flex","flex-col","leading-none"],[1,"mt-1.5","text-md","font-medium"],[1,"my-2"],["mat-menu-item","",3,"click"],[3,"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],["alt","","onerror","this.onerror=null; this.src='/images/avatars/avatar-placeholder.png';",1,"h-7","w-7","rounded-full","object-cover",3,"src"]],template:function(m,D){if(1&m){const V=c.RV6();c.j41(0,"button",3)(1,"span",4),c.DNE(2,vf,2,1,"ng-container",5)(3,n0,1,1,"ng-template",null,0,c.C5r),c.k0s()(),c.j41(5,"mat-menu",6,1)(7,"button",7)(8,"span",8)(9,"span"),c.EFF(10,"Logged in as"),c.k0s(),c.j41(11,"span",9),c.EFF(12),c.k0s()()(),c.nrm(13,"mat-divider",10),c.j41(14,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.Switch())}),c.nrm(15,"mat-icon",12),c.j41(16,"span"),c.EFF(17,"Switch account"),c.k0s()(),c.j41(18,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.profile())}),c.nrm(19,"mat-icon",12),c.j41(20,"span"),c.EFF(21,"Profile"),c.k0s()(),c.j41(22,"button",13),c.nrm(23,"mat-icon",12),c.j41(24,"span"),c.EFF(25,"Settings"),c.k0s()(),c.nrm(26,"mat-divider",10),c.j41(27,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.logout())}),c.nrm(28,"mat-icon",12),c.j41(29,"span"),c.EFF(30,"logout"),c.k0s()()(),c.j41(31,"mat-menu",null,2)(33,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("auto"))}),c.nrm(34,"mat-icon",12),c.j41(35,"span"),c.EFF(36,"Auto Theme"),c.k0s()(),c.j41(37,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("light"))}),c.nrm(38,"mat-icon",12),c.j41(39,"span"),c.EFF(40,"Light Theme"),c.k0s()(),c.j41(41,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setScheme("dark"))}),c.nrm(42,"mat-icon",12),c.j41(43,"span"),c.EFF(44,"Dark Theme"),c.k0s()(),c.nrm(45,"mat-divider"),c.j41(46,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("classic"))}),c.j41(47,"span"),c.EFF(48,"Classic Layout"),c.k0s()(),c.j41(49,"button",11),c.bIt("click",function(){return c.eBV(V),c.Njj(D.setLayout("modern"))}),c.j41(50,"span"),c.EFF(51,"Modern Layout"),c.k0s()()()}if(2&m){const V=c.sdS(4),J=c.sdS(6),_t=c.sdS(32);c.Y8G("matMenuTriggerFor",J),c.R7$(2),c.Y8G("ngIf",null==D.user?null:D.user.picture)("ngIfElse",V),c.R7$(3),c.Y8G("xPosition","before"),c.R7$(7),c.JRh((null==D.user?null:D.user.display_name)||(null==D.user?null:D.user.name)||"Unknown User"),c.R7$(3),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(4),c.Y8G("svgIcon","heroicons_outline:user-circle"),c.R7$(3),c.Y8G("matMenuTriggerFor",_t),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cog-8-tooth"),c.R7$(5),c.Y8G("svgIcon","heroicons_outline:arrow-right-on-rectangle"),c.R7$(6),c.Y8G("svgIcon","heroicons_solid:bolt"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:sun"),c.R7$(4),c.Y8G("svgIcon","heroicons_solid:moon")}},dependencies:[Cs.Hl,Cs.iY,kp.Cn,kp.kk,kp.fb,kp.Cp,Rs.m_,Rs.An,qm.w,qm.q,Ct.MD,Ct.bT],encapsulation:2,changeDetection:0})}}return b})();var tb=r(3236),a0=r(1584);let _f=(()=>{class b{constructor(d,m){this.swUpdate=d,this.zone=m,this.newVersionAvailableSubject=new $t.t(!1),this.isNewVersionAvailable$=this.newVersionAvailableSubject.asObservable(),this.intervalSource=function xf(b=0,p=tb.E){return b<0&&(b=0),(0,a0.O)(b,b,p)}(9e5),this.checkForUpdateOnLoad(),this.checkForUpdateOnInterval()}applyUpdate(){this.swUpdate.activateUpdate().then(()=>document.location.reload()).catch(d=>console.error("Failed to apply updates:",d))}checkForUpdateOnInterval(){var d=this;this.unsubscribeInterval(),this.swUpdate.isEnabled&&this.zone.runOutsideAngular(()=>{this.intervalSubscription=this.intervalSource.subscribe((0,k.A)(function*(){try{(yield d.swUpdate.checkForUpdate())&&d.newVersionAvailableSubject.next(!0)}catch(m){console.error("Failed to check for updates:",m)}}))})}checkForUpdateOnLoad(){this.unsubscribeNewVersion(),this.swUpdate.isEnabled&&(this.newVersionSubscription=this.swUpdate.versionUpdates.subscribe(d=>{switch(d.type){case"VERSION_DETECTED":break;case"VERSION_READY":this.newVersionAvailableSubject.next(!0);break;case"VERSION_INSTALLATION_FAILED":console.error(`Failed to install app version '${d.version.hash}': ${d.error}`)}}))}unsubscribeInterval(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}unsubscribeNewVersion(){this.newVersionSubscription&&this.newVersionSubscription.unsubscribe()}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(hu),c.KVO(c.SKi))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();function s0(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",1),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.applyUpdate())}),c.nrm(1,"mat-icon",2),c.k0s()}if(2&b){const d=c.XpG();c.Y8G("matTooltip",d.tooltip||"Update App"),c.R7$(),c.Y8G("svgIcon","heroicons_outline:cloud-arrow-down")}}let eb=(()=>{class b{constructor(d,m){this.updateService=d,this._changeDetectorRef=m,this.updateService.isNewVersionAvailable$.subscribe(D=>{D&&this._changeDetectorRef.detectChanges()})}applyUpdate(){this.updateService.applyUpdate()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(_f),c.rXU(c.gRc))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["update"]],inputs:{tooltip:"tooltip"},exportAs:["update"],standalone:!0,features:[c.aNF],decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"click","matTooltip"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.DNE(0,s0,2,2,"button",0),c.nI1(1,"async")),2&m&&c.Y8G("ngIf",c.bMT(1,1,D.updateService.isNewVersionAvailable$))},dependencies:[Cs.Hl,Cs.iY,Rs.m_,Rs.An,vp.uc,vp.oV,Ct.MD,Ct.bT,Ct.Jj],encapsulation:2,changeDetection:0})}}return b})();function c0(b,p){if(1&b&&(c.j41(0,"angor-vertical-navigation",0),c.qex(1,10),c.j41(2,"div",11),c.nrm(3,"img",12),c.k0s(),c.bVm(),c.k0s()),2&b){const d=c.XpG();c.Y8G("mode","over")("name","mainNavigation")("navigation",d.navigation.default)("opened",!1)}}function l0(b,p){if(1&b&&(c.j41(0,"div",13)(1,"div",14),c.nrm(2,"img",15)(3,"img",16),c.k0s(),c.nrm(4,"img",17),c.k0s(),c.nrm(5,"angor-horizontal-navigation",18)),2&b){const d=c.XpG();c.R7$(5),c.Y8G("name","mainNavigation")("navigation",d.navigation.horizontal)}}function rb(b,p){if(1&b){const d=c.RV6();c.j41(0,"button",19),c.bIt("click",function(){c.eBV(d);const D=c.XpG();return c.Njj(D.toggleNavigation("mainNavigation"))}),c.nrm(1,"mat-icon",20),c.k0s()}2&b&&(c.R7$(),c.Y8G("svgIcon","heroicons_outline:bars-3"))}function Jv(b,p){1&b&&c.nrm(0,"router-outlet")}let t1=(()=>{class b{constructor(d,m,D,V,J){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=J,this._unsubscribeAll=new Ia.B,this.version=Xc}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(xa),c.rXU(at.l),c.rXU(xp.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["modern-layout"]],standalone:!0,features:[c.aNF],decls:17,vars:7,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","sm:h-20","md:px-6","print:hidden"],["mat-icon-button",""],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","w-full","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","border-t","px-4","dark:bg-transparent","sm:h-20","md:px-6","print:hidden"],[1,"text-secondary","font-medium"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","px-8","pt-6"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"h-10","w-24"],[1,"mx-2","flex","items-center","lg:mr-8"],[1,"hidden","lg:flex"],["src","images/logo/logo-text.svg",1,"h-10","w-24","dark:hidden"],["src","images/logo/logo-text-on-dark.svg",1,"hidden","h-10","w-24","dark:flex"],["src","images/logo/logo.svg",1,"flex","w-8","lg:hidden"],[1,"mr-2",3,"name","navigation"],["mat-icon-button","",3,"click"],[3,"svgIcon"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.DNE(1,c0,4,4,"angor-vertical-navigation",0),c.j41(2,"div",1)(3,"div",2),c.DNE(4,l0,6,2)(5,rb,2,1,"button",3),c.j41(6,"div",4),c.nrm(7,"update")(8,"angor-fullscreen",5)(9,"search",6)(10,"notifications")(11,"user"),c.k0s()(),c.j41(12,"div",7),c.DNE(13,Jv,1,0,"router-outlet"),c.k0s(),c.j41(14,"div",8)(15,"span",9),c.EFF(16),c.k0s()()()),2&m&&(c.R7$(),c.vxM(D.isScreenSmall?1:-1),c.R7$(3),c.vxM(D.isScreenSmall?-1:4),c.R7$(),c.vxM(D.isScreenSmall?5:-1),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(13),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[df,xp.Tv,xp.$w,Cs.Hl,Cs.iY,Rs.m_,Rs.An,_u,Qm,mf,$l,s.n3,eb],encapsulation:2})}}return b})();function Cp(b,p){1&b&&c.nrm(0,"router-outlet")}let d0=(()=>{class b{constructor(d,m,D,V,J){this._activatedRoute=d,this._router=m,this._navigationService=D,this._angorMediaWatcherService=V,this._angorNavigationService=J,this._unsubscribeAll=new Ia.B,this.version=Xc}get currentYear(){return(new Date).getFullYear()}ngOnInit(){this._navigationService.navigation$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.navigation=d}),this._angorMediaWatcherService.onMediaChange$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(({matchingAliases:d})=>{this.isScreenSmall=!d.includes("md")})}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}toggleNavigation(d){const m=this._angorNavigationService.getComponent(d);m&&m.toggle()}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(s.Ix),c.rXU(xa),c.rXU(at.l),c.rXU(xp.lX))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["classic-layout"]],standalone:!0,features:[c.aNF],decls:21,vars:9,consts:[[1,"dark","bg-gray-900","print:hidden",3,"mode","name","navigation","opened"],["angorVerticalNavigationContentHeader",""],[1,"flex","h-20","items-center","p-6"],["src","images/logo/logo-text.svg","alt","Angor Hub",1,"w-30","dark:hidden"],["src","images/logo/logo-text-on-dark.svg","alt","Angor Hub",1,"hidden","w-30","dark:flex"],[1,"flex","w-full","min-w-0","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-16","w-full","flex-0","items-center","px-4","shadow","dark:border-b","dark:bg-transparent","dark:shadow-none","md:px-6","print:hidden"],["mat-icon-button","",3,"click"],[3,"svgIcon"],[1,"ml-auto","flex","items-center","space-x-0.5","pl-2","sm:space-x-2"],[1,"hidden","md:block"],[3,"appearance"],[1,"flex","flex-auto","flex-col"],[1,"bg-card","relative","z-49","flex","h-14","w-full","flex-0","items-center","justify-start","border-t","px-4","dark:bg-transparent","md:px-6","print:hidden"],[1,"text-secondary","font-medium"]],template:function(m,D){1&m&&(c.nrm(0,"angor-loading-bar"),c.j41(1,"angor-vertical-navigation",0),c.qex(2,1),c.j41(3,"div",2),c.nrm(4,"img",3)(5,"img",4),c.k0s(),c.bVm(),c.k0s(),c.j41(6,"div",5)(7,"div",6)(8,"button",7),c.bIt("click",function(){return D.toggleNavigation("mainNavigation")}),c.nrm(9,"mat-icon",8),c.k0s(),c.j41(10,"div",9),c.nrm(11,"update")(12,"angor-fullscreen",10)(13,"search",11)(14,"notifications")(15,"user"),c.k0s()(),c.j41(16,"div",12),c.DNE(17,Cp,1,0,"router-outlet"),c.k0s(),c.j41(18,"div",13)(19,"span",14),c.EFF(20),c.k0s()()()),2&m&&(c.R7$(),c.Y8G("mode",D.isScreenSmall?"over":"side")("name","mainNavigation")("navigation",D.navigation.default)("opened",!D.isScreenSmall),c.R7$(8),c.Y8G("svgIcon","heroicons_outline:bars-3"),c.R7$(4),c.Y8G("appearance","bar"),c.R7$(4),c.vxM(17),c.R7$(3),c.Lme("Angor Hub \xa9 ",D.currentYear," - version ",D.version,""))},dependencies:[df,xp.Tv,Cs.Hl,Cs.iY,Rs.m_,Rs.An,_u,Qm,mf,$l,s.n3,eb],encapsulation:2})}}return b})();function u0(b,p){1&b&&c.nrm(0,"empty-layout")}function p0(b,p){1&b&&c.nrm(0,"modern-layout")}function ob(b,p){1&b&&c.nrm(0,"classic-layout")}let kf=(()=>{class b{constructor(d,m,D,V,J,_t,Wt){this._activatedRoute=d,this._document=m,this._renderer2=D,this._router=V,this._angorConfigService=J,this._angorMediaWatcherService=_t,this._angorPlatformService=Wt,this._unsubscribeAll=new Ia.B}ngOnInit(){(0,pl.z)([this._angorConfigService.config$,this._angorMediaWatcherService.onMediaQueryChange$(["(prefers-color-scheme: dark)","(prefers-color-scheme: light)"])]).pipe((0,Na.Q)(this._unsubscribeAll),(0,Qa.T)(([d,m])=>{const D={scheme:d.scheme,theme:d.theme};return"auto"===d.scheme&&(D.scheme=m.breakpoints["(prefers-color-scheme: dark)"]?"dark":"light"),D})).subscribe(d=>{this.scheme=d.scheme,this.theme=d.theme,this._updateScheme(),this._updateTheme()}),this._angorConfigService.config$.pipe((0,Na.Q)(this._unsubscribeAll)).subscribe(d=>{this.config=d,this._updateLayout()}),this._router.events.pipe((0,Vt.p)(d=>d instanceof s.wF),(0,Na.Q)(this._unsubscribeAll)).subscribe(()=>{this._updateLayout()}),this._renderer2.setAttribute(this._document.querySelector("[ng-version]"),"angor-version",Xc),this._renderer2.addClass(this._document.body,this._angorPlatformService.osName)}ngOnDestroy(){this._unsubscribeAll.next(null),this._unsubscribeAll.complete()}_updateLayout(){let d=this._activatedRoute;for(;d.firstChild;)d=d.firstChild;this.layout=this.config.layout;const m=d.snapshot.queryParamMap.get("layout");m&&(this.layout=m,this.config&&(this.config.layout=m)),d.pathFromRoot.forEach(V=>{V.routeConfig&&V.routeConfig.data&&V.routeConfig.data.layout&&(this.layout=V.routeConfig.data.layout)})}_updateScheme(){this._document.body.classList.remove("light","dark"),this._document.body.classList.add(this.scheme)}_updateTheme(){this._document.body.classList.forEach(d=>{d.startsWith("theme-")&&this._document.body.classList.remove(d,d.split("-")[1])}),this._document.body.classList.add(this.theme)}static{this.\u0275fac=function(m){return new(m||b)(c.rXU(s.nX),c.rXU(Ct.qQ),c.rXU(c.sFG),c.rXU(s.Ix),c.rXU(Ep.P),c.rXU(at.l),c.rXU(yt))}}static{this.\u0275cmp=c.VBU({type:b,selectors:[["layout"]],standalone:!0,features:[c.aNF],decls:3,vars:3,template:function(m,D){1&m&&c.DNE(0,u0,1,0,"empty-layout")(1,p0,1,0,"modern-layout")(2,ob,1,0,"classic-layout"),2&m&&(c.vxM("empty"===D.layout?0:-1),c.R7$(),c.vxM("modern"===D.layout?1:-1),c.R7$(),c.vxM("classic"===D.layout?2:-1))},dependencies:[Rm,t1,d0],styles:["layout{display:flex;flex:1 1 auto;width:100%;max-width:100%;min-width:0}layout>*{position:relative;display:flex;flex:1 1 auto;width:100%}layout router-outlet+*{position:relative;display:flex;flex:1 1 auto;width:100%}\n"],encapsulation:2})}}return b})();const Kh=()=>{const b=(0,c.WQX)(ku.A),p=(0,c.WQX)(s.Ix);return""!==b.getPublicKey()||p.parseUrl("/login")},h0=[{path:"",pathMatch:"full",redirectTo:"home"},{path:"project/:pubkey",pathMatch:"full",redirectTo:"explore"},{path:"login-redirect",pathMatch:"full",redirectTo:"explore"},{path:"",component:kf,data:{layout:"empty"},children:[{path:"login",loadChildren:()=>Promise.all([r.e(588),r.e(770)]).then(r.bind(r,770))},{path:"create",loadChildren:()=>Promise.all([r.e(588),r.e(408)]).then(r.bind(r,1408))}]},{path:"",canActivate:[Kh],canActivateChild:[Kh],component:kf,data:{layout:"empty"},children:[{path:"logout",loadChildren:()=>r.e(514).then(r.bind(r,1514))}]},{path:"",canActivate:[Kh],canActivateChild:[Kh],component:kf,resolve:{initialData:()=>{const b=(0,c.WQX)(xa);return(0,c.WQX)(hc),(0,Mc.p)([b.get()])}},children:[{path:"home",loadChildren:()=>Promise.all([r.e(130),r.e(541)]).then(r.bind(r,5541))},{path:"explore",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(632)]).then(r.bind(r,6632))},{path:"bookmark",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(364)]).then(r.bind(r,8364))},{path:"profile",loadChildren:()=>Promise.all([r.e(450),r.e(378),r.e(130),r.e(865),r.e(827)]).then(r.bind(r,5827))},{path:"profile/:pubkey",loadChildren:()=>Promise.all([r.e(450),r.e(378),r.e(130),r.e(865),r.e(827)]).then(r.bind(r,5827))},{path:"post",loadChildren:()=>Promise.all([r.e(378),r.e(130),r.e(76),r.e(737)]).then(r.bind(r,8737))},{path:"post/:id",loadChildren:()=>Promise.all([r.e(378),r.e(130),r.e(76),r.e(737)]).then(r.bind(r,8737))},{path:"settings",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"settings/:id",loadChildren:()=>Promise.all([r.e(450),r.e(76),r.e(19)]).then(r.bind(r,2019))},{path:"chat",loadChildren:()=>Promise.all([r.e(378),r.e(865),r.e(76),r.e(307)]).then(r.bind(r,6307))},{path:"404-not-found",pathMatch:"full",loadChildren:()=>r.e(258).then(r.bind(r,5258))},{path:"**",redirectTo:"404-not-found"}]}];let g0=(()=>{class b{constructor(){const d=(0,c.WQX)(o.up),m=(0,c.WQX)(Rs.tp);m.addSvgIconSet(d.bypassSecurityTrustResourceUrl("icons/material-twotone.svg")),m.addSvgIconSetInNamespace("mat_outline",d.bypassSecurityTrustResourceUrl("icons/material-outline.svg")),m.addSvgIconSetInNamespace("mat_solid",d.bypassSecurityTrustResourceUrl("icons/material-solid.svg")),m.addSvgIconSetInNamespace("feather",d.bypassSecurityTrustResourceUrl("icons/feather.svg")),m.addSvgIconSetInNamespace("heroicons_outline",d.bypassSecurityTrustResourceUrl("icons/heroicons-outline.svg")),m.addSvgIconSetInNamespace("heroicons_solid",d.bypassSecurityTrustResourceUrl("icons/heroicons-solid.svg")),m.addSvgIconSetInNamespace("heroicons_mini",d.bypassSecurityTrustResourceUrl("icons/heroicons-mini.svg"))}static{this.\u0275fac=function(m){return new(m||b)}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var m0=r(9350),Ef=r(7707);let r1=(()=>{class b{constructor(d){this.httpClient=d}getTranslation(d){return this.httpClient.get(`./i18n/${d}.json`)}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();const Cf=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}],o1=[{id:"home",title:"Home",type:"basic",icon:"heroicons_outline:home",link:"/home"},{id:"explore",title:"Explore",type:"basic",icon:"heroicons_outline:magnifying-glass",link:"/explore"},{id:"bookmark",title:"Bookmark",type:"basic",icon:"heroicons_outline:bookmark",link:"/bookmark"},{id:"chat",title:"Chat",type:"basic",icon:"heroicons_outline:chat-bubble-left-right",link:"/chat",badge:{title:"27",classes:"px-2 bg-[#086c81] text-white rounded-full"}},{id:"profile",title:"Profile",type:"basic",icon:"heroicons_outline:user",link:"/profile"},{id:"settings",title:"Settings",type:"basic",icon:"heroicons_outline:cog-6-tooth",link:"/settings"}];var n1=r(7730);var c1=r(1984),Gh=r(7517),Xh=r(6726),Yh=r(5776);const ab=(0,r(8992).A)(Object.keys,Object);var w0=Object.prototype.hasOwnProperty;var tc=r(1287);const Zh=function ec(b){return(0,tc.A)(b)?(0,Xh.A)(b):function sb(b){if(!(0,Yh.A)(b))return ab(b);var p=[];for(var d in Object(b))w0.call(b,d)&&"constructor"!=d&&p.push(d);return p}(b)};var cb=r(133);var db=r(9933),u1=r(4528);const ub=function Af(){return[]};var Sf=Object.prototype.propertyIsEnumerable,Tf=Object.getOwnPropertySymbols;const Tu=Tf?function(b){return null==b?[]:(b=Object(b),function Qh(b,p){for(var d=-1,m=null==b?0:b.length,D=0,V=[];++d{class b{constructor(d){this._angorMockApiService=d,this._defaultNavigation=Cf,this._horizontalNavigation=o1,this.registerHandlers()}registerHandlers(){this._angorMockApiService.onGet("api/navigation").reply(()=>(this._horizontalNavigation.forEach(d=>{this._defaultNavigation.forEach(m=>{m.id===d.id&&(d.children=Od(m.children))})}),[200,{default:Od(this._defaultNavigation),horizontal:Od(this._horizontalNavigation)}]))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(z))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()];let ay=(()=>{class b{constructor(d){this.http=d,this.timestamp=null,this.ngswFilePath="/ngsw.json"}load(){var d=this;return(0,k.A)(function*(){try{const m=yield d.http.get(d.ngswFilePath).toPromise();m&&m.timestamp?(d.timestamp=m.timestamp,console.log("Timestamp successfully loaded:",d.timestamp)):console.error("Invalid data format in ngsw.json")}catch(m){console.error("Error loading ngsw.json:",m)}})()}getTimestamp(){return this.timestamp}loadHash(){return this.http.get(this.ngswFilePath).pipe((0,Qa.T)(d=>d.timestamp||null),(0,pp.W)(d=>(console.error("Error fetching ngsw.json hash:",d),(0,I.$)(()=>new Error("Failed to load hash.")))))}static{this.\u0275fac=function(m){return new(m||b)(c.KVO(q.Qq))}}static{this.\u0275prov=c.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Ip=r(2083),Xf=r(6616);const cy={providers:[function Qg(){return(0,c.ngT)("NgEagerAnimations"),[...sp]}(),(0,q.$R)(),function Ih(b,p={}){return(0,c.EmA)([uc,hu,{provide:up,useValue:b},{provide:Mh,useValue:p},{provide:Ll,useFactory:ef,deps:[Mh,c.Agw]},{provide:c.hnV,useFactory:Om,deps:[c.zZn,up,Mh,c.Agw],multi:!0}])}("ngsw-worker.js",{enabled:!(0,c.naY)(),registrationStrategy:"registerWhenStable:30000"}),{provide:c.hnV,useFactory:function m1(b){return()=>b.load()},deps:[ay,ku.A,Ip.d],multi:!0},{provide:c.hnV,useFactory:function sy(b,p){return(0,k.A)(function*(){const d=b.getPublicKey();d&&(yield p.loadUserProfile(d))})},deps:[ku.A,Ip.d],multi:!0},{provide:c.hnV,useFactory:function f1(){return()=>{(0,Xf.Ts)({theme:"ocean",noBanner:!0,title:"Angor Hub",onAuth:(b,p)=>{}})}},multi:!0},(0,s.lh)(h0,(0,s.oH)({scrollPositionRestoration:"enabled"})),{provide:Xe.MJ,useClass:rl},{provide:Xe.de,useValue:{parse:{dateInput:"D"},display:{dateInput:"DDD",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}}},function sn(b){const p=[wo(Bh),an(wp),Ao(Bl),Zo(_)];return b.config&&p.push(function Kn(b){return(0,c.EmA)([{provide:Fl,useValue:Fh(b)}])}(b.config)),b.loader&&p.push(function Gn(b){return(0,c.EmA)([{provide:gp,useClass:b}])}(b.loader)),p}({config:{availableLangs:[{id:"en",label:"English"}],defaultLang:"en",fallbackLang:"en",reRenderOnLangChange:!0,prodMode:!0},loader:r1}),{provide:c.hnV,useFactory:()=>{const b=(0,c.WQX)(Qe),p=b.getDefaultLang();return b.setActiveLang(p),()=>function e1(b,p){const d="object"==typeof p;return new Promise((m,D)=>{const V=new Ef.Ms({next:J=>{m(J),V.unsubscribe()},error:D,complete:()=>{d?m(p.defaultValue):D(new m0.G)}});b.subscribe(V)})}(b.load(p))},multi:!0},[{provide:c.Z63,useValue:()=>(0,c.WQX)(g0),multi:!0}],(b=>{const p=[{provide:Xe.N,useValue:{doctype:!0,theme:!1,version:!0}},{provide:gr.U$,useValue:{appearance:"fill"}},{provide:A,useValue:b?.mockApi?.delay??0},{provide:vt.t,useValue:b?.angor??{}},(0,c.oKB)(kr.hM),{provide:c.Z63,useValue:()=>(0,c.WQX)(Mt.m),multi:!0},(0,q.$R)((0,q.b$)([nt])),{provide:c.Z63,useValue:()=>(0,c.WQX)(St),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(at.l),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(yt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(Xt),multi:!0},{provide:c.Z63,useValue:()=>(0,c.WQX)(oe.Q),multi:!0}];return b?.mockApi?.services&&p.push((0,q.$R)((0,q.b$)([tt])),{provide:c.hnV,deps:[...b.mockApi.services],useFactory:()=>()=>null,multi:!0}),p})({mockApi:{delay:0,services:iy},angor:JSON.parse(localStorage.getItem("angorConfig"))??{layout:"classic",scheme:"light",screens:{sm:"600px",md:"960px",lg:"1280px",xl:"1440px"},theme:"theme-brand",themes:[{id:"theme-brand",name:"Brand"},{id:"theme-default",name:"Default"},{id:"theme-teal",name:"Teal"},{id:"theme-rose",name:"Rose"},{id:"theme-purple",name:"Purple"},{id:"theme-amber",name:"Amber"}]}})]};(0,o.B8)(y,cy).catch(b=>console.error(b))},3981:(i,a)=>{"use strict";a.byteLength=function I(z){var q=A(z),dt=q[1];return 3*(q[0]+dt)/4-dt},a.toByteArray=function T(z){var q,St,ct=A(z),dt=ct[0],tt=ct[1],vt=new s(function M(z,q,ct){return 3*(q+ct)/4-ct}(0,dt,tt)),Mt=0,$t=tt>0?dt-4:dt;for(St=0;St<$t;St+=4)q=o[z.charCodeAt(St)]<<18|o[z.charCodeAt(St+1)]<<12|o[z.charCodeAt(St+2)]<<6|o[z.charCodeAt(St+3)],vt[Mt++]=q>>16&255,vt[Mt++]=q>>8&255,vt[Mt++]=255&q;return 2===tt&&(q=o[z.charCodeAt(St)]<<2|o[z.charCodeAt(St+1)]>>4,vt[Mt++]=255&q),1===tt&&(q=o[z.charCodeAt(St)]<<10|o[z.charCodeAt(St+1)]<<4|o[z.charCodeAt(St+2)]>>2,vt[Mt++]=q>>8&255,vt[Mt++]=255&q),vt},a.fromByteArray=function Y(z){for(var q,ct=z.length,dt=ct%3,tt=[],Mt=0,$t=ct-dt;Mt<$t;Mt+=16383)tt.push(L(z,Mt,Mt+16383>$t?$t:Mt+16383));return 1===dt?tt.push(r[(q=z[ct-1])>>2]+r[q<<4&63]+"=="):2===dt&&tt.push(r[(q=(z[ct-2]<<8)+z[ct-1])>>10]+r[q>>4&63]+r[q<<2&63]+"="),tt.join("")};for(var r=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)r[y]=c[y],o[c.charCodeAt(y)]=y;function A(z){var q=z.length;if(q%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ct=z.indexOf("=");return-1===ct&&(ct=q),[ct,ct===q?0:4-ct%4]}function O(z){return r[z>>18&63]+r[z>>12&63]+r[z>>6&63]+r[63&z]}function L(z,q,ct){for(var tt=[],vt=q;vt{"use strict";const s=r(3981),c=r(2020),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;a.hp=M,a.IS=50;const k=2147483647;function I(mt){if(mt>k)throw new RangeError('The value "'+mt+'" is invalid for option "size"');const $=new Uint8Array(mt);return Object.setPrototypeOf($,M.prototype),$}function M(mt,$,Z){if("number"==typeof mt){if("string"==typeof $)throw new TypeError('The "string" argument must be of type string. Received type number');return Y(mt)}return T(mt,$,Z)}function T(mt,$,Z){if("string"==typeof mt)return function z(mt,$){if(("string"!=typeof $||""===$)&&($="utf8"),!M.isEncoding($))throw new TypeError("Unknown encoding: "+$);const Z=0|$t(mt,$);let it=I(Z);const Tt=it.write(mt,$);return Tt!==Z&&(it=it.slice(0,Tt)),it}(mt,$);if(ArrayBuffer.isView(mt))return function ct(mt){if(Lt(mt,Uint8Array)){const $=new Uint8Array(mt);return dt($.buffer,$.byteOffset,$.byteLength)}return q(mt)}(mt);if(null==mt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt);if(Lt(mt,ArrayBuffer)||mt&&Lt(mt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Lt(mt,SharedArrayBuffer)||mt&&Lt(mt.buffer,SharedArrayBuffer)))return dt(mt,$,Z);if("number"==typeof mt)throw new TypeError('The "value" argument must not be of type number. Received type number');const it=mt.valueOf&&mt.valueOf();if(null!=it&&it!==mt)return M.from(it,$,Z);const Tt=function tt(mt){if(M.isBuffer(mt)){const $=0|vt(mt.length),Z=I($);return 0===Z.length||mt.copy(Z,0,0,$),Z}return void 0!==mt.length?"number"!=typeof mt.length||be(mt.length)?I(0):q(mt):"Buffer"===mt.type&&Array.isArray(mt.data)?q(mt.data):void 0}(mt);if(Tt)return Tt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof mt[Symbol.toPrimitive])return M.from(mt[Symbol.toPrimitive]("string"),$,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof mt)}function O(mt){if("number"!=typeof mt)throw new TypeError('"size" argument must be of type number');if(mt<0)throw new RangeError('The value "'+mt+'" is invalid for option "size"')}function Y(mt){return O(mt),I(mt<0?0:0|vt(mt))}function q(mt){const $=mt.length<0?0:0|vt(mt.length),Z=I($);for(let it=0;it<$;it+=1)Z[it]=255&mt[it];return Z}function dt(mt,$,Z){if($<0||mt.byteLength<$)throw new RangeError('"offset" is outside of buffer bounds');if(mt.byteLength<$+(Z||0))throw new RangeError('"length" is outside of buffer bounds');let it;return it=void 0===$&&void 0===Z?new Uint8Array(mt):void 0===Z?new Uint8Array(mt,$):new Uint8Array(mt,$,Z),Object.setPrototypeOf(it,M.prototype),it}function vt(mt){if(mt>=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|mt}function $t(mt,$){if(M.isBuffer(mt))return mt.length;if(ArrayBuffer.isView(mt)||Lt(mt,ArrayBuffer))return mt.byteLength;if("string"!=typeof mt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof mt);const Z=mt.length,it=arguments.length>2&&!0===arguments[2];if(!it&&0===Z)return 0;let Tt=!1;for(;;)switch($){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return Pe(mt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Z;case"hex":return Z>>>1;case"base64":return ko(mt).length;default:if(Tt)return it?-1:Pe(mt).length;$=(""+$).toLowerCase(),Tt=!0}}function St(mt,$,Z){let it=!1;if((void 0===$||$<0)&&($=0),$>this.length||((void 0===Z||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0)<=($>>>=0))return"";for(mt||(mt="utf8");;)switch(mt){case"hex":return xe(this,$,Z);case"utf8":case"utf-8":return Xe(this,$,Z);case"ascii":return wr(this,$,Z);case"latin1":case"binary":return Wr(this,$,Z);case"base64":return oe(this,$,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,$,Z);default:if(it)throw new TypeError("Unknown encoding: "+mt);mt=(mt+"").toLowerCase(),it=!0}}function kt(mt,$,Z){const it=mt[$];mt[$]=mt[Z],mt[Z]=it}function nt(mt,$,Z,it,Tt){if(0===mt.length)return-1;if("string"==typeof Z?(it=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),be(Z=+Z)&&(Z=Tt?0:mt.length-1),Z<0&&(Z=mt.length+Z),Z>=mt.length){if(Tt)return-1;Z=mt.length-1}else if(Z<0){if(!Tt)return-1;Z=0}if("string"==typeof $&&($=M.from($,it)),M.isBuffer($))return 0===$.length?-1:at(mt,$,Z,it,Tt);if("number"==typeof $)return $&=255,"function"==typeof Uint8Array.prototype.indexOf?Tt?Uint8Array.prototype.indexOf.call(mt,$,Z):Uint8Array.prototype.lastIndexOf.call(mt,$,Z):at(mt,[$],Z,it,Tt);throw new TypeError("val must be string, number or Buffer")}function at(mt,$,Z,it,Tt){let er,It=1,ye=mt.length,ir=$.length;if(void 0!==it&&("ucs2"===(it=String(it).toLowerCase())||"ucs-2"===it||"utf16le"===it||"utf-16le"===it)){if(mt.length<2||$.length<2)return-1;It=2,ye/=2,ir/=2,Z/=2}function Je(Hr,eo){return 1===It?Hr[eo]:Hr.readUInt16BE(eo*It)}if(Tt){let Hr=-1;for(er=Z;erye&&(Z=ye-ir),er=Z;er>=0;er--){let Hr=!0;for(let eo=0;eoTt&&(it=Tt):it=Tt;const It=$.length;let ye;for(it>It/2&&(it=It/2),ye=0;ye>8,Tt=Z%256,It.push(Tt),It.push(it);return It}($,mt.length-Z),mt,Z,it)}function oe(mt,$,Z){return s.fromByteArray(0===$&&Z===mt.length?mt:mt.slice($,Z))}function Xe(mt,$,Z){Z=Math.min(mt.length,Z);const it=[];let Tt=$;for(;Tt239?4:It>223?3:It>191?2:1;if(Tt+ir<=Z){let Je,er,Hr,eo;switch(ir){case 1:It<128&&(ye=It);break;case 2:Je=mt[Tt+1],128==(192&Je)&&(eo=(31&It)<<6|63&Je,eo>127&&(ye=eo));break;case 3:Je=mt[Tt+1],er=mt[Tt+2],128==(192&Je)&&128==(192&er)&&(eo=(15&It)<<12|(63&Je)<<6|63&er,eo>2047&&(eo<55296||eo>57343)&&(ye=eo));break;case 4:Je=mt[Tt+1],er=mt[Tt+2],Hr=mt[Tt+3],128==(192&Je)&&128==(192&er)&&128==(192&Hr)&&(eo=(15&It)<<18|(63&Je)<<12|(63&er)<<6|63&Hr,eo>65535&&eo<1114112&&(ye=eo))}}null===ye?(ye=65533,ir=1):ye>65535&&(ye-=65536,it.push(ye>>>10&1023|55296),ye=56320|1023&ye),it.push(ye),Tt+=ir}return function gr(mt){const $=mt.length;if($<=kr)return String.fromCharCode.apply(String,mt);let Z="",it=0;for(;it<$;)Z+=String.fromCharCode.apply(String,mt.slice(it,it+=kr));return Z}(it)}!(M.TYPED_ARRAY_SUPPORT=function A(){try{const mt=new Uint8Array(1),$={foo:function(){return 42}};return Object.setPrototypeOf($,Uint8Array.prototype),Object.setPrototypeOf(mt,$),42===mt.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(M.prototype,"parent",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.buffer}}),Object.defineProperty(M.prototype,"offset",{enumerable:!0,get:function(){if(M.isBuffer(this))return this.byteOffset}}),M.poolSize=8192,M.from=function(mt,$,Z){return T(mt,$,Z)},Object.setPrototypeOf(M.prototype,Uint8Array.prototype),Object.setPrototypeOf(M,Uint8Array),M.alloc=function(mt,$,Z){return function L(mt,$,Z){return O(mt),mt<=0?I(mt):void 0!==$?"string"==typeof Z?I(mt).fill($,Z):I(mt).fill($):I(mt)}(mt,$,Z)},M.allocUnsafe=function(mt){return Y(mt)},M.allocUnsafeSlow=function(mt){return Y(mt)},M.isBuffer=function($){return null!=$&&!0===$._isBuffer&&$!==M.prototype},M.compare=function($,Z){if(Lt($,Uint8Array)&&($=M.from($,$.offset,$.byteLength)),Lt(Z,Uint8Array)&&(Z=M.from(Z,Z.offset,Z.byteLength)),!M.isBuffer($)||!M.isBuffer(Z))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===Z)return 0;let it=$.length,Tt=Z.length;for(let It=0,ye=Math.min(it,Tt);ItTt.length?(M.isBuffer(ye)||(ye=M.from(ye)),ye.copy(Tt,It)):Uint8Array.prototype.set.call(Tt,ye,It);else{if(!M.isBuffer(ye))throw new TypeError('"list" argument must be an Array of Buffers');ye.copy(Tt,It)}It+=ye.length}return Tt},M.byteLength=$t,M.prototype._isBuffer=!0,M.prototype.swap16=function(){const $=this.length;if($%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Z=0;Z<$;Z+=2)kt(this,Z,Z+1);return this},M.prototype.swap32=function(){const $=this.length;if($%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Z=0;Z<$;Z+=4)kt(this,Z,Z+3),kt(this,Z+1,Z+2);return this},M.prototype.swap64=function(){const $=this.length;if($%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Z=0;Z<$;Z+=8)kt(this,Z,Z+7),kt(this,Z+1,Z+6),kt(this,Z+2,Z+5),kt(this,Z+3,Z+4);return this},M.prototype.toLocaleString=M.prototype.toString=function(){const $=this.length;return 0===$?"":0===arguments.length?Xe(this,0,$):St.apply(this,arguments)},M.prototype.equals=function($){if(!M.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$||0===M.compare(this,$)},M.prototype.inspect=function(){let $="";const Z=a.IS;return $=this.toString("hex",0,Z).replace(/(.{2})/g,"$1 ").trim(),this.length>Z&&($+=" ... "),""},y&&(M.prototype[y]=M.prototype.inspect),M.prototype.compare=function($,Z,it,Tt,It){if(Lt($,Uint8Array)&&($=M.from($,$.offset,$.byteLength)),!M.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(void 0===Z&&(Z=0),void 0===it&&(it=$?$.length:0),void 0===Tt&&(Tt=0),void 0===It&&(It=this.length),Z<0||it>$.length||Tt<0||It>this.length)throw new RangeError("out of range index");if(Tt>=It&&Z>=it)return 0;if(Tt>=It)return-1;if(Z>=it)return 1;if(this===$)return 0;let ye=(It>>>=0)-(Tt>>>=0),ir=(it>>>=0)-(Z>>>=0);const Je=Math.min(ye,ir),er=this.slice(Tt,It),Hr=$.slice(Z,it);for(let eo=0;eo>>=0,isFinite(it)?(it>>>=0,void 0===Tt&&(Tt="utf8")):(Tt=it,it=void 0)}const It=this.length-Z;if((void 0===it||it>It)&&(it=It),$.length>0&&(it<0||Z<0)||Z>this.length)throw new RangeError("Attempt to write outside buffer bounds");Tt||(Tt="utf8");let ye=!1;for(;;)switch(Tt){case"hex":return rt(this,$,Z,it);case"utf8":case"utf-8":return yt(this,$,Z,it);case"ascii":case"latin1":case"binary":return Ct(this,$,Z,it);case"base64":return Vt(this,$,Z,it);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xt(this,$,Z,it);default:if(ye)throw new TypeError("Unknown encoding: "+Tt);Tt=(""+Tt).toLowerCase(),ye=!0}},M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const kr=4096;function wr(mt,$,Z){let it="";Z=Math.min(mt.length,Z);for(let Tt=$;Ttit)&&(Z=it);let Tt="";for(let It=$;ItZ)throw new RangeError("Trying to access beyond buffer length")}function Nt(mt,$,Z,it,Tt,It){if(!M.isBuffer(mt))throw new TypeError('"buffer" argument must be a Buffer instance');if($>Tt||$mt.length)throw new RangeError("Index out of range")}function Se(mt,$,Z,it,Tt){Ee($,it,Tt,mt,Z,7);let It=Number($&BigInt(4294967295));mt[Z++]=It,It>>=8,mt[Z++]=It,It>>=8,mt[Z++]=It,It>>=8,mt[Z++]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Z++]=ye,ye>>=8,mt[Z++]=ye,ye>>=8,mt[Z++]=ye,ye>>=8,mt[Z++]=ye,Z}function Rt(mt,$,Z,it,Tt){Ee($,it,Tt,mt,Z,7);let It=Number($&BigInt(4294967295));mt[Z+7]=It,It>>=8,mt[Z+6]=It,It>>=8,mt[Z+5]=It,It>>=8,mt[Z+4]=It;let ye=Number($>>BigInt(32)&BigInt(4294967295));return mt[Z+3]=ye,ye>>=8,mt[Z+2]=ye,ye>>=8,mt[Z+1]=ye,ye>>=8,mt[Z]=ye,Z+8}function de(mt,$,Z,it,Tt,It){if(Z+it>mt.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function jt(mt,$,Z,it,Tt){return $=+$,Z>>>=0,Tt||de(mt,0,Z,4),c.write(mt,$,Z,it,23,4),Z+4}function De(mt,$,Z,it,Tt){return $=+$,Z>>>=0,Tt||de(mt,0,Z,8),c.write(mt,$,Z,it,52,8),Z+8}M.prototype.slice=function($,Z){const it=this.length;($=~~$)<0?($+=it)<0&&($=0):$>it&&($=it),(Z=void 0===Z?it:~~Z)<0?(Z+=it)<0&&(Z=0):Z>it&&(Z=it),Z<$&&(Z=$);const Tt=this.subarray($,Z);return Object.setPrototypeOf(Tt,M.prototype),Tt},M.prototype.readUintLE=M.prototype.readUIntLE=function($,Z,it){$>>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$],It=1,ye=0;for(;++ye>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$+--Z],It=1;for(;Z>0&&(It*=256);)Tt+=this[$+--Z]*It;return Tt},M.prototype.readUint8=M.prototype.readUInt8=function($,Z){return $>>>=0,Z||gt($,1,this.length),this[$]},M.prototype.readUint16LE=M.prototype.readUInt16LE=function($,Z){return $>>>=0,Z||gt($,2,this.length),this[$]|this[$+1]<<8},M.prototype.readUint16BE=M.prototype.readUInt16BE=function($,Z){return $>>>=0,Z||gt($,2,this.length),this[$]<<8|this[$+1]},M.prototype.readUint32LE=M.prototype.readUInt32LE=function($,Z){return $>>>=0,Z||gt($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+16777216*this[$+3]},M.prototype.readUint32BE=M.prototype.readUInt32BE=function($,Z){return $>>>=0,Z||gt($,4,this.length),16777216*this[$]+(this[$+1]<<16|this[$+2]<<8|this[$+3])},M.prototype.readBigUInt64LE=Ie(function($){ie($>>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=Z+256*this[++$]+65536*this[++$]+this[++$]*2**24,It=this[++$]+256*this[++$]+65536*this[++$]+it*2**24;return BigInt(Tt)+(BigInt(It)<>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=Z*2**24+65536*this[++$]+256*this[++$]+this[++$],It=this[++$]*2**24+65536*this[++$]+256*this[++$]+it;return(BigInt(Tt)<>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=this[$],It=1,ye=0;for(;++ye=It&&(Tt-=Math.pow(2,8*Z)),Tt},M.prototype.readIntBE=function($,Z,it){$>>>=0,Z>>>=0,it||gt($,Z,this.length);let Tt=Z,It=1,ye=this[$+--Tt];for(;Tt>0&&(It*=256);)ye+=this[$+--Tt]*It;return It*=128,ye>=It&&(ye-=Math.pow(2,8*Z)),ye},M.prototype.readInt8=function($,Z){return $>>>=0,Z||gt($,1,this.length),128&this[$]?-1*(255-this[$]+1):this[$]},M.prototype.readInt16LE=function($,Z){$>>>=0,Z||gt($,2,this.length);const it=this[$]|this[$+1]<<8;return 32768&it?4294901760|it:it},M.prototype.readInt16BE=function($,Z){$>>>=0,Z||gt($,2,this.length);const it=this[$+1]|this[$]<<8;return 32768&it?4294901760|it:it},M.prototype.readInt32LE=function($,Z){return $>>>=0,Z||gt($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},M.prototype.readInt32BE=function($,Z){return $>>>=0,Z||gt($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},M.prototype.readBigInt64LE=Ie(function($){ie($>>>=0,"offset");const Z=this[$],it=this[$+7];return(void 0===Z||void 0===it)&&He($,this.length-8),(BigInt(this[$+4]+256*this[$+5]+65536*this[$+6]+(it<<24))<>>=0,"offset");const Z=this[$],it=this[$+7];(void 0===Z||void 0===it)&&He($,this.length-8);const Tt=(Z<<24)+65536*this[++$]+256*this[++$]+this[++$];return(BigInt(Tt)<>>=0,Z||gt($,4,this.length),c.read(this,$,!0,23,4)},M.prototype.readFloatBE=function($,Z){return $>>>=0,Z||gt($,4,this.length),c.read(this,$,!1,23,4)},M.prototype.readDoubleLE=function($,Z){return $>>>=0,Z||gt($,8,this.length),c.read(this,$,!0,52,8)},M.prototype.readDoubleBE=function($,Z){return $>>>=0,Z||gt($,8,this.length),c.read(this,$,!1,52,8)},M.prototype.writeUintLE=M.prototype.writeUIntLE=function($,Z,it,Tt){$=+$,Z>>>=0,it>>>=0,Tt||Nt(this,$,Z,it,Math.pow(2,8*it)-1,0);let It=1,ye=0;for(this[Z]=255&$;++ye>>=0,it>>>=0,Tt||Nt(this,$,Z,it,Math.pow(2,8*it)-1,0);let It=it-1,ye=1;for(this[Z+It]=255&$;--It>=0&&(ye*=256);)this[Z+It]=$/ye&255;return Z+it},M.prototype.writeUint8=M.prototype.writeUInt8=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,1,255,0),this[Z]=255&$,Z+1},M.prototype.writeUint16LE=M.prototype.writeUInt16LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,65535,0),this[Z]=255&$,this[Z+1]=$>>>8,Z+2},M.prototype.writeUint16BE=M.prototype.writeUInt16BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,65535,0),this[Z]=$>>>8,this[Z+1]=255&$,Z+2},M.prototype.writeUint32LE=M.prototype.writeUInt32LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,4294967295,0),this[Z+3]=$>>>24,this[Z+2]=$>>>16,this[Z+1]=$>>>8,this[Z]=255&$,Z+4},M.prototype.writeUint32BE=M.prototype.writeUInt32BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,4294967295,0),this[Z]=$>>>24,this[Z+1]=$>>>16,this[Z+2]=$>>>8,this[Z+3]=255&$,Z+4},M.prototype.writeBigUInt64LE=Ie(function($,Z=0){return Se(this,$,Z,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeBigUInt64BE=Ie(function($,Z=0){return Rt(this,$,Z,BigInt(0),BigInt("0xffffffffffffffff"))}),M.prototype.writeIntLE=function($,Z,it,Tt){if($=+$,Z>>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Z,it,Je-1,-Je)}let It=0,ye=1,ir=0;for(this[Z]=255&$;++It>>=0,!Tt){const Je=Math.pow(2,8*it-1);Nt(this,$,Z,it,Je-1,-Je)}let It=it-1,ye=1,ir=0;for(this[Z+It]=255&$;--It>=0&&(ye*=256);)$<0&&0===ir&&0!==this[Z+It+1]&&(ir=1),this[Z+It]=($/ye|0)-ir&255;return Z+it},M.prototype.writeInt8=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,1,127,-128),$<0&&($=255+$+1),this[Z]=255&$,Z+1},M.prototype.writeInt16LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,32767,-32768),this[Z]=255&$,this[Z+1]=$>>>8,Z+2},M.prototype.writeInt16BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,2,32767,-32768),this[Z]=$>>>8,this[Z+1]=255&$,Z+2},M.prototype.writeInt32LE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,2147483647,-2147483648),this[Z]=255&$,this[Z+1]=$>>>8,this[Z+2]=$>>>16,this[Z+3]=$>>>24,Z+4},M.prototype.writeInt32BE=function($,Z,it){return $=+$,Z>>>=0,it||Nt(this,$,Z,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[Z]=$>>>24,this[Z+1]=$>>>16,this[Z+2]=$>>>8,this[Z+3]=255&$,Z+4},M.prototype.writeBigInt64LE=Ie(function($,Z=0){return Se(this,$,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),M.prototype.writeBigInt64BE=Ie(function($,Z=0){return Rt(this,$,Z,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),M.prototype.writeFloatLE=function($,Z,it){return jt(this,$,Z,!0,it)},M.prototype.writeFloatBE=function($,Z,it){return jt(this,$,Z,!1,it)},M.prototype.writeDoubleLE=function($,Z,it){return De(this,$,Z,!0,it)},M.prototype.writeDoubleBE=function($,Z,it){return De(this,$,Z,!1,it)},M.prototype.copy=function($,Z,it,Tt){if(!M.isBuffer($))throw new TypeError("argument should be a Buffer");if(it||(it=0),!Tt&&0!==Tt&&(Tt=this.length),Z>=$.length&&(Z=$.length),Z||(Z=0),Tt>0&&Tt=this.length)throw new RangeError("Index out of range");if(Tt<0)throw new RangeError("sourceEnd out of bounds");Tt>this.length&&(Tt=this.length),$.length-Z>>=0,it=void 0===it?this.length:it>>>0,$||($=0),"number"==typeof $)for(It=Z;It=it+4;Z-=3)$=`_${mt.slice(Z-3,Z)}${$}`;return`${mt.slice(0,Z)}${$}`}function Ee(mt,$,Z,it,Tt,It){if(mt>Z||mt<$){const ye="bigint"==typeof $?"n":"";let ir;throw ir=It>3?0===$||$===BigInt(0)?`>= 0${ye} and < 2${ye} ** ${8*(It+1)}${ye}`:`>= -(2${ye} ** ${8*(It+1)-1}${ye}) and < 2 ** ${8*(It+1)-1}${ye}`:`>= ${$}${ye} and <= ${Z}${ye}`,new Ye.ERR_OUT_OF_RANGE("value",ir,mt)}!function Ut(mt,$,Z){ie($,"offset"),(void 0===mt[$]||void 0===mt[$+Z])&&He($,mt.length-(Z+1))}(it,Tt,It)}function ie(mt,$){if("number"!=typeof mt)throw new Ye.ERR_INVALID_ARG_TYPE($,"number",mt)}function He(mt,$,Z){throw Math.floor(mt)!==mt?(ie(mt,Z),new Ye.ERR_OUT_OF_RANGE(Z||"offset","an integer",mt)):$<0?new Ye.ERR_BUFFER_OUT_OF_BOUNDS:new Ye.ERR_OUT_OF_RANGE(Z||"offset",`>= ${Z?1:0} and <= ${$}`,mt)}ft("ERR_BUFFER_OUT_OF_BOUNDS",function(mt){return mt?`${mt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ft("ERR_INVALID_ARG_TYPE",function(mt,$){return`The "${mt}" argument must be of type number. Received type ${typeof $}`},TypeError),ft("ERR_OUT_OF_RANGE",function(mt,$,Z){let it=`The value of "${mt}" is out of range.`,Tt=Z;return Number.isInteger(Z)&&Math.abs(Z)>2**32?Tt=pe(String(Z)):"bigint"==typeof Z&&(Tt=String(Z),(Z>BigInt(2)**BigInt(32)||Z<-(BigInt(2)**BigInt(32)))&&(Tt=pe(Tt)),Tt+="n"),it+=` It must be ${$}. Received ${Tt}`,it},RangeError);const Ht=/[^+/0-9A-Za-z-_]/g;function Pe(mt,$){let Z;$=$||1/0;const it=mt.length;let Tt=null;const It=[];for(let ye=0;ye55295&&Z<57344){if(!Tt){if(Z>56319){($-=3)>-1&&It.push(239,191,189);continue}if(ye+1===it){($-=3)>-1&&It.push(239,191,189);continue}Tt=Z;continue}if(Z<56320){($-=3)>-1&&It.push(239,191,189),Tt=Z;continue}Z=65536+(Tt-55296<<10|Z-56320)}else Tt&&($-=3)>-1&&It.push(239,191,189);if(Tt=null,Z<128){if(($-=1)<0)break;It.push(Z)}else if(Z<2048){if(($-=2)<0)break;It.push(Z>>6|192,63&Z|128)}else if(Z<65536){if(($-=3)<0)break;It.push(Z>>12|224,Z>>6&63|128,63&Z|128)}else{if(!(Z<1114112))throw new Error("Invalid code point");if(($-=4)<0)break;It.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,63&Z|128)}}return It}function ko(mt){return s.toByteArray(function Me(mt){if((mt=(mt=mt.split("=")[0]).trim().replace(Ht,"")).length<2)return"";for(;mt.length%4!=0;)mt+="=";return mt}(mt))}function lr(mt,$,Z,it){let Tt;for(Tt=0;Tt=$.length||Tt>=mt.length);++Tt)$[Tt+Z]=mt[Tt];return Tt}function Lt(mt,$){return mt instanceof $||null!=mt&&null!=mt.constructor&&null!=mt.constructor.name&&mt.constructor.name===$.name}function be(mt){return mt!=mt}const se=function(){const mt="0123456789abcdef",$=new Array(256);for(let Z=0;Z<16;++Z){const it=16*Z;for(let Tt=0;Tt<16;++Tt)$[it+Tt]=mt[Z]+mt[Tt]}return $}();function Ie(mt){return typeof BigInt>"u"?br:mt}function br(){throw new Error("BigInt not supported")}},2020:(i,a)=>{a.read=function(r,o,s,c,y){var k,A,I=8*y-c-1,M=(1<>1,O=-7,L=s?y-1:0,Y=s?-1:1,z=r[o+L];for(L+=Y,k=z&(1<<-O)-1,z>>=-O,O+=I;O>0;k=256*k+r[o+L],L+=Y,O-=8);for(A=k&(1<<-O)-1,k>>=-O,O+=c;O>0;A=256*A+r[o+L],L+=Y,O-=8);if(0===k)k=1-T;else{if(k===M)return A?NaN:1/0*(z?-1:1);A+=Math.pow(2,c),k-=T}return(z?-1:1)*A*Math.pow(2,k-c)},a.write=function(r,o,s,c,y,k){var A,I,M,T=8*k-y-1,O=(1<>1,Y=23===y?Math.pow(2,-24)-Math.pow(2,-77):0,z=c?0:k-1,q=c?1:-1,ct=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(I=isNaN(o)?1:0,A=O):(A=Math.floor(Math.log(o)/Math.LN2),o*(M=Math.pow(2,-A))<1&&(A--,M*=2),(o+=A+L>=1?Y/M:Y*Math.pow(2,1-L))*M>=2&&(A++,M/=2),A+L>=O?(I=0,A=O):A+L>=1?(I=(o*M-1)*Math.pow(2,y),A+=L):(I=o*Math.pow(2,L-1)*Math.pow(2,y),A=0));y>=8;r[s+z]=255&I,z+=q,I/=256,y-=8);for(A=A<0;r[s+z]=255&A,z+=q,A/=256,T-=8);r[s+z-q]|=128*ct}},119:i=>{i.exports=function s(c,y,k){function A(T,O){if(!y[T]){if(!c[T]){if(I)return I(T,!0);var Y=new Error("Cannot find module '"+T+"'");throw Y.code="MODULE_NOT_FOUND",Y}var z=y[T]={exports:{}};c[T][0].call(z.exports,function(q){return A(c[T][1][q]||q)},z,z.exports,s,c,y,k)}return y[T].exports}for(var I=void 0,M=0;M"u"&&s(3);var L=Promise;function Y(pt,Gt){Gt&&pt.then(function(Dt){Gt(null,Dt)},function(Dt){Gt(Dt)})}function z(pt,Gt,Dt){"function"==typeof Gt&&pt.then(Gt),"function"==typeof Dt&&pt.catch(Dt)}function q(pt){return"string"!=typeof pt&&(console.warn(pt+" used as a key, but it is not a string."),pt=String(pt)),pt}function ct(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var dt="local-forage-detect-blob-support",tt=void 0,vt={},Mt=Object.prototype.toString,$t="readonly",St="readwrite";function kt(pt){for(var Gt=pt.length,Dt=new ArrayBuffer(Gt),ne=new Uint8Array(Dt),Re=0;Re=43)}}).catch(function(){return!1})}(pt).then(function(Gt){return tt=Gt})}function rt(pt){var Gt=vt[pt.name],Dt={};Dt.promise=new L(function(ne,Re){Dt.resolve=ne,Dt.reject=Re}),Gt.deferredOperations.push(Dt),Gt.dbReady=Gt.dbReady?Gt.dbReady.then(function(){return Dt.promise}):Dt.promise}function yt(pt){var Dt=vt[pt.name].deferredOperations.pop();if(Dt)return Dt.resolve(),Dt.promise}function Ct(pt,Gt){var ne=vt[pt.name].deferredOperations.pop();if(ne)return ne.reject(Gt),ne.promise}function Vt(pt,Gt){return new L(function(Dt,ne){if(vt[pt.name]=vt[pt.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},pt.db){if(!Gt)return Dt(pt.db);rt(pt),pt.db.close()}var Re=[pt.name];Gt&&Re.push(pt.version);var Ce=M.open.apply(M,Re);Gt&&(Ce.onupgradeneeded=function(or){var Cr=Ce.result;try{Cr.createObjectStore(pt.storeName),or.oldVersion<=1&&Cr.createObjectStore(dt)}catch(Er){if("ConstraintError"!==Er.name)throw Er;console.warn('The database "'+pt.name+'" has been upgraded from version '+or.oldVersion+" to version "+or.newVersion+', but the storage "'+pt.storeName+'" already exists.')}}),Ce.onerror=function(or){or.preventDefault(),ne(Ce.error)},Ce.onsuccess=function(){var or=Ce.result;or.onversionchange=function(Cr){Cr.target.close()},Dt(or),yt(pt)}})}function Xt(pt){return Vt(pt,!1)}function oe(pt){return Vt(pt,!0)}function Xe(pt,Gt){if(!pt.db)return!0;var Dt=!pt.db.objectStoreNames.contains(pt.storeName),Re=pt.version>pt.db.version;if(pt.versionpt.version&&(pt.version=Ce)}return!0}return!1}function gr(pt){return O([kt(atob(pt.data))],{type:pt.type})}function wr(pt){return pt&&pt.__local_forage_encoded_blob}function Wr(pt){var Gt=this,Dt=Gt._initReady().then(function(){var ne=vt[Gt._dbInfo.name];if(ne&&ne.dbReady)return ne.dbReady});return z(Dt,pt,pt),Dt}function Le(pt,Gt,Dt,ne){void 0===ne&&(ne=1);try{var Re=pt.db.transaction(pt.storeName,Gt);Dt(null,Re)}catch(Ce){if(ne>0&&(!pt.db||"InvalidStateError"===Ce.name||"NotFoundError"===Ce.name))return L.resolve().then(function(){if(!pt.db||"NotFoundError"===Ce.name&&!pt.db.objectStoreNames.contains(pt.storeName)&&pt.version<=pt.db.version)return pt.db&&(pt.version=pt.db.version+1),oe(pt)}).then(function(){return function xe(pt){rt(pt);for(var Gt=vt[pt.name],Dt=Gt.forages,ne=0;ne>4,Fr[Re++]=(15&or)<<4|Cr>>2,Fr[Re++]=(3&Cr)<<6|63&Er;return Nr}function ye(pt){var ne,Gt=new Uint8Array(pt),Dt="";for(ne=0;ne>2],Dt+=He[(3&Gt[ne])<<4|Gt[ne+1]>>4],Dt+=He[(15&Gt[ne+1])<<2|Gt[ne+2]>>6],Dt+=He[63&Gt[ne+2]];return Gt.length%3==2?Dt=Dt.substring(0,Dt.length-1)+"=":Gt.length%3==1&&(Dt=Dt.substring(0,Dt.length-2)+"=="),Dt}var er={serialize:function ir(pt,Gt){var Dt="";if(pt&&(Dt=Tt.call(pt)),pt&&("[object ArrayBuffer]"===Dt||pt.buffer&&"[object ArrayBuffer]"===Tt.call(pt.buffer))){var ne,Re=Pe;pt instanceof ArrayBuffer?(ne=pt,Re+=Or):(ne=pt.buffer,"[object Int8Array]"===Dt?Re+="si08":"[object Uint8Array]"===Dt?Re+="ui08":"[object Uint8ClampedArray]"===Dt?Re+="uic8":"[object Int16Array]"===Dt?Re+="si16":"[object Uint16Array]"===Dt?Re+="ur16":"[object Int32Array]"===Dt?Re+="si32":"[object Uint32Array]"===Dt?Re+="ui32":"[object Float32Array]"===Dt?Re+=$:"[object Float64Array]"===Dt?Re+=Z:Gt(new Error("Failed to get type for BinaryArray"))),Gt(Re+ye(ne))}else if("[object Blob]"===Dt){var Ce=new FileReader;Ce.onload=function(){var or="~~local_forage_type~"+pt.type+"~"+ye(this.result);Gt(Pe+ko+or)},Ce.readAsArrayBuffer(pt)}else try{Gt(JSON.stringify(pt))}catch(or){console.error("Couldn't convert value into a JSON string: ",pt),Gt(null,or)}},deserialize:function Je(pt){if(pt.substring(0,9)!==Pe)return JSON.parse(pt);var ne,Gt=pt.substring(13),Dt=pt.substring(9,13);if(Dt===ko&&Me.test(Gt)){var Re=Gt.match(Me);ne=Re[1],Gt=Gt.substring(Re[0].length)}var Ce=It(Gt);switch(Dt){case Or:return Ce;case ko:return O([Ce],{type:ne});case"si08":return new Int8Array(Ce);case"ui08":return new Uint8Array(Ce);case"uic8":return new Uint8ClampedArray(Ce);case"si16":return new Int16Array(Ce);case"ur16":return new Uint16Array(Ce);case"si32":return new Int32Array(Ce);case"ui32":return new Uint32Array(Ce);case $:return new Float32Array(Ce);case Z:return new Float64Array(Ce);default:throw new Error("Unkown type: "+Dt)}},stringToBuffer:It,bufferToString:ye};function Hr(pt,Gt,Dt,ne){pt.executeSql("CREATE TABLE IF NOT EXISTS "+Gt.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],Dt,ne)}function Bo(pt,Gt,Dt,ne,Re,Ce){pt.executeSql(Dt,ne,Re,function(or,Cr){Cr.code===Cr.SYNTAX_ERR?or.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Gt.storeName],function(Er,Nr){Nr.rows.length?Ce(Er,Cr):Hr(Er,Gt,function(){Er.executeSql(Dt,ne,Re,Ce)},Ce)},Ce):Ce(or,Cr)},Ce)}function re(pt,Gt,Dt,ne){var Re=this;pt=q(pt);var Ce=new L(function(or,Cr){Re.ready().then(function(){void 0===Gt&&(Gt=null);var Er=Gt,Nr=Re._dbInfo;Nr.serializer.serialize(Gt,function(Fr,qr){qr?Cr(qr):Nr.db.transaction(function(to){Bo(to,Nr,"INSERT OR REPLACE INTO "+Nr.storeName+" (key, value) VALUES (?, ?)",[pt,Fr],function(){or(Er)},function(xo,So){Cr(So)})},function(to){if(to.code===to.QUOTA_ERR){if(ne>0)return void or(re.apply(Re,[pt,Er,Dt,ne-1]));Cr(to)}})})}).catch(Cr)});return Y(Ce,Dt),Ce}var $e={_driver:"webSQLStorage",_initStorage:function eo(pt){var Gt=this,Dt={db:null};if(pt)for(var ne in pt)Dt[ne]="string"!=typeof pt[ne]?pt[ne].toString():pt[ne];var Re=new L(function(Ce,or){try{Dt.db=openDatabase(Dt.name,String(Dt.version),Dt.description,Dt.size)}catch(Cr){return or(Cr)}Dt.db.transaction(function(Cr){Hr(Cr,Dt,function(){Gt._dbInfo=Dt,Ce()},function(Er,Nr){or(Nr)})},or)});return Dt.serializer=er,Re},_support:function ie(){return"function"==typeof openDatabase}(),iterate:function Pr(pt,Gt){var Dt=this,ne=new L(function(Re,Ce){Dt.ready().then(function(){var or=Dt._dbInfo;or.db.transaction(function(Cr){Bo(Cr,or,"SELECT * FROM "+or.storeName,[],function(Er,Nr){for(var Fr=Nr.rows,qr=Fr.length,to=0;to '__WebKitDatabaseInfoTable__'",[],function(Re,Ce){for(var or=[],Cr=0;Cr0}var pi={_driver:"localStorageWrapper",_initStorage:function Yt(pt){var Dt={};if(pt)for(var ne in pt)Dt[ne]=pt[ne];return Dt.keyPrefix=qe(pt,this._defaultConfig),me()?(this._dbInfo=Dt,Dt.serializer=er,L.resolve()):L.reject()},_support:function _e(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function yr(pt,Gt){var Dt=this,ne=Dt.ready().then(function(){for(var Re=Dt._dbInfo,Ce=Re.keyPrefix,or=Ce.length,Cr=localStorage.length,Er=1,Nr=0;Nr=0;Re--){var Ce=localStorage.key(Re);0===Ce.indexOf(ne)&&localStorage.removeItem(Ce)}});return Y(Dt,pt),Dt},length:function Xn(pt){var Dt=this.keys().then(function(ne){return ne.length});return Y(Dt,pt),Dt},key:function Eo(pt,Gt){var Dt=this,ne=Dt.ready().then(function(){var Ce,Re=Dt._dbInfo;try{Ce=localStorage.key(pt)}catch{Ce=null}return Ce&&(Ce=Ce.substring(Re.keyPrefix.length)),Ce});return Y(ne,Gt),ne},keys:function $n(pt){var Gt=this,Dt=Gt.ready().then(function(){for(var ne=Gt._dbInfo,Re=localStorage.length,Ce=[],or=0;or=0;or--){var Cr=localStorage.key(or);0===Cr.indexOf(Ce)&&localStorage.removeItem(Cr)}}):L.reject("Invalid arguments"),Gt),Re}},ei=function(Gt,Dt){return Gt===Dt||"number"==typeof Gt&&"number"==typeof Dt&&isNaN(Gt)&&isNaN(Dt)},Oe=function(Gt,Dt){for(var ne=Gt.length,Re=0;Re"u"?"undefined":k(Dt))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var ne in Dt){if("storeName"===ne&&(Dt[ne]=Dt[ne].replace(/\W/g,"_")),"version"===ne&&"number"!=typeof Dt[ne])return new Error("Database version must be a number.");this._config[ne]=Dt[ne]}return!("driver"in Dt)||!Dt.driver||this.setDriver(this._config.driver)}return"string"==typeof Dt?this._config[Dt]:this._config},pt.prototype.defineDriver=function(Dt,ne,Re){var Ce=new L(function(or,Cr){try{var Er=Dt._driver,Nr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!Dt._driver)return void Cr(Nr);for(var Fr=vo.concat("_initStorage"),qr=0,to=Fr.length;qr{"use strict";r.d(a,{t:()=>s});var o=r(1413);class s extends o.B{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const k=super._subscribe(y);return!k.closed&&y.next(this._value),k}getValue(){const{hasError:y,thrownError:k,_value:A}=this;if(y)throw k;return this._throwIfClosed(),A}next(y){super.next(this._value=y)}}},1985:(i,a,r)=>{"use strict";r.d(a,{c:()=>M});var o=r(7707),s=r(8359),c=r(3494),y=r(1203),k=r(1026),A=r(8071),I=r(9786);let M=(()=>{class Y{constructor(q){q&&(this._subscribe=q)}lift(q){const ct=new Y;return ct.source=this,ct.operator=q,ct}subscribe(q,ct,dt){const tt=function L(Y){return Y&&Y instanceof o.vU||function O(Y){return Y&&(0,A.T)(Y.next)&&(0,A.T)(Y.error)&&(0,A.T)(Y.complete)}(Y)&&(0,s.Uv)(Y)}(q)?q:new o.Ms(q,ct,dt);return(0,I.Y)(()=>{const{operator:vt,source:Mt}=this;tt.add(vt?vt.call(tt,Mt):Mt?this._subscribe(tt):this._trySubscribe(tt))}),tt}_trySubscribe(q){try{return this._subscribe(q)}catch(ct){q.error(ct)}}forEach(q,ct){return new(ct=T(ct))((dt,tt)=>{const vt=new o.Ms({next:Mt=>{try{q(Mt)}catch($t){tt($t),vt.unsubscribe()}},error:tt,complete:dt});this.subscribe(vt)})}_subscribe(q){var ct;return null===(ct=this.source)||void 0===ct?void 0:ct.subscribe(q)}[c.s](){return this}pipe(...q){return(0,y.m)(q)(this)}toPromise(q){return new(q=T(q))((ct,dt)=>{let tt;this.subscribe(vt=>tt=vt,vt=>dt(vt),()=>ct(tt))})}}return Y.create=z=>new Y(z),Y})();function T(Y){var z;return null!==(z=Y??k.$.Promise)&&void 0!==z?z:Promise}},2771:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1413),s=r(6129);class c extends o.B{constructor(k=1/0,A=1/0,I=s.U){super(),this._bufferSize=k,this._windowTime=A,this._timestampProvider=I,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=A===1/0,this._bufferSize=Math.max(1,k),this._windowTime=Math.max(1,A)}next(k){const{isStopped:A,_buffer:I,_infiniteTimeWindow:M,_timestampProvider:T,_windowTime:O}=this;A||(I.push(k),!M&&I.push(T.now()+O)),this._trimBuffer(),super.next(k)}_subscribe(k){this._throwIfClosed(),this._trimBuffer();const A=this._innerSubscribe(k),{_infiniteTimeWindow:I,_buffer:M}=this,T=M.slice();for(let O=0;O{"use strict";r.d(a,{B:()=>I});var o=r(1985),s=r(8359);const y=(0,r(1853).L)(T=>function(){T(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7908),A=r(9786);let I=(()=>{class T extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(L){const Y=new M(this,this);return Y.operator=L,Y}_throwIfClosed(){if(this.closed)throw new y}next(L){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const Y of this.currentObservers)Y.next(L)}})}error(L){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=L;const{observers:Y}=this;for(;Y.length;)Y.shift().error(L)}})}complete(){(0,A.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:L}=this;for(;L.length;)L.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var L;return(null===(L=this.observers)||void 0===L?void 0:L.length)>0}_trySubscribe(L){return this._throwIfClosed(),super._trySubscribe(L)}_subscribe(L){return this._throwIfClosed(),this._checkFinalizedStatuses(L),this._innerSubscribe(L)}_innerSubscribe(L){const{hasError:Y,isStopped:z,observers:q}=this;return Y||z?s.Kn:(this.currentObservers=null,q.push(L),new s.yU(()=>{this.currentObservers=null,(0,k.o)(q,L)}))}_checkFinalizedStatuses(L){const{hasError:Y,thrownError:z,isStopped:q}=this;Y?L.error(z):q&&L.complete()}asObservable(){const L=new o.c;return L.source=this,L}}return T.create=(O,L)=>new M(O,L),T})();class M extends I{constructor(O,L){super(),this.destination=O,this.source=L}next(O){var L,Y;null===(Y=null===(L=this.destination)||void 0===L?void 0:L.next)||void 0===Y||Y.call(L,O)}error(O){var L,Y;null===(Y=null===(L=this.destination)||void 0===L?void 0:L.error)||void 0===Y||Y.call(L,O)}complete(){var O,L;null===(L=null===(O=this.destination)||void 0===O?void 0:O.complete)||void 0===L||L.call(O)}_subscribe(O){var L,Y;return null!==(Y=null===(L=this.source)||void 0===L?void 0:L.subscribe(O))&&void 0!==Y?Y:s.Kn}}},7707:(i,a,r)=>{"use strict";r.d(a,{Ms:()=>dt,vU:()=>Y});var o=r(8071),s=r(8359),c=r(1026),y=r(5334),k=r(5343);const A=T("C",void 0,void 0);function T(St,kt,nt){return{kind:St,value:kt,error:nt}}var O=r(9270),L=r(9786);class Y extends s.yU{constructor(kt){super(),this.isStopped=!1,kt?(this.destination=kt,(0,s.Uv)(kt)&&kt.add(this)):this.destination=$t}static create(kt,nt,at){return new dt(kt,nt,at)}next(kt){this.isStopped?Mt(function M(St){return T("N",St,void 0)}(kt),this):this._next(kt)}error(kt){this.isStopped?Mt(function I(St){return T("E",void 0,St)}(kt),this):(this.isStopped=!0,this._error(kt))}complete(){this.isStopped?Mt(A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(kt){this.destination.next(kt)}_error(kt){try{this.destination.error(kt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const z=Function.prototype.bind;function q(St,kt){return z.call(St,kt)}class ct{constructor(kt){this.partialObserver=kt}next(kt){const{partialObserver:nt}=this;if(nt.next)try{nt.next(kt)}catch(at){tt(at)}}error(kt){const{partialObserver:nt}=this;if(nt.error)try{nt.error(kt)}catch(at){tt(at)}else tt(kt)}complete(){const{partialObserver:kt}=this;if(kt.complete)try{kt.complete()}catch(nt){tt(nt)}}}class dt extends Y{constructor(kt,nt,at){let rt;if(super(),(0,o.T)(kt)||!kt)rt={next:kt??void 0,error:nt??void 0,complete:at??void 0};else{let yt;this&&c.$.useDeprecatedNextContext?(yt=Object.create(kt),yt.unsubscribe=()=>this.unsubscribe(),rt={next:kt.next&&q(kt.next,yt),error:kt.error&&q(kt.error,yt),complete:kt.complete&&q(kt.complete,yt)}):rt=kt}this.destination=new ct(rt)}}function tt(St){c.$.useDeprecatedSynchronousErrorHandling?(0,L.l)(St):(0,y.m)(St)}function Mt(St,kt){const{onStoppedNotification:nt}=c.$;nt&&O.f.setTimeout(()=>nt(St,kt))}const $t={closed:!0,next:k.l,error:function vt(St){throw St},complete:k.l}},8359:(i,a,r)=>{"use strict";r.d(a,{Kn:()=>A,yU:()=>k,Uv:()=>I});var o=r(8071);const c=(0,r(1853).L)(T=>function(L){T(this),this.message=L?`${L.length} errors occurred during unsubscription:\n${L.map((Y,z)=>`${z+1}) ${Y.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=L});var y=r(7908);class k{constructor(O){this.initialTeardown=O,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let O;if(!this.closed){this.closed=!0;const{_parentage:L}=this;if(L)if(this._parentage=null,Array.isArray(L))for(const q of L)q.remove(this);else L.remove(this);const{initialTeardown:Y}=this;if((0,o.T)(Y))try{Y()}catch(q){O=q instanceof c?q.errors:[q]}const{_finalizers:z}=this;if(z){this._finalizers=null;for(const q of z)try{M(q)}catch(ct){O=O??[],ct instanceof c?O=[...O,...ct.errors]:O.push(ct)}}if(O)throw new c(O)}}add(O){var L;if(O&&O!==this)if(this.closed)M(O);else{if(O instanceof k){if(O.closed||O._hasParent(this))return;O._addParent(this)}(this._finalizers=null!==(L=this._finalizers)&&void 0!==L?L:[]).push(O)}}_hasParent(O){const{_parentage:L}=this;return L===O||Array.isArray(L)&&L.includes(O)}_addParent(O){const{_parentage:L}=this;this._parentage=Array.isArray(L)?(L.push(O),L):L?[L,O]:O}_removeParent(O){const{_parentage:L}=this;L===O?this._parentage=null:Array.isArray(L)&&(0,y.o)(L,O)}remove(O){const{_finalizers:L}=this;L&&(0,y.o)(L,O),O instanceof k&&O._removeParent(this)}}k.EMPTY=(()=>{const T=new k;return T.closed=!0,T})();const A=k.EMPTY;function I(T){return T instanceof k||T&&"closed"in T&&(0,o.T)(T.remove)&&(0,o.T)(T.add)&&(0,o.T)(T.unsubscribe)}function M(T){(0,o.T)(T)?T():T.unsubscribe()}},1026:(i,a,r)=>{"use strict";r.d(a,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},17:(i,a,r)=>{"use strict";r.d(a,{G:()=>A});var o=r(1985),s=r(8359),c=r(9898),y=r(4360),k=r(9974);class A extends o.c{constructor(M,T){super(),this.source=M,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(M)&&(this.lift=M.lift)}_subscribe(M){return this.getSubject().subscribe(M)}getSubject(){const M=this._subject;return(!M||M.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:M}=this;this._subject=this._connection=null,M?.unsubscribe()}connect(){let M=this._connection;if(!M){M=this._connection=new s.yU;const T=this.getSubject();M.add(this.source.subscribe((0,y._)(T,void 0,()=>{this._teardown(),T.complete()},O=>{this._teardown(),T.error(O)},()=>this._teardown()))),M.closed&&(this._connection=null,M=s.yU.EMPTY)}return M}refCount(){return(0,c.B)()(this)}}},4572:(i,a,r)=>{"use strict";r.d(a,{z:()=>O});var o=r(1985),s=r(3073),c=r(6648),y=r(3669),k=r(6450),A=r(9326),I=r(8496),M=r(4360),T=r(5225);function O(...z){const q=(0,A.lI)(z),ct=(0,A.ms)(z),{args:dt,keys:tt}=(0,s.D)(z);if(0===dt.length)return(0,c.H)([],q);const vt=new o.c(function L(z,q,ct=y.D){return dt=>{Y(q,()=>{const{length:tt}=z,vt=new Array(tt);let Mt=tt,$t=tt;for(let St=0;St{const kt=(0,c.H)(z[St],q);let nt=!1;kt.subscribe((0,M._)(dt,at=>{vt[St]=at,nt||(nt=!0,$t--),$t||dt.next(ct(vt.slice()))},()=>{--Mt||dt.complete()}))},dt)},dt)}}(dt,q,tt?Mt=>(0,I.e)(tt,Mt):y.D));return ct?vt.pipe((0,k.I)(ct)):vt}function Y(z,q,ct){z?(0,T.N)(ct,z,q):q()}},8793:(i,a,r)=>{"use strict";r.d(a,{x:()=>k});var o=r(6365),c=r(9326),y=r(6648);function k(...A){return function s(){return(0,o.U)(1)}()((0,y.H)(A,(0,c.lI)(A)))}},9030:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(1985),s=r(8750);function c(y){return new o.c(k=>{(0,s.Tg)(y()).subscribe(k)})}},983:(i,a,r)=>{"use strict";r.d(a,{w:()=>s});const s=new(r(1985).c)(k=>k.complete())},7468:(i,a,r)=>{"use strict";r.d(a,{p:()=>M});var o=r(1985),s=r(3073),c=r(8750),y=r(9326),k=r(4360),A=r(6450),I=r(8496);function M(...T){const O=(0,y.ms)(T),{args:L,keys:Y}=(0,s.D)(T),z=new o.c(q=>{const{length:ct}=L;if(!ct)return void q.complete();const dt=new Array(ct);let tt=ct,vt=ct;for(let Mt=0;Mt{$t||($t=!0,vt--),dt[Mt]=St},()=>tt--,void 0,()=>{(!tt||!$t)&&(vt||q.next(Y?(0,I.e)(Y,dt):dt),q.complete())}))}});return O?z.pipe((0,A.I)(O)):z}},6648:(i,a,r)=>{"use strict";r.d(a,{H:()=>at});var o=r(8750),s=r(5225),c=r(9974),y=r(4360);function k(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Ct.subscribe((0,y._)(Vt,Xt=>(0,s.N)(Vt,rt,()=>Vt.next(Xt),yt),()=>(0,s.N)(Vt,rt,()=>Vt.complete(),yt),Xt=>(0,s.N)(Vt,rt,()=>Vt.error(Xt),yt)))})}function A(rt,yt=0){return(0,c.N)((Ct,Vt)=>{Vt.add(rt.schedule(()=>Ct.subscribe(Vt),yt))})}var T=r(1985),L=r(4761),Y=r(8071);function q(rt,yt){if(!rt)throw new Error("Iterable cannot be null");return new T.c(Ct=>{(0,s.N)(Ct,yt,()=>{const Vt=rt[Symbol.asyncIterator]();(0,s.N)(Ct,yt,()=>{Vt.next().then(Xt=>{Xt.done?Ct.complete():Ct.next(Xt.value)})},0,!0)})})}var ct=r(5055),dt=r(9858),tt=r(7441),vt=r(5397),Mt=r(7953),$t=r(591),St=r(5196);function at(rt,yt){return yt?function nt(rt,yt){if(null!=rt){if((0,ct.l)(rt))return function I(rt,yt){return(0,o.Tg)(rt).pipe(A(yt),k(yt))}(rt,yt);if((0,tt.X)(rt))return function O(rt,yt){return new T.c(Ct=>{let Vt=0;return yt.schedule(function(){Vt===rt.length?Ct.complete():(Ct.next(rt[Vt++]),Ct.closed||this.schedule())})})}(rt,yt);if((0,dt.y)(rt))return function M(rt,yt){return(0,o.Tg)(rt).pipe(A(yt),k(yt))}(rt,yt);if((0,Mt.T)(rt))return q(rt,yt);if((0,vt.x)(rt))return function z(rt,yt){return new T.c(Ct=>{let Vt;return(0,s.N)(Ct,yt,()=>{Vt=rt[L.l](),(0,s.N)(Ct,yt,()=>{let Xt,oe;try{({value:Xt,done:oe}=Vt.next())}catch(Xe){return void Ct.error(Xe)}oe?Ct.complete():Ct.next(Xt)},0,!0)}),()=>(0,Y.T)(Vt?.return)&&Vt.return()})}(rt,yt);if((0,St.U)(rt))return function kt(rt,yt){return q((0,St.C)(rt),yt)}(rt,yt)}throw(0,$t.L)(rt)}(rt,yt):(0,o.Tg)(rt)}},3726:(i,a,r)=>{"use strict";r.d(a,{R:()=>O});var o=r(8750),s=r(1985),c=r(1397),y=r(7441),k=r(8071),A=r(6450);const I=["addListener","removeListener"],M=["addEventListener","removeEventListener"],T=["on","off"];function O(ct,dt,tt,vt){if((0,k.T)(tt)&&(vt=tt,tt=void 0),vt)return O(ct,dt,tt).pipe((0,A.I)(vt));const[Mt,$t]=function q(ct){return(0,k.T)(ct.addEventListener)&&(0,k.T)(ct.removeEventListener)}(ct)?M.map(St=>kt=>ct[St](dt,kt,tt)):function Y(ct){return(0,k.T)(ct.addListener)&&(0,k.T)(ct.removeListener)}(ct)?I.map(L(ct,dt)):function z(ct){return(0,k.T)(ct.on)&&(0,k.T)(ct.off)}(ct)?T.map(L(ct,dt)):[];if(!Mt&&(0,y.X)(ct))return(0,c.Z)(St=>O(St,dt,tt))((0,o.Tg)(ct));if(!Mt)throw new TypeError("Invalid event target");return new s.c(St=>{const kt=(...nt)=>St.next(1$t(kt)})}function L(ct,dt){return tt=>vt=>ct[tt](dt,vt)}},8750:(i,a,r)=>{"use strict";r.d(a,{Tg:()=>z});var o=r(1635),s=r(7441),c=r(9858),y=r(1985),k=r(5055),A=r(7953),I=r(591),M=r(5397),T=r(5196),O=r(8071),L=r(5334),Y=r(3494);function z(St){if(St instanceof y.c)return St;if(null!=St){if((0,k.l)(St))return function q(St){return new y.c(kt=>{const nt=St[Y.s]();if((0,O.T)(nt.subscribe))return nt.subscribe(kt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(St);if((0,s.X)(St))return function ct(St){return new y.c(kt=>{for(let nt=0;nt{St.then(nt=>{kt.closed||(kt.next(nt),kt.complete())},nt=>kt.error(nt)).then(null,L.m)})}(St);if((0,A.T)(St))return vt(St);if((0,M.x)(St))return function tt(St){return new y.c(kt=>{for(const nt of St)if(kt.next(nt),kt.closed)return;kt.complete()})}(St);if((0,T.U)(St))return function Mt(St){return vt((0,T.C)(St))}(St)}throw(0,I.L)(St)}function vt(St){return new y.c(kt=>{(function $t(St,kt){var nt,at,rt,yt;return(0,o.sH)(this,void 0,void 0,function*(){try{for(nt=(0,o.xN)(St);!(at=yield nt.next()).done;)if(kt.next(at.value),kt.closed)return}catch(Ct){rt={error:Ct}}finally{try{at&&!at.done&&(yt=nt.return)&&(yield yt.call(nt))}finally{if(rt)throw rt.error}}kt.complete()})})(St,kt).catch(nt=>kt.error(nt))})}},7786:(i,a,r)=>{"use strict";r.d(a,{h:()=>A});var o=r(6365),s=r(8750),c=r(983),y=r(9326),k=r(6648);function A(...I){const M=(0,y.lI)(I),T=(0,y.R0)(I,1/0),O=I;return O.length?1===O.length?(0,s.Tg)(O[0]):(0,o.U)(T)((0,k.H)(O,M)):c.w}},7673:(i,a,r)=>{"use strict";r.d(a,{of:()=>c});var o=r(9326),s=r(6648);function c(...y){const k=(0,o.lI)(y);return(0,s.H)(y,k)}},8810:(i,a,r)=>{"use strict";r.d(a,{$:()=>c});var o=r(1985),s=r(8071);function c(y,k){const A=(0,s.T)(y)?y:()=>y,I=M=>M.error(A());return new o.c(k?M=>k.schedule(I,0,M):I)}},1584:(i,a,r)=>{"use strict";r.d(a,{O:()=>k});var o=r(1985),s=r(3236),c=r(9470);function k(A=0,I,M=s.b){let T=-1;return null!=I&&((0,c.m)(I)?M=I:T=I),new o.c(O=>{let L=function y(A){return A instanceof Date&&!isNaN(A)}(A)?+A-M.now():A;L<0&&(L=0);let Y=0;return M.schedule(function(){O.closed||(O.next(Y++),0<=T?this.schedule(void 0,T):O.complete())},L)})}},4360:(i,a,r)=>{"use strict";r.d(a,{_:()=>s});var o=r(7707);function s(y,k,A,I,M){return new c(y,k,A,I,M)}class c extends o.vU{constructor(k,A,I,M,T,O){super(k),this.onFinalize=T,this.shouldUnsubscribe=O,this._next=A?function(L){try{A(L)}catch(Y){k.error(Y)}}:super._next,this._error=M?function(L){try{M(L)}catch(Y){k.error(Y)}finally{this.unsubscribe()}}:super._error,this._complete=I?function(){try{I()}catch(L){k.error(L)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:A}=this;super.unsubscribe(),!A&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},3798:(i,a,r)=>{"use strict";r.d(a,{Z:()=>I});var o=r(3236),s=r(9974),c=r(8750),y=r(4360),A=r(1584);function I(M,T=o.E){return function k(M){return(0,s.N)((T,O)=>{let L=!1,Y=null,z=null,q=!1;const ct=()=>{if(z?.unsubscribe(),z=null,L){L=!1;const tt=Y;Y=null,O.next(tt)}q&&O.complete()},dt=()=>{z=null,q&&O.complete()};T.subscribe((0,y._)(O,tt=>{L=!0,Y=tt,z||(0,c.Tg)(M(tt)).subscribe(z=(0,y._)(O,ct,dt))},()=>{q=!0,(!L||!z||z.closed)&&O.complete()}))})}(()=>(0,A.O)(M,T))}},9437:(i,a,r)=>{"use strict";r.d(a,{W:()=>y});var o=r(8750),s=r(4360),c=r(9974);function y(k){return(0,c.N)((A,I)=>{let O,M=null,T=!1;M=A.subscribe((0,s._)(I,void 0,void 0,L=>{O=(0,o.Tg)(k(L,y(k)(A))),M?(M.unsubscribe(),M=null,O.subscribe(I)):T=!0})),T&&(M.unsubscribe(),M=null,O.subscribe(I))})}},274:(i,a,r)=>{"use strict";r.d(a,{H:()=>c});var o=r(1397),s=r(8071);function c(y,k){return(0,s.T)(k)?(0,o.Z)(y,k,1):(0,o.Z)(y,1)}},152:(i,a,r)=>{"use strict";r.d(a,{B:()=>y});var o=r(3236),s=r(9974),c=r(4360);function y(k,A=o.E){return(0,s.N)((I,M)=>{let T=null,O=null,L=null;const Y=()=>{if(T){T.unsubscribe(),T=null;const q=O;O=null,M.next(q)}};function z(){const q=L+k,ct=A.now();if(ct{O=q,L=A.now(),T||(T=A.schedule(z,k),M.add(T))},()=>{Y(),M.complete()},void 0,()=>{O=T=null}))})}},1986:(i,a,r)=>{"use strict";r.d(a,{c:()=>z});var o=r(3236),s=r(8793),c=r(6697),y=r(9974),k=r(4360),A=r(5343),M=r(3703),T=r(1397),O=r(8750);function L(q,ct){return ct?dt=>(0,s.x)(ct.pipe((0,c.s)(1),function I(){return(0,y.N)((q,ct)=>{q.subscribe((0,k._)(ct,A.l))})}()),dt.pipe(L(q))):(0,T.Z)((dt,tt)=>(0,O.Tg)(q(dt,tt)).pipe((0,c.s)(1),(0,M.u)(dt)))}var Y=r(1584);function z(q,ct=o.E){const dt=(0,Y.O)(q,ct);return L(()=>dt)}},3294:(i,a,r)=>{"use strict";r.d(a,{F:()=>y});var o=r(3669),s=r(9974),c=r(4360);function y(A,I=o.D){return A=A??k,(0,s.N)((M,T)=>{let O,L=!0;M.subscribe((0,c._)(T,Y=>{const z=I(Y);(L||!A(O,z))&&(L=!1,O=z,T.next(Y))}))})}function k(A,I){return A===I}},5964:(i,a,r)=>{"use strict";r.d(a,{p:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>y.call(k,T,M++)&&I.next(T)))})}},980:(i,a,r)=>{"use strict";r.d(a,{j:()=>s});var o=r(9974);function s(c){return(0,o.N)((y,k)=>{try{y.subscribe(k)}finally{k.add(c)}})}},6354:(i,a,r)=>{"use strict";r.d(a,{T:()=>c});var o=r(9974),s=r(4360);function c(y,k){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>{I.next(y.call(k,T,M++))}))})}},3703:(i,a,r)=>{"use strict";r.d(a,{u:()=>s});var o=r(6354);function s(c){return(0,o.T)(()=>c)}},6365:(i,a,r)=>{"use strict";r.d(a,{U:()=>c});var o=r(1397),s=r(3669);function c(y=1/0){return(0,o.Z)(s.D,y)}},1397:(i,a,r)=>{"use strict";r.d(a,{Z:()=>M});var o=r(6354),s=r(8750),c=r(9974),y=r(5225),k=r(4360),I=r(8071);function M(T,O,L=1/0){return(0,I.T)(O)?M((Y,z)=>(0,o.T)((q,ct)=>O(Y,q,z,ct))((0,s.Tg)(T(Y,z))),L):("number"==typeof O&&(L=O),(0,c.N)((Y,z)=>function A(T,O,L,Y,z,q,ct,dt){const tt=[];let vt=0,Mt=0,$t=!1;const St=()=>{$t&&!tt.length&&!vt&&O.complete()},kt=at=>vt{q&&O.next(at),vt++;let rt=!1;(0,s.Tg)(L(at,Mt++)).subscribe((0,k._)(O,yt=>{z?.(yt),q?kt(yt):O.next(yt)},()=>{rt=!0},void 0,()=>{if(rt)try{for(vt--;tt.length&&vtnt(yt)):nt(yt)}St()}catch(yt){O.error(yt)}}))};return T.subscribe((0,k._)(O,kt,()=>{$t=!0,St()})),()=>{dt?.()}}(Y,z,T,L)))}},9898:(i,a,r)=>{"use strict";r.d(a,{B:()=>c});var o=r(9974),s=r(4360);function c(){return(0,o.N)((y,k)=>{let A=null;y._refCount++;const I=(0,s._)(k,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(A=null);const M=y._connection,T=A;A=null,M&&(!T||M===T)&&M.unsubscribe(),k.unsubscribe()});y.subscribe(I),I.closed||(A=y.connect())})}},2498:(i,a,r)=>{"use strict";r.d(a,{L:()=>A});var o=r(9974),s=r(4360),c=r(3669),y=r(1584),k=r(8750);function A(I=1/0){let M;M=I&&"object"==typeof I?I:{count:I};const{count:T=1/0,delay:O,resetOnSuccess:L=!1}=M;return T<=0?c.D:(0,o.N)((Y,z)=>{let ct,q=0;const dt=()=>{let tt=!1;ct=Y.subscribe((0,s._)(z,vt=>{L&&(q=0),z.next(vt)},void 0,vt=>{if(q++{ct?(ct.unsubscribe(),ct=null,dt()):tt=!0};if(null!=O){const $t="number"==typeof O?(0,y.O)(O):(0,k.Tg)(O(vt,q)),St=(0,s._)(z,()=>{St.unsubscribe(),Mt()},()=>{z.complete()});$t.subscribe(St)}else Mt()}else z.error(vt)})),tt&&(ct.unsubscribe(),ct=null,dt())};dt()})}},6649:(i,a,r)=>{"use strict";r.d(a,{S:()=>s});var o=r(4360);function s(c,y,k,A,I){return(M,T)=>{let O=k,L=y,Y=0;M.subscribe((0,o._)(T,z=>{const q=Y++;L=O?c(L,z,q):(O=!0,z),A&&T.next(L)},I&&(()=>{O&&T.next(L),T.complete()})))}}},7647:(i,a,r)=>{"use strict";r.d(a,{u:()=>k});var o=r(8750),s=r(1413),c=r(7707),y=r(9974);function k(I={}){const{connector:M=()=>new s.B,resetOnError:T=!0,resetOnComplete:O=!0,resetOnRefCountZero:L=!0}=I;return Y=>{let z,q,ct,dt=0,tt=!1,vt=!1;const Mt=()=>{q?.unsubscribe(),q=void 0},$t=()=>{Mt(),z=ct=void 0,tt=vt=!1},St=()=>{const kt=z;$t(),kt?.unsubscribe()};return(0,y.N)((kt,nt)=>{dt++,!vt&&!tt&&Mt();const at=ct=ct??M();nt.add(()=>{dt--,0===dt&&!vt&&!tt&&(q=A(St,L))}),at.subscribe(nt),!z&&dt>0&&(z=new c.Ms({next:rt=>at.next(rt),error:rt=>{vt=!0,Mt(),q=A($t,T,rt),at.error(rt)},complete:()=>{tt=!0,Mt(),q=A($t,O),at.complete()}}),(0,o.Tg)(kt).subscribe(z))})(Y)}}function A(I,M,...T){if(!0===M)return void I();if(!1===M)return;const O=new c.Ms({next:()=>{O.unsubscribe(),I()}});return(0,o.Tg)(M(...T)).subscribe(O)}},4668:(i,a,r)=>{"use strict";r.d(a,{t:()=>c});var o=r(2771),s=r(7647);function c(y,k,A){let I,M=!1;return y&&"object"==typeof y?({bufferSize:I=1/0,windowTime:k=1/0,refCount:M=!1,scheduler:A}=y):I=y??1/0,(0,s.u)({connector:()=>new o.m(I,k,A),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:M})}},7626:(i,a,r)=>{"use strict";r.d(a,{i:()=>s});var o=r(5964);function s(c){return(0,o.p)((y,k)=>c<=k)}},9172:(i,a,r)=>{"use strict";r.d(a,{Z:()=>y});var o=r(8793),s=r(9326),c=r(9974);function y(...k){const A=(0,s.lI)(k);return(0,c.N)((I,M)=>{(A?(0,o.x)(k,I,A):(0,o.x)(k,I)).subscribe(M)})}},5558:(i,a,r)=>{"use strict";r.d(a,{n:()=>y});var o=r(8750),s=r(9974),c=r(4360);function y(k,A){return(0,s.N)((I,M)=>{let T=null,O=0,L=!1;const Y=()=>L&&!T&&M.complete();I.subscribe((0,c._)(M,z=>{T?.unsubscribe();let q=0;const ct=O++;(0,o.Tg)(k(z,ct)).subscribe(T=(0,c._)(M,dt=>M.next(A?A(z,dt,ct,q++):dt),()=>{T=null,Y()}))},()=>{L=!0,Y()}))})}},6697:(i,a,r)=>{"use strict";r.d(a,{s:()=>y});var o=r(983),s=r(9974),c=r(4360);function y(k){return k<=0?()=>o.w:(0,s.N)((A,I)=>{let M=0;A.subscribe((0,c._)(I,T=>{++M<=k&&(I.next(T),k<=M&&I.complete())}))})}},6977:(i,a,r)=>{"use strict";r.d(a,{Q:()=>k});var o=r(9974),s=r(4360),c=r(8750),y=r(5343);function k(A){return(0,o.N)((I,M)=>{(0,c.Tg)(A).subscribe((0,s._)(M,()=>M.complete(),y.l)),!M.closed&&I.subscribe(M)})}},7048:(i,a,r)=>{"use strict";r.d(a,{v:()=>c});var o=r(9974),s=r(4360);function c(y,k=!1){return(0,o.N)((A,I)=>{let M=0;A.subscribe((0,s._)(I,T=>{const O=y(T,M++);(O||k)&&I.next(T),!O&&I.complete()}))})}},8141:(i,a,r)=>{"use strict";r.d(a,{M:()=>k});var o=r(8071),s=r(9974),c=r(4360),y=r(3669);function k(A,I,M){const T=(0,o.T)(A)||I||M?{next:A,error:I,complete:M}:A;return T?(0,s.N)((O,L)=>{var Y;null===(Y=T.subscribe)||void 0===Y||Y.call(T);let z=!0;O.subscribe((0,c._)(L,q=>{var ct;null===(ct=T.next)||void 0===ct||ct.call(T,q),L.next(q)},()=>{var q;z=!1,null===(q=T.complete)||void 0===q||q.call(T),L.complete()},q=>{var ct;z=!1,null===(ct=T.error)||void 0===ct||ct.call(T,q),L.error(q)},()=>{var q,ct;z&&(null===(q=T.unsubscribe)||void 0===q||q.call(T)),null===(ct=T.finalize)||void 0===ct||ct.call(T)}))}):y.D}},6780:(i,a,r)=>{"use strict";r.d(a,{R:()=>k});var o=r(8359);class s extends o.yU{constructor(I,M){super()}schedule(I,M=0){return this}}const c={setInterval(A,I,...M){const{delegate:T}=c;return T?.setInterval?T.setInterval(A,I,...M):setInterval(A,I,...M)},clearInterval(A){const{delegate:I}=c;return(I?.clearInterval||clearInterval)(A)},delegate:void 0};var y=r(7908);class k extends s{constructor(I,M){super(I,M),this.scheduler=I,this.work=M,this.pending=!1}schedule(I,M=0){var T;if(this.closed)return this;this.state=I;const O=this.id,L=this.scheduler;return null!=O&&(this.id=this.recycleAsyncId(L,O,M)),this.pending=!0,this.delay=M,this.id=null!==(T=this.id)&&void 0!==T?T:this.requestAsyncId(L,this.id,M),this}requestAsyncId(I,M,T=0){return c.setInterval(I.flush.bind(I,this),T)}recycleAsyncId(I,M,T=0){if(null!=T&&this.delay===T&&!1===this.pending)return M;null!=M&&c.clearInterval(M)}execute(I,M){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const T=this._execute(I,M);if(T)return T;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(I,M){let O,T=!1;try{this.work(I)}catch(L){T=!0,O=L||new Error("Scheduled action threw falsy error")}if(T)return this.unsubscribe(),O}unsubscribe(){if(!this.closed){const{id:I,scheduler:M}=this,{actions:T}=M;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(T,this),null!=I&&(this.id=this.recycleAsyncId(M,I,null)),this.delay=null,super.unsubscribe()}}}},9687:(i,a,r)=>{"use strict";r.d(a,{q:()=>c});var o=r(6129);class s{constructor(k,A=s.now){this.schedulerActionCtor=k,this.now=A}schedule(k,A=0,I){return new this.schedulerActionCtor(this,k).schedule(I,A)}}s.now=o.U.now;class c extends s{constructor(k,A=s.now){super(k,A),this.actions=[],this._active=!1}flush(k){const{actions:A}=this;if(this._active)return void A.push(k);let I;this._active=!0;do{if(I=k.execute(k.state,k.delay))break}while(k=A.shift());if(this._active=!1,I){for(;k=A.shift();)k.unsubscribe();throw I}}}},5007:(i,a,r)=>{"use strict";r.d(a,{$:()=>q});var o=r(6780);let c,s=1;const y={};function k(dt){return dt in y&&(delete y[dt],!0)}const A={setImmediate(dt){const tt=s++;return y[tt]=!0,c||(c=Promise.resolve()),c.then(()=>k(tt)&&dt()),tt},clearImmediate(dt){k(dt)}},{setImmediate:M,clearImmediate:T}=A,O={setImmediate(...dt){const{delegate:tt}=O;return(tt?.setImmediate||M)(...dt)},clearImmediate(dt){const{delegate:tt}=O;return(tt?.clearImmediate||T)(dt)},delegate:void 0};var Y=r(9687);const q=new class z extends Y.q{flush(tt){this._active=!0;const vt=this._scheduled;this._scheduled=void 0;const{actions:Mt}=this;let $t;tt=tt||Mt.shift();do{if($t=tt.execute(tt.state,tt.delay))break}while((tt=Mt[0])&&tt.id===vt&&Mt.shift());if(this._active=!1,$t){for(;(tt=Mt[0])&&tt.id===vt&&Mt.shift();)tt.unsubscribe();throw $t}}}(class L extends o.R{constructor(tt,vt){super(tt,vt),this.scheduler=tt,this.work=vt}requestAsyncId(tt,vt,Mt=0){return null!==Mt&&Mt>0?super.requestAsyncId(tt,vt,Mt):(tt.actions.push(this),tt._scheduled||(tt._scheduled=O.setImmediate(tt.flush.bind(tt,void 0))))}recycleAsyncId(tt,vt,Mt=0){var $t;if(null!=Mt?Mt>0:this.delay>0)return super.recycleAsyncId(tt,vt,Mt);const{actions:St}=tt;null!=vt&&(null===($t=St[St.length-1])||void 0===$t?void 0:$t.id)!==vt&&(O.clearImmediate(vt),tt._scheduled===vt&&(tt._scheduled=void 0))}})},3236:(i,a,r)=>{"use strict";r.d(a,{E:()=>c,b:()=>y});var o=r(6780);const c=new(r(9687).q)(o.R),y=c},6129:(i,a,r)=>{"use strict";r.d(a,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270:(i,a,r)=>{"use strict";r.d(a,{f:()=>o});const o={setTimeout(s,c,...y){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(s,c,...y):setTimeout(s,c,...y)},clearTimeout(s){const{delegate:c}=o;return(c?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4761:(i,a,r)=>{"use strict";r.d(a,{l:()=>s});const s=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(i,a,r)=>{"use strict";r.d(a,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(i,a,r)=>{"use strict";r.d(a,{G:()=>s});const s=(0,r(1853).L)(c=>function(){c(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(i,a,r)=>{"use strict";r.d(a,{R0:()=>A,lI:()=>k,ms:()=>y});var o=r(8071),s=r(9470);function c(I){return I[I.length-1]}function y(I){return(0,o.T)(c(I))?I.pop():void 0}function k(I){return(0,s.m)(c(I))?I.pop():void 0}function A(I,M){return"number"==typeof c(I)?I.pop():M}},3073:(i,a,r)=>{"use strict";r.d(a,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:s,prototype:c,keys:y}=Object;function k(I){if(1===I.length){const M=I[0];if(o(M))return{args:M,keys:null};if(function A(I){return I&&"object"==typeof I&&s(I)===c}(M)){const T=y(M);return{args:T.map(O=>M[O]),keys:T}}}return{args:I,keys:null}}},7908:(i,a,r)=>{"use strict";function o(s,c){if(s){const y=s.indexOf(c);0<=y&&s.splice(y,1)}}r.d(a,{o:()=>o})},1853:(i,a,r)=>{"use strict";function o(s){const y=s(k=>{Error.call(k),k.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}r.d(a,{L:()=>o})},8496:(i,a,r)=>{"use strict";function o(s,c){return s.reduce((y,k,A)=>(y[k]=c[A],y),{})}r.d(a,{e:()=>o})},9786:(i,a,r)=>{"use strict";r.d(a,{Y:()=>c,l:()=>y});var o=r(1026);let s=null;function c(k){if(o.$.useDeprecatedSynchronousErrorHandling){const A=!s;if(A&&(s={errorThrown:!1,error:null}),k(),A){const{errorThrown:I,error:M}=s;if(s=null,I)throw M}}else k()}function y(k){o.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=k)}},5225:(i,a,r)=>{"use strict";function o(s,c,y,k=0,A=!1){const I=c.schedule(function(){y(),A?s.add(this.schedule(null,k)):this.unsubscribe()},k);if(s.add(I),!A)return I}r.d(a,{N:()=>o})},3669:(i,a,r)=>{"use strict";function o(s){return s}r.d(a,{D:()=>o})},7441:(i,a,r)=>{"use strict";r.d(a,{X:()=>o});const o=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953:(i,a,r)=>{"use strict";r.d(a,{T:()=>s});var o=r(8071);function s(c){return Symbol.asyncIterator&&(0,o.T)(c?.[Symbol.asyncIterator])}},8071:(i,a,r)=>{"use strict";function o(s){return"function"==typeof s}r.d(a,{T:()=>o})},5055:(i,a,r)=>{"use strict";r.d(a,{l:()=>c});var o=r(3494),s=r(8071);function c(y){return(0,s.T)(y[o.s])}},5397:(i,a,r)=>{"use strict";r.d(a,{x:()=>c});var o=r(4761),s=r(8071);function c(y){return(0,s.T)(y?.[o.l])}},4402:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(1985),s=r(8071);function c(y){return!!y&&(y instanceof o.c||(0,s.T)(y.lift)&&(0,s.T)(y.subscribe))}},9858:(i,a,r)=>{"use strict";r.d(a,{y:()=>s});var o=r(8071);function s(c){return(0,o.T)(c?.then)}},5196:(i,a,r)=>{"use strict";r.d(a,{C:()=>c,U:()=>y});var o=r(1635),s=r(8071);function c(k){return(0,o.AQ)(this,arguments,function*(){const I=k.getReader();try{for(;;){const{value:M,done:T}=yield(0,o.N3)(I.read());if(T)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(M)}}finally{I.releaseLock()}})}function y(k){return(0,s.T)(k?.getReader)}},9470:(i,a,r)=>{"use strict";r.d(a,{m:()=>s});var o=r(8071);function s(c){return c&&(0,o.T)(c.schedule)}},9974:(i,a,r)=>{"use strict";r.d(a,{N:()=>c,S:()=>s});var o=r(8071);function s(y){return(0,o.T)(y?.lift)}function c(y){return k=>{if(s(k))return k.lift(function(A){try{return y(A,this)}catch(I){this.error(I)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(i,a,r)=>{"use strict";r.d(a,{I:()=>y});var o=r(6354);const{isArray:s}=Array;function y(k){return(0,o.T)(A=>function c(k,A){return s(A)?k(...A):k(A)}(k,A))}},5343:(i,a,r)=>{"use strict";function o(){}r.d(a,{l:()=>o})},1203:(i,a,r)=>{"use strict";r.d(a,{F:()=>s,m:()=>c});var o=r(3669);function s(...y){return c(y)}function c(y){return 0===y.length?o.D:1===y.length?y[0]:function(A){return y.reduce((I,M)=>M(I),A)}}},5334:(i,a,r)=>{"use strict";r.d(a,{m:()=>c});var o=r(1026),s=r(9270);function c(y){s.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw y;k(y)})}},591:(i,a,r)=>{"use strict";function o(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}r.d(a,{L:()=>o})},9969:(i,a,r)=>{"use strict";r.d(a,{FX:()=>Vt,If:()=>c,K2:()=>M,MA:()=>q,Os:()=>I,P:()=>dt,S6:()=>vt,hZ:()=>k,i0:()=>A,i7:()=>L,iF:()=>T,kY:()=>Y,kp:()=>y,sf:()=>yt,ui:()=>Ct,wk:()=>O});var o=r(177),s=r(4438),c=function(Xt){return Xt[Xt.State=0]="State",Xt[Xt.Transition=1]="Transition",Xt[Xt.Sequence=2]="Sequence",Xt[Xt.Group=3]="Group",Xt[Xt.Animate=4]="Animate",Xt[Xt.Keyframes=5]="Keyframes",Xt[Xt.Style=6]="Style",Xt[Xt.Trigger=7]="Trigger",Xt[Xt.Reference=8]="Reference",Xt[Xt.AnimateChild=9]="AnimateChild",Xt[Xt.AnimateRef=10]="AnimateRef",Xt[Xt.Query=11]="Query",Xt[Xt.Stagger=12]="Stagger",Xt}(c||{});const y="*";function k(Xt,oe){return{type:c.Trigger,name:Xt,definitions:oe,options:{}}}function A(Xt,oe=null){return{type:c.Animate,styles:oe,timings:Xt}}function I(Xt,oe=null){return{type:c.Group,steps:Xt,options:oe}}function M(Xt,oe=null){return{type:c.Sequence,steps:Xt,options:oe}}function T(Xt){return{type:c.Style,styles:Xt,offset:null}}function O(Xt,oe,Xe){return{type:c.State,name:Xt,styles:oe,options:Xe}}function L(Xt){return{type:c.Keyframes,steps:Xt}}function Y(Xt,oe,Xe=null){return{type:c.Transition,expr:Xt,animation:oe,options:Xe}}function q(Xt=null){return{type:c.AnimateChild,options:Xt}}function dt(Xt,oe,Xe=null){return{type:c.Query,selector:Xt,animation:oe,options:Xe}}let vt=(()=>{class Xt{static{this.\u0275fac=function(kr){return new(kr||Xt)}}static{this.\u0275prov=s.jDH({token:Xt,factory:()=>(0,s.WQX)($t),providedIn:"root"})}}return Xt})();class Mt{}let $t=(()=>{class Xt extends vt{constructor(Xe,kr){if(super(),this.animationModuleType=(0,s.WQX)(s.bc$,{optional:!0}),this._nextAnimationId=0,this._renderer=Xe.createRenderer(kr.body,{id:"0",encapsulation:s.gXe.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function rt(Xt){const oe=Xt.\u0275type;return 0===oe||1===oe}(this._renderer))throw new s.wOt(3600,!1)}build(Xe){const kr=this._nextAnimationId;this._nextAnimationId++;const gr=Array.isArray(Xe)?M(Xe):Xe;return nt(this._renderer,null,kr,"register",[gr]),new St(kr,this._renderer)}static{this.\u0275fac=function(kr){return new(kr||Xt)(s.KVO(s._9s),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}}return Xt})();class St extends Mt{constructor(oe,Xe){super(),this._id=oe,this._renderer=Xe}create(oe,Xe){return new kt(this._id,oe,Xe||{},this._renderer)}}class kt{constructor(oe,Xe,kr,gr){this.id=oe,this.element=Xe,this._renderer=gr,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",kr)}_listen(oe,Xe){return this._renderer.listen(this.element,`@@${this.id}:${oe}`,Xe)}_command(oe,...Xe){nt(this._renderer,this.element,this.id,oe,Xe)}onDone(oe){this._listen("done",oe)}onStart(oe){this._listen("start",oe)}onDestroy(oe){this._listen("destroy",oe)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(oe){this._command("setPosition",oe)}getPosition(){return function at(Xt){const oe=Xt.\u0275type;return 0===oe?Xt:1===oe?Xt.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function nt(Xt,oe,Xe,kr,gr){Xt.setProperty(oe,`@@${Xe}:${kr}`,gr)}class yt{constructor(oe=0,Xe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=oe+Xe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}class Ct{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let Xe=0,kr=0,gr=0;const wr=this.players.length;0==wr?queueMicrotask(()=>this._onFinish()):this.players.forEach(Wr=>{Wr.onDone(()=>{++Xe==wr&&this._onFinish()}),Wr.onDestroy(()=>{++kr==wr&&this._onDestroy()}),Wr.onStart(()=>{++gr==wr&&this._onStart()})}),this.totalTime=this.players.reduce((Wr,xe)=>Math.max(Wr,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const Xe=oe*this.totalTime;this.players.forEach(kr=>{const gr=kr.totalTime?Math.min(1,Xe/kr.totalTime):1;kr.setPosition(gr)})}getPosition(){const oe=this.players.reduce((Xe,kr)=>null===Xe||kr.totalTime>Xe.totalTime?kr:Xe,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const Xe="start"==oe?this._onStartFns:this._onDoneFns;Xe.forEach(kr=>kr()),Xe.length=0}}const Vt="!"},9888:(i,a,r)=>{"use strict";r.d(a,{Pd:()=>qe,Au:()=>xe,vr:()=>oe,Bu:()=>Le,FN:()=>mr,GX:()=>be,Q_:()=>_e,Z7:()=>ft,Ai:()=>Pr,px:()=>nt,_G:()=>it,w6:()=>Tt,Ae:()=>at});var o=r(177),s=r(4438),c=r(6860),y=r(1413),k=r(8359),I=(r(4402),r(7673)),M=r(4412),T=r(7336),O=r(8141),L=r(152),Y=r(5964),z=r(6354),ct=(r(6697),r(7626)),dt=r(3294),tt=r(6977),Mt=r(2318),$t=r(4085),St=r(9327);const kt=" ";function nt(ke,me,Yt){const Ae=rt(ke,me);Yt=Yt.trim(),!Ae.some(ar=>ar.trim()===Yt)&&(Ae.push(Yt),ke.setAttribute(me,Ae.join(kt)))}function at(ke,me,Yt){const Ae=rt(ke,me);Yt=Yt.trim();const ar=Ae.filter(yr=>yr!==Yt);ar.length?ke.setAttribute(me,ar.join(kt)):ke.removeAttribute(me)}function rt(ke,me){return ke.getAttribute(me)?.match(/\S+/g)??[]}const Ct="cdk-describedby-message",Vt="cdk-describedby-host";let Xt=0,oe=(()=>{class ke{constructor(Yt,Ae){this._platform=Ae,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Xt++,this._document=Yt,this._id=(0,s.WQX)(s.sZ2)+"-"+Xt++}describe(Yt,Ae,ar){if(!this._canBeDescribed(Yt,Ae))return;const yr=Xe(Ae,ar);"string"!=typeof Ae?(kr(Ae,this._id),this._messageRegistry.set(yr,{messageElement:Ae,referenceCount:0})):this._messageRegistry.has(yr)||this._createMessageElement(Ae,ar),this._isElementDescribedByMessage(Yt,yr)||this._addMessageReference(Yt,yr)}removeDescription(Yt,Ae,ar){if(!Ae||!this._isElementNode(Yt))return;const yr=Xe(Ae,ar);if(this._isElementDescribedByMessage(Yt,yr)&&this._removeMessageReference(Yt,yr),"string"==typeof Ae){const Eo=this._messageRegistry.get(yr);Eo&&0===Eo.referenceCount&&this._deleteMessageElement(yr)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const Yt=this._document.querySelectorAll(`[${Vt}="${this._id}"]`);for(let Ae=0;Ae0!=ar.indexOf(Ct));Yt.setAttribute("aria-describedby",Ae.join(" "))}_addMessageReference(Yt,Ae){const ar=this._messageRegistry.get(Ae);nt(Yt,"aria-describedby",ar.messageElement.id),Yt.setAttribute(Vt,this._id),ar.referenceCount++}_removeMessageReference(Yt,Ae){const ar=this._messageRegistry.get(Ae);ar.referenceCount--,at(Yt,"aria-describedby",ar.messageElement.id),Yt.removeAttribute(Vt)}_isElementDescribedByMessage(Yt,Ae){const ar=rt(Yt,"aria-describedby"),yr=this._messageRegistry.get(Ae),Eo=yr&&yr.messageElement.id;return!!Eo&&-1!=ar.indexOf(Eo)}_canBeDescribed(Yt,Ae){if(!this._isElementNode(Yt))return!1;if(Ae&&"object"==typeof Ae)return!0;const ar=null==Ae?"":`${Ae}`.trim(),yr=Yt.getAttribute("aria-label");return!(!ar||yr&&yr.trim()===ar)}_isElementNode(Yt){return Yt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(o.qQ),s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Xe(ke,me){return"string"==typeof ke?`${me||""}/${ke}`:ke}function kr(ke,me){ke.id||(ke.id=`${Ct}-${me}-${Xt++}`)}class wr{constructor(me,Yt){this._letterKeyStream=new y.B,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new y.B,this.selectedItem=this._selectedItem;const Ae="number"==typeof Yt?.debounceInterval?Yt.debounceInterval:200;Yt?.skipPredicate&&(this._skipPredicateFn=Yt.skipPredicate),this.setItems(me),this._setupKeyHandler(Ae)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(me){this._selectedItemIndex=me}setItems(me){this._items=me}handleKey(me){const Yt=me.keyCode;me.key&&1===me.key.length?this._letterKeyStream.next(me.key.toLocaleUpperCase()):(Yt>=T.A&&Yt<=T.Z||Yt>=T.f2&&Yt<=T.bn)&&this._letterKeyStream.next(String.fromCharCode(Yt))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(me){this._letterKeyStream.pipe((0,O.M)(Yt=>this._pressedLetters.push(Yt)),(0,L.B)(me),(0,Y.p)(()=>this._pressedLetters.length>0),(0,z.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(Yt=>{for(let Ae=1;AeAe.disabled,this.tabOut=new y.B,this.change=new y.B,me instanceof s.rOR?this._itemChangesSubscription=me.changes.subscribe(Ae=>this._itemsChanged(Ae.toArray())):(0,s.Hps)(me)&&(this._effectRef=(0,s.QZP)(()=>this._itemsChanged(me()),{injector:Yt}))}skipPredicate(me){return this._skipPredicateFn=me,this}withWrap(me=!0){return this._wrap=me,this}withVerticalOrientation(me=!0){return this._vertical=me,this}withHorizontalOrientation(me){return this._horizontal=me,this}withAllowedModifierKeys(me){return this._allowedModifierKeys=me,this}withTypeAhead(me=200){this._typeaheadSubscription.unsubscribe();const Yt=this._getItemsArray();return this._typeahead=new wr(Yt,{debounceInterval:"number"==typeof me?me:void 0,skipPredicate:Ae=>this._skipPredicateFn(Ae)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(Ae=>{this.setActiveItem(Ae)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(me=!0){return this._homeAndEnd=me,this}withPageUpDown(me=!0,Yt=10){return this._pageUpAndDown={enabled:me,delta:Yt},this}setActiveItem(me){const Yt=this._activeItem;this.updateActiveItem(me),this._activeItem!==Yt&&this.change.next(this._activeItemIndex)}onKeydown(me){const Yt=me.keyCode,ar=["altKey","ctrlKey","metaKey","shiftKey"].every(yr=>!me[yr]||this._allowedModifierKeys.indexOf(yr)>-1);switch(Yt){case T.wn:return void this.tabOut.next();case T.n6:if(this._vertical&&ar){this.setNextItemActive();break}return;case T.i7:if(this._vertical&&ar){this.setPreviousItemActive();break}return;case T.LE:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case T.UQ:if(this._horizontal&&ar){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case T.yZ:if(this._homeAndEnd&&ar){this.setFirstItemActive();break}return;case T.Kp:if(this._homeAndEnd&&ar){this.setLastItemActive();break}return;case T.w_:if(this._pageUpAndDown.enabled&&ar){const yr=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(yr>0?yr:0,1);break}return;case T.dB:if(this._pageUpAndDown.enabled&&ar){const yr=this._activeItemIndex+this._pageUpAndDown.delta,Eo=this._getItemsArray().length;this._setActiveItemByIndex(yr-1&&Yt!==this._activeItemIndex&&(this._activeItemIndex=Yt,this._typeahead?.setCurrentSelectedItemIndex(Yt))}}}class xe extends Wr{setActiveItem(me){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(me),this.activeItem&&this.activeItem.setActiveStyles()}}class Le extends Wr{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(me){return this._origin=me,this}setActiveItem(me){super.setActiveItem(me),this.activeItem&&this.activeItem.focus(this._origin)}}let ft=(()=>{class ke{constructor(Yt){this._platform=Yt}isDisabled(Yt){return Yt.hasAttribute("disabled")}isVisible(Yt){return function Ut(ke){return!!(ke.offsetWidth||ke.offsetHeight||"function"==typeof ke.getClientRects&&ke.getClientRects().length)}(Yt)&&"visible"===getComputedStyle(Yt).visibility}isTabbable(Yt){if(!this._platform.isBrowser)return!1;const Ae=function pe(ke){try{return ke.frameElement}catch{return null}}(function lr(ke){return ke.ownerDocument&&ke.ownerDocument.defaultView||window}(Yt));if(Ae&&(-1===We(Ae)||!this.isVisible(Ae)))return!1;let ar=Yt.nodeName.toLowerCase(),yr=We(Yt);return Yt.hasAttribute("contenteditable")?-1!==yr:!("iframe"===ar||"object"===ar||this._platform.WEBKIT&&this._platform.IOS&&!function Or(ke){let me=ke.nodeName.toLowerCase(),Yt="input"===me&&ke.type;return"text"===Yt||"password"===Yt||"select"===me||"textarea"===me}(Yt))&&("audio"===ar?!!Yt.hasAttribute("controls")&&-1!==yr:"video"===ar?-1!==yr&&(null!==yr||this._platform.FIREFOX||Yt.hasAttribute("controls")):Yt.tabIndex>=0)}isFocusable(Yt,Ae){return function ko(ke){return!function ie(ke){return function Ht(ke){return"input"==ke.nodeName.toLowerCase()}(ke)&&"hidden"==ke.type}(ke)&&(function Ee(ke){let me=ke.nodeName.toLowerCase();return"input"===me||"select"===me||"button"===me||"textarea"===me}(ke)||function He(ke){return function Me(ke){return"a"==ke.nodeName.toLowerCase()}(ke)&&ke.hasAttribute("href")}(ke)||ke.hasAttribute("contenteditable")||Pe(ke))}(Yt)&&!this.isDisabled(Yt)&&(Ae?.ignoreVisibility||this.isVisible(Yt))}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function Pe(ke){if(!ke.hasAttribute("tabindex")||void 0===ke.tabIndex)return!1;let me=ke.getAttribute("tabindex");return!(!me||isNaN(parseInt(me,10)))}function We(ke){if(!Pe(ke))return null;const me=parseInt(ke.getAttribute("tabindex")||"",10);return isNaN(me)?-1:me}class Lt{get enabled(){return this._enabled}set enabled(me){this._enabled=me,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}constructor(me,Yt,Ae,ar,yr=!1,Eo){this._element=me,this._checker=Yt,this._ngZone=Ae,this._document=ar,this._injector=Eo,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,yr||this.attachAnchors()}destroy(){const me=this._startAnchor,Yt=this._endAnchor;me&&(me.removeEventListener("focus",this.startAnchorListener),me.remove()),Yt&&(Yt.removeEventListener("focus",this.endAnchorListener),Yt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusInitialElement(me)))})}focusFirstTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusFirstTabbableElement(me)))})}focusLastTabbableElementWhenReady(me){return new Promise(Yt=>{this._executeOnStable(()=>Yt(this.focusLastTabbableElement(me)))})}_getRegionBoundary(me){const Yt=this._element.querySelectorAll(`[cdk-focus-region-${me}], [cdkFocusRegion${me}], [cdk-focus-${me}]`);return"start"==me?Yt.length?Yt[0]:this._getFirstTabbableElement(this._element):Yt.length?Yt[Yt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(me){const Yt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Yt){if(!this._checker.isFocusable(Yt)){const Ae=this._getFirstTabbableElement(Yt);return Ae?.focus(me),!!Ae}return Yt.focus(me),!0}return this.focusFirstTabbableElement(me)}focusFirstTabbableElement(me){const Yt=this._getRegionBoundary("start");return Yt&&Yt.focus(me),!!Yt}focusLastTabbableElement(me){const Yt=this._getRegionBoundary("end");return Yt&&Yt.focus(me),!!Yt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(me){if(this._checker.isFocusable(me)&&this._checker.isTabbable(me))return me;const Yt=me.children;for(let Ae=0;Ae=0;Ae--){const ar=Yt[Ae].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Yt[Ae]):null;if(ar)return ar}return null}_createAnchor(){const me=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,me),me.classList.add("cdk-visually-hidden"),me.classList.add("cdk-focus-trap-anchor"),me.setAttribute("aria-hidden","true"),me}_toggleAnchorTabIndex(me,Yt){me?Yt.setAttribute("tabindex","0"):Yt.removeAttribute("tabindex")}toggleAnchors(me){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(me,this._startAnchor),this._toggleAnchorTabIndex(me,this._endAnchor))}_executeOnStable(me){this._injector?(0,s.mal)(me,{injector:this._injector}):setTimeout(me)}}let be=(()=>{class ke{constructor(Yt,Ae,ar){this._checker=Yt,this._ngZone=Ae,this._injector=(0,s.WQX)(s.zZn),this._document=ar}create(Yt,Ae=!1){return new Lt(Yt,this._checker,this._ngZone,this._document,Ae,this._injector)}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(ft),s.KVO(s.SKi),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();function it(ke){return 0===ke.buttons||0===ke.detail}function Tt(ke){const me=ke.touches&&ke.touches[0]||ke.changedTouches&&ke.changedTouches[0];return!(!me||-1!==me.identifier||null!=me.radiusX&&1!==me.radiusX||null!=me.radiusY&&1!==me.radiusY)}const It=new s.nKC("cdk-input-modality-detector-options"),ye={ignoreKeys:[T.A$,T.W3,T.eg,T.Ge,T.FX]},Je=(0,c.BQ)({passive:!0,capture:!0});let er=(()=>{class ke{get mostRecentModality(){return this._modality.value}constructor(Yt,Ae,ar,yr){this._platform=Yt,this._mostRecentTarget=null,this._modality=new M.t(null),this._lastTouchMs=0,this._onKeydown=Eo=>{this._options?.ignoreKeys?.some($n=>$n===Eo.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onMousedown=Eo=>{Date.now()-this._lastTouchMs<650||(this._modality.next(it(Eo)?"keyboard":"mouse"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._onTouchstart=Eo=>{Tt(Eo)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,c.Fb)(Eo))},this._options={...ye,...yr},this.modalityDetected=this._modality.pipe((0,ct.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,dt.F)()),Yt.isBrowser&&Ae.runOutsideAngular(()=>{ar.addEventListener("keydown",this._onKeydown,Je),ar.addEventListener("mousedown",this._onMousedown,Je),ar.addEventListener("touchstart",this._onTouchstart,Je)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Je),document.removeEventListener("mousedown",this._onMousedown,Je),document.removeEventListener("touchstart",this._onTouchstart,Je))}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD),s.KVO(s.SKi),s.KVO(o.qQ),s.KVO(It,8))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})();const Hr=new s.nKC("liveAnnouncerElement",{providedIn:"root",factory:function eo(){return null}}),Bo=new s.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let fr=0,Pr=(()=>{class ke{constructor(Yt,Ae,ar,yr){this._ngZone=Ae,this._defaultOptions=yr,this._document=ar,this._liveElement=Yt||this._createLiveElement()}announce(Yt,...Ae){const ar=this._defaultOptions;let yr,Eo;return 1===Ae.length&&"number"==typeof Ae[0]?Eo=Ae[0]:[yr,Eo]=Ae,this.clear(),clearTimeout(this._previousTimeout),yr||(yr=ar&&ar.politeness?ar.politeness:"polite"),null==Eo&&ar&&(Eo=ar.duration),this._liveElement.setAttribute("aria-live",yr),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise($n=>this._currentResolve=$n)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Yt,"number"==typeof Eo&&(this._previousTimeout=setTimeout(()=>this.clear(),Eo)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Yt="cdk-live-announcer-element",Ae=this._document.getElementsByClassName(Yt),ar=this._document.createElement("div");for(let yr=0;yr .cdk-overlay-container [aria-modal="true"]');for(let ar=0;ar{class ke{constructor(Yt,Ae,ar,yr,Eo){this._ngZone=Yt,this._platform=Ae,this._inputModalityDetector=ar,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new y.B,this._rootNodeFocusAndBlurListener=$n=>{for(let Yo=(0,c.Fb)($n);Yo;Yo=Yo.parentElement)"focus"===$n.type?this._onFocus($n,Yo):this._onBlur($n,Yo)},this._document=yr,this._detectionMode=Eo?.detectionMode||qt.IMMEDIATE}monitor(Yt,Ae=!1){const ar=(0,$t.i8)(Yt);if(!this._platform.isBrowser||1!==ar.nodeType)return(0,I.of)();const yr=(0,c.KT)(ar)||this._getDocument(),Eo=this._elementInfo.get(ar);if(Eo)return Ae&&(Eo.checkChildren=!0),Eo.subject;const $n={checkChildren:Ae,subject:new y.B,rootNode:yr};return this._elementInfo.set(ar,$n),this._registerGlobalListeners($n),$n.subject}stopMonitoring(Yt){const Ae=(0,$t.i8)(Yt),ar=this._elementInfo.get(Ae);ar&&(ar.subject.complete(),this._setClasses(Ae),this._elementInfo.delete(Ae),this._removeGlobalListeners(ar))}focusVia(Yt,Ae,ar){const yr=(0,$t.i8)(Yt);yr===this._getDocument().activeElement?this._getClosestElementsInfo(yr).forEach(([$n,Xn])=>this._originChanged($n,Ae,Xn)):(this._setOrigin(Ae),"function"==typeof yr.focus&&yr.focus(ar))}ngOnDestroy(){this._elementInfo.forEach((Yt,Ae)=>this.stopMonitoring(Ae))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Yt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Yt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:Yt&&this._isLastInteractionFromInputLabel(Yt)?"mouse":"program"}_shouldBeAttributedToTouch(Yt){return this._detectionMode===qt.EVENTUAL||!!Yt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(Yt,Ae){Yt.classList.toggle("cdk-focused",!!Ae),Yt.classList.toggle("cdk-touch-focused","touch"===Ae),Yt.classList.toggle("cdk-keyboard-focused","keyboard"===Ae),Yt.classList.toggle("cdk-mouse-focused","mouse"===Ae),Yt.classList.toggle("cdk-program-focused","program"===Ae)}_setOrigin(Yt,Ae=!1){this._ngZone.runOutsideAngular(()=>{this._origin=Yt,this._originFromTouchInteraction="touch"===Yt&&Ae,this._detectionMode===qt.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(Yt,Ae){const ar=this._elementInfo.get(Ae),yr=(0,c.Fb)(Yt);!ar||!ar.checkChildren&&Ae!==yr||this._originChanged(Ae,this._getFocusOrigin(yr),ar)}_onBlur(Yt,Ae){const ar=this._elementInfo.get(Ae);!ar||ar.checkChildren&&Yt.relatedTarget instanceof Node&&Ae.contains(Yt.relatedTarget)||(this._setClasses(Ae),this._emitOrigin(ar,null))}_emitOrigin(Yt,Ae){Yt.subject.observers.length&&this._ngZone.run(()=>Yt.subject.next(Ae))}_registerGlobalListeners(Yt){if(!this._platform.isBrowser)return;const Ae=Yt.rootNode,ar=this._rootNodeFocusListenerCount.get(Ae)||0;ar||this._ngZone.runOutsideAngular(()=>{Ae.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Ae.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(Ae,ar+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,tt.Q)(this._stopInputModalityDetector)).subscribe(yr=>{this._setOrigin(yr,!0)}))}_removeGlobalListeners(Yt){const Ae=Yt.rootNode;if(this._rootNodeFocusListenerCount.has(Ae)){const ar=this._rootNodeFocusListenerCount.get(Ae);ar>1?this._rootNodeFocusListenerCount.set(Ae,ar-1):(Ae.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),Ae.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(Ae))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Yt,Ae,ar){this._setClasses(Yt,Ae),this._emitOrigin(ar,Ae),this._lastFocusOrigin=Ae}_getClosestElementsInfo(Yt){const Ae=[];return this._elementInfo.forEach((ar,yr)=>{(yr===Yt||ar.checkChildren&&yr.contains(Yt))&&Ae.push([yr,ar])}),Ae}_isLastInteractionFromInputLabel(Yt){const{_mostRecentTarget:Ae,mostRecentModality:ar}=this._inputModalityDetector;if("mouse"!==ar||!Ae||Ae===Yt||"INPUT"!==Yt.nodeName&&"TEXTAREA"!==Yt.nodeName||Yt.disabled)return!1;const yr=Yt.labels;if(yr)for(let Eo=0;Eo{class ke{constructor(Yt,Ae){this._platform=Yt,this._document=Ae,this._breakpointSubscription=(0,s.WQX)(St.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ro.NONE;const Yt=this._document.createElement("div");Yt.style.backgroundColor="rgb(1,2,3)",Yt.style.position="absolute",this._document.body.appendChild(Yt);const Ae=this._document.defaultView||window,ar=Ae&&Ae.getComputedStyle?Ae.getComputedStyle(Yt):null,yr=(ar&&ar.backgroundColor||"").replace(/ /g,"");switch(Yt.remove(),yr){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ro.BLACK_ON_WHITE}return Ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Yt=this._document.body.classList;Yt.remove($e,Wo,tr),this._hasCheckedHighContrastMode=!0;const Ae=this.getHighContrastMode();Ae===Ro.BLACK_ON_WHITE?Yt.add($e,Wo):Ae===Ro.WHITE_ON_BLACK&&Yt.add($e,tr)}}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(c.OD),s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"})}}return ke})(),qe=(()=>{class ke{constructor(Yt){Yt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Ae){return new(Ae||ke)(s.KVO(_e))}}static{this.\u0275mod=s.$C({type:ke})}static{this.\u0275inj=s.G2t({imports:[Mt.w5]})}}return ke})()},8203:(i,a,r)=>{"use strict";r.d(a,{dS:()=>I,jI:()=>T});var o=r(4438),s=r(177);const c=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,o.WQX)(s.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let I=(()=>{class O{constructor(Y){this.value="ltr",this.change=new o.bkB,Y&&(this.value=function A(O){const L=O?.toLowerCase()||"";return"auto"===L&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((Y.body?Y.body.dir:null)||(Y.documentElement?Y.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(z){return new(z||O)(o.KVO(c,8))}}static{this.\u0275prov=o.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})(),T=(()=>{class O{static{this.\u0275fac=function(z){return new(z||O)}}static{this.\u0275mod=o.$C({type:O})}static{this.\u0275inj=o.G2t({})}}return O})()},4085:(i,a,r)=>{"use strict";r.d(a,{FG:()=>k,OE:()=>c,a1:()=>A,he:()=>s,i8:()=>I});var o=r(4438);function s(T){return null!=T&&"false"!=`${T}`}function c(T,O=0){return function y(T){return!isNaN(parseFloat(T))&&!isNaN(Number(T))}(T)?Number(T):2===arguments.length?O:0}function k(T){return Array.isArray(T)?T:[T]}function A(T){return null==T?"":"string"==typeof T?T:`${T}px`}function I(T){return T instanceof o.aKT?T.nativeElement:T}},5024:(i,a,r)=>{"use strict";r.d(a,{CB:()=>Y,zP:()=>q}),r(4402),r(7673);var c=r(1413),y=r(4438);class Y{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(dt=!1,tt,vt=!0,Mt){this._multiple=dt,this._emitChanges=vt,this.compareWith=Mt,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.B,tt&&tt.length&&(dt?tt.forEach($t=>this._markSelected($t)):this._markSelected(tt[0]),this._selectedToEmit.length=0)}select(...dt){this._verifyValueAssignment(dt),dt.forEach(vt=>this._markSelected(vt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}deselect(...dt){this._verifyValueAssignment(dt),dt.forEach(vt=>this._unmarkSelected(vt));const tt=this._hasQueuedChanges();return this._emitChangeEvent(),tt}setSelection(...dt){this._verifyValueAssignment(dt);const tt=this.selected,vt=new Set(dt);dt.forEach($t=>this._markSelected($t)),tt.filter($t=>!vt.has(this._getConcreteValue($t,vt))).forEach($t=>this._unmarkSelected($t));const Mt=this._hasQueuedChanges();return this._emitChangeEvent(),Mt}toggle(dt){return this.isSelected(dt)?this.deselect(dt):this.select(dt)}clear(dt=!0){this._unmarkAll();const tt=this._hasQueuedChanges();return dt&&this._emitChangeEvent(),tt}isSelected(dt){return this._selection.has(this._getConcreteValue(dt))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(dt){this._multiple&&this.selected&&this._selected.sort(dt)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(dt){dt=this._getConcreteValue(dt),this.isSelected(dt)||(this._multiple||this._unmarkAll(),this.isSelected(dt)||this._selection.add(dt),this._emitChanges&&this._selectedToEmit.push(dt))}_unmarkSelected(dt){dt=this._getConcreteValue(dt),this.isSelected(dt)&&(this._selection.delete(dt),this._emitChanges&&this._deselectedToEmit.push(dt))}_unmarkAll(){this.isEmpty()||this._selection.forEach(dt=>this._unmarkSelected(dt))}_verifyValueAssignment(dt){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(dt,tt){if(this.compareWith){tt=tt??this._selection;for(let vt of tt)if(this.compareWith(dt,vt))return vt;return dt}return dt}}let q=(()=>{class ct{constructor(){this._listeners=[]}notify(tt,vt){for(let Mt of this._listeners)Mt(tt,vt)}listen(tt){return this._listeners.push(tt),()=>{this._listeners=this._listeners.filter(vt=>tt!==vt)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275prov=y.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})()},7336:(i,a,r)=>{"use strict";r.d(a,{A:()=>Nt,A$:()=>M,FX:()=>A,Fm:()=>k,Ge:()=>$,Kp:()=>ct,LE:()=>Mt,UQ:()=>tt,W3:()=>I,Z:()=>mt,_f:()=>L,bn:()=>wr,dB:()=>q,eg:()=>Gt,f2:()=>rt,i7:()=>vt,n6:()=>$t,rp:()=>Dt,t6:()=>Y,w_:()=>z,wn:()=>c,yZ:()=>dt});const c=9,k=13,A=16,I=17,M=18,L=27,Y=32,z=33,q=34,ct=35,dt=36,tt=37,vt=38,Mt=39,$t=40,rt=48,wr=57,Nt=65,mt=90,$=91,Gt=224;function Dt(ne,...Re){return Re.length?Re.some(Ce=>ne[Ce]):ne.altKey||ne.shiftKey||ne.ctrlKey||ne.metaKey}},9327:(i,a,r)=>{"use strict";r.d(a,{QP:()=>$t,Rp:()=>kt});var o=r(4438),s=r(4085),c=r(1413),y=r(4572),k=r(8793),A=r(1985),I=r(6697),M=r(7626),T=r(152),O=r(6354),L=r(9172),Y=r(6977),z=r(6860);const ct=new Set;let dt,tt=(()=>{class nt{constructor(rt,yt){this._platform=rt,this._nonce=yt,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Mt}matchMedia(rt){return(this._platform.WEBKIT||this._platform.BLINK)&&function vt(nt,at){if(!ct.has(nt))try{dt||(dt=document.createElement("style"),at&&dt.setAttribute("nonce",at),dt.setAttribute("type","text/css"),document.head.appendChild(dt)),dt.sheet&&(dt.sheet.insertRule(`@media ${nt} {body{ }}`,0),ct.add(nt))}catch(rt){console.error(rt)}}(rt,this._nonce),this._matchMedia(rt)}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(z.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function Mt(nt){return{matches:"all"===nt||""===nt,media:nt,addListener:()=>{},removeListener:()=>{}}}let $t=(()=>{class nt{constructor(rt,yt){this._mediaMatcher=rt,this._zone=yt,this._queries=new Map,this._destroySubject=new c.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(rt){return St((0,s.FG)(rt)).some(Ct=>this._registerQuery(Ct).mql.matches)}observe(rt){const Ct=St((0,s.FG)(rt)).map(Xt=>this._registerQuery(Xt).observable);let Vt=(0,y.z)(Ct);return Vt=(0,k.x)(Vt.pipe((0,I.s)(1)),Vt.pipe((0,M.i)(1),(0,T.B)(0))),Vt.pipe((0,O.T)(Xt=>{const oe={matches:!1,breakpoints:{}};return Xt.forEach(({matches:Xe,query:kr})=>{oe.matches=oe.matches||Xe,oe.breakpoints[kr]=Xe}),oe}))}_registerQuery(rt){if(this._queries.has(rt))return this._queries.get(rt);const yt=this._mediaMatcher.matchMedia(rt),Vt={observable:new A.c(Xt=>{const oe=Xe=>this._zone.run(()=>Xt.next(Xe));return yt.addListener(oe),()=>{yt.removeListener(oe)}}).pipe((0,L.Z)(yt),(0,O.T)(({matches:Xt})=>({query:rt,matches:Xt})),(0,Y.Q)(this._destroySubject)),mql:yt};return this._queries.set(rt,Vt),Vt}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(tt),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();function St(nt){return nt.map(at=>at.split(",")).reduce((at,rt)=>at.concat(rt)).map(at=>at.trim())}const kt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},2318:(i,a,r)=>{"use strict";r.d(a,{w5:()=>A});var o=r(4438);let c=(()=>{class I{create(T){return typeof MutationObserver>"u"?null:new MutationObserver(T)}static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}}return I})(),A=(()=>{class I{static{this.\u0275fac=function(O){return new(O||I)}}static{this.\u0275mod=o.$C({type:I})}static{this.\u0275inj=o.G2t({providers:[c]})}}return I})()},7987:(i,a,r)=>{"use strict";r.d(a,{$Q:()=>Ht,Sf:()=>wr,Tv:()=>nt,WB:()=>Me,hJ:()=>Ee,rR:()=>at,yY:()=>Wr,z_:()=>Or});var o=r(5542),s=r(177),c=r(4438),y=r(4085),k=r(6860),A=r(5964),I=r(6977),M=r(7048),T=r(8203),O=r(6939),L=r(1413),Y=r(8359),z=r(7786),q=r(7336);const ct=(0,k.CZ)();class dt{constructor(Lt,be){this._viewportRuler=Lt,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=be}attach(){}enable(){if(this._canBeEnabled()){const Lt=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Lt.style.left||"",this._previousHTMLStyles.top=Lt.style.top||"",Lt.style.left=(0,y.a1)(-this._previousScrollPosition.left),Lt.style.top=(0,y.a1)(-this._previousScrollPosition.top),Lt.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Lt=this._document.documentElement,se=Lt.style,Ie=this._document.body.style,br=se.scrollBehavior||"",mt=Ie.scrollBehavior||"";this._isEnabled=!1,se.left=this._previousHTMLStyles.left,se.top=this._previousHTMLStyles.top,Lt.classList.remove("cdk-global-scrollblock"),ct&&(se.scrollBehavior=Ie.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ct&&(se.scrollBehavior=br,Ie.scrollBehavior=mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const be=this._document.body,se=this._viewportRuler.getViewportSize();return be.scrollHeight>se.height||be.scrollWidth>se.width}}class vt{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._ngZone=be,this._viewportRuler=se,this._config=Ie,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Lt){this._overlayRef=Lt}enable(){if(this._scrollSubscription)return;const Lt=this._scrollDispatcher.scrolled(0).pipe((0,A.p)(be=>!be||!this._overlayRef.overlayElement.contains(be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Lt.subscribe(()=>{const be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Lt.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Mt{enable(){}disable(){}attach(){}}function $t(lr,Lt){return Lt.some(be=>lr.bottombe.bottom||lr.rightbe.right)}function St(lr,Lt){return Lt.some(be=>lr.topbe.bottom||lr.leftbe.right)}class kt{constructor(Lt,be,se,Ie){this._scrollDispatcher=Lt,this._viewportRuler=be,this._ngZone=se,this._config=Ie,this._scrollSubscription=null}attach(Lt){this._overlayRef=Lt}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:se,height:Ie}=this._viewportRuler.getViewportSize();$t(be,[{width:se,height:Ie,bottom:Ie,right:se,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let nt=(()=>{class lr{constructor(be,se,Ie,br){this._scrollDispatcher=be,this._viewportRuler=se,this._ngZone=Ie,this.noop=()=>new Mt,this.close=mt=>new vt(this._scrollDispatcher,this._ngZone,this._viewportRuler,mt),this.block=()=>new dt(this._viewportRuler,this._document),this.reposition=mt=>new kt(this._scrollDispatcher,this._viewportRuler,this._ngZone,mt),this._document=br}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(o.R),c.KVO(o.Xj),c.KVO(c.SKi),c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();class at{constructor(Lt){if(this.scrollStrategy=new Mt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Lt){const be=Object.keys(Lt);for(const se of be)void 0!==Lt[se]&&(this[se]=Lt[se])}}}class Ct{constructor(Lt,be){this.connectionPair=Lt,this.scrollableViewProperties=be}}let oe=(()=>{class lr{constructor(be){this._attachedOverlays=[],this._document=be}ngOnDestroy(){this.detach()}add(be){this.remove(be),this._attachedOverlays.push(be)}remove(be){const se=this._attachedOverlays.indexOf(be);se>-1&&this._attachedOverlays.splice(se,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),Xe=(()=>{class lr extends oe{constructor(be,se){super(be),this._ngZone=se,this._keydownListener=Ie=>{const br=this._attachedOverlays;for(let mt=br.length-1;mt>-1;mt--)if(br[mt]._keydownEvents.observers.length>0){const $=br[mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>$.next(Ie)):$.next(Ie);break}}}add(be){super.add(be),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),kr=(()=>{class lr extends oe{constructor(be,se,Ie){super(be),this._platform=se,this._ngZone=Ie,this._cursorStyleIsSet=!1,this._pointerDownListener=br=>{this._pointerDownEventTarget=(0,k.Fb)(br)},this._clickListener=br=>{const mt=(0,k.Fb)(br),$="click"===br.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:mt;this._pointerDownEventTarget=null;const Z=this._attachedOverlays.slice();for(let it=Z.length-1;it>-1;it--){const Tt=Z[it];if(Tt._outsidePointerEvents.observers.length<1||!Tt.hasAttached())continue;if(gr(Tt.overlayElement,mt)||gr(Tt.overlayElement,$))break;const It=Tt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>It.next(br)):It.next(br)}}}add(be){if(super.add(be),!this._isAttached){const se=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(se)):this._addEventListeners(se),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=se.style.cursor,se.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const be=this._document.body;be.removeEventListener("pointerdown",this._pointerDownListener,!0),be.removeEventListener("click",this._clickListener,!0),be.removeEventListener("auxclick",this._clickListener,!0),be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(be){be.addEventListener("pointerdown",this._pointerDownListener,!0),be.addEventListener("click",this._clickListener,!0),be.addEventListener("auxclick",this._clickListener,!0),be.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(s.qQ),c.KVO(k.OD),c.KVO(c.SKi,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();function gr(lr,Lt){const be=typeof ShadowRoot<"u"&&ShadowRoot;let se=Lt;for(;se;){if(se===lr)return!0;se=be&&se instanceof ShadowRoot?se.host:se.parentNode}return!1}let wr=(()=>{class lr{constructor(be,se){this._platform=se,this._document=be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const be="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const Ie=this._document.querySelectorAll(`.${be}[platform="server"], .${be}[platform="test"]`);for(let br=0;brthis._backdropClick.next(ye),this._backdropTransitionendHandler=ye=>{this._disposeBackdrop(ye.target)},this._keydownEvents=new L.B,this._outsidePointerEvents=new L.B,this._renders=new L.B,Ie.scrollStrategy&&(this._scrollStrategy=Ie.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ie.positionStrategy,this._afterRenderRef=(0,c.O8t)(()=>(0,c.Tzd)(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Lt){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const be=this._portalOutlet.attach(Lt);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,c.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof be?.onDestroy&&be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Lt=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Lt}dispose(){const Lt=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,Lt&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Lt){Lt!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Lt,this.hasAttached()&&(Lt.attach(this),this.updatePosition()))}updateSize(Lt){this._config={...this._config,...Lt},this._updateElementSize()}setDirection(Lt){this._config={...this._config,direction:Lt},this._updateElementDirection()}addPanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!0)}removePanelClass(Lt){this._pane&&this._toggleClasses(this._pane,Lt,!1)}getDirection(){const Lt=this._config.direction;return Lt?"string"==typeof Lt?Lt:Lt.value:"ltr"}updateScrollStrategy(Lt){Lt!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Lt,this.hasAttached()&&(Lt.attach(this),Lt.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Lt=this._pane.style;Lt.width=(0,y.a1)(this._config.width),Lt.height=(0,y.a1)(this._config.height),Lt.minWidth=(0,y.a1)(this._config.minWidth),Lt.minHeight=(0,y.a1)(this._config.minHeight),Lt.maxWidth=(0,y.a1)(this._config.maxWidth),Lt.maxHeight=(0,y.a1)(this._config.maxHeight)}_togglePointerEvents(Lt){this._pane.style.pointerEvents=Lt?"":"none"}_attachBackdrop(){const Lt="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Lt)})}):this._backdropElement.classList.add(Lt)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Lt=this._backdropElement;if(Lt){if(this._animationsDisabled)return void this._disposeBackdrop(Lt);Lt.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Lt.addEventListener("transitionend",this._backdropTransitionendHandler)}),Lt.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Lt)},500))}}_toggleClasses(Lt,be,se){const Ie=(0,y.FG)(be||[]).filter(br=>!!br);Ie.length&&(se?Lt.classList.add(...Ie):Lt.classList.remove(...Ie))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const Lt=this._renders.pipe((0,I.Q)((0,z.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Lt.unsubscribe())})})}_disposeScrollStrategy(){const Lt=this._scrollStrategy;Lt&&(Lt.disable(),Lt.detach&&Lt.detach())}_disposeBackdrop(Lt){Lt&&(Lt.removeEventListener("click",this._backdropClickHandler),Lt.removeEventListener("transitionend",this._backdropTransitionendHandler),Lt.remove(),this._backdropElement===Lt&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const xe="cdk-overlay-connected-position-bounding-box",Le=/([A-Za-z%]+)$/;class gt{get positions(){return this._preferredPositions}constructor(Lt,be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L.B,this._resizeSubscription=Y.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Lt)}attach(Lt){this._validatePositions(),Lt.hostElement.classList.add(xe),this._overlayRef=Lt,this._boundingBox=Lt.hostElement,this._pane=Lt.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Lt=this._originRect,be=this._overlayRect,se=this._viewportRect,Ie=this._containerRect,br=[];let mt;for(let $ of this._preferredPositions){let Z=this._getOriginPoint(Lt,Ie,$),it=this._getOverlayPoint(Z,be,$),Tt=this._getOverlayFit(it,be,se,$);if(Tt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($,Z);this._canFitWithFlexibleDimensions(Tt,it,se)?br.push({position:$,origin:Z,overlayRect:be,boundingBoxRect:this._calculateBoundingBoxRect(Z,$)}):(!mt||mt.overlayFit.visibleAreaZ&&(Z=Tt,$=it)}return this._isPushed=!1,void this._applyPosition($.position,$.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(mt.position,mt.originPoint);this._applyPosition(mt.position,mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Nt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(xe),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Lt=this._lastPosition;if(Lt){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const be=this._getOriginPoint(this._originRect,this._containerRect,Lt);this._applyPosition(Lt,be)}else this.apply()}withScrollableContainers(Lt){return this._scrollables=Lt,this}withPositions(Lt){return this._preferredPositions=Lt,-1===Lt.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Lt){return this._viewportMargin=Lt,this}withFlexibleDimensions(Lt=!0){return this._hasFlexibleDimensions=Lt,this}withGrowAfterOpen(Lt=!0){return this._growAfterOpen=Lt,this}withPush(Lt=!0){return this._canPush=Lt,this}withLockedPosition(Lt=!0){return this._positionLocked=Lt,this}setOrigin(Lt){return this._origin=Lt,this}withDefaultOffsetX(Lt){return this._offsetX=Lt,this}withDefaultOffsetY(Lt){return this._offsetY=Lt,this}withTransformOriginOn(Lt){return this._transformOriginSelector=Lt,this}_getOriginPoint(Lt,be,se){let Ie,br;if("center"==se.originX)Ie=Lt.left+Lt.width/2;else{const mt=this._isRtl()?Lt.right:Lt.left,$=this._isRtl()?Lt.left:Lt.right;Ie="start"==se.originX?mt:$}return be.left<0&&(Ie-=be.left),br="center"==se.originY?Lt.top+Lt.height/2:"top"==se.originY?Lt.top:Lt.bottom,be.top<0&&(br-=be.top),{x:Ie,y:br}}_getOverlayPoint(Lt,be,se){let Ie,br;return Ie="center"==se.overlayX?-be.width/2:"start"===se.overlayX?this._isRtl()?-be.width:0:this._isRtl()?0:-be.width,br="center"==se.overlayY?-be.height/2:"top"==se.overlayY?0:-be.height,{x:Lt.x+Ie,y:Lt.y+br}}_getOverlayFit(Lt,be,se,Ie){const br=Rt(be);let{x:mt,y:$}=Lt,Z=this._getOffset(Ie,"x"),it=this._getOffset(Ie,"y");Z&&(mt+=Z),it&&($+=it);let ye=0-$,ir=$+br.height-se.height,Je=this._subtractOverflows(br.width,0-mt,mt+br.width-se.width),er=this._subtractOverflows(br.height,ye,ir),Hr=Je*er;return{visibleArea:Hr,isCompletelyWithinViewport:br.width*br.height===Hr,fitsInViewportVertically:er===br.height,fitsInViewportHorizontally:Je==br.width}}_canFitWithFlexibleDimensions(Lt,be,se){if(this._hasFlexibleDimensions){const Ie=se.bottom-be.y,br=se.right-be.x,mt=Se(this._overlayRef.getConfig().minHeight),$=Se(this._overlayRef.getConfig().minWidth);return(Lt.fitsInViewportVertically||null!=mt&&mt<=Ie)&&(Lt.fitsInViewportHorizontally||null!=$&&$<=br)}return!1}_pushOverlayOnScreen(Lt,be,se){if(this._previousPushAmount&&this._positionLocked)return{x:Lt.x+this._previousPushAmount.x,y:Lt.y+this._previousPushAmount.y};const Ie=Rt(be),br=this._viewportRect,mt=Math.max(Lt.x+Ie.width-br.width,0),$=Math.max(Lt.y+Ie.height-br.height,0),Z=Math.max(br.top-se.top-Lt.y,0),it=Math.max(br.left-se.left-Lt.x,0);let Tt=0,It=0;return Tt=Ie.width<=br.width?it||-mt:Lt.xJe&&!this._isInitialRender&&!this._growAfterOpen&&(mt=Lt.y-Je/2)}if("end"===be.overlayX&&!Ie||"start"===be.overlayX&&Ie)ye=se.width-Lt.x+2*this._viewportMargin,Tt=Lt.x-this._viewportMargin;else if("start"===be.overlayX&&!Ie||"end"===be.overlayX&&Ie)It=Lt.x,Tt=se.right-Lt.x;else{const ir=Math.min(se.right-Lt.x+se.left,Lt.x),Je=this._lastBoundingBoxSize.width;Tt=2*ir,It=Lt.x-ir,Tt>Je&&!this._isInitialRender&&!this._growAfterOpen&&(It=Lt.x-Je/2)}return{top:mt,left:It,bottom:$,right:ye,width:Tt,height:br}}_setBoundingBoxStyles(Lt,be){const se=this._calculateBoundingBoxRect(Lt,be);!this._isInitialRender&&!this._growAfterOpen&&(se.height=Math.min(se.height,this._lastBoundingBoxSize.height),se.width=Math.min(se.width,this._lastBoundingBoxSize.width));const Ie={};if(this._hasExactPosition())Ie.top=Ie.left="0",Ie.bottom=Ie.right=Ie.maxHeight=Ie.maxWidth="",Ie.width=Ie.height="100%";else{const br=this._overlayRef.getConfig().maxHeight,mt=this._overlayRef.getConfig().maxWidth;Ie.height=(0,y.a1)(se.height),Ie.top=(0,y.a1)(se.top),Ie.bottom=(0,y.a1)(se.bottom),Ie.width=(0,y.a1)(se.width),Ie.left=(0,y.a1)(se.left),Ie.right=(0,y.a1)(se.right),Ie.alignItems="center"===be.overlayX?"center":"end"===be.overlayX?"flex-end":"flex-start",Ie.justifyContent="center"===be.overlayY?"center":"bottom"===be.overlayY?"flex-end":"flex-start",br&&(Ie.maxHeight=(0,y.a1)(br)),mt&&(Ie.maxWidth=(0,y.a1)(mt))}this._lastBoundingBoxSize=se,Nt(this._boundingBox.style,Ie)}_resetBoundingBoxStyles(){Nt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Nt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Lt,be){const se={},Ie=this._hasExactPosition(),br=this._hasFlexibleDimensions,mt=this._overlayRef.getConfig();if(Ie){const Tt=this._viewportRuler.getViewportScrollPosition();Nt(se,this._getExactOverlayY(be,Lt,Tt)),Nt(se,this._getExactOverlayX(be,Lt,Tt))}else se.position="static";let $="",Z=this._getOffset(be,"x"),it=this._getOffset(be,"y");Z&&($+=`translateX(${Z}px) `),it&&($+=`translateY(${it}px)`),se.transform=$.trim(),mt.maxHeight&&(Ie?se.maxHeight=(0,y.a1)(mt.maxHeight):br&&(se.maxHeight="")),mt.maxWidth&&(Ie?se.maxWidth=(0,y.a1)(mt.maxWidth):br&&(se.maxWidth="")),Nt(this._pane.style,se)}_getExactOverlayY(Lt,be,se){let Ie={top:"",bottom:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),"bottom"===Lt.overlayY?Ie.bottom=this._document.documentElement.clientHeight-(br.y+this._overlayRect.height)+"px":Ie.top=(0,y.a1)(br.y),Ie}_getExactOverlayX(Lt,be,se){let mt,Ie={left:"",right:""},br=this._getOverlayPoint(be,this._overlayRect,Lt);return this._isPushed&&(br=this._pushOverlayOnScreen(br,this._overlayRect,se)),mt=this._isRtl()?"end"===Lt.overlayX?"left":"right":"end"===Lt.overlayX?"right":"left","right"===mt?Ie.right=this._document.documentElement.clientWidth-(br.x+this._overlayRect.width)+"px":Ie.left=(0,y.a1)(br.x),Ie}_getScrollVisibility(){const Lt=this._getOriginRect(),be=this._pane.getBoundingClientRect(),se=this._scrollables.map(Ie=>Ie.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:St(Lt,se),isOriginOutsideView:$t(Lt,se),isOverlayClipped:St(be,se),isOverlayOutsideView:$t(be,se)}}_subtractOverflows(Lt,...be){return be.reduce((se,Ie)=>se-Math.max(Ie,0),Lt)}_getNarrowedViewportRect(){const Lt=this._document.documentElement.clientWidth,be=this._document.documentElement.clientHeight,se=this._viewportRuler.getViewportScrollPosition();return{top:se.top+this._viewportMargin,left:se.left+this._viewportMargin,right:se.left+Lt-this._viewportMargin,bottom:se.top+be-this._viewportMargin,width:Lt-2*this._viewportMargin,height:be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Lt,be){return"x"===be?null==Lt.offsetX?this._offsetX:Lt.offsetX:null==Lt.offsetY?this._offsetY:Lt.offsetY}_validatePositions(){}_addPanelClasses(Lt){this._pane&&(0,y.FG)(Lt).forEach(be=>{""!==be&&-1===this._appliedPanelClasses.indexOf(be)&&(this._appliedPanelClasses.push(be),this._pane.classList.add(be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Lt=>{this._pane.classList.remove(Lt)}),this._appliedPanelClasses=[])}_getOriginRect(){const Lt=this._origin;if(Lt instanceof c.aKT)return Lt.nativeElement.getBoundingClientRect();if(Lt instanceof Element)return Lt.getBoundingClientRect();const be=Lt.width||0,se=Lt.height||0;return{top:Lt.y,bottom:Lt.y+se,left:Lt.x,right:Lt.x+be,height:se,width:be}}}function Nt(lr,Lt){for(let be in Lt)Lt.hasOwnProperty(be)&&(lr[be]=Lt[be]);return lr}function Se(lr){if("number"!=typeof lr&&null!=lr){const[Lt,be]=lr.split(Le);return be&&"px"!==be?null:parseFloat(Lt)}return lr||null}function Rt(lr){return{top:Math.floor(lr.top),right:Math.floor(lr.right),bottom:Math.floor(lr.bottom),left:Math.floor(lr.left),width:Math.floor(lr.width),height:Math.floor(lr.height)}}const Ye="cdk-global-overlay-wrapper";class ft{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Lt){const be=Lt.getConfig();this._overlayRef=Lt,this._width&&!be.width&&Lt.updateSize({width:this._width}),this._height&&!be.height&&Lt.updateSize({height:this._height}),Lt.hostElement.classList.add(Ye),this._isDisposed=!1}top(Lt=""){return this._bottomOffset="",this._topOffset=Lt,this._alignItems="flex-start",this}left(Lt=""){return this._xOffset=Lt,this._xPosition="left",this}bottom(Lt=""){return this._topOffset="",this._bottomOffset=Lt,this._alignItems="flex-end",this}right(Lt=""){return this._xOffset=Lt,this._xPosition="right",this}start(Lt=""){return this._xOffset=Lt,this._xPosition="start",this}end(Lt=""){return this._xOffset=Lt,this._xPosition="end",this}width(Lt=""){return this._overlayRef?this._overlayRef.updateSize({width:Lt}):this._width=Lt,this}height(Lt=""){return this._overlayRef?this._overlayRef.updateSize({height:Lt}):this._height=Lt,this}centerHorizontally(Lt=""){return this.left(Lt),this._xPosition="center",this}centerVertically(Lt=""){return this.top(Lt),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement.style,se=this._overlayRef.getConfig(),{width:Ie,height:br,maxWidth:mt,maxHeight:$}=se,Z=!("100%"!==Ie&&"100vw"!==Ie||mt&&"100%"!==mt&&"100vw"!==mt),it=!("100%"!==br&&"100vh"!==br||$&&"100%"!==$&&"100vh"!==$),Tt=this._xPosition,It=this._xOffset,ye="rtl"===this._overlayRef.getConfig().direction;let ir="",Je="",er="";Z?er="flex-start":"center"===Tt?(er="center",ye?Je=It:ir=It):ye?"left"===Tt||"end"===Tt?(er="flex-end",ir=It):("right"===Tt||"start"===Tt)&&(er="flex-start",Je=It):"left"===Tt||"start"===Tt?(er="flex-start",ir=It):("right"===Tt||"end"===Tt)&&(er="flex-end",Je=It),Lt.position=this._cssPosition,Lt.marginLeft=Z?"0":ir,Lt.marginTop=it?"0":this._topOffset,Lt.marginBottom=this._bottomOffset,Lt.marginRight=Z?"0":Je,be.justifyContent=er,be.alignItems=it?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Lt=this._overlayRef.overlayElement.style,be=this._overlayRef.hostElement,se=be.style;be.classList.remove(Ye),se.justifyContent=se.alignItems=Lt.marginTop=Lt.marginBottom=Lt.marginLeft=Lt.marginRight=Lt.position="",this._overlayRef=null,this._isDisposed=!0}}let pe=(()=>{class lr{constructor(be,se,Ie,br){this._viewportRuler=be,this._document=se,this._platform=Ie,this._overlayContainer=br}global(){return new ft}flexibleConnectedTo(be){return new gt(be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(o.Xj),c.KVO(s.qQ),c.KVO(k.OD),c.KVO(wr))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})(),Ut=0,Ee=(()=>{class lr{constructor(be,se,Ie,br,mt,$,Z,it,Tt,It,ye,ir){this.scrollStrategies=be,this._overlayContainer=se,this._componentFactoryResolver=Ie,this._positionBuilder=br,this._keyboardDispatcher=mt,this._injector=$,this._ngZone=Z,this._document=it,this._directionality=Tt,this._location=It,this._outsideClickDispatcher=ye,this._animationsModuleType=ir}create(be){const se=this._createHostElement(),Ie=this._createPaneElement(se),br=this._createPortalOutlet(Ie),mt=new at(be);return mt.direction=mt.direction||this._directionality.value,new Wr(br,se,Ie,mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(c.uvJ))}position(){return this._positionBuilder}_createPaneElement(be){const se=this._document.createElement("div");return se.id="cdk-overlay-"+Ut++,se.classList.add("cdk-overlay-pane"),be.appendChild(se),se}_createHostElement(){const be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(be),be}_createPortalOutlet(be){return this._appRef||(this._appRef=this._injector.get(c.o8S)),new O.aI(be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(se){return new(se||lr)(c.KVO(nt),c.KVO(wr),c.KVO(c.OM3),c.KVO(pe),c.KVO(Xe),c.KVO(c.zZn),c.KVO(c.SKi),c.KVO(s.qQ),c.KVO(T.dS),c.KVO(s.aZ),c.KVO(kr),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:lr,factory:lr.\u0275fac,providedIn:"root"})}}return lr})();const ie=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],He=new c.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const lr=(0,c.WQX)(Ee);return()=>lr.scrollStrategies.reposition()}});let Ht=(()=>{class lr{constructor(be){this.elementRef=be}static{this.\u0275fac=function(se){return new(se||lr)(c.rXU(c.aKT))}}static{this.\u0275dir=c.FsC({type:lr,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return lr})(),Me=(()=>{class lr{get offsetX(){return this._offsetX}set offsetX(be){this._offsetX=be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(be){this._offsetY=be,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(be){this._disposeOnNavigation=be}constructor(be,se,Ie,br,mt){this._overlay=be,this._dir=mt,this._backdropSubscription=Y.yU.EMPTY,this._attachSubscription=Y.yU.EMPTY,this._detachSubscription=Y.yU.EMPTY,this._positionSubscription=Y.yU.EMPTY,this._disposeOnNavigation=!1,this._ngZone=(0,c.WQX)(c.SKi),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new c.bkB,this.positionChange=new c.bkB,this.attach=new c.bkB,this.detach=new c.bkB,this.overlayKeydown=new c.bkB,this.overlayOutsideClick=new c.bkB,this._templatePortal=new O.VA(se,Ie),this._scrollStrategyFactory=br,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),be.origin&&this.open&&this._position.apply()),be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ie);const be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=be.detachments().subscribe(()=>this.detach.emit()),be.keydownEvents().subscribe(se=>{this.overlayKeydown.next(se),se.keyCode===q._f&&!this.disableClose&&!(0,q.rp)(se)&&(se.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(se=>{const Ie=this._getOriginElement(),br=(0,k.Fb)(se);(!Ie||Ie!==br&&!Ie.contains(br))&&this.overlayOutsideClick.next(se)})}_buildConfig(){const be=this._position=this.positionStrategy||this._createPositionStrategy(),se=new at({direction:this._dir,positionStrategy:be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(se.width=this.width),(this.height||0===this.height)&&(se.height=this.height),(this.minWidth||0===this.minWidth)&&(se.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(se.minHeight=this.minHeight),this.backdropClass&&(se.backdropClass=this.backdropClass),this.panelClass&&(se.panelClass=this.panelClass),se}_updatePositionStrategy(be){const se=this.positions.map(Ie=>({originX:Ie.originX,originY:Ie.originY,overlayX:Ie.overlayX,overlayY:Ie.overlayY,offsetX:Ie.offsetX||this.offsetX,offsetY:Ie.offsetY||this.offsetY,panelClass:Ie.panelClass||void 0}));return be.setOrigin(this._getOrigin()).withPositions(se).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const be=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(be),be}_getOrigin(){return this.origin instanceof Ht?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ht?this.origin.elementRef.nativeElement:this.origin instanceof c.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(be=>{this.backdropClick.emit(be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,M.v)(()=>this.positionChange.observers.length>0)).subscribe(be=>{this._ngZone.run(()=>this.positionChange.emit(be)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(se){return new(se||lr)(c.rXU(Ee),c.rXU(c.C4Q),c.rXU(c.c1b),c.rXU(He),c.rXU(T.dS,8))}}static{this.\u0275dir=c.FsC({type:lr,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",c.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",c.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",c.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",c.L39],push:[2,"cdkConnectedOverlayPush","push",c.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",c.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[c.GFd,c.OA$]})}}return lr})();const We={provide:He,deps:[Ee],useFactory:function Pe(lr){return()=>lr.scrollStrategies.reposition()}};let Or=(()=>{class lr{static{this.\u0275fac=function(se){return new(se||lr)}}static{this.\u0275mod=c.$C({type:lr})}static{this.\u0275inj=c.G2t({providers:[Ee,We],imports:[T.jI,O.jc,o.E9,o.E9]})}}return lr})()},6860:(i,a,r)=>{"use strict";r.d(a,{BD:()=>dt,BQ:()=>L,CZ:()=>ct,Fb:()=>St,KT:()=>Mt,MU:()=>M,OD:()=>y,r5:()=>Y,v8:()=>kt,vc:()=>$t});var o=r(4438),s=r(177);let c;try{c=typeof Intl<"u"&&Intl.v8BreakIterator}catch{c=!1}let A,y=(()=>{class nt{constructor(rt){this._platformId=rt,this.isBrowser=this._platformId?(0,s.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!c)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(yt){return new(yt||nt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:nt,factory:nt.\u0275fac,providedIn:"root"})}}return nt})();const I=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function M(){if(A)return A;if("object"!=typeof document||!document)return A=new Set(I),A;let nt=document.createElement("input");return A=new Set(I.filter(at=>(nt.setAttribute("type",at),nt.type===at))),A}let T;function L(nt){return function O(){if(null==T&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>T=!0}))}finally{T=T||!1}return T}()?nt:!!nt.capture}var Y=function(nt){return nt[nt.NORMAL=0]="NORMAL",nt[nt.NEGATED=1]="NEGATED",nt[nt.INVERTED=2]="INVERTED",nt}(Y||{});let z,q,tt;function ct(){if(null==q){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return q=!1,q;if("scrollBehavior"in document.documentElement.style)q=!0;else{const nt=Element.prototype.scrollTo;q=!!nt&&!/\{\s*\[native code\]\s*\}/.test(nt.toString())}}return q}function dt(){if("object"!=typeof document||!document)return Y.NORMAL;if(null==z){const nt=document.createElement("div"),at=nt.style;nt.dir="rtl",at.width="1px",at.overflow="auto",at.visibility="hidden",at.pointerEvents="none",at.position="absolute";const rt=document.createElement("div"),yt=rt.style;yt.width="2px",yt.height="1px",nt.appendChild(rt),document.body.appendChild(nt),z=Y.NORMAL,0===nt.scrollLeft&&(nt.scrollLeft=1,z=0===nt.scrollLeft?Y.NEGATED:Y.INVERTED),nt.remove()}return z}function Mt(nt){if(function vt(){if(null==tt){const nt=typeof document<"u"?document.head:null;tt=!(!nt||!nt.createShadowRoot&&!nt.attachShadow)}return tt}()){const at=nt.getRootNode?nt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&at instanceof ShadowRoot)return at}return null}function $t(){let nt=typeof document<"u"&&document?document.activeElement:null;for(;nt&&nt.shadowRoot;){const at=nt.shadowRoot.activeElement;if(at===nt)break;nt=at}return nt}function St(nt){return nt.composedPath?nt.composedPath()[0]:nt.target}function kt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6939:(i,a,r)=>{"use strict";r.d(a,{A8:()=>O,I3:()=>Mt,VA:()=>L,aI:()=>ct,jc:()=>St,lb:()=>z});var o=r(4438),s=r(177);class T{attach(at){return this._attachedHost=at,at.attach(this)}detach(){let at=this._attachedHost;null!=at&&(this._attachedHost=null,at.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(at){this._attachedHost=at}}class O extends T{constructor(at,rt,yt,Ct,Vt){super(),this.component=at,this.viewContainerRef=rt,this.injector=yt,this.componentFactoryResolver=Ct,this.projectableNodes=Vt}}class L extends T{constructor(at,rt,yt,Ct){super(),this.templateRef=at,this.viewContainerRef=rt,this.context=yt,this.injector=Ct}get origin(){return this.templateRef.elementRef}attach(at,rt=this.context){return this.context=rt,super.attach(at)}detach(){return this.context=void 0,super.detach()}}class Y extends T{constructor(at){super(),this.element=at instanceof o.aKT?at.nativeElement:at}}class z{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(at){return at instanceof O?(this._attachedPortal=at,this.attachComponentPortal(at)):at instanceof L?(this._attachedPortal=at,this.attachTemplatePortal(at)):this.attachDomPortal&&at instanceof Y?(this._attachedPortal=at,this.attachDomPortal(at)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(at){this._disposeFn=at}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ct extends z{constructor(at,rt,yt,Ct,Vt){super(),this.outletElement=at,this._componentFactoryResolver=rt,this._appRef=yt,this._defaultInjector=Ct,this.attachDomPortal=Xt=>{const oe=Xt.element,Xe=this._document.createComment("dom-portal");oe.parentNode.insertBefore(Xe,oe),this.outletElement.appendChild(oe),this._attachedPortal=Xt,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(oe,Xe)})},this._document=Vt}attachComponentPortal(at){const yt=(at.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(at.component);let Ct;return at.viewContainerRef?(Ct=at.viewContainerRef.createComponent(yt,at.viewContainerRef.length,at.injector||at.viewContainerRef.injector,at.projectableNodes||void 0),this.setDisposeFn(()=>Ct.destroy())):(Ct=yt.create(at.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(Ct.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ct.hostView),Ct.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ct)),this._attachedPortal=at,Ct}attachTemplatePortal(at){let rt=at.viewContainerRef,yt=rt.createEmbeddedView(at.templateRef,at.context,{injector:at.injector});return yt.rootNodes.forEach(Ct=>this.outletElement.appendChild(Ct)),yt.detectChanges(),this.setDisposeFn(()=>{let Ct=rt.indexOf(yt);-1!==Ct&&rt.remove(Ct)}),this._attachedPortal=at,yt}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(at){return at.hostView.rootNodes[0]}}let Mt=(()=>{class nt extends z{constructor(rt,yt,Ct){super(),this._componentFactoryResolver=rt,this._viewContainerRef=yt,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=Vt=>{const Xt=Vt.element,oe=this._document.createComment("dom-portal");Vt.setAttachedHost(this),Xt.parentNode.insertBefore(oe,Xt),this._getRootNode().appendChild(Xt),this._attachedPortal=Vt,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(Xt,oe)})},this._document=Ct}get portal(){return this._attachedPortal}set portal(rt){this.hasAttached()&&!rt&&!this._isInitialized||(this.hasAttached()&&super.detach(),rt&&super.attach(rt),this._attachedPortal=rt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(rt){rt.setAttachedHost(this);const yt=null!=rt.viewContainerRef?rt.viewContainerRef:this._viewContainerRef,Vt=(rt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(rt.component),Xt=yt.createComponent(Vt,yt.length,rt.injector||yt.injector,rt.projectableNodes||void 0);return yt!==this._viewContainerRef&&this._getRootNode().appendChild(Xt.hostView.rootNodes[0]),super.setDisposeFn(()=>Xt.destroy()),this._attachedPortal=rt,this._attachedRef=Xt,this.attached.emit(Xt),Xt}attachTemplatePortal(rt){rt.setAttachedHost(this);const yt=this._viewContainerRef.createEmbeddedView(rt.templateRef,rt.context,{injector:rt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=rt,this._attachedRef=yt,this.attached.emit(yt),yt}_getRootNode(){const rt=this._viewContainerRef.element.nativeElement;return rt.nodeType===rt.ELEMENT_NODE?rt:rt.parentNode}static{this.\u0275fac=function(yt){return new(yt||nt)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(s.qQ))}}static{this.\u0275dir=o.FsC({type:nt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[o.Vt3]})}}return nt})(),St=(()=>{class nt{static{this.\u0275fac=function(yt){return new(yt||nt)}}static{this.\u0275mod=o.$C({type:nt})}static{this.\u0275inj=o.G2t({})}}return nt})()},5542:(i,a,r)=>{"use strict";r.d(a,{uv:()=>oe,Gj:()=>de,R:()=>Xt,E9:()=>jt,Xj:()=>kr});var o=r(4085),s=r(4438),c=r(1413),y=r(7673),k=r(1985),A=r(3726),I=r(6780),M=r(8359);const T={schedule(De){let Ye=requestAnimationFrame,ft=cancelAnimationFrame;const{delegate:pe}=T;pe&&(Ye=pe.requestAnimationFrame,ft=pe.cancelAnimationFrame);const Ut=Ye(Ee=>{ft=void 0,De(Ee)});return new M.yU(()=>ft?.(Ut))},requestAnimationFrame(...De){const{delegate:Ye}=T;return(Ye?.requestAnimationFrame||requestAnimationFrame)(...De)},cancelAnimationFrame(...De){const{delegate:Ye}=T;return(Ye?.cancelAnimationFrame||cancelAnimationFrame)(...De)},delegate:void 0};var L=r(9687);new class Y extends L.q{flush(Ye){this._active=!0;const ft=this._scheduled;this._scheduled=void 0;const{actions:pe}=this;let Ut;Ye=Ye||pe.shift();do{if(Ut=Ye.execute(Ye.state,Ye.delay))break}while((Ye=pe[0])&&Ye.id===ft&&pe.shift());if(this._active=!1,Ut){for(;(Ye=pe[0])&&Ye.id===ft&&pe.shift();)Ye.unsubscribe();throw Ut}}}(class O extends I.R{constructor(Ye,ft){super(Ye,ft),this.scheduler=Ye,this.work=ft}requestAsyncId(Ye,ft,pe=0){return null!==pe&&pe>0?super.requestAsyncId(Ye,ft,pe):(Ye.actions.push(this),Ye._scheduled||(Ye._scheduled=T.requestAnimationFrame(()=>Ye.flush(void 0))))}recycleAsyncId(Ye,ft,pe=0){var Ut;if(null!=pe?pe>0:this.delay>0)return super.recycleAsyncId(Ye,ft,pe);const{actions:Ee}=Ye;null!=ft&&(null===(Ut=Ee[Ee.length-1])||void 0===Ut?void 0:Ut.id)!==ft&&(T.cancelAnimationFrame(ft),Ye._scheduled=void 0)}});r(5007);var dt=r(3798),tt=r(5964),vt=r(6977),Mt=r(6860),$t=r(177),St=r(8203);let Xt=(()=>{class De{constructor(ft,pe,Ut){this._ngZone=ft,this._platform=pe,this._scrolled=new c.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ut}register(ft){this.scrollContainers.has(ft)||this.scrollContainers.set(ft,ft.elementScrolled().subscribe(()=>this._scrolled.next(ft)))}deregister(ft){const pe=this.scrollContainers.get(ft);pe&&(pe.unsubscribe(),this.scrollContainers.delete(ft))}scrolled(ft=20){return this._platform.isBrowser?new k.c(pe=>{this._globalSubscription||this._addGlobalListener();const Ut=ft>0?this._scrolled.pipe((0,dt.Z)(ft)).subscribe(pe):this._scrolled.subscribe(pe);return this._scrolledCount++,()=>{Ut.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,y.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ft,pe)=>this.deregister(pe)),this._scrolled.complete()}ancestorScrolled(ft,pe){const Ut=this.getAncestorScrollContainers(ft);return this.scrolled(pe).pipe((0,tt.p)(Ee=>!Ee||Ut.indexOf(Ee)>-1))}getAncestorScrollContainers(ft){const pe=[];return this.scrollContainers.forEach((Ut,Ee)=>{this._scrollableContainsElement(Ee,ft)&&pe.push(Ee)}),pe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ft,pe){let Ut=(0,o.i8)(pe),Ee=ft.getElementRef().nativeElement;do{if(Ut==Ee)return!0}while(Ut=Ut.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ft=this._getWindow();return(0,A.R)(ft.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(s.SKi),s.KVO(Mt.OD),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),oe=(()=>{class De{constructor(ft,pe,Ut,Ee){this.elementRef=ft,this.scrollDispatcher=pe,this.ngZone=Ut,this.dir=Ee,this._destroyed=new c.B,this._elementScrolled=new k.c(ie=>this.ngZone.runOutsideAngular(()=>(0,A.R)(this.elementRef.nativeElement,"scroll").pipe((0,vt.Q)(this._destroyed)).subscribe(ie)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ft){const pe=this.elementRef.nativeElement,Ut=this.dir&&"rtl"==this.dir.value;null==ft.left&&(ft.left=Ut?ft.end:ft.start),null==ft.right&&(ft.right=Ut?ft.start:ft.end),null!=ft.bottom&&(ft.top=pe.scrollHeight-pe.clientHeight-ft.bottom),Ut&&(0,Mt.BD)()!=Mt.r5.NORMAL?(null!=ft.left&&(ft.right=pe.scrollWidth-pe.clientWidth-ft.left),(0,Mt.BD)()==Mt.r5.INVERTED?ft.left=ft.right:(0,Mt.BD)()==Mt.r5.NEGATED&&(ft.left=ft.right?-ft.right:ft.right)):null!=ft.right&&(ft.left=pe.scrollWidth-pe.clientWidth-ft.right),this._applyScrollToOptions(ft)}_applyScrollToOptions(ft){const pe=this.elementRef.nativeElement;(0,Mt.CZ)()?pe.scrollTo(ft):(null!=ft.top&&(pe.scrollTop=ft.top),null!=ft.left&&(pe.scrollLeft=ft.left))}measureScrollOffset(ft){const pe="left",Ee=this.elementRef.nativeElement;if("top"==ft)return Ee.scrollTop;if("bottom"==ft)return Ee.scrollHeight-Ee.clientHeight-Ee.scrollTop;const ie=this.dir&&"rtl"==this.dir.value;return"start"==ft?ft=ie?"right":pe:"end"==ft&&(ft=ie?pe:"right"),ie&&(0,Mt.BD)()==Mt.r5.INVERTED?ft==pe?Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft:Ee.scrollLeft:ie&&(0,Mt.BD)()==Mt.r5.NEGATED?ft==pe?Ee.scrollLeft+Ee.scrollWidth-Ee.clientWidth:-Ee.scrollLeft:ft==pe?Ee.scrollLeft:Ee.scrollWidth-Ee.clientWidth-Ee.scrollLeft}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(Xt),s.rXU(s.SKi),s.rXU(St.dS,8))}}static{this.\u0275dir=s.FsC({type:De,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return De})(),kr=(()=>{class De{constructor(ft,pe,Ut){this._platform=ft,this._change=new c.B,this._changeListener=Ee=>{this._change.next(Ee)},this._document=Ut,pe.runOutsideAngular(()=>{if(ft.isBrowser){const Ee=this._getWindow();Ee.addEventListener("resize",this._changeListener),Ee.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ft=this._getWindow();ft.removeEventListener("resize",this._changeListener),ft.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ft={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ft}getViewportRect(){const ft=this.getViewportScrollPosition(),{width:pe,height:Ut}=this.getViewportSize();return{top:ft.top,left:ft.left,bottom:ft.top+Ut,right:ft.left+pe,height:Ut,width:pe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ft=this._document,pe=this._getWindow(),Ut=ft.documentElement,Ee=Ut.getBoundingClientRect();return{top:-Ee.top||ft.body.scrollTop||pe.scrollY||Ut.scrollTop||0,left:-Ee.left||ft.body.scrollLeft||pe.scrollX||Ut.scrollLeft||0}}change(ft=20){return ft>0?this._change.pipe((0,dt.Z)(ft)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ft=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ft.innerWidth,height:ft.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(pe){return new(pe||De)(s.KVO(Mt.OD),s.KVO(s.SKi),s.KVO($t.qQ,8))}}static{this.\u0275prov=s.jDH({token:De,factory:De.\u0275fac,providedIn:"root"})}}return De})(),de=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[St.jI,de,St.jI,de]})}}return De})()},7403:(i,a,r)=>{"use strict";r.d(a,{EE:()=>q,P8:()=>L,xb:()=>z});var o=r(6860),s=r(4438),c=r(4085),y=r(983),k=r(1413),A=r(3726),I=r(3798),M=r(6977),T=r(177);const O=(0,o.BQ)({passive:!0});let L=(()=>{class ct{constructor(tt,vt){this._platform=tt,this._ngZone=vt,this._monitoredElements=new Map}monitor(tt){if(!this._platform.isBrowser)return y.w;const vt=(0,c.i8)(tt),Mt=this._monitoredElements.get(vt);if(Mt)return Mt.subject;const $t=new k.B,St="cdk-text-field-autofilled",kt=nt=>{"cdk-text-field-autofill-start"!==nt.animationName||vt.classList.contains(St)?"cdk-text-field-autofill-end"===nt.animationName&&vt.classList.contains(St)&&(vt.classList.remove(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!1}))):(vt.classList.add(St),this._ngZone.run(()=>$t.next({target:nt.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{vt.addEventListener("animationstart",kt,O),vt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(vt,{subject:$t,unlisten:()=>{vt.removeEventListener("animationstart",kt,O)}}),$t}stopMonitoring(tt){const vt=(0,c.i8)(tt),Mt=this._monitoredElements.get(vt);Mt&&(Mt.unlisten(),Mt.subject.complete(),vt.classList.remove("cdk-text-field-autofill-monitored"),vt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(vt))}ngOnDestroy(){this._monitoredElements.forEach((tt,vt)=>this.stopMonitoring(vt))}static{this.\u0275fac=function(vt){return new(vt||ct)(s.KVO(o.OD),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}}return ct})(),z=(()=>{class ct{get minRows(){return this._minRows}set minRows(tt){this._minRows=(0,c.OE)(tt),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(tt){this._maxRows=(0,c.OE)(tt),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(tt){this._enabled!==tt&&((this._enabled=tt)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(tt){this._cachedPlaceholderHeight=void 0,tt?this._textareaElement.setAttribute("placeholder",tt):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(tt,vt,Mt,$t){this._elementRef=tt,this._platform=vt,this._ngZone=Mt,this._destroyed=new k.B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=St=>{this._hasFocus="focus"===St.type},this._document=$t,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const tt=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.minHeight=tt)}_setMaxHeight(){const tt=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;tt&&(this._textareaElement.style.maxHeight=tt)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const tt=this._getWindow();(0,A.R)(tt,"resize").pipe((0,I.Z)(16),(0,M.Q)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let tt=this._textareaElement.cloneNode(!1);tt.rows=1,tt.style.position="absolute",tt.style.visibility="hidden",tt.style.border="none",tt.style.padding="0",tt.style.height="",tt.style.minHeight="",tt.style.maxHeight="",tt.style.overflow="hidden",this._textareaElement.parentNode.appendChild(tt),this._cachedLineHeight=tt.clientHeight,tt.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const tt=this._textareaElement,vt=tt.style.marginBottom||"",Mt=this._platform.FIREFOX,$t=Mt&&this._hasFocus,St=Mt?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";$t&&(tt.style.marginBottom=`${tt.clientHeight}px`),tt.classList.add(St);const kt=tt.scrollHeight-4;return tt.classList.remove(St),$t&&(tt.style.marginBottom=vt),kt}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const tt=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=tt}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(tt=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const vt=this._elementRef.nativeElement,Mt=vt.value;if(!tt&&this._minRows===this._previousMinRows&&Mt===this._previousValue)return;const $t=this._measureScrollHeight(),St=Math.max($t,this._cachedPlaceholderHeight||0);vt.style.height=`${St}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(vt)):setTimeout(()=>this._scrollToCaretPosition(vt))}),this._previousValue=Mt,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(tt){const{selectionStart:vt,selectionEnd:Mt}=tt;!this._destroyed.isStopped&&this._hasFocus&&tt.setSelectionRange(vt,Mt)}static{this.\u0275fac=function(vt){return new(vt||ct)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(T.qQ,8))}}static{this.\u0275dir=s.FsC({type:ct,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(vt,Mt){1&vt&&s.bIt("input",function(){return Mt._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",s.L39],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[s.GFd]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275mod=s.$C({type:ct})}static{this.\u0275inj=s.G2t({})}}return ct})()},177:(i,a,r)=>{"use strict";r.d(a,{AJ:()=>ii,B3:()=>xo,Jj:()=>Fn,MD:()=>Va,N0:()=>ia,P9:()=>ma,PV:()=>ja,QT:()=>c,Sm:()=>dt,Sq:()=>ce,T3:()=>So,UE:()=>Qi,VF:()=>k,Vy:()=>ps,Xr:()=>za,YU:()=>Co,ZD:()=>y,_b:()=>ao,aZ:()=>vt,bT:()=>Dt,fw:()=>tt,hb:()=>q,hj:()=>T,jo:()=>Zi,qQ:()=>I,vh:()=>ka});var o=r(4438);let s=null;function c(){return s}function y(B){s??=B}class k{}const I=new o.nKC("");let M=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(O),providedIn:"platform"})}}return B})();const T=new o.nKC("");let O=(()=>{class B extends M{constructor(){super(),this._doc=(0,o.WQX)(I),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("popstate",x,!1),()=>C.removeEventListener("popstate",x)}onHashChange(x){const C=c().getGlobalEventTarget(this._doc,"window");return C.addEventListener("hashchange",x,!1),()=>C.removeEventListener("hashchange",x)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(x){this._location.pathname=x}pushState(x,C,F){this._history.pushState(x,C,F)}replaceState(x,C,F){this._history.replaceState(x,C,F)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>new B,providedIn:"platform"})}}return B})();function L(B,Et){if(0==B.length)return Et;if(0==Et.length)return B;let x=0;return B.endsWith("/")&&x++,Et.startsWith("/")&&x++,2==x?B+Et.substring(1):1==x?B+Et:B+"/"+Et}function Y(B){const Et=B.match(/#|\?|$/),x=Et&&Et.index||B.length;return B.slice(0,x-("/"===B[x-1]?1:0))+B.slice(x)}function z(B){return B&&"?"!==B[0]?"?"+B:B}let q=(()=>{class B{historyGo(x){throw new Error("")}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:()=>(0,o.WQX)(dt),providedIn:"root"})}}return B})();const ct=new o.nKC("");let dt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=C??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(I).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return L(this._baseHref,x)}path(x=!1){const C=this._platformLocation.pathname+z(this._platformLocation.search),F=this._platformLocation.hash;return F&&x?`${C}${F}`:C}pushState(x,C,F,ht){const Ot=this.prepareExternalUrl(F+z(ht));this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,ht){const Ot=this.prepareExternalUrl(F+z(ht));this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(M),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})(),tt=(()=>{class B extends q{constructor(x,C){super(),this._platformLocation=x,this._baseHref="",this._removeListenerFns=[],null!=C&&(this._baseHref=C)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}path(x=!1){const C=this._platformLocation.hash??"#";return C.length>0?C.substring(1):C}prepareExternalUrl(x){const C=L(this._baseHref,x);return C.length>0?"#"+C:C}pushState(x,C,F,ht){let Ot=this.prepareExternalUrl(F+z(ht));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.pushState(x,C,Ot)}replaceState(x,C,F,ht){let Ot=this.prepareExternalUrl(F+z(ht));0==Ot.length&&(Ot=this._platformLocation.pathname),this._platformLocation.replaceState(x,C,Ot)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(M),o.KVO(ct,8))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})(),vt=(()=>{class B{constructor(x){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const C=this._locationStrategy.getBaseHref();this._basePath=function kt(B){if(new RegExp("^(https?:)?//").test(B)){const[,x]=B.split(/\/\/[^\/]+/);return x}return B}(Y(St(C))),this._locationStrategy.onPopState(F=>{this._subject.emit({url:this.path(!0),pop:!0,state:F.state,type:F.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,C=""){return this.path()==this.normalize(x+z(C))}normalize(x){return B.stripTrailingSlash(function $t(B,Et){if(!B||!Et.startsWith(B))return Et;const x=Et.substring(B.length);return""===x||["/",";","?","#"].includes(x[0])?x:Et}(this._basePath,St(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,C="",F=null){this._locationStrategy.pushState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+z(C)),F)}replaceState(x,C="",F=null){this._locationStrategy.replaceState(F,"",x,C),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+z(C)),F)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription??=this.subscribe(C=>{this._notifyUrlChangeListeners(C.url,C.state)}),()=>{const C=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(C,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",C){this._urlChangeListeners.forEach(F=>F(x,C))}subscribe(x,C,F){return this._subject.subscribe({next:x,error:C,complete:F})}static{this.normalizeQueryParams=z}static{this.joinWithSlash=L}static{this.stripTrailingSlash=Y}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:B,factory:()=>function Mt(){return new vt((0,o.KVO)(q))}(),providedIn:"root"})}}return B})();function St(B){return B.replace(/\/index.html$/,"")}var rt=function(B){return B[B.Zero=0]="Zero",B[B.One=1]="One",B[B.Two=2]="Two",B[B.Few=3]="Few",B[B.Many=4]="Many",B[B.Other=5]="Other",B}(rt||{}),yt=function(B){return B[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B}(yt||{}),Ct=function(B){return B[B.Narrow=0]="Narrow",B[B.Abbreviated=1]="Abbreviated",B[B.Wide=2]="Wide",B[B.Short=3]="Short",B}(Ct||{}),Vt=function(B){return B[B.Short=0]="Short",B[B.Medium=1]="Medium",B[B.Long=2]="Long",B[B.Full=3]="Full",B}(Vt||{});const Xt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function gt(B,Et){return Ht((0,o.H5H)(B)[o.KH2.DateFormat],Et)}function Nt(B,Et){return Ht((0,o.H5H)(B)[o.KH2.TimeFormat],Et)}function Se(B,Et){return Ht((0,o.H5H)(B)[o.KH2.DateTimeFormat],Et)}function Rt(B,Et){const x=(0,o.H5H)(B),C=x[o.KH2.NumberSymbols][Et];if(typeof C>"u"){if(Et===Xt.CurrencyDecimal)return x[o.KH2.NumberSymbols][Xt.Decimal];if(Et===Xt.CurrencyGroup)return x[o.KH2.NumberSymbols][Xt.Group]}return C}const pe=o.mq5;function Ut(B){if(!B[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${B[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ht(B,Et){for(let x=Et;x>-1;x--)if(typeof B[x]<"u")return B[x];throw new Error("Locale data API: locale data undefined")}function Me(B){const[Et,x]=B.split(":");return{hours:+Et,minutes:+x}}const ko=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,lr={},Lt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var be=function(B){return B[B.Short=0]="Short",B[B.ShortGMT=1]="ShortGMT",B[B.Long=2]="Long",B[B.Extended=3]="Extended",B}(be||{}),se=function(B){return B[B.FullYear=0]="FullYear",B[B.Month=1]="Month",B[B.Date=2]="Date",B[B.Hours=3]="Hours",B[B.Minutes=4]="Minutes",B[B.Seconds=5]="Seconds",B[B.FractionalSeconds=6]="FractionalSeconds",B[B.Day=7]="Day",B}(se||{}),Ie=function(B){return B[B.DayPeriods=0]="DayPeriods",B[B.Days=1]="Days",B[B.Months=2]="Months",B[B.Eras=3]="Eras",B}(Ie||{});function br(B,Et,x,C){let F=function Ro(B){if(tr(B))return B;if("number"==typeof B&&!isNaN(B))return new Date(B);if("string"==typeof B){if(B=B.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(B)){const[F,ht=1,Ot=1]=B.split("-").map(ae=>+ae);return mt(F,ht-1,Ot)}const x=parseFloat(B);if(!isNaN(B-x))return new Date(x);let C;if(C=B.match(ko))return function Wo(B){const Et=new Date(0);let x=0,C=0;const F=B[8]?Et.setUTCFullYear:Et.setFullYear,ht=B[8]?Et.setUTCHours:Et.setHours;B[9]&&(x=Number(B[9]+B[10]),C=Number(B[9]+B[11])),F.call(Et,Number(B[1]),Number(B[2])-1,Number(B[3]));const Ot=Number(B[4]||0)-x,ae=Number(B[5]||0)-C,Ue=Number(B[6]||0),Ve=Math.floor(1e3*parseFloat("0."+(B[7]||0)));return ht.call(Et,Ot,ae,Ue,Ve),Et}(C)}const Et=new Date(B);if(!tr(Et))throw new Error(`Unable to convert "${B}" into a date`);return Et}(B);Et=$(x,Et)||Et;let ae,Ot=[];for(;Et;){if(ae=Lt.exec(Et),!ae){Ot.push(Et);break}{Ot=Ot.concat(ae.slice(1));const Ze=Ot.pop();if(!Ze)break;Et=Ze}}let Ue=F.getTimezoneOffset();C&&(Ue=ue(C,Ue),F=function Qr(B,Et,x){const C=x?-1:1,F=B.getTimezoneOffset();return function mr(B,Et){return(B=new Date(B.getTime())).setMinutes(B.getMinutes()+Et),B}(B,C*(ue(Et,F)-F))}(F,C,!0));let Ve="";return Ot.forEach(Ze=>{const sr=function Pt(B){if(qt[B])return qt[B];let Et;switch(B){case"G":case"GG":case"GGG":Et=ir(Ie.Eras,Ct.Abbreviated);break;case"GGGG":Et=ir(Ie.Eras,Ct.Wide);break;case"GGGGG":Et=ir(Ie.Eras,Ct.Narrow);break;case"y":Et=It(se.FullYear,1,0,!1,!0);break;case"yy":Et=It(se.FullYear,2,0,!0,!0);break;case"yyy":Et=It(se.FullYear,3,0,!1,!0);break;case"yyyy":Et=It(se.FullYear,4,0,!1,!0);break;case"Y":Et=re(1);break;case"YY":Et=re(2,!0);break;case"YYY":Et=re(3);break;case"YYYY":Et=re(4);break;case"M":case"L":Et=It(se.Month,1,1);break;case"MM":case"LL":Et=It(se.Month,2,1);break;case"MMM":Et=ir(Ie.Months,Ct.Abbreviated);break;case"MMMM":Et=ir(Ie.Months,Ct.Wide);break;case"MMMMM":Et=ir(Ie.Months,Ct.Narrow);break;case"LLL":Et=ir(Ie.Months,Ct.Abbreviated,yt.Standalone);break;case"LLLL":Et=ir(Ie.Months,Ct.Wide,yt.Standalone);break;case"LLLLL":Et=ir(Ie.Months,Ct.Narrow,yt.Standalone);break;case"w":Et=Pr(1);break;case"ww":Et=Pr(2);break;case"W":Et=Pr(1,!0);break;case"d":Et=It(se.Date,1);break;case"dd":Et=It(se.Date,2);break;case"c":case"cc":Et=It(se.Day,1);break;case"ccc":Et=ir(Ie.Days,Ct.Abbreviated,yt.Standalone);break;case"cccc":Et=ir(Ie.Days,Ct.Wide,yt.Standalone);break;case"ccccc":Et=ir(Ie.Days,Ct.Narrow,yt.Standalone);break;case"cccccc":Et=ir(Ie.Days,Ct.Short,yt.Standalone);break;case"E":case"EE":case"EEE":Et=ir(Ie.Days,Ct.Abbreviated);break;case"EEEE":Et=ir(Ie.Days,Ct.Wide);break;case"EEEEE":Et=ir(Ie.Days,Ct.Narrow);break;case"EEEEEE":Et=ir(Ie.Days,Ct.Short);break;case"a":case"aa":case"aaa":Et=ir(Ie.DayPeriods,Ct.Abbreviated);break;case"aaaa":Et=ir(Ie.DayPeriods,Ct.Wide);break;case"aaaaa":Et=ir(Ie.DayPeriods,Ct.Narrow);break;case"b":case"bb":case"bbb":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Standalone,!0);break;case"bbbb":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Standalone,!0);break;case"bbbbb":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Standalone,!0);break;case"B":case"BB":case"BBB":Et=ir(Ie.DayPeriods,Ct.Abbreviated,yt.Format,!0);break;case"BBBB":Et=ir(Ie.DayPeriods,Ct.Wide,yt.Format,!0);break;case"BBBBB":Et=ir(Ie.DayPeriods,Ct.Narrow,yt.Format,!0);break;case"h":Et=It(se.Hours,1,-12);break;case"hh":Et=It(se.Hours,2,-12);break;case"H":Et=It(se.Hours,1);break;case"HH":Et=It(se.Hours,2);break;case"m":Et=It(se.Minutes,1);break;case"mm":Et=It(se.Minutes,2);break;case"s":Et=It(se.Seconds,1);break;case"ss":Et=It(se.Seconds,2);break;case"S":Et=It(se.FractionalSeconds,1);break;case"SS":Et=It(se.FractionalSeconds,2);break;case"SSS":Et=It(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Et=er(be.Short);break;case"ZZZZZ":Et=er(be.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Et=er(be.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Et=er(be.Long);break;default:return null}return qt[B]=Et,Et}(Ze);Ve+=sr?sr(F,x,Ue):"''"===Ze?"'":Ze.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ve}function mt(B,Et,x){const C=new Date(0);return C.setFullYear(B,Et,x),C.setHours(0,0,0),C}function $(B,Et){const x=function Xe(B){return(0,o.H5H)(B)[o.KH2.LocaleId]}(B);if(lr[x]??={},lr[x][Et])return lr[x][Et];let C="";switch(Et){case"shortDate":C=gt(B,Vt.Short);break;case"mediumDate":C=gt(B,Vt.Medium);break;case"longDate":C=gt(B,Vt.Long);break;case"fullDate":C=gt(B,Vt.Full);break;case"shortTime":C=Nt(B,Vt.Short);break;case"mediumTime":C=Nt(B,Vt.Medium);break;case"longTime":C=Nt(B,Vt.Long);break;case"fullTime":C=Nt(B,Vt.Full);break;case"short":const F=$(B,"shortTime"),ht=$(B,"shortDate");C=Z(Se(B,Vt.Short),[F,ht]);break;case"medium":const Ot=$(B,"mediumTime"),ae=$(B,"mediumDate");C=Z(Se(B,Vt.Medium),[Ot,ae]);break;case"long":const Ue=$(B,"longTime"),Ve=$(B,"longDate");C=Z(Se(B,Vt.Long),[Ue,Ve]);break;case"full":const Ze=$(B,"fullTime"),sr=$(B,"fullDate");C=Z(Se(B,Vt.Full),[Ze,sr])}return C&&(lr[x][Et]=C),C}function Z(B,Et){return Et&&(B=B.replace(/\{([^}]+)}/g,function(x,C){return null!=Et&&C in Et?Et[C]:x})),B}function it(B,Et,x="-",C,F){let ht="";(B<0||F&&B<=0)&&(F?B=1-B:(B=-B,ht=x));let Ot=String(B);for(;Ot.length0||ae>-x)&&(ae+=x),B===se.Hours)0===ae&&-12===x&&(ae=12);else if(B===se.FractionalSeconds)return function Tt(B,Et){return it(B,3).substring(0,Et)}(ae,Et);const Ue=Rt(Ot,Xt.MinusSign);return it(ae,Et,Ue,C,F)}}function ir(B,Et,x=yt.Format,C=!1){return function(F,ht){return function Je(B,Et,x,C,F,ht){switch(x){case Ie.Months:return function wr(B,Et,x){const C=(0,o.H5H)(B),ht=Ht([C[o.KH2.MonthsFormat],C[o.KH2.MonthsStandalone]],Et);return Ht(ht,x)}(Et,F,C)[B.getMonth()];case Ie.Days:return function gr(B,Et,x){const C=(0,o.H5H)(B),ht=Ht([C[o.KH2.DaysFormat],C[o.KH2.DaysStandalone]],Et);return Ht(ht,x)}(Et,F,C)[B.getDay()];case Ie.DayPeriods:const Ot=B.getHours(),ae=B.getMinutes();if(ht){const Ve=function Ee(B){const Et=(0,o.H5H)(B);return Ut(Et),(Et[o.KH2.ExtraData][2]||[]).map(C=>"string"==typeof C?Me(C):[Me(C[0]),Me(C[1])])}(Et),Ze=function ie(B,Et,x){const C=(0,o.H5H)(B);Ut(C);const ht=Ht([C[o.KH2.ExtraData][0],C[o.KH2.ExtraData][1]],Et)||[];return Ht(ht,x)||[]}(Et,F,C),sr=Ve.findIndex(Ir=>{if(Array.isArray(Ir)){const[ze,nr]=Ir,_r=Ot>=ze.hours&&ae>=ze.minutes,Yr=Ot0?Math.floor(F/60):Math.ceil(F/60);switch(B){case be.Short:return(F>=0?"+":"")+it(Ot,2,ht)+it(Math.abs(F%60),2,ht);case be.ShortGMT:return"GMT"+(F>=0?"+":"")+it(Ot,1,ht);case be.Long:return"GMT"+(F>=0?"+":"")+it(Ot,2,ht)+":"+it(Math.abs(F%60),2,ht);case be.Extended:return 0===C?"Z":(F>=0?"+":"")+it(Ot,2,ht)+":"+it(Math.abs(F%60),2,ht);default:throw new Error(`Unknown zone width "${B}"`)}}}const Hr=0,eo=4;function fr(B){const Et=B.getDay(),x=0===Et?-3:eo-Et;return mt(B.getFullYear(),B.getMonth(),B.getDate()+x)}function Pr(B,Et=!1){return function(x,C){let F;if(Et){const ht=new Date(x.getFullYear(),x.getMonth(),1).getDay()-1,Ot=x.getDate();F=1+Math.floor((Ot+ht)/7)}else{const ht=fr(x),Ot=function Bo(B){const Et=mt(B,Hr,1).getDay();return mt(B,0,1+(Et<=eo?eo:eo+7)-Et)}(ht.getFullYear()),ae=ht.getTime()-Ot.getTime();F=1+Math.round(ae/6048e5)}return it(F,B,Rt(C,Xt.MinusSign))}}function re(B,Et=!1){return function(x,C){return it(fr(x).getFullYear(),B,Rt(C,Xt.MinusSign),Et)}}const qt={};function ue(B,Et){B=B.replace(/:/g,"");const x=Date.parse("Jan 01, 1970 00:00:00 "+B)/6e4;return isNaN(x)?Et:x}function tr(B){return B instanceof Date&&!isNaN(B.valueOf())}let Ke=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275prov=o.jDH({token:B,factory:function(C){let F=null;return C?F=new C:(ht=o.KVO(o.xe9),F=new Lr(ht)),F;var ht},providedIn:"root"})}}return B})();let Lr=(()=>{class B extends Ke{constructor(x){super(),this.locale=x}getPluralCategory(x,C){switch(pe(C||this.locale)(x)){case rt.Zero:return"zero";case rt.One:return"one";case rt.Two:return"two";case rt.Few:return"few";case rt.Many:return"many";default:return"other"}}static{this.\u0275fac=function(C){return new(C||B)(o.KVO(o.xe9))}}static{this.\u0275prov=o.jDH({token:B,factory:B.\u0275fac})}}return B})();function ao(B,Et){Et=encodeURIComponent(Et);for(const x of B.split(";")){const C=x.indexOf("="),[F,ht]=-1==C?[x,""]:[x.slice(0,C),x.slice(C+1)];if(F.trim()===Et)return decodeURIComponent(ht)}return null}const no=/\s+/,vo=[];let Co=(()=>{class B{constructor(x,C){this._ngEl=x,this._renderer=C,this.initialClasses=vo,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(no):vo}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(no):x}ngDoCheck(){for(const C of this.initialClasses)this._updateState(C,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const C of x)this._updateState(C,!0);else if(null!=x)for(const C of Object.keys(x))this._updateState(C,!!x[C]);this._applyStateDiff()}_updateState(x,C){const F=this.stateMap.get(x);void 0!==F?(F.enabled!==C&&(F.changed=!0,F.enabled=C),F.touched=!0):this.stateMap.set(x,{enabled:C,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const C=x[0],F=x[1];F.changed?(this._toggleClass(C,F.enabled),F.changed=!1):F.touched||(F.enabled&&this._toggleClass(C,!1),this.stateMap.delete(C)),F.touched=!1}}_toggleClass(x,C){(x=x.trim()).length>0&&x.split(no).forEach(F=>{C?this._renderer.addClass(this._ngEl.nativeElement,F):this._renderer.removeClass(this._ngEl.nativeElement,F)})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return B})();class he{constructor(Et,x,C,F){this.$implicit=Et,this.ngForOf=x,this.index=C,this.count=F}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ce=(()=>{class B{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,C,F){this._viewContainer=x,this._template=C,this._differs=F,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const C=this._viewContainer;x.forEachOperation((F,ht,Ot)=>{if(null==F.previousIndex)C.createEmbeddedView(this._template,new he(F.item,this._ngForOf,-1,-1),null===Ot?void 0:Ot);else if(null==Ot)C.remove(null===ht?void 0:ht);else if(null!==ht){const ae=C.get(ht);C.move(ae,Ot),pt(ae,F)}});for(let F=0,ht=C.length;F{pt(C.get(F.currentIndex),F)})}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return B})();function pt(B,Et){B.context.$implicit=Et.item}let Dt=(()=>{class B{constructor(x,C){this._viewContainer=x,this._context=new ne,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=C}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Re("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Re("ngIfElse",x),this._elseTemplateRef=x,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(x,C){return!0}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return B})();class ne{constructor(){this.$implicit=null,this.ngIf=null}}function Re(B,Et){if(Et&&!Et.createEmbeddedView)throw new Error(`${B} must be a TemplateRef, but received '${(0,o.Tbb)(Et)}'.`)}let xo=(()=>{class B{constructor(x,C,F){this._ngEl=x,this._differs=C,this._renderer=F,this._ngStyle=null,this._differ=null}set ngStyle(x){this._ngStyle=x,!this._differ&&x&&(this._differ=this._differs.find(x).create())}ngDoCheck(){if(this._differ){const x=this._differ.diff(this._ngStyle);x&&this._applyChanges(x)}}_setStyle(x,C){const[F,ht]=x.split("."),Ot=-1===F.indexOf("-")?void 0:o.czy.DashCase;null!=C?this._renderer.setStyle(this._ngEl.nativeElement,F,ht?`${C}${ht}`:C,Ot):this._renderer.removeStyle(this._ngEl.nativeElement,F,Ot)}_applyChanges(x){x.forEachRemovedItem(C=>this._setStyle(C.key,null)),x.forEachAddedItem(C=>this._setStyle(C.key,C.currentValue)),x.forEachChangedItem(C=>this._setStyle(C.key,C.currentValue))}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.aKT),o.rXU(o.MKu),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return B})(),So=(()=>{class B{constructor(x){this._viewContainerRef=x,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(x){if(this._shouldRecreateView(x)){const C=this._viewContainerRef;if(this._viewRef&&C.remove(C.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const F=this._createContextForwardProxy();this._viewRef=C.createEmbeddedView(this.ngTemplateOutlet,F,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(x){return!!x.ngTemplateOutlet||!!x.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(x,C,F)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,C,F),get:(x,C,F)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,C,F)}})}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:B,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return B})();function io(B,Et){return new o.wOt(2100,!1)}class Yn{createSubscription(Et,x){return(0,o.O8t)(()=>Et.subscribe({next:x,error:C=>{throw C}}))}dispose(Et){(0,o.O8t)(()=>Et.unsubscribe())}}class Di{createSubscription(Et,x){return Et.then(x,C=>{throw C})}dispose(Et){}}const jn=new Di,Uo=new Yn;let Fn=(()=>{class B{constructor(x){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){if(!this._obj){if(x)try{this.markForCheckOnValueUpdate=!1,this._subscribe(x)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,C=>this._updateLatestValue(x,C))}_selectStrategy(x){if((0,o.jNT)(x))return jn;if((0,o.zjR)(x))return Uo;throw io()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,C){x===this._obj&&(this._latestValue=C,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:B,pure:!1,standalone:!0})}}return B})();const nn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ja=(()=>{class B{transform(x){if(null==x)return null;if("string"!=typeof x)throw io();return x.replace(nn,C=>C[0].toUpperCase()+C.slice(1).toLowerCase())}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"titlecase",type:B,pure:!0,standalone:!0})}}return B})();const us=new o.nKC(""),da=new o.nKC("");let ka=(()=>{class B{constructor(x,C,F){this.locale=x,this.defaultTimezone=C,this.defaultOptions=F}transform(x,C,F,ht){if(null==x||""===x||x!=x)return null;try{return br(x,C??this.defaultOptions?.dateFormat??"mediumDate",ht||this.locale,F??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ot){throw io()}}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(o.xe9,16),o.rXU(us,24),o.rXU(da,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:B,pure:!0,standalone:!0})}}return B})();const Ai=/#/g;let Zi=(()=>{class B{constructor(x){this._localization=x}transform(x,C,F){if(null==x)return"";if("object"!=typeof C||null===C)throw io();return C[function Dr(B,Et,x,C){let F=`=${B}`;if(Et.indexOf(F)>-1||(F=x.getPluralCategory(B,C),Et.indexOf(F)>-1))return F;if(Et.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${B}"`)}(x,Object.keys(C),this._localization,F)].replace(Ai,x.toString())}static{this.\u0275fac=function(C){return new(C||B)(o.rXU(Ke,16))}}static{this.\u0275pipe=o.EJ8({name:"i18nPlural",type:B,pure:!0,standalone:!0})}}return B})(),ma=(()=>{class B{transform(x,C,F){if(null==x)return null;if(!this.supports(x))throw io();return x.slice(C,F)}supports(x){return"string"==typeof x||Array.isArray(x)}static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275pipe=o.EJ8({name:"slice",type:B,pure:!1,standalone:!0})}}return B})(),Va=(()=>{class B{static{this.\u0275fac=function(C){return new(C||B)}}static{this.\u0275mod=o.$C({type:B})}static{this.\u0275inj=o.G2t({})}}return B})();const ii="browser",mi="server";function Qi(B){return B===ii}function ps(B){return B===mi}let za=(()=>{class B{static{this.\u0275prov=(0,o.jDH)({token:B,providedIn:"root",factory:()=>Qi((0,o.WQX)(o.Agw))?new hi((0,o.WQX)(I),window):new On})}}return B})();class hi{constructor(Et,x){this.document=Et,this.window=x,this.offset=()=>[0,0]}setOffset(Et){this.offset=Array.isArray(Et)?()=>Et:Et}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Et){this.window.scrollTo(Et[0],Et[1])}scrollToAnchor(Et){const x=function Jo(B,Et){const x=B.getElementById(Et)||B.getElementsByName(Et)[0];if(x)return x;if("function"==typeof B.createTreeWalker&&B.body&&"function"==typeof B.body.attachShadow){const C=B.createTreeWalker(B.body,NodeFilter.SHOW_ELEMENT);let F=C.currentNode;for(;F;){const ht=F.shadowRoot;if(ht){const Ot=ht.getElementById(Et)||ht.querySelector(`[name="${Et}"]`);if(Ot)return Ot}F=C.nextNode()}}return null}(this.document,Et);x&&(this.scrollToElement(x),x.focus())}setHistoryScrollRestoration(Et){this.window.history.scrollRestoration=Et}scrollToElement(Et){const x=Et.getBoundingClientRect(),C=x.left+this.window.pageXOffset,F=x.top+this.window.pageYOffset,ht=this.offset();this.window.scrollTo(C-ht[0],F-ht[1])}}class On{setOffset(Et){}getScrollPosition(){return[0,0]}scrollToPosition(Et){}scrollToAnchor(Et){}setHistoryScrollRestoration(Et){}}class ia{}},1626:(i,a,r)=>{"use strict";r.d(a,{$R:()=>Qr,Nl:()=>kt,Qq:()=>Se,b$:()=>Ro,cS:()=>wr,yz:()=>Wr});var o=r(467),s=r(4438),c=r(7673),y=r(1985),k=r(6648),A=r(274),I=r(5964),M=r(6354),T=r(980),O=r(5558),L=r(177);class Y{}class z{}class q{constructor(he){this.normalizedNames=new Map,this.lazyUpdate=null,he?"string"==typeof he?this.lazyInit=()=>{this.headers=new Map,he.split("\n").forEach(ce=>{const pt=ce.indexOf(":");if(pt>0){const Gt=ce.slice(0,pt),Dt=Gt.toLowerCase(),ne=ce.slice(pt+1).trim();this.maybeSetNormalizedName(Gt,Dt),this.headers.has(Dt)?this.headers.get(Dt).push(ne):this.headers.set(Dt,[ne])}})}:typeof Headers<"u"&&he instanceof Headers?(this.headers=new Map,he.forEach((ce,pt)=>{this.setHeaderEntries(pt,ce)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(he).forEach(([ce,pt])=>{this.setHeaderEntries(ce,pt)})}:this.headers=new Map}has(he){return this.init(),this.headers.has(he.toLowerCase())}get(he){this.init();const ce=this.headers.get(he.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(he){return this.init(),this.headers.get(he.toLowerCase())||null}append(he,ce){return this.clone({name:he,value:ce,op:"a"})}set(he,ce){return this.clone({name:he,value:ce,op:"s"})}delete(he,ce){return this.clone({name:he,value:ce,op:"d"})}maybeSetNormalizedName(he,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,he)}init(){this.lazyInit&&(this.lazyInit instanceof q?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(he=>this.applyUpdate(he)),this.lazyUpdate=null))}copyFrom(he){he.init(),Array.from(he.headers.keys()).forEach(ce=>{this.headers.set(ce,he.headers.get(ce)),this.normalizedNames.set(ce,he.normalizedNames.get(ce))})}clone(he){const ce=new q;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof q?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([he]),ce}applyUpdate(he){const ce=he.name.toLowerCase();switch(he.op){case"a":case"s":let pt=he.value;if("string"==typeof pt&&(pt=[pt]),0===pt.length)return;this.maybeSetNormalizedName(he.name,ce);const Gt=("a"===he.op?this.headers.get(ce):void 0)||[];Gt.push(...pt),this.headers.set(ce,Gt);break;case"d":const Dt=he.value;if(Dt){let ne=this.headers.get(ce);if(!ne)return;ne=ne.filter(Re=>-1===Dt.indexOf(Re)),0===ne.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,ne)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}setHeaderEntries(he,ce){const pt=(Array.isArray(ce)?ce:[ce]).map(Dt=>Dt.toString()),Gt=he.toLowerCase();this.headers.set(Gt,pt),this.maybeSetNormalizedName(he,Gt)}forEach(he){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>he(this.normalizedNames.get(ce),this.headers.get(ce)))}}class dt{encodeKey(he){return $t(he)}encodeValue(he){return $t(he)}decodeKey(he){return decodeURIComponent(he)}decodeValue(he){return decodeURIComponent(he)}}const vt=/%(\d[a-f0-9])/gi,Mt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $t(zt){return encodeURIComponent(zt).replace(vt,(he,ce)=>Mt[ce]??he)}function St(zt){return`${zt}`}class kt{constructor(he={}){if(this.updates=null,this.cloneFrom=null,this.encoder=he.encoder||new dt,he.fromString){if(he.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function tt(zt,he){const ce=new Map;return zt.length>0&&zt.replace(/^\?/,"").split("&").forEach(Gt=>{const Dt=Gt.indexOf("="),[ne,Re]=-1==Dt?[he.decodeKey(Gt),""]:[he.decodeKey(Gt.slice(0,Dt)),he.decodeValue(Gt.slice(Dt+1))],Ce=ce.get(ne)||[];Ce.push(Re),ce.set(ne,Ce)}),ce}(he.fromString,this.encoder)}else he.fromObject?(this.map=new Map,Object.keys(he.fromObject).forEach(ce=>{const pt=he.fromObject[ce],Gt=Array.isArray(pt)?pt.map(St):[St(pt)];this.map.set(ce,Gt)})):this.map=null}has(he){return this.init(),this.map.has(he)}get(he){this.init();const ce=this.map.get(he);return ce?ce[0]:null}getAll(he){return this.init(),this.map.get(he)||null}keys(){return this.init(),Array.from(this.map.keys())}append(he,ce){return this.clone({param:he,value:ce,op:"a"})}appendAll(he){const ce=[];return Object.keys(he).forEach(pt=>{const Gt=he[pt];Array.isArray(Gt)?Gt.forEach(Dt=>{ce.push({param:pt,value:Dt,op:"a"})}):ce.push({param:pt,value:Gt,op:"a"})}),this.clone(ce)}set(he,ce){return this.clone({param:he,value:ce,op:"s"})}delete(he,ce){return this.clone({param:he,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(he=>{const ce=this.encoder.encodeKey(he);return this.map.get(he).map(pt=>ce+"="+this.encoder.encodeValue(pt)).join("&")}).filter(he=>""!==he).join("&")}clone(he){const ce=new kt({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(he),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(he=>this.map.set(he,this.cloneFrom.map.get(he))),this.updates.forEach(he=>{switch(he.op){case"a":case"s":const ce=("a"===he.op?this.map.get(he.param):void 0)||[];ce.push(St(he.value)),this.map.set(he.param,ce);break;case"d":if(void 0===he.value){this.map.delete(he.param);break}{let pt=this.map.get(he.param)||[];const Gt=pt.indexOf(St(he.value));-1!==Gt&&pt.splice(Gt,1),pt.length>0?this.map.set(he.param,pt):this.map.delete(he.param)}}}),this.cloneFrom=this.updates=null)}}class at{constructor(){this.map=new Map}set(he,ce){return this.map.set(he,ce),this}get(he){return this.map.has(he)||this.map.set(he,he.defaultValue()),this.map.get(he)}delete(he){return this.map.delete(he),this}has(he){return this.map.has(he)}keys(){return this.map.keys()}}function yt(zt){return typeof ArrayBuffer<"u"&&zt instanceof ArrayBuffer}function Ct(zt){return typeof Blob<"u"&&zt instanceof Blob}function Vt(zt){return typeof FormData<"u"&&zt instanceof FormData}class oe{constructor(he,ce,pt,Gt){let Dt;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=he.toUpperCase(),function rt(zt){switch(zt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Gt?(this.body=void 0!==pt?pt:null,Dt=Gt):Dt=pt,Dt&&(this.reportProgress=!!Dt.reportProgress,this.withCredentials=!!Dt.withCredentials,Dt.responseType&&(this.responseType=Dt.responseType),Dt.headers&&(this.headers=Dt.headers),Dt.context&&(this.context=Dt.context),Dt.params&&(this.params=Dt.params),this.transferCache=Dt.transferCache),this.headers??=new q,this.context??=new at,this.params){const ne=this.params.toString();if(0===ne.length)this.urlWithParams=ce;else{const Re=ce.indexOf("?");this.urlWithParams=ce+(-1===Re?"?":ReNr.set(Fr,he.setHeaders[Fr]),or)),he.setParams&&(Cr=Object.keys(he.setParams).reduce((Nr,Fr)=>Nr.set(Fr,he.setParams[Fr]),Cr)),new oe(ce,pt,ne,{params:Cr,headers:or,context:Er,reportProgress:Ce,responseType:Gt,withCredentials:Re,transferCache:Dt})}}var Xe=function(zt){return zt[zt.Sent=0]="Sent",zt[zt.UploadProgress=1]="UploadProgress",zt[zt.ResponseHeader=2]="ResponseHeader",zt[zt.DownloadProgress=3]="DownloadProgress",zt[zt.Response=4]="Response",zt[zt.User=5]="User",zt}(Xe||{});class kr{constructor(he,ce=200,pt="OK"){this.headers=he.headers||new q,this.status=void 0!==he.status?he.status:ce,this.statusText=he.statusText||pt,this.url=he.url||null,this.ok=this.status>=200&&this.status<300}}class gr extends kr{constructor(he={}){super(he),this.type=Xe.ResponseHeader}clone(he={}){return new gr({headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class wr extends kr{constructor(he={}){super(he),this.type=Xe.Response,this.body=void 0!==he.body?he.body:null}clone(he={}){return new wr({body:void 0!==he.body?he.body:this.body,headers:he.headers||this.headers,status:void 0!==he.status?he.status:this.status,statusText:he.statusText||this.statusText,url:he.url||this.url||void 0})}}class Wr extends kr{constructor(he){super(he,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${he.url||"(unknown url)"}`:`Http failure response for ${he.url||"(unknown url)"}: ${he.status} ${he.statusText}`,this.error=he.error||null}}function Nt(zt,he){return{body:he,headers:zt.headers,context:zt.context,observe:zt.observe,params:zt.params,reportProgress:zt.reportProgress,responseType:zt.responseType,withCredentials:zt.withCredentials,transferCache:zt.transferCache}}let Se=(()=>{class zt{constructor(ce){this.handler=ce}request(ce,pt,Gt={}){let Dt;if(ce instanceof oe)Dt=ce;else{let Ce,or;Ce=Gt.headers instanceof q?Gt.headers:new q(Gt.headers),Gt.params&&(or=Gt.params instanceof kt?Gt.params:new kt({fromObject:Gt.params})),Dt=new oe(ce,pt,void 0!==Gt.body?Gt.body:null,{headers:Ce,context:Gt.context,params:or,reportProgress:Gt.reportProgress,responseType:Gt.responseType||"json",withCredentials:Gt.withCredentials,transferCache:Gt.transferCache})}const ne=(0,c.of)(Dt).pipe((0,A.H)(Ce=>this.handler.handle(Ce)));if(ce instanceof oe||"events"===Gt.observe)return ne;const Re=ne.pipe((0,I.p)(Ce=>Ce instanceof wr));switch(Gt.observe||"body"){case"body":switch(Dt.responseType){case"arraybuffer":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ce.body}));case"blob":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&!(Ce.body instanceof Blob))throw new Error("Response is not a Blob.");return Ce.body}));case"text":return Re.pipe((0,M.T)(Ce=>{if(null!==Ce.body&&"string"!=typeof Ce.body)throw new Error("Response is not a string.");return Ce.body}));default:return Re.pipe((0,M.T)(Ce=>Ce.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${Gt.observe}}`)}}delete(ce,pt={}){return this.request("DELETE",ce,pt)}get(ce,pt={}){return this.request("GET",ce,pt)}head(ce,pt={}){return this.request("HEAD",ce,pt)}jsonp(ce,pt){return this.request("JSONP",ce,{params:(new kt).append(pt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,pt={}){return this.request("OPTIONS",ce,pt)}patch(ce,pt,Gt={}){return this.request("PATCH",ce,Nt(Gt,pt))}post(ce,pt,Gt={}){return this.request("POST",ce,Nt(Gt,pt))}put(ce,pt,Gt={}){return this.request("PUT",ce,Nt(Gt,pt))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(Y))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const Rt=/^\)\]\}',?\n/;function jt(zt){if(zt.url)return zt.url;const he="X-Request-URL".toLocaleLowerCase();return zt.headers.get(he)}let De=(()=>{class zt{constructor(){this.fetchImpl=(0,s.WQX)(Ye,{optional:!0})?.fetch??((...ce)=>globalThis.fetch(...ce)),this.ngZone=(0,s.WQX)(s.SKi)}handle(ce){return new y.c(pt=>{const Gt=new AbortController;return this.doRequest(ce,Gt.signal,pt).then(ft,Dt=>pt.error(new Wr({error:Dt}))),()=>Gt.abort()})}doRequest(ce,pt,Gt){var Dt=this;return(0,o.A)(function*(){const ne=Dt.createRequestInit(ce);let Re;try{const qr=Dt.ngZone.runOutsideAngular(()=>Dt.fetchImpl(ce.urlWithParams,{signal:pt,...ne}));(function pe(zt){zt.then(ft,ft)})(qr),Gt.next({type:Xe.Sent}),Re=yield qr}catch(qr){return void Gt.error(new Wr({error:qr,status:qr.status??0,statusText:qr.statusText,url:ce.urlWithParams,headers:qr.headers}))}const Ce=new q(Re.headers),or=Re.statusText,Cr=jt(Re)??ce.urlWithParams;let Er=Re.status,Nr=null;if(ce.reportProgress&&Gt.next(new gr({headers:Ce,status:Er,statusText:or,url:Cr})),Re.body){const qr=Re.headers.get("content-length"),to=[],xo=Re.body.getReader();let po,io,So=0;const Yn=typeof Zone<"u"&&Zone.current;yield Dt.ngZone.runOutsideAngular((0,o.A)(function*(){for(;;){const{done:jn,value:Uo}=yield xo.read();if(jn)break;if(to.push(Uo),So+=Uo.length,ce.reportProgress){io="text"===ce.responseType?(io??"")+(po??=new TextDecoder).decode(Uo,{stream:!0}):void 0;const Fn=()=>Gt.next({type:Xe.DownloadProgress,total:qr?+qr:void 0,loaded:So,partialText:io});Yn?Yn.run(Fn):Fn()}}}));const Di=Dt.concatChunks(to,So);try{const jn=Re.headers.get("Content-Type")??"";Nr=Dt.parseBody(ce,Di,jn)}catch(jn){return void Gt.error(new Wr({error:jn,headers:new q(Re.headers),status:Re.status,statusText:Re.statusText,url:jt(Re)??ce.urlWithParams}))}}0===Er&&(Er=Nr?200:0),Er>=200&&Er<300?(Gt.next(new wr({body:Nr,headers:Ce,status:Er,statusText:or,url:Cr})),Gt.complete()):Gt.error(new Wr({error:Nr,headers:Ce,status:Er,statusText:or,url:Cr}))})()}parseBody(ce,pt,Gt){switch(ce.responseType){case"json":const Dt=(new TextDecoder).decode(pt).replace(Rt,"");return""===Dt?null:JSON.parse(Dt);case"text":return(new TextDecoder).decode(pt);case"blob":return new Blob([pt],{type:Gt});case"arraybuffer":return pt.buffer}}createRequestInit(ce){const pt={},Gt=ce.withCredentials?"include":void 0;if(ce.headers.forEach((Dt,ne)=>pt[Dt]=ne.join(",")),ce.headers.has("Accept")||(pt.Accept="application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const Dt=ce.detectContentTypeHeader();null!==Dt&&(pt["Content-Type"]=Dt)}return{body:ce.serializeBody(),method:ce.method,headers:pt,credentials:Gt}}concatChunks(ce,pt){const Gt=new Uint8Array(pt);let Dt=0;for(const ne of ce)Gt.set(ne,Dt),Dt+=ne.length;return Gt}static{this.\u0275fac=function(pt){return new(pt||zt)}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();class Ye{}function ft(){}function Ut(zt,he){return he(zt)}const Ht=new s.nKC(""),Me=new s.nKC(""),Pe=new s.nKC("",{providedIn:"root",factory:()=>!0});let lr=(()=>{class zt extends Y{constructor(ce,pt){super(),this.backend=ce,this.injector=pt,this.chain=null,this.pendingTasks=(0,s.WQX)(s.TgB),this.contributeToStability=(0,s.WQX)(Pe)}handle(ce){if(null===this.chain){const pt=Array.from(new Set([...this.injector.get(Ht),...this.injector.get(Me,[])]));this.chain=pt.reduceRight((Gt,Dt)=>function ie(zt,he,ce){return(pt,Gt)=>(0,s.N4e)(ce,()=>he(pt,Dt=>zt(Dt,Gt)))}(Gt,Dt,this.injector),Ut)}if(this.contributeToStability){const pt=this.pendingTasks.add();return this.chain(ce,Gt=>this.backend.handle(Gt)).pipe((0,T.j)(()=>this.pendingTasks.remove(pt)))}return this.chain(ce,pt=>this.backend.handle(pt))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(z),s.KVO(s.uvJ))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const ye=/^\)\]\}',?\n/;let Je=(()=>{class zt{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new s.wOt(-2800,!1);const pt=this.xhrFactory;return(pt.\u0275loadImpl?(0,k.H)(pt.\u0275loadImpl()):(0,c.of)(null)).pipe((0,O.n)(()=>new y.c(Dt=>{const ne=pt.build();if(ne.open(ce.method,ce.urlWithParams),ce.withCredentials&&(ne.withCredentials=!0),ce.headers.forEach((to,xo)=>ne.setRequestHeader(to,xo.join(","))),ce.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const to=ce.detectContentTypeHeader();null!==to&&ne.setRequestHeader("Content-Type",to)}if(ce.responseType){const to=ce.responseType.toLowerCase();ne.responseType="json"!==to?to:"text"}const Re=ce.serializeBody();let Ce=null;const or=()=>{if(null!==Ce)return Ce;const to=ne.statusText||"OK",xo=new q(ne.getAllResponseHeaders()),So=function ir(zt){return"responseURL"in zt&&zt.responseURL?zt.responseURL:/^X-Request-URL:/m.test(zt.getAllResponseHeaders())?zt.getResponseHeader("X-Request-URL"):null}(ne)||ce.url;return Ce=new gr({headers:xo,status:ne.status,statusText:to,url:So}),Ce},Cr=()=>{let{headers:to,status:xo,statusText:So,url:po}=or(),io=null;204!==xo&&(io=typeof ne.response>"u"?ne.responseText:ne.response),0===xo&&(xo=io?200:0);let Yn=xo>=200&&xo<300;if("json"===ce.responseType&&"string"==typeof io){const Di=io;io=io.replace(ye,"");try{io=""!==io?JSON.parse(io):null}catch(jn){io=Di,Yn&&(Yn=!1,io={error:jn,text:io})}}Yn?(Dt.next(new wr({body:io,headers:to,status:xo,statusText:So,url:po||void 0})),Dt.complete()):Dt.error(new Wr({error:io,headers:to,status:xo,statusText:So,url:po||void 0}))},Er=to=>{const{url:xo}=or(),So=new Wr({error:to,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:xo||void 0});Dt.error(So)};let Nr=!1;const Fr=to=>{Nr||(Dt.next(or()),Nr=!0);let xo={type:Xe.DownloadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),"text"===ce.responseType&&ne.responseText&&(xo.partialText=ne.responseText),Dt.next(xo)},qr=to=>{let xo={type:Xe.UploadProgress,loaded:to.loaded};to.lengthComputable&&(xo.total=to.total),Dt.next(xo)};return ne.addEventListener("load",Cr),ne.addEventListener("error",Er),ne.addEventListener("timeout",Er),ne.addEventListener("abort",Er),ce.reportProgress&&(ne.addEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.addEventListener("progress",qr)),ne.send(Re),Dt.next({type:Xe.Sent}),()=>{ne.removeEventListener("error",Er),ne.removeEventListener("abort",Er),ne.removeEventListener("load",Cr),ne.removeEventListener("timeout",Er),ce.reportProgress&&(ne.removeEventListener("progress",Fr),null!==Re&&ne.upload&&ne.upload.removeEventListener("progress",qr)),ne.readyState!==ne.DONE&&ne.abort()}})))}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(L.N0))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();const er=new s.nKC(""),eo=new s.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),fr=new s.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Pr{}let re=(()=>{class zt{constructor(ce,pt,Gt){this.doc=ce,this.platform=pt,this.cookieName=Gt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,L._b)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}static{this.\u0275fac=function(pt){return new(pt||zt)(s.KVO(L.qQ),s.KVO(s.Agw),s.KVO(eo))}}static{this.\u0275prov=s.jDH({token:zt,factory:zt.\u0275fac})}}return zt})();function qt(zt,he){const ce=zt.url.toLowerCase();if(!(0,s.WQX)(er)||"GET"===zt.method||"HEAD"===zt.method||ce.startsWith("http://")||ce.startsWith("https://"))return he(zt);const pt=(0,s.WQX)(Pr).getToken(),Gt=(0,s.WQX)(fr);return null!=pt&&!zt.headers.has(Gt)&&(zt=zt.clone({headers:zt.headers.set(Gt,pt)})),he(zt)}var ue=function(zt){return zt[zt.Interceptors=0]="Interceptors",zt[zt.LegacyInterceptors=1]="LegacyInterceptors",zt[zt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",zt[zt.NoXsrfProtection=3]="NoXsrfProtection",zt[zt.JsonpSupport=4]="JsonpSupport",zt[zt.RequestsMadeViaParent=5]="RequestsMadeViaParent",zt[zt.Fetch=6]="Fetch",zt}(ue||{});function Qr(...zt){const he=[Se,Je,lr,{provide:Y,useExisting:lr},{provide:z,useFactory:()=>(0,s.WQX)(De,{optional:!0})??(0,s.WQX)(Je)},{provide:Ht,useValue:qt,multi:!0},{provide:er,useValue:!0},{provide:Pr,useClass:re}];for(const ce of zt)he.push(...ce.\u0275providers);return(0,s.EmA)(he)}function Ro(zt){return function mr(zt,he){return{\u0275kind:zt,\u0275providers:he}}(ue.Interceptors,zt.map(he=>({provide:Ht,useValue:he,multi:!0})))}},4438:(i,a,r)=>{"use strict";function o(t,e){return Object.is(t,e)}r.d(a,{bc$:()=>Go,iLQ:()=>Dw,sZ2:()=>oo,hnV:()=>Dk,wjH:()=>Bp,o8S:()=>Ql,BIS:()=>Dn,gRc:()=>jk,Ql9:()=>V8,OM3:()=>qf,Ocv:()=>Y8,Z63:()=>Br,aKT:()=>bd,uvJ:()=>ai,zcH:()=>uc,bkB:()=>dc,$GK:()=>nn,nKC:()=>ro,zZn:()=>Za,_q3:()=>$v,MKu:()=>jv,xe9:()=>Nv,Co$:()=>gx,Vns:()=>Lp,SKi:()=>Bi,Xx1:()=>hi,Agw:()=>_o,PLl:()=>Ho,rOR:()=>pl,sFG:()=>QE,_9s:()=>fy,czy:()=>Qh,WPN:()=>$l,kdw:()=>On,C4Q:()=>Od,NYb:()=>L8,giA:()=>Ek,RxE:()=>mk,c1b:()=>qb,gXe:()=>bn,mal:()=>aw,Tzd:()=>Ex,L39:()=>YD,EWP:()=>qD,sbv:()=>C5,Ol2:()=>Ry,w6W:()=>z5,QZP:()=>yE,Rfq:()=>re,oKB:()=>vc,WQX:()=>Vo,naY:()=>nD,Hps:()=>Ay,QuC:()=>Ji,EmA:()=>Oi,Udg:()=>ZD,HJs:()=>nA,N4e:()=>ca,vPA:()=>G1,O8t:()=>JD,H3F:()=>bk,H8p:()=>ki,KH2:()=>Pg,TgB:()=>Ol,wOt:()=>We,WHO:()=>_k,e01:()=>kk,lNU:()=>Pe,h9k:()=>Jm,$MX:()=>Hh,ZF7:()=>Du,Kcf:()=>Kw,e5t:()=>Zw,UyX:()=>Xw,cWb:()=>Gw,osQ:()=>Yw,H5H:()=>cv,Zy3:()=>Or,mq5:()=>C2,JZv:()=>ye,TL3:()=>TD,LfX:()=>Ke,plB:()=>Bu,jNT:()=>Mv,zjR:()=>Ck,ngT:()=>Vs,TL$:()=>Sr,Tbb:()=>eo,rcV:()=>Zc,nM4:()=>cx,Vt3:()=>Ty,GFd:()=>hx,OA$:()=>vs,Jv_:()=>L_,aNF:()=>P_,R7$:()=>Db,BMQ:()=>Ky,HbH:()=>a2,ZvI:()=>h2,AVh:()=>Jy,BUC:()=>g2,vxM:()=>w2,wni:()=>a_,C6U:()=>d_,VBU:()=>Wa,FsC:()=>ql,jDH:()=>Fo,G2t:()=>ei,$C:()=>Ea,EJ8:()=>Jc,rXU:()=>Vl,nrm:()=>nv,eu8:()=>iv,bVm:()=>fw,qex:()=>gw,k0s:()=>hw,j41:()=>pw,RV6:()=>E2,xGo:()=>is,Mr5:()=>av,KVO:()=>Nn,kS0:()=>pd,QTQ:()=>Ab,bIt:()=>uv,lsd:()=>l_,joV:()=>sh,qSk:()=>Yd,XpG:()=>Y2,nI1:()=>Z_,bMT:()=>Q_,i5U:()=>q_,SdG:()=>Q2,NAR:()=>Z2,Y8G:()=>Zy,FS9:()=>gv,Mz_:()=>vw,lJ4:()=>U_,eq3:()=>$_,l_i:()=>j_,sMw:()=>V_,ziG:()=>z_,lV:()=>H_,NyB:()=>u_,mGM:()=>c_,sdS:()=>p_,Dyx:()=>x2,Z7z:()=>v2,Vm6:()=>y2,Njj:()=>Vd,eBV:()=>Xu,npT:()=>tb,f$h:()=>_f,B4B:()=>xf,n$t:()=>rb,Aen:()=>ml,xc7:()=>qy,Kam:()=>pv,zvX:()=>sv,DNE:()=>Ly,C5r:()=>J_,EFF:()=>__,JRh:()=>mv,SpI:()=>xw,Lme:()=>bv,DH7:()=>I_,mxI:()=>yv,R50:()=>wv,GBs:()=>s_});let s=null,c=!1,y=1;const k=Symbol("SIGNAL");function A(t){const e=s;return s=t,e}const O={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 L(t){if(c)throw new Error("");if(null===s)return;s.consumerOnSignalRead(t);const e=s.nextProducerIndex++;at(s),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Mt(t){at(t);for(let e=0;e0}function at(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function rt(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function yt(t){return void 0!==t.producerNode}function Ct(t){const e=Object.create(Xe);e.computation=t;const n=()=>{if(z(e),L(e),e.value===oe)throw e.error;return e.value};return n[k]=e,n}const Vt=Symbol("UNSET"),Xt=Symbol("COMPUTING"),oe=Symbol("ERRORED"),Xe={...O,value:Vt,dirty:!0,error:null,equal:o,producerMustRecompute:t=>t.value===Vt||t.value===Xt,producerRecomputeValue(t){if(t.value===Xt)throw new Error("Detected cycle in computations.");const e=t.value;t.value=Xt;const n=tt(t);let l;try{l=t.computation()}catch(g){l=oe,t.error=g}finally{vt(t,n)}e!==Vt&&e!==oe&&l!==oe&&t.equal(e,l)?t.value=e:(t.value=l,t.version++)}};let gr=function kr(){throw new Error};function wr(){gr()}let xe=null;function Se(t,e){ct()||wr(),t.equal(t.value,e)||(t.value=e,function De(t){t.version++,function Y(){y++}(),q(t),xe?.()}(t))}const jt={...O,equal:o,value:void 0};const ft=()=>{},pe={...O,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ft};var Ee=r(4412),ie=r(1413),He=r(8359),Ht=r(6354);const Pe="https://g.co/ng/security#xss";class We extends Error{constructor(e,n){super(Or(e,n)),this.code=e}}function Or(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}function Ie(t){return{toString:t}.toString()}const mt="__parameters__";function Tt(t,e,n){return Ie(()=>{const l=function it(t){return function(...n){if(t){const l=t(...n);for(const g in l)this[g]=l[g]}}}(e);function g(...w){if(this instanceof g)return l.apply(this,w),this;const E=new g(...w);return R.annotation=E,R;function R(U,ot,xt){const Jt=U.hasOwnProperty(mt)?U[mt]:Object.defineProperty(U,mt,{value:[]})[mt];for(;Jt.length<=xt;)Jt.push(null);return(Jt[xt]=Jt[xt]||[]).push(E),U}}return n&&(g.prototype=Object.create(n.prototype)),g.prototype.ngMetadataName=t,g.annotationCls=g,g})}const ye=globalThis;function er(t){for(let e in t)if(t[e]===er)return e;throw Error("Could not find renamed property on target object.")}function Hr(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function eo(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(eo).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Bo(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Pr=er({__forward_ref__:er});function re(t){return t.__forward_ref__=re,t.toString=function(){return eo(this())},t}function qt(t){return Pt(t)?t():t}function Pt(t){return"function"==typeof t&&t.hasOwnProperty(Pr)&&t.__forward_ref__===re}function Fo(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ei(t){return{providers:t.providers||[],imports:t.imports||[]}}function Oe(t){return Dr(t,ao)||Dr(t,vo)}function Ke(t){return null!==Oe(t)}function Dr(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ur(t){return t&&(t.hasOwnProperty(no)||t.hasOwnProperty(Co))?t[no]:null}const ao=er({\u0275prov:er}),no=er({\u0275inj:er}),vo=er({ngInjectableDef:er}),Co=er({ngInjectorDef:er});class ro{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Fo({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cr(t){return t&&!!t.\u0275providers}const Er=er({\u0275cmp:er}),Nr=er({\u0275dir:er}),Fr=er({\u0275pipe:er}),qr=er({\u0275mod:er}),to=er({\u0275fac:er}),xo=er({__NG_ELEMENT_ID__:er}),So=er({__NG_ENV_ID__:er});function po(t){return"string"==typeof t?t:null==t?"":String(t)}function zi(t,e){throw new We(-201,!1)}var nn=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(nn||{});let ja;function Tn(){return ja}function vi(t){const e=ja;return ja=t,e}function us(t,e,n){const l=Oe(t);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:n&nn.Optional?null:void 0!==e?e:void zi()}const Ai={},Zi="__NG_DI_FLAG__",Zn="ngTempTokenPath",Mn=/\n/gm,fi="__source";let Ko;function Qn(t){const e=Ko;return Ko=t,e}function qn(t,e=nn.Default){if(void 0===Ko)throw new We(-203,!1);return null===Ko?us(t,void 0,e):Ko.get(t,e&nn.Optional?null:void 0,e)}function Nn(t,e=nn.Default){return(Tn()||qn)(qt(t),e)}function Vo(t,e=nn.Default){return Nn(t,Va(e))}function Va(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ii(t){const e=[];for(let n=0;nArray.isArray(n)?xi(n,e):e(n))}function ci(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ui(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _i(t,e,n){let l=G(t,e);return l>=0?t[1|l]=n:(l=~l,function wa(t,e,n,l){let g=t.length;if(g==e)t.push(n,l);else if(1===g)t.push(l,t[0]),t[0]=n;else{for(g--,t.push(t[g-1],t[g]);g>e;)t[g]=t[g-2],g--;t[e]=n,t[e+1]=l}}(t,l,e,n)),l}function os(t,e){const n=G(t,e);if(n>=0)return t[1|n]}function G(t,e){return function et(t,e,n){let l=0,g=t.length>>n;for(;g!==l;){const w=l+(g-l>>1),E=t[w<e?g=w:l=w+1}return~(g<e){E=w-1;break}}}for(;w-1){let w;for(;++gw?"":g[xt+1].toLowerCase(),2&l&&ot!==Jt){if(bt(l))return!1;E=!0}}}}else{if(!E&&!bt(l)&&!bt(U))return!1;if(E&&bt(U))continue;E=!1,l=U|1&l}}return bt(l)||E}function bt(t){return!(1&t)}function X(t,e,n,l){if(null===e)return-1;let g=0;if(l||!n){let w=!1;for(;g-1)for(n++;n0?'="'+R+'"':"")+"]"}else 8&l?g+="."+E:4&l&&(g+=" "+E);else""!==g&&!bt(E)&&(e+=Ns(w,g),g=""),l=E,w=w||!bt(l);n++}return""!==g&&(e+=Ns(w,g)),e}function Wa(t){return Ie(()=>{const e=zs(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===rn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||bn.Emulated,styles:t.styles||le,_:null,schemas:t.schemas||null,tView:null,id:""};As(n);const l=t.dependencies;return n.directiveDefs=sa(l,!1),n.pipeDefs=sa(l,!0),n.id=function Ss(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const g of n)e=Math.imul(31,e)+g.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function yn(t){return ln(t)||Li(t)}function Fs(t){return null!==t}function Ea(t){return Ie(()=>({type:t.type,bootstrap:t.bootstrap||le,declarations:t.declarations||le,imports:t.imports||le,exports:t.exports||le,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function hs(t,e){if(null==t)return te;const n={};for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];let w,E,R=Lo.None;Array.isArray(g)?(R=g[0],w=g[1],E=g[2]??w):(w=g,E=g),e?(n[w]=R!==Lo.None?[l,R]:l,e[w]=E):n[w]=l}return n}function ql(t){return Ie(()=>{const e=zs(t);return As(e),e})}function Jc(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[Er]||null}function Li(t){return t[Nr]||null}function on(t){return t[Fr]||null}function Ji(t){const e=ln(t)||Li(t)||on(t);return null!==e&&e.standalone}function $i(t,e){const n=t[qr]||null;if(!n&&!0===e)throw new Error(`Type ${eo(t)} does not have '\u0275mod' property.`);return n}function zs(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||te,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||le,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hs(t.inputs,e),outputs:hs(t.outputs),debugInfo:null}}function As(t){t.features?.forEach(e=>e(t))}function sa(t,e){if(!t)return null;const n=e?on:yn;return()=>("function"==typeof t?t():t).map(l=>n(l)).filter(Fs)}function Oi(t){return{\u0275providers:t}}function vc(...t){return{\u0275providers:Nc(0,t),\u0275fromNgModule:!0}}function Nc(t,...e){const n=[],l=new Set;let g;const w=E=>{n.push(E)};return xi(e,E=>{const R=E;xc(R,w,[],l)&&(g||=[],g.push(R))}),void 0!==g&&tl(g,w),n}function tl(t,e){for(let n=0;n{e(w,l)})}}function xc(t,e,n,l){if(!(t=qt(t)))return!1;let g=null,w=Ur(t);const E=!w&&ln(t);if(w||E){if(E&&!E.standalone)return!1;g=t}else{const U=t.ngModule;if(w=Ur(U),!w)return!1;g=U}const R=l.has(g);if(E){if(R)return!1;if(l.add(g),E.dependencies){const U="function"==typeof E.dependencies?E.dependencies():E.dependencies;for(const ot of U)xc(ot,e,n,l)}}else{if(!w)return!1;{if(null!=w.imports&&!R){let ot;l.add(g);try{xi(w.imports,xt=>{xc(xt,e,n,l)&&(ot||=[],ot.push(xt))})}finally{}void 0!==ot&&tl(ot,e)}if(!R){const ot=bi(g)||(()=>new g);e({provide:g,useFactory:ot,deps:le},g),e({provide:Oo,useValue:g,multi:!0},g),e({provide:Br,useValue:()=>Nn(g),multi:!0},g)}const U=w.providers;if(null!=U&&!R){const ot=t;kc(U,xt=>{e(xt,ot)})}}}return g!==t&&void 0!==t.providers}function kc(t,e){for(let n of t)Cr(n)&&(n=n.\u0275providers),Array.isArray(n)?kc(n,e):e(n)}const Lc=er({provide:String,useValue:er});function Ka(t){return null!==t&&"object"==typeof t&&Lc in t}function Ca(t){return"function"==typeof t}const ki=new ro(""),ta={},Jl={};let Xi;function Ts(){return void 0===Xi&&(Xi=new so),Xi}class ai{}class Hs extends ai{get destroyed(){return this._destroyed}constructor(e,n,l,g){super(),this.parent=n,this.source=l,this.scopes=g,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Is(e,E=>this.processProvider(E)),this.records.set(jr,gs(void 0,this)),g.has("environment")&&this.records.set(ai,gs(void 0,this));const w=this.records.get(ki);null!=w&&"string"==typeof w.value&&this.scopes.add(w.value),this.injectorDefTypes=new Set(this.get(Oo,le,nn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=A(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of n)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=Qn(this),l=vi(void 0);try{return e()}finally{Qn(n),vi(l)}}get(e,n=Ai,l=nn.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(So))return e[So](this);l=Va(l);const w=Qn(this),E=vi(void 0);try{if(!(l&nn.SkipSelf)){let U=this.records.get(e);if(void 0===U){const ot=function ic(t){return"function"==typeof t||"object"==typeof t&&t instanceof ro}(e)&&Oe(e);U=ot&&this.injectableDefInScope(ot)?gs(Ms(e),ta):null,this.records.set(e,U)}if(null!=U)return this.hydrate(e,U)}return(l&nn.Self?Ts():this.parent).get(e,n=l&nn.Optional&&n===Ai?null:n)}catch(R){if("NullInjectorError"===R.name){if((R[Zn]=R[Zn]||[]).unshift(eo(e)),w)throw R;return function ps(t,e,n,l){const g=t[Zn];throw e[fi]&&g.unshift(e[fi]),t.message=function ba(t,e,n,l=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let g=eo(e);if(Array.isArray(e))g=e.map(eo).join(" -> ");else if("object"==typeof e){let w=[];for(let E in e)if(e.hasOwnProperty(E)){let R=e[E];w.push(E+":"+("string"==typeof R?JSON.stringify(R):eo(R)))}g=`{${w.join(", ")}}`}return`${n}${l?"("+l+")":""}[${g}]: ${t.replace(Mn,"\n ")}`}("\n"+t.message,g,n,l),t.ngTokenPath=g,t[Zn]=null,t}(R,e,"R3InjectorError",this.source)}throw R}finally{vi(E),Qn(w)}}resolveInjectorInitializers(){const e=A(null),n=Qn(this),l=vi(void 0);try{const w=this.get(Br,le,nn.Self);for(const E of w)E()}finally{Qn(n),vi(l),A(e)}}toString(){const e=[],n=this.records;for(const l of n.keys())e.push(eo(l));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new We(205,!1)}processProvider(e){let n=Ca(e=qt(e))?e:qt(e&&e.provide);const l=function Ln(t){return Ka(t)?gs(void 0,t.useValue):gs(Ga(t),ta)}(e);if(!Ca(e)&&!0===e.multi){let g=this.records.get(n);g||(g=gs(void 0,ta,!0),g.factory=()=>ii(g.multi),this.records.set(n,g)),n=e,g.multi.push(e)}this.records.set(n,l)}hydrate(e,n){const l=A(null);try{return n.value===ta&&(n.value=Jl,n.value=n.factory()),"object"==typeof n.value&&n.value&&function fs(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(l)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=qt(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Ms(t){const e=Oe(t),n=null!==e?e.factory:bi(t);if(null!==n)return n;if(t instanceof ro)throw new We(204,!1);if(t instanceof Function)return function Da(t){if(t.length>0)throw new We(204,!1);const n=function Lr(t){return t&&(t[ao]||t[vo])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new We(204,!1)}function Ga(t,e,n){let l;if(Ca(t)){const g=qt(t);return bi(g)||Ms(g)}if(Ka(t))l=()=>qt(t.useValue);else if(function Us(t){return!(!t||!t.useFactory)}(t))l=()=>t.useFactory(...ii(t.deps||[]));else if(function Bs(t){return!(!t||!t.useExisting)}(t))l=()=>Nn(qt(t.useExisting));else{const g=qt(t&&(t.useClass||t.provide));if(!function gi(t){return!!t.deps}(t))return bi(g)||Ms(g);l=()=>new g(...ii(t.deps))}return l}function gs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Is(t,e){for(const n of t)Array.isArray(n)?Is(n,e):n&&Cr(n)?Is(n.\u0275providers,e):e(n)}function ca(t,e){t instanceof Hs&&t.assertNotDestroyed();const l=Qn(t),g=vi(void 0);try{return e()}finally{Qn(l),vi(g)}}function bs(){return void 0!==Tn()||null!=function pa(){return Ko}()}function fn(t){if(!bs())throw new We(-203,!1)}const ze=0,nr=1,_r=2,Yr=3,Mr=4,Gr=5,Jr=6,go=7,Vr=8,Do=9,Io=10,Xr=11,tn=12,Xo=13,En=14,Qo=15,xn=16,Ei=17,oi=18,Hi=19,To=20,uo=21,vn=22,Rn=23,fo=25,Mi=1,Fi=7,ya=9,yi=10;var Po=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Po||{});function li(t){return Array.isArray(t)&&"object"==typeof t[Mi]}function Ii(t){return Array.isArray(t)&&!0===t[Mi]}function Xa(t){return!!(4&t.flags)}function la(t){return t.componentOffset>-1}function $o(t){return!(1&~t.flags)}function Ci(t){return!!t.template}function Aa(t){return!!(512&t[_r])}class Ta{constructor(e,n,l){this.previousValue=e,this.currentValue=n,this.firstChange=l}isFirstChange(){return this.firstChange}}function Os(t,e,n,l){null!==e?e.applyValueToInputSignal(e,l):t[n]=l}function vs(){return Fc}function Fc(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ya),Ws}function Ws(){const t=Wp(this),e=t?.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let l in e)n[l]=e[l];t.current=null,this.ngOnChanges(e)}}function Ya(t,e,n,l,g){const w=this.declaredInputs[l],E=Wp(t)||function $g(t,e){return t[ol]=e}(t,{previous:te,current:null}),R=E.current||(E.current={}),U=E.previous,ot=U[w];R[w]=new Ta(ot&&ot.currentValue,n,U===te),Os(t,e,g,n)}vs.ngInherit=!0;const ol="__ngSimpleChanges__";function Wp(t){return t[ol]||null}const Ks=function(t,e,n){},Gp="svg";function Hn(t){for(;Array.isArray(t);)t=t[ze];return t}function xl(t,e){return Hn(e[t])}function Ma(t,e){return Hn(e[t.index])}function Cc(t,e){return t.data[e]}function _l(t,e){return t[e]}function xs(t,e){const n=e[t];return li(n)?n:n[ze]}function Xs(t){return!(128&~t[_r])}function _s(t,e){return null==e?null:t[e]}function Ld(t){t[Ei]=0}function Pd(t){1024&t[_r]||(t[_r]|=1024,Xs(t)&&kl(t))}function ed(t){return!!(9216&t[_r]||t[Rn]?.dirty)}function Hu(t){t[Io].changeDetectionScheduler?.notify(8),64&t[_r]&&(t[_r]|=1024),ed(t)&&kl(t)}function kl(t){t[Io].changeDetectionScheduler?.notify(0);let e=$s(t);for(;null!==e&&!(8192&e[_r])&&(e[_r]|=8192,Xs(e));)e=$s(e)}function Fd(t,e){if(!(256&~t[_r]))throw new We(911,!1);null===t[uo]&&(t[uo]=[]),t[uo].push(e)}function $s(t){const e=t[Yr];return Ii(e)?e[Yr]:e}const mn={lFrame:oh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ku=!1;function rd(){return mn.bindingsEnabled}function nl(){return null!==mn.skipHydrationRootTNode}function Rr(){return mn.lFrame.lView}function Cn(){return mn.lFrame.tView}function Xu(t){return mn.lFrame.contextLView=t,t[Vr]}function Vd(t){return mn.lFrame.contextLView=null,t}function Wn(){let t=zd();for(;null!==t&&64===t.type;)t=t.parent;return t}function zd(){return mn.lFrame.currentTNode}function Zs(t,e){const n=mn.lFrame;n.currentTNode=t,n.isParent=e}function Yu(){return mn.lFrame.isParent}function Hd(){mn.lFrame.isParent=!1}function Kd(){return Ku}function Zu(t){Ku=t}function ga(){const t=mn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function sc(){return mn.lFrame.bindingIndex++}function Ac(t){const e=mn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Qu(t,e){const n=mn.lFrame;n.bindingIndex=n.bindingRootIndex=t,od(e)}function od(t){mn.lFrame.currentDirectiveIndex=t}function th(t){const e=mn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function eh(){return mn.lFrame.currentQueryIndex}function nd(t){mn.lFrame.currentQueryIndex=t}function Cm(t){const e=t[nr];return 2===e.type?e.declTNode:1===e.type?t[Gr]:null}function Hg(t,e,n){if(n&nn.SkipSelf){let g=e,w=t;for(;!(g=g.parent,null!==g||n&nn.Host||(g=Cm(w),null===g||(w=w[En],10&g.type))););if(null===g)return!1;e=g,t=w}const l=mn.lFrame=id();return l.currentTNode=e,l.lView=t,!0}function rh(t){const e=id(),n=t[nr];mn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function id(){const t=mn.lFrame,e=null===t?null:t.child;return null===e?oh(t):e}function oh(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function nh(){const t=mn.lFrame;return mn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ih=nh;function Cl(){const t=nh();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function va(){return mn.lFrame.selectedIndex}function Uc(t){mn.lFrame.selectedIndex=t}function Ri(){const t=mn.lFrame;return Cc(t.tView,t.selectedIndex)}function Yd(){mn.lFrame.currentNamespace=Gp}function sh(){!function Wg(){mn.lFrame.currentNamespace=null}()}let lh=!0;function ad(){return lh}function cc(t){lh=t}function Dl(t,e){for(let n=e.directiveStart,l=e.directiveEnd;n=l)break}else e[U]<0&&(t[Ei]+=65536),(R>14>16&&(3&t[_r])===e&&(t[_r]+=16384,uh(R,w)):uh(R,w)}const sd=-1;class sl{constructor(e,n,l){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=l}}const ld={};class lc{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,l){l=Va(l);const g=this.injector.get(e,ld,l);return g!==ld||n===ld?g:this.parentInjector.get(e,n,l)}}function gh(t){return t!==sd}function ll(t){return 32767&t}function Sl(t,e){let n=function fh(t){return t>>16}(t),l=e;for(;n>0;)l=l[En],n--;return l}let Ju=!0;function dd(t){const e=Ju;return Ju=t,e}const tp=255,mh=5;let qd=0;const qs={};function $c(t,e){const n=bh(t,e);if(-1!==n)return n;const l=e[nr];l.firstCreatePass&&(t.injectorIndex=e.length,ud(l.data,t),ud(e,null),ud(l.blueprint,null));const g=Jd(t,e),w=t.injectorIndex;if(gh(g)){const E=ll(g),R=Sl(g,e),U=R[nr].data;for(let ot=0;ot<8;ot++)e[w+ot]=R[E+ot]|U[E+ot]}return e[w+8]=g,w}function ud(t,e){t.push(0,0,0,0,0,0,0,0,e)}function bh(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Jd(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,l=null,g=e;for(;null!==g;){if(l=vh(g),null===l)return sd;if(n++,g=g[En],-1!==l.injectorIndex)return l.injectorIndex|n<<16}return sd}function tu(t,e,n){!function ep(t,e,n){let l;"string"==typeof n?l=n.charCodeAt(0)||0:n.hasOwnProperty(xo)&&(l=n[xo]),null==l&&(l=n[xo]=qd++);const g=l&tp;e.data[t+(g>>mh)]|=1<=0?e&tp:yh:e}(n);if("function"==typeof w){if(!Hg(e,t,l))return l&nn.Host?ns(g,0,l):ru(e,n,l,g);try{let E;if(E=w(l),null!=E||l&nn.Optional)return E;zi()}finally{ih()}}else if("number"==typeof w){let E=null,R=bh(t,e),U=sd,ot=l&nn.Host?e[Qo][Gr]:null;for((-1===R||l&nn.SkipSelf)&&(U=-1===R?Jd(t,e):e[R+8],U!==sd&&dl(l,!1)?(E=e[nr],R=ll(U),e=Sl(U,e)):R=-1);-1!==R;){const xt=e[nr];if(op(w,R,xt.data)){const Jt=rp(R,e,n,E,l,ot);if(Jt!==qs)return Jt}U=e[R+8],U!==sd&&dl(l,e[nr].data[R+8]===ot)&&op(w,R,e)?(E=xt,R=ll(U),e=Sl(U,e)):R=-1}}return g}function rp(t,e,n,l,g,w){const E=e[nr],R=E.data[t+8],xt=nu(R,E,n,null==l?la(R)&&Ju:l!=E&&!!(3&R.type),g&nn.Host&&w===R);return null!==xt?jc(e,E,xt,R):qs}function nu(t,e,n,l,g){const w=t.providerIndexes,E=e.data,R=1048575&w,U=t.directiveStart,xt=w>>20,Fe=g?R+xt:t.directiveEnd;for(let Ge=l?R:R+xt;Ge=U&&hr.type===n)return Ge}if(g){const Ge=E[U];if(Ge&&Ci(Ge)&&Ge.type===n)return U}return null}function jc(t,e,n,l){let g=t[n];const w=e.data;if(function Zd(t){return t instanceof sl}(g)){const E=g;E.resolving&&function jn(t,e){throw e&&e.join(" > "),new We(-200,t)}(function io(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():po(t)}(w[n]));const R=dd(E.canSeeViewProviders);E.resolving=!0;const ot=E.injectImpl?vi(E.injectImpl):null;Hg(t,l,nn.Default);try{g=t[n]=E.factory(void 0,w,t,l),e.firstCreatePass&&n>=l.directiveStart&&function il(t,e,n){const{ngOnChanges:l,ngOnInit:g,ngDoCheck:w}=e.type.prototype;if(l){const E=Fc(e);(n.preOrderHooks??=[]).push(t,E),(n.preOrderCheckHooks??=[]).push(t,E)}g&&(n.preOrderHooks??=[]).push(0-t,g),w&&((n.preOrderHooks??=[]).push(t,w),(n.preOrderCheckHooks??=[]).push(t,w))}(n,w[n],e)}finally{null!==ot&&vi(ot),dd(R),E.resolving=!1,ih()}}return g}function op(t,e,n){return!!(n[e+(t>>mh)]&1<{const e=t.prototype.constructor,n=e[to]||Vc(e),l=Object.prototype;let g=Object.getPrototypeOf(t.prototype).constructor;for(;g&&g!==l;){const w=g[to]||Vc(g);if(w&&w!==n)return w;g=Object.getPrototypeOf(g)}return w=>new w})}function Vc(t){return Pt(t)?()=>{const e=Vc(qt(t));return e&&e()}:bi(t)}function vh(t){const e=t[nr],n=e.type;return 2===n?e.declTNode:1===n?t[Gr]:null}function pd(t){return function eu(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const l=n.length;let g=0;for(;gNn(jr)})}static{this.__NG_ELEMENT_ID__=-1}}new ro("").__NG_ELEMENT_ID__=t=>{const e=Wn();if(null===e)throw new We(204,!1);if(2&e.type)return e.value;if(t&nn.Optional)return null;throw new We(204,!1)};function sp(t){return t.ngOriginalError}const Ah=!0;let du=(()=>{class t{static{this.__NG_ELEMENT_ID__=Im}static{this.__NG_ENV_ID__=n=>n}}return t})();class Qg extends du{constructor(e){super(),this._lView=e}onDestroy(e){return Fd(this._lView,e),()=>function Ys(t,e){if(null===t[uo])return;const n=t[uo].indexOf(e);-1!==n&&t[uo].splice(n,1)}(this._lView,e)}}function Im(){return new Qg(Rr())}let Ol=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ee.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();const dc=class hd extends ie.B{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,bs()&&(this.destroyRef=Vo(du,{optional:!0})??void 0,this.pendingTasks=Vo(Ol,{optional:!0})??void 0)}emit(e){const n=A(null);try{super.next(e)}finally{A(n)}}subscribe(e,n,l){let g=e,w=n||(()=>null),E=l;if(e&&"object"==typeof e){const U=e;g=U.next?.bind(U),w=U.error?.bind(U),E=U.complete?.bind(U)}this.__isAsync&&(w=this.wrapInTimeout(w),g&&(g=this.wrapInTimeout(g)),E&&(E=this.wrapInTimeout(E)));const R=super.subscribe({next:g,error:w,complete:E});return e instanceof He.yU&&e.add(R),R}wrapInTimeout(e){return n=>{const l=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==l&&this.pendingTasks?.remove(l)})}}};function Ia(...t){}function Sh(t){let e,n;function l(){t=Ia;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),l()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),l()})),()=>l()}function ul(t){return queueMicrotask(()=>t()),()=>{t=Ia}}const Hc="isAngularZone",Rl=Hc+"_ID";let Qa=0;class Bi{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dc(!1),this.onMicrotaskEmpty=new dc(!1),this.onStable=new dc(!1),this.onError=new dc(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:g=!1,scheduleInRootZone:w=Ah}=e;if(typeof Zone>"u")throw new We(908,!1);Zone.assertZonePatched();const E=this;E._nesting=0,E._outer=E._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(E._inner=E._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(E._inner=E._inner.fork(Zone.longStackTraceZoneSpec)),E.shouldCoalesceEventChangeDetection=!g&&l,E.shouldCoalesceRunChangeDetection=g,E.callbackScheduled=!1,E.scheduleInRootZone=w,function Jg(t){const e=()=>{!function qg(t){function e(){Sh(()=>{t.callbackScheduled=!1,gd(t),t.isCheckStableRunning=!0,cp(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),gd(t))}(t)},n=Qa++;t._inner=t._inner.fork({name:"angular",properties:{[Hc]:!0,[Rl]:n,[Rl+n]:!0},onInvokeTask:(l,g,w,E,R,U)=>{if(function md(t){return dp(t,"__ignore_ng_zone__")}(U))return l.invokeTask(w,E,R,U);try{return lp(t),l.invokeTask(w,E,R,U)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===E.type||t.shouldCoalesceRunChangeDetection)&&e(),Th(t)}},onInvoke:(l,g,w,E,R,U,ot)=>{try{return lp(t),l.invoke(w,E,R,U,ot)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function Nl(t){return dp(t,"__scheduler_tick__")}(U)&&e(),Th(t)}},onHasTask:(l,g,w,E)=>{l.hasTask(w,E),g===w&&("microTask"==E.change?(t._hasPendingMicrotasks=E.microTask,gd(t),cp(t)):"macroTask"==E.change&&(t.hasPendingMacrotasks=E.macroTask))},onHandleError:(l,g,w,E)=>(l.handleError(w,E),t.runOutsideAngular(()=>t.onError.emit(E)),!1)})}(E)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Hc)}static assertInAngularZone(){if(!Bi.isInAngularZone())throw new We(909,!1)}static assertNotInAngularZone(){if(Bi.isInAngularZone())throw new We(909,!1)}run(e,n,l){return this._inner.run(e,n,l)}runTask(e,n,l,g){const w=this._inner,E=w.scheduleEventTask("NgZoneEvent: "+g,e,pu,Ia,Ia);try{return w.runTask(E,n,l)}finally{w.cancelTask(E)}}runGuarded(e,n,l){return this._inner.runGuarded(e,n,l)}runOutsideAngular(e){return this._outer.run(e)}}const pu={};function cp(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function gd(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function lp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Th(t){t._nesting--,cp(t)}class fd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new dc,this.onMicrotaskEmpty=new dc,this.onStable=new dc,this.onError=new dc}run(e,n,l){return e.apply(n,l)}runGuarded(e,n,l){return e.apply(n,l)}runOutsideAngular(e){return e()}runTask(e,n,l,g){return e.apply(n,l)}}function dp(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class uc{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&sp(e);for(;n&&sp(n);)n=sp(n);return n||null}}const hu=new ro("",{providedIn:"root",factory:()=>{const t=Vo(Bi),e=Vo(uc);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function Oh(){return Mc(Wn(),Rr())}function Mc(t,e){return new bd(Ma(t,e))}let bd=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Oh}}return t})();function pp(t){return t instanceof bd?t.nativeElement:t}function rf(){return this._results[Symbol.iterator]()}class pl{get changes(){return this._changes??=new dc}constructor(e=!1){this._emitDistinctChangesOnly=e,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;const n=pl.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=rf)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const l=function Vn(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function es(t,e,n){if(t.length!==e.length)return!1;for(let l=0;llo}),lo="ng",Ho=new ro(""),_o=new ro("",{providedIn:"platform",factory:()=>"unknown"}),Go=new ro(""),Dn=new ro("",{providedIn:"root",factory:()=>Tr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Js=()=>null;function vu(t,e,n=!1){return Js(t,e,n)}const Bm=new ro("",{providedIn:"root",factory:()=>!1});let Vh,zh;function Eu(t){return function gf(){if(void 0===Vh&&(Vh=null,ye.trustedTypes))try{Vh=ye.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vh}()?.createHTML(t)||t}function ff(){if(void 0===zh&&(zh=null,ye.trustedTypes))try{zh=ye.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zh}function jm(t){return ff()?.createHTML(t)||t}function mf(t){return ff()?.createScriptURL(t)||t}class Cd{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pe})`}}class Dd extends Cd{getTypeName(){return"HTML"}}class zm extends Cd{getTypeName(){return"Style"}}class Cu extends Cd{getTypeName(){return"Script"}}class bf extends Cd{getTypeName(){return"URL"}}class Yc extends Cd{getTypeName(){return"ResourceURL"}}function Zc(t){return t instanceof Cd?t.changingThisBreaksApplicationSecurity:t}function Du(t,e){const n=function Ww(t){return t instanceof Cd&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Pe})`)}return n===e}function Kw(t){return new Dd(t)}function Gw(t){return new zm(t)}function Xw(t){return new Cu(t)}function Yw(t){return new bf(t)}function Zw(t){return new Yc(t)}class Wm{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(Eu(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class Qw{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=Eu(e),n}}const Gv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Hh(t){return(t=String(t)).match(Gv)?t:"unsafe:"+t}function Ul(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ad(...t){const e={};for(const n of t)for(const l in n)n.hasOwnProperty(l)&&(e[l]=!0);return e}const Km=Ul("area,br,col,hr,img,wbr"),Gm=Ul("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wf=Ul("rp,rt"),Wh=Ad(Km,Ad(Gm,Ul("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")),Ad(wf,Ul("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")),Ad(wf,Gm)),yf=Ul("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=Ad(yf,Ul("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"),Ul("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")),Jw=Ul("script,style,template");class t0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,l=!0,g=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?l=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,l&&n.firstChild)g.push(n),n=o0(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let w=r0(n);if(w){n=w;break}n=g.pop()}return this.buf.join("")}startElement(e){const n=Ym(e).toLowerCase();if(!Wh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Jw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const l=e.attributes;for(let g=0;g"),!0}endElement(e){const n=Ym(e).toLowerCase();Wh.hasOwnProperty(n)&&!Km.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(kp(e))}}function r0(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw Zm(e);return e}function o0(t){const e=t.firstChild;if(e&&function e0(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw Zm(e);return e}function Ym(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function Zm(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Qm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qm=/([^\#-~ |!])/g;function kp(t){return t.replace(/&/g,"&").replace(Qm,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(qm,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Ep;function Jm(t,e){let n=null;try{Ep=Ep||function Hm(t){const e=new Qw(t);return function qw(){try{return!!(new window.DOMParser).parseFromString(Eu(""),"text/html")}catch{return!1}}()?new Wm(e):e}(t);let l=e?String(e):"";n=Ep.getInertBodyElement(l);let g=5,w=l;do{if(0===g)throw new Error("Failed to sanitize html because the input is unstable");g--,l=w,w=n.innerHTML,n=Ep.getInertBodyElement(l)}while(l!==w);return Eu((new t0).sanitizeChildren(vf(n)||n))}finally{if(n){const l=vf(n)||n;for(;l.firstChild;)l.firstChild.remove()}}}function vf(t){return"content"in t&&function n0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var $l=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}($l||{});function tb(t){const e=Cp();return e?jm(e.sanitize($l.HTML,t)||""):Du(t,"HTML")?jm(Zc(t)):Jm(Tr(),po(t))}function xf(t){const e=Cp();return e?e.sanitize($l.URL,t)||"":Du(t,"URL")?Zc(t):Hh(po(t))}function _f(t){const e=Cp();if(e)return mf(e.sanitize($l.RESOURCE_URL,t)||"");if(Du(t,"ResourceURL"))return mf(Zc(t));throw new We(904,!1)}function rb(t,e,n){return function l0(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?_f:xf}(e,n)(t)}function Cp(){const t=Rr();return t&&t[Io].sanitizer}const d0=/^>|^->||--!>|)/g,p0="\u200b$1\u200b";function tc(t){return t instanceof Function?t():t}function ec(t){return"browser"===(t??Vo(Za)).get(_o)}var Qh=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Qh||{});let Df;function Af(t,e){return Df(t,e)}function Su(t,e,n,l,g){if(null!=l){let w,E=!1;Ii(l)?w=l:li(l)&&(E=!0,l=l[ze]);const R=Hn(l);0===t&&null!==n?null==g?bb(e,n,R):Sd(e,n,R,g||null,!0):1===t&&null!==n?Sd(e,n,R,g||null,!0):2===t?function Ou(t,e,n){t.removeChild(null,e,n)}(e,R,E):3===t&&e.destroyNode(R),null!=w&&function _b(t,e,n,l,g){const w=n[Fi];w!==Hn(n)&&Su(e,t,l,w,g);for(let R=yi;Re.replace(u0,p0))}(e))}function Tu(t,e,n){return t.createElement(e,n)}function pb(t,e){e[Io].changeDetectionScheduler?.notify(9),ag(t,e,e[Xr],2,null,null)}function gb(t,e){const n=t[ya],l=e[Yr];(li(l)||e[Qo]!==l[Yr][Qo])&&(t[_r]|=Po.HasTransplantedViews),null===n?t[ya]=[e]:n.push(e)}function If(t,e){const n=t[ya],l=n.indexOf(e);n.splice(l,1)}function Mu(t,e){if(t.length<=yi)return;const n=yi+e,l=t[n];if(l){const g=l[xn];null!==g&&g!==t&&If(g,l),e>0&&(t[n-1][Mr]=l[Mr]);const w=Ui(t,yi+e);!function v0(t,e){pb(t,e),e[ze]=null,e[Gr]=null}(l[nr],l);const E=w[oi];null!==E&&E.detachView(w[nr]),l[Yr]=null,l[Mr]=null,l[_r]&=-129}return l}function qh(t,e){if(!(256&e[_r])){const n=e[Xr];n.destroyNode&&ag(t,e,n,3,null,null),function hb(t){let e=t[tn];if(!e)return Of(t[nr],t);for(;e;){let n=null;if(li(e))n=e[tn];else{const l=e[yi];l&&(n=l)}if(!n){for(;e&&!e[Mr]&&e!==t;)li(e)&&Of(e[nr],e),e=e[Yr];null===e&&(e=t),li(e)&&Of(e[nr],e),n=e&&e[Mr]}e=n}}(e)}}function Of(t,e){if(256&e[_r])return;const n=A(null);try{e[_r]&=-129,e[_r]|=256,e[Rn]&&$t(e[Rn]),function k0(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let l=0;l=0?l[E]():l[-E].unsubscribe(),w+=2}else n[w].call(l[n[w+1]]);null!==l&&(e[go]=null);const g=e[uo];if(null!==g){e[uo]=null;for(let w=0;w-1){const{encapsulation:w}=t.data[l.directiveStart+g];if(w===bn.None||w===bn.Emulated)return null}return Ma(l,n)}}(t,e.parent,n)}function Sd(t,e,n,l,g){t.insertBefore(e,n,l,g)}function bb(t,e,n){t.appendChild(e,n)}function wb(t,e,n,l,g){null!==l?Sd(t,e,n,l,g):bb(t,e,n)}function Iu(t,e){return t.parentNode(e)}function yb(t,e,n){return rg(t,e,n)}let Rf,rg=function eg(t,e,n){return 40&t.type?Ma(t,n):null};function ng(t,e,n,l){const g=Jh(t,l,e),w=e[Xr],R=yb(l.parent||e[Gr],l,e);if(null!=g)if(Array.isArray(n))for(let U=0;Ufo&&jl(t,e,fo,!1),Ks(E?2:0,g),n(l,g)}finally{Uc(w),Ks(E?3:1,g)}}function Pf(t,e,n){if(Xa(e)){const l=A(null);try{const w=e.directiveEnd;for(let E=e.directiveStart;Enull;function Ib(t,e,n,l,g){for(let w in e){if(!e.hasOwnProperty(w))continue;const E=e[w];if(void 0===E)continue;l??={};let R,U=Lo.None;Array.isArray(E)?(R=E[0],U=E[1]):R=E;let ot=w;if(null!==g){if(!g.hasOwnProperty(w))continue;ot=g[w]}0===t?Ob(l,n,ot,R,U):Ob(l,n,ot,R)}return l}function Ob(t,e,n,l,g){let w;t.hasOwnProperty(n)?(w=t[n]).push(e,l):w=t[n]=[e,l],void 0!==g&&w.push(g)}function js(t,e,n,l,g,w,E,R){const U=Ma(e,n);let xt,ot=e.inputs;!R&&null!=ot&&(xt=ot[l])?(zf(t,n,xt,l,g),la(e)&&function L0(t,e){const n=xs(e,t);16&n[_r]||(n[_r]|=64)}(n,e.index)):3&e.type&&(l=function N0(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(l),g=null!=E?E(g,e.value||"",l):g,w.setProperty(U,l,g))}function Uf(t,e,n,l){if(rd()){const g=null===l?null:{"":-1},w=function j0(t,e){const n=t.directiveRegistry;let l=null,g=null;if(n)for(let w=0;w0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(E)!=R&&E.push(R),E.push(n,l,w)}}(t,e,l,Ap(t,n,g.hostVars,An),g)}function Oc(t,e,n,l,g,w){const E=Ma(t,e);!function Ru(t,e,n,l,g,w,E){if(null==w)t.removeAttribute(e,g,n);else{const R=null==E?po(w):E(w,l||"",g);t.setAttribute(e,g,R,n)}}(e[Xr],E,w,t.value,n,l,g)}function Pb(t,e,n,l,g,w){const E=w[e];if(null!==E)for(let R=0;R0&&(n[g-1][Mr]=e),l{kl(t.lView)},consumerOnSignalRead(){this.lView[Rn]=this}},ty={...O,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=$s(t.lView);for(;e&&!Hb(e[nr]);)e=$s(e);e&&Pd(e)},consumerOnSignalRead(){this.lView[Rn]=this}};function Hb(t){return 2!==t.type}const ey=100;function pg(t,e=!0,n=0){const l=t[Io],g=l.rendererFactory;g.begin?.();try{!function ry(t,e){const n=Kd();try{Zu(!0),Gf(t,e);let l=0;for(;ed(t);){if(l===ey)throw new We(103,!1);l++,Gf(t,1)}}finally{Zu(n)}}(t,n)}catch(E){throw e&&ug(t,E),E}finally{g.end?.(),l.inlineEffectRunner?.flush()}}function oy(t,e,n,l){const g=e[_r];if(!(256&~g))return;e[Io].inlineEffectRunner?.flush(),rh(e);let R=!0,U=null,ot=null;Hb(t)?(ot=function Y0(t){return t[Rn]??function Z0(t){const e=zb.pop()??Object.create(q0);return e.lView=t,e}(t)}(e),U=tt(ot)):null===function I(){return s}()?(R=!1,ot=function J0(t){const e=t[Rn]??Object.create(ty);return e.lView=t,e}(e),U=tt(ot)):e[Rn]&&($t(e[Rn]),e[Rn]=null);try{Ld(e),function Gd(t){return mn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Tb(t,e,n,2,l);const xt=!(3&~g);if(xt){const Ge=t.preOrderCheckHooks;null!==Ge&&Al(e,Ge,null)}else{const Ge=t.preOrderHooks;null!==Ge&&al(e,Ge,0,null),qu(e,0)}if(function ny(t){for(let e=_d(t);null!==e;e=wp(e)){if(!(e[_r]&Po.HasTransplantedViews))continue;const n=e[ya];for(let l=0;l-1&&(Mu(e,l),Ui(n,l))}this._attachedToViewContainer=!1}qh(this._lView[nr],this._lView)}onDestroy(e){Fd(this._lView,e)}markForCheck(){Tp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_r]&=-129}reattach(){Hu(this._lView),this._lView[_r]|=128}detectChanges(){this._lView[_r]|=1024,pg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new We(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Aa(this._lView),n=this._lView[xn];null!==n&&!e&&If(n,this._lView),pb(this._lView[nr],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new We(902,!1);this._appRef=e;const n=Aa(this._lView),l=this._lView[xn];null!==l&&!n&&gb(l,this._lView),Hu(this._lView)}}let Od=(()=>{class t{static{this.__NG_ELEMENT_ID__=ay}}return t})();const g1=Od,iy=class extends g1{constructor(e,n,l){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,l){const g=Nu(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:l});return new Mp(g)}};function ay(){return Ip(Wn(),Rr())}function Ip(t,e){return 4&t.type?new iy(e,t,Mc(t,e)):null}let C1=()=>null;function Np(t,e){return C1(t,e)}class mg{}const Qf=new ro("",{providedIn:"root",factory:()=>!1}),D1=new ro(""),gy=new ro("");class XE{}class A1{}class ZE{resolveComponentFactory(e){throw function YE(t){const e=Error(`No component factory found for ${eo(t)}.`);return e.ngComponent=t,e}(e)}}class qf{static{this.NULL=new ZE}}class fy{}let QE=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function qE(){const t=Rr(),n=xs(Wn().index,t);return(li(n)?n:t)[Xr]}()}}return t})(),JE=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>null})}}return t})();function Bu(t){return!!$i(t)}function Qb(t,e,n){let l=n?t.styles:null,g=n?t.classes:null,w=0;if(null!==e)for(let E=0;E0&&Eb(t,n,w.join(" "))}}(Fe,$a,hr,l),void 0!==n&&function l5(t,e,n){const l=t.projection=[];for(let g=0;g{class t{static{this.__NG_ELEMENT_ID__=u5}}return t})();function u5(){return L1(Wn(),Rr())}const p5=qb,R1=class extends p5{constructor(e,n,l){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=l}get element(){return Mc(this._hostTNode,this._hostLView)}get injector(){return new ra(this._hostTNode,this._hostLView)}get parentInjector(){const e=Jd(this._hostTNode,this._hostLView);if(gh(e)){const n=Sl(e,this._hostLView),l=ll(e);return new ra(n[nr].data[l+8],n)}return new ra(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=N1(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-yi}createEmbeddedView(e,n,l){let g,w;"number"==typeof l?g=l:null!=l&&(g=l.index,w=l.injector);const E=Np(this._lContainer,e.ssrId),R=e.createEmbeddedViewImpl(n||{},w,E);return this.insertImpl(R,g,Md(this._hostTNode,E)),R}createComponent(e,n,l,g,w){const E=e&&!function F(t){return"function"==typeof t}(e);let R;if(E)R=n;else{const hr=n||{};R=hr.index,l=hr.injector,g=hr.projectableNodes,w=hr.environmentInjector||hr.ngModuleRef}const U=E?e:new em(ln(e)),ot=l||this.parentInjector;if(!w&&null==U.ngModule){const zr=(E?ot:this.parentInjector).get(ai,null);zr&&(w=zr)}const xt=ln(U.componentType??{}),Jt=Np(this._lContainer,xt?.id??null),Ge=U.create(ot,g,Jt?.firstChild??null,w);return this.insertImpl(Ge.hostView,R,Md(this._hostTNode,Jt)),Ge}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,l){const g=e._lView;if(function Nd(t){return Ii(t[Yr])}(g)){const R=this.indexOf(e);if(-1!==R)this.detach(R);else{const U=g[Yr],ot=new R1(U,U[Gr],U[Yr]);ot.detach(ot.indexOf(e))}}const w=this._adjustIndex(n),E=this._lContainer;return Lu(E,g,w,l),e.attachToViewContainerRef(),ci(wy(E),w,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=N1(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),l=Mu(this._lContainer,n);l&&(Ui(wy(this._lContainer),n),qh(l[nr],l))}detach(e){const n=this._adjustIndex(e,-1),l=Mu(this._lContainer,n);return l&&null!=Ui(wy(this._lContainer),n)?new Mp(l):null}_adjustIndex(e,n=0){return e??this.length+n}};function N1(t){return t[8]}function wy(t){return t[8]||(t[8]=[])}function L1(t,e){let n;const l=e[t.index];return Ii(l)?n=l:(n=Fb(l,e,null,t),e[t.index]=n,dg(e,n)),P1(n,e,t,l),new R1(n,t,e)}let P1=function B1(t,e,n,l){if(t[Fi])return;let g;g=8&n.type?Hn(l):function h5(t,e){const n=t[Xr],l=n.createComment(""),g=Ma(e,t);return Sd(n,Iu(n,g),l,function tg(t,e){return t.nextSibling(e)}(n,g),!1),l}(e,n),t[Fi]=g},yy=()=>!1;class vy{constructor(e){this.queryList=e,this.matches=null}clone(){return new vy(this.queryList)}setDirty(){this.queryList.setDirty()}}class xy{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const l=null!==e.contentQueries?e.contentQueries[0]:n.length,g=[];for(let w=0;we.trim())}(e):e}}class _y{constructor(e=[]){this.queries=e}elementStart(e,n){for(let l=0;l0)l.push(E[R/2]);else{const ot=w[R+1],xt=e[-U];for(let Jt=yi;Jt(L(e),e.value);return n[k]=e,n}(t),l=n[k];return e?.equal&&(l.equal=e.equal),n.set=g=>Se(l,g),n.update=g=>function Rt(t,e){ct()||wr(),Se(t,e(t.value))}(l,g),n.asReadonly=X1.bind(n),n}function X1(){const t=this[k];if(void 0===t.readonlyFn){const e=()=>this();e[k]=t,t.readonlyFn=e}return t.readonlyFn}function Y1(t){return Ay(t)&&"function"==typeof t.set}function Sy(t,e){let n;const l=Ct(()=>{n._dirtyCounter();const g=function k5(t,e){const n=t._lView,l=t._queryIndex;if(void 0===n||void 0===l||4&n[_r])return e?void 0:le;const g=Cy(n,l),w=W1(n,l);return g.reset(w,pp),e?g.first:g._changesDetected||void 0===t._flatValue?t._flatValue=g.toArray():t._flatValue}(n,t);if(e&&void 0===g)throw new We(-951,!1);return g});return n=l[k],n._dirtyCounter=G1(0),n._flatValue=void 0,l}function tx(t,e){return function Z1(){return Sy(!0,!1)}()}const C5=(tx.required=function E5(t,e){return function Q1(){return Sy(!0,!0)}()},tx);function Ty(t){let e=function sx(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const l=[t];for(;e;){let g;if(Ci(t))g=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new We(903,!1);g=e.\u0275dir}if(g){if(n){l.push(g);const E=t;E.inputs=tw(t.inputs),E.inputTransforms=tw(t.inputTransforms),E.declaredInputs=tw(t.declaredInputs),E.outputs=tw(t.outputs);const R=g.hostBindings;R&&B5(t,R);const U=g.viewQuery,ot=g.contentQueries;if(U&&P5(t,U),ot&&F5(t,ot),N5(t,g),Hr(t.outputs,g.outputs),Ci(g)&&g.data.animation){const xt=t.data;xt.animation=(xt.animation||[]).concat(g.data.animation)}}const w=g.features;if(w)for(let E=0;E=0;l--){const g=t[l];g.hostVars=e+=g.hostVars,g.hostAttrs=wi(g.hostAttrs,n=wi(n,g.hostAttrs))}}(l)}function N5(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const l=e.inputs[n];if(void 0!==l&&(t.inputs[n]=l,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const g=Array.isArray(l)?l[0]:l;if(!e.inputTransforms.hasOwnProperty(g))continue;t.inputTransforms??={},t.inputTransforms[g]=e.inputTransforms[g]}}}function tw(t){return t===te?{}:t===le?[]:t}function P5(t,e){const n=t.viewQuery;t.viewQuery=n?(l,g)=>{e(l,g),n(l,g)}:e}function F5(t,e){const n=t.contentQueries;t.contentQueries=n?(l,g,w)=>{e(l,g,w),n(l,g,w)}:e}function B5(t,e){const n=t.hostBindings;t.hostBindings=n?(l,g)=>{e(l,g),n(l,g)}:e}function cx(t){const e=n=>{const l=Array.isArray(t);null===n.hostDirectives?(n.findHostDirectiveDefs=lx,n.hostDirectives=l?t.map(My):[t]):l?n.hostDirectives.unshift(...t.map(My)):n.hostDirectives.unshift(t)};return e.ngInherit=!0,e}function lx(t,e,n){if(null!==t.hostDirectives)for(const l of t.hostDirectives)if("function"==typeof l){const g=l();for(const w of g)dx(My(w),e,n)}else dx(l,e,n)}function dx(t,e,n){const l=Li(t.directive);(function V5(t,e){for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=t[n])})(l.declaredInputs,t.inputs),lx(l,e,n),n.set(l,t),e.push(l)}function My(t){return"function"==typeof t?{directive:qt(t),inputs:te,outputs:te}:{directive:qt(t.directive),inputs:ux(t.inputs),outputs:ux(t.outputs)}}function ux(t){if(void 0===t||0===t.length)return te;const e={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Oy extends gx{constructor(e){super(),this.moduleType=e}create(e){return new Iy(this.moduleType,e,[])}}class fx extends Lp{constructor(e){super(),this.componentFactoryResolver=new I1(this),this.instance=null;const n=new Hs([...e.providers,{provide:Lp,useValue:this},{provide:qf,useValue:this.componentFactoryResolver}],e.parent||Ts(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Ry(t,e,n=null){return new fx({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}function ew(t){return!!Ny(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Ny(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Yl(t,e,n){return t[e]=n}function om(t,e){return t[e]}function Fa(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Pp(t,e,n,l){const g=Fa(t,e,n);return Fa(t,e+1,l)||g}function qc(t,e,n,l,g,w){const E=Pp(t,e,n,l);return Pp(t,e+2,g,w)||E}function nm(t,e,n,l,g,w,E,R,U,ot){const xt=n+fo,Jt=e.firstCreatePass?function Y5(t,e,n,l,g,w,E,R,U){const ot=e.consts,xt=zl(e,t,4,E||null,R||null);Uf(e,n,xt,_s(ot,U)),Dl(e,xt);const Jt=xt.tView=lg(2,xt,l,g,w,e.directiveRegistry,e.pipeRegistry,null,e.schemas,ot,null);return null!==e.queries&&(e.queries.template(e,xt),Jt.queries=e.queries.embeddedTView(xt)),xt}(xt,e,t,l,g,w,E,R,U):e.data[xt];Zs(Jt,!1);const Fe=mx(e,t,Jt,n);ad()&&ng(e,t,Fe,Jt),qa(Fe,t);const Ge=Fb(Fe,t,Fe,Jt);return t[xt]=Ge,dg(t,Ge),function F1(t,e,n){return yy(t,e,n)}(Ge,Jt,t),$o(Jt)&&Ff(e,t,Jt),null!=U&&cg(t,Jt,ot),Jt}function Ly(t,e,n,l,g,w,E,R){const U=Rr(),ot=Cn();return nm(U,ot,t,e,n,l,g,_s(ot.consts,w),E,R),Ly}let mx=function bx(t,e,n,l){return cc(!0),e[Xr].createComment("")};var Bp=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Bp||{});let kx=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new t})}}return t})();class sm{constructor(){this.ngZone=Vo(Bi),this.scheduler=Vo(mg),this.errorHandler=Vo(uc,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Bp.EarlyRead,Bp.Write,Bp.MixedReadWrite,Bp.Read]}execute(){this.executing=!0;for(const e of sm.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[e])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(l){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(l)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static{this.\u0275prov=Fo({token:sm,providedIn:"root",factory:()=>new sm})}}class J5{constructor(e,n,l,g){this.impl=e,this.hooks=n,this.once=l,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Ex(t,e){!e?.injector&&fn();const n=e?.injector??Vo(Za);return ec(n)?(Vs("NgAfterRender"),Cx(t,n,e,!1)):Dx}function aw(t,e){!e?.injector&&fn();const n=e?.injector??Vo(Za);return ec(n)?(Vs("NgAfterNextRender"),Cx(t,n,e,!0)):Dx}function Cx(t,e,n,l){const g=e.get(kx);g.impl??=e.get(sm);const w=n?.phase??Bp.MixedReadWrite,E=!0!==n?.manualCleanup?e.get(du):null,R=new J5(g.impl,function t3(t,e){if(t instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[e]=t,n}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,w),l,E);return g.impl.register(R),R}const Dx={destroy(){}};function Ky(t,e,n,l){const g=Rr();return Fa(g,sc(),e)&&(Cn(),Oc(Ri(),g,t,e,n,l)),Ky}function Dg(t,e,n,l){return Fa(t,sc(),n)?e+po(n)+l:An}function Ag(t,e,n,l,g,w){const R=Pp(t,function Dc(){return mn.lFrame.bindingIndex}(),n,g);return Ac(2),R?e+po(n)+l+po(g)+w:An}function lw(t,e){return t<<17|e<<2}function ju(t){return t>>17&32767}function Gy(t){return 2|t}function $p(t){return(131068&t)>>2}function Xy(t,e){return-131069&t|e<<2}function Yy(t){return 1|t}function qx(t,e,n,l){const g=t[n+1],w=null===e;let E=l?ju(g):$p(g),R=!1;for(;0!==E&&(!1===R||w);){const ot=t[E+1];P3(t[E],e)&&(R=!0,t[E+1]=l?Yy(ot):Gy(ot)),E=l?ju(ot):$p(ot)}R&&(t[n+1]=l?Gy(g):Yy(g))}function P3(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&G(t,e)>=0}const ls={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Jx(t){return t.substring(ls.key,ls.keyEnd)}function F3(t){return t.substring(ls.value,ls.valueEnd)}function t2(t,e){const n=ls.textEnd;return n===e?-1:(e=ls.keyEnd=function $3(t,e,n){for(;e32;)e++;return e}(t,ls.key=e,n),Ng(t,e,n))}function e2(t,e){const n=ls.textEnd;let l=ls.key=Ng(t,e,n);return n===l?-1:(l=ls.keyEnd=function j3(t,e,n){let l;for(;e=65&&(-33&l)<=90||l>=48&&l<=57);)e++;return e}(t,l,n),l=o2(t,l,n),l=ls.value=Ng(t,l,n),l=ls.valueEnd=function V3(t,e,n){let l=-1,g=-1,w=-1,E=e,R=E;for(;E32&&(R=E),w=g,g=l,l=-33&U}return R}(t,l,n),o2(t,l,n))}function r2(t){ls.key=0,ls.keyEnd=0,ls.value=0,ls.valueEnd=0,ls.textEnd=t.length}function Ng(t,e,n){for(;e=0;n=e2(e,n))l2(t,Jx(e),F3(e))}function a2(t){wl(Y3,Zl,t,!0)}function Zl(t,e){for(let n=function B3(t){return r2(t),t2(t,Ng(t,0,ls.textEnd))}(e);n>=0;n=t2(e,n))_i(t,Jx(e),!0)}function bl(t,e,n,l){const g=Rr(),w=Cn(),E=Ac(2);w.firstUpdatePass&&c2(w,t,E,l),e!==An&&Fa(g,E,e)&&d2(w,w.data[va()],g,g[Xr],t,g[E+1]=function Q3(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=eo(Zc(t)))),t}(e,n),l,E)}function wl(t,e,n,l){const g=Cn(),w=Ac(2);g.firstUpdatePass&&c2(g,null,w,l);const E=Rr();if(n!==An&&Fa(E,w,n)){const R=g.data[va()];if(p2(R,l)&&!s2(g,w)){let U=l?R.classesWithoutHost:R.stylesWithoutHost;null!==U&&(n=Bo(U,n||"")),Qy(g,R,E,n,l)}else!function Z3(t,e,n,l,g,w,E,R){g===An&&(g=le);let U=0,ot=0,xt=0=t.expandoStartIndex}function c2(t,e,n,l){const g=t.data;if(null===g[n+1]){const w=g[va()],E=s2(t,n);p2(w,l)&&null===e&&!E&&(e=!1),e=function H3(t,e,n,l){const g=th(t);let w=l?e.residualClasses:e.residualStyles;if(null===g)0===(l?e.classBindings:e.styleBindings)&&(n=lm(n=tv(null,t,e,n,l),e.attrs,l),w=null);else{const E=e.directiveStylingLast;if(-1===E||t[E]!==g)if(n=tv(g,t,e,n,l),null===w){let U=function W3(t,e,n){const l=n?e.classBindings:e.styleBindings;if(0!==$p(l))return t[ju(l)]}(t,e,l);void 0!==U&&Array.isArray(U)&&(U=tv(null,t,e,U[1],l),U=lm(U,e.attrs,l),function K3(t,e,n,l){t[ju(n?e.classBindings:e.styleBindings)]=l}(t,e,l,U))}else w=function G3(t,e,n){let l;const g=e.directiveEnd;for(let w=1+e.directiveStylingLast;w0)&&(ot=!0)):xt=n,g)if(0!==U){const Fe=ju(t[R+1]);t[l+1]=lw(Fe,R),0!==Fe&&(t[Fe+1]=Xy(t[Fe+1],l)),t[R+1]=function O3(t,e){return 131071&t|e<<17}(t[R+1],l)}else t[l+1]=lw(R,0),0!==R&&(t[R+1]=Xy(t[R+1],l)),R=l;else t[l+1]=lw(U,0),0===R?R=l:t[U+1]=Xy(t[U+1],l),U=l;ot&&(t[l+1]=Gy(t[l+1])),qx(t,xt,l,!0),qx(t,xt,l,!1),function L3(t,e,n,l,g){const w=g?t.residualClasses:t.residualStyles;null!=w&&"string"==typeof e&&G(w,e)>=0&&(n[l+1]=Yy(n[l+1]))}(e,xt,t,l,w),E=lw(R,U),w?e.classBindings=E:e.styleBindings=E}(g,w,e,n,E,l)}}function tv(t,e,n,l,g){let w=null;const E=n.directiveEnd;let R=n.directiveStylingLast;for(-1===R?R=n.directiveStart:R++;R0;){const U=t[g],ot=Array.isArray(U),xt=ot?U[1]:U,Jt=null===xt;let Fe=n[g+1];Fe===An&&(Fe=Jt?le:void 0);let Ge=Jt?os(Fe,l):xt===l?Fe:void 0;if(ot&&!dw(Ge)&&(Ge=os(U,l)),dw(Ge)&&(R=Ge,E))return R;const hr=t[g+1];g=E?ju(hr):$p(hr)}if(null!==e){let U=w?e.residualClasses:e.residualStyles;null!=U&&(R=os(U,l))}return R}function dw(t){return void 0!==t}function p2(t,e){return!!(t.flags&(e?8:16))}function h2(t,e,n){wl(_i,Zl,Dg(Rr(),t,e,n),!0)}function g2(){return Rr()[Qo][Vr]}class aC{destroy(e){}updateValue(e,n){}swap(e,n){const l=Math.min(e,n),g=Math.max(e,n),w=this.detach(g);if(g-l>1){const E=this.detach(l);this.attach(l,w),this.attach(g,E)}else this.attach(l,w)}move(e,n){this.attach(n,this.detach(e))}}function ev(t,e,n,l,g){return t===n&&Object.is(e,l)?1:Object.is(g(t,e),g(n,l))?-1:0}function rv(t,e,n,l){return!(void 0===e||!e.has(l)||(t.attach(n,e.get(l)),e.delete(l),0))}function f2(t,e,n,l,g){if(rv(t,e,l,n(l,g)))t.updateValue(l,g);else{const w=t.create(l,g);t.attach(l,w)}}function m2(t,e,n,l){const g=new Set;for(let w=e;w<=n;w++)g.add(l(w,t.at(w)));return g}class b2{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const n=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(e,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,n){if(this.kvMap.has(e)){let l=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const g=this._vMap;for(;g.has(l);)l=g.get(l);g.set(l,n)}else this.kvMap.set(e,n)}forEach(e){for(let[n,l]of this.kvMap)if(e(l,n),void 0!==this._vMap){const g=this._vMap;for(;g.has(l);)l=g.get(l),e(l,n)}}}function w2(t,e){Vs("NgControlFlow");const n=Rr(),l=sc(),g=n[l]!==An?n[l]:-1,w=-1!==g?uw(n,fo+g):void 0;if(Fa(n,l,t)){const R=A(null);try{if(void 0!==w&&Kf(w,0),-1!==t){const U=fo+t,ot=uw(n,U),xt=ov(n[nr],U),Jt=Np(ot,xt.tView.ssrId);Lu(ot,Nu(n,xt,e,{dehydratedView:Jt}),0,Md(xt,Jt))}}finally{A(R)}}else if(void 0!==w){const R=Wf(w,0);void 0!==R&&(R[Vr]=e)}}class cC{constructor(e,n,l){this.lContainer=e,this.$implicit=n,this.$index=l}get $count(){return this.lContainer.length-yi}}function y2(t){return t}class dC{constructor(e,n,l){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=l}}function v2(t,e,n,l,g,w,E,R,U,ot,xt,Jt,Fe){Vs("NgControlFlow");const Ge=Rr(),hr=Cn(),zr=void 0!==U,ho=Rr(),Mo=R?E.bind(ho[Qo][Vr]):E,$r=new dC(zr,Mo);ho[fo+t]=$r,nm(Ge,hr,t+1,e,n,l,g,_s(hr.consts,w)),zr&&nm(Ge,hr,t+2,U,ot,xt,Jt,_s(hr.consts,Fe))}class uC extends aC{constructor(e,n,l){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=l,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-yi}at(e){return this.getLView(e)[Vr].$implicit}attach(e,n){const l=n[Jr];this.needsIndexUpdate||=e!==this.length,Lu(this.lContainer,n,e,Md(this.templateTNode,l))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function pC(t,e){return Mu(t,e)}(this.lContainer,e)}create(e,n){const l=Np(this.lContainer,this.templateTNode.tView.ssrId),g=Nu(this.hostLView,this.templateTNode,new cC(this.lContainer,n,e),{dehydratedView:l});return this.operationsCounter?.recordCreate(),g}destroy(e){qh(e[nr],e),this.operationsCounter?.recordDestroy()}updateValue(e,n){this.getLView(e)[Vr].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e{t.destroy(U)})}(U,t,w.trackByFn),U.updateIndexes(),w.hasEmptyBlock){const ot=sc(),xt=0===U.length;if(Fa(l,ot,xt)){const Jt=n+2,Fe=uw(l,Jt);if(xt){const Ge=ov(g,Jt),hr=Np(Fe,Ge.tView.ssrId);Lu(Fe,Nu(l,Ge,void 0,{dehydratedView:hr}),0,Md(Ge,hr))}else Kf(Fe,0)}}}finally{A(e)}}function uw(t,e){return t[e]}function ov(t,e){return Cc(t,e)}function pw(t,e,n,l){const g=Rr(),w=Cn(),E=fo+t,R=g[Xr],U=w.firstCreatePass?function gC(t,e,n,l,g,w){const E=e.consts,U=zl(e,t,2,l,_s(E,g));return Uf(e,n,U,_s(E,w)),null!==U.attrs&&Qb(U,U.attrs,!1),null!==U.mergedAttrs&&Qb(U,U.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,U),U}(E,w,g,e,n,l):w.data[E],ot=_2(w,g,U,R,e,t);g[E]=ot;const xt=$o(U);return Zs(U,!0),Cb(R,ot,U),!function wg(t){return!(32&~t.flags)}(U)&&ad()&&ng(w,g,ot,U),0===function jg(){return mn.lFrame.elementDepthCount}()&&qa(ot,g),function Ud(){mn.lFrame.elementDepthCount++}(),xt&&(Ff(w,g,U),Pf(w,U,g)),null!==l&&cg(g,U),pw}function hw(){let t=Wn();Yu()?Hd():(t=t.parent,Zs(t,!1));const e=t;(function Zp(t){return mn.skipHydrationRootTNode===t})(e)&&function jd(){mn.skipHydrationRootTNode=null}(),function $d(){mn.lFrame.elementDepthCount--}();const n=Cn();return n.firstCreatePass&&(Dl(n,t),Xa(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Kg(t){return!!(8&t.flags)}(e)&&Qy(n,e,Rr(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ph(t){return!!(16&t.flags)}(e)&&Qy(n,e,Rr(),e.stylesWithoutHost,!1),hw}function nv(t,e,n,l){return pw(t,e,n,l),hw(),nv}let _2=(t,e,n,l,g,w)=>(cc(!0),Tu(l,g,function ch(){return mn.lFrame.currentNamespace}()));function gw(t,e,n){const l=Rr(),g=Cn(),w=t+fo,E=g.firstCreatePass?function bC(t,e,n,l,g){const w=e.consts,E=_s(w,l),R=zl(e,t,8,"ng-container",E);return null!==E&&Qb(R,E,!0),Uf(e,n,R,_s(w,g)),null!==e.queries&&e.queries.elementStart(e,R),R}(w,g,l,e,n):g.data[w];Zs(E,!0);const R=k2(g,l,E,t);return l[w]=R,ad()&&ng(g,l,R,E),qa(R,l),$o(E)&&(Ff(g,l,E),Pf(g,E,l)),null!=n&&cg(l,E),gw}function fw(){let t=Wn();const e=Cn();return Yu()?Hd():(t=t.parent,Zs(t,!1)),e.firstCreatePass&&(Dl(e,t),Xa(t)&&e.queries.elementEnd(t)),fw}function iv(t,e,n){return gw(t,e,n),fw(),iv}let k2=(t,e,n,l)=>(cc(!0),Mf(e[Xr],""));function E2(){return Rr()}function av(t,e,n){const l=Rr();return Fa(l,sc(),e)&&js(Cn(),Ri(),l,t,e,l[Xr],n,!0),av}function sv(t,e,n){const l=Rr();if(Fa(l,sc(),e)){const w=Cn(),E=Ri();js(w,E,l,t,e,$b(th(w.data),E,l),n,!0)}return sv}const jp=void 0;var xC=["en",[["a","p"],["AM","PM"],jp],[["AM","PM"],jp,jp],[["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"]],jp,[["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"]],jp,[["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}",jp,"{1} 'at' {0}",jp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function vC(t){const n=Math.floor(Math.abs(t)),l=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===l?1:5}];let Lg={};function cv(t){const e=function _C(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=D2(e);if(n)return n;const l=e.split("-")[0];if(n=D2(l),n)return n;if("en"===l)return xC;throw new We(701,!1)}function C2(t){return cv(t)[Pg.PluralCase]}function D2(t){return t in Lg||(Lg[t]=ye.ng&&ye.ng.common&&ye.ng.common.locales&&ye.ng.common.locales[t]),Lg[t]}var Pg=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Pg||{});const mw="en-US";let A2=mw,W2=(t,e,n)=>{};function uv(t,e,n,l){const g=Rr(),w=Cn(),E=Wn();return hv(w,g,g[Xr],E,t,e,l),uv}function pv(t,e){const n=Wn(),l=Rr(),g=Cn();return hv(g,l,$b(th(g.data),n,l),n,t,e),pv}function hv(t,e,n,l,g,w,E){const R=$o(l),ot=t.firstCreatePass&&Ub(t),xt=e[Vr],Jt=Vf(e);let Fe=!0;if(3&l.type||E){const zr=Ma(l,e),ho=E?E(zr):zr,Mo=Jt.length,$r=E?di=>E(Hn(di[l.index])):l.index;let kn=null;if(!E&&R&&(kn=function d4(t,e,n,l){const g=t.cleanup;if(null!=g)for(let w=0;wU?R[U]:null}"string"==typeof E&&(w+=2)}return null}(t,e,g,l.index)),null!==kn)(kn.__ngLastListenerFn__||kn).__ngNextListenerFn__=w,kn.__ngLastListenerFn__=w,Fe=!1;else{w=X2(l,e,xt,w),W2(zr,g,w);const di=n.listen(ho,g,w);Jt.push(w,di),ot&&ot.push(g,$r,Mo,Mo+1)}}else w=X2(l,e,xt,w);const Ge=l.outputs;let hr;if(Fe&&null!==Ge&&(hr=Ge[g])){const zr=hr.length;if(zr)for(let ho=0;ho-1?xs(t.index,e):e,5);let R=G2(e,n,l,w),U=g.__ngNextListenerFn__;for(;U;)R=G2(e,n,U,w)&&R,U=U.__ngNextListenerFn__;return R}}function Y2(t=1){return function Xd(t){return(mn.lFrame.contextLView=function ks(t,e){for(;t>0;)e=e[En],t--;return e}(t,mn.lFrame.contextLView))[Vr]}(t)}function u4(t,e){let n=null;const l=function je(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let g=0;gn._dirtyCounter.update(l=>l+1))}(e,z1(t,n,l,g))}function u_(t=1){nd(eh()+t)}function p_(t){return _l(function Qs(){return mn.lFrame.contextLView}(),fo+t)}function __(t,e=""){const n=Rr(),l=Cn(),g=t+fo,w=l.firstCreatePass?zl(l,g,1,e,null):l.data[g],E=k_(l,n,w,e,t);n[g]=E,ad()&&ng(l,n,E,w),Zs(w,!1)}let k_=(t,e,n,l,g)=>(cc(!0),function Sf(t,e){return t.createText(e)}(e[Xr],l));function mv(t){return xw("",t,""),mv}function xw(t,e,n){const l=Rr(),g=Dg(l,t,e,n);return g!==An&&gl(l,va(),g),xw}function bv(t,e,n,l,g){const w=Rr(),E=Ag(w,t,e,n,l,g);return E!==An&&gl(w,va(),E),bv}function wv(t,e,n){Y1(e)&&(e=e());const l=Rr();return Fa(l,sc(),e)&&js(Cn(),Ri(),l,t,e,l[Xr],n,!1),wv}function I_(t,e){const n=Y1(t);return n&&t.set(e),n}function yv(t,e){const n=Rr(),l=Cn(),g=Wn();return hv(l,n,n[Xr],g,t,e),yv}function vv(t,e,n,l,g){if(t=qt(t),Array.isArray(t))for(let w=0;w>20;if(Ca(t)||!t.multi){const Ge=new sl(ot,g,Vl),hr=_v(U,e,g?xt:xt+Fe,Jt);-1===hr?(tu($c(R,E),w,U),xv(w,t,e.length),e.push(U),R.directiveStart++,R.directiveEnd++,g&&(R.providerIndexes+=1048576),n.push(Ge),E.push(Ge)):(n[hr]=Ge,E[hr]=Ge)}else{const Ge=_v(U,e,xt+Fe,Jt),hr=_v(U,e,xt,xt+Fe),ho=hr>=0&&n[hr];if(g&&!ho||!g&&!(Ge>=0&&n[Ge])){tu($c(R,E),w,U);const Mo=function M4(t,e,n,l,g){const w=new sl(t,n,Vl);return w.multi=[],w.index=e,w.componentProviders=0,N_(w,g,l&&!n),w}(g?T4:S4,n.length,g,l,ot);!g&&ho&&(n[hr].providerFactory=Mo),xv(w,t,e.length,0),e.push(U),R.directiveStart++,R.directiveEnd++,g&&(R.providerIndexes+=1048576),n.push(Mo),E.push(Mo)}else xv(w,t,Ge>-1?Ge:hr,N_(n[g?hr:Ge],ot,!g&&l));!g&&l&&ho&&n[hr].componentProviders++}}}function xv(t,e,n,l){const g=Ca(e),w=function el(t){return!!t.useClass}(e);if(g||w){const U=(w?qt(e.useClass):e).prototype.ngOnDestroy;if(U){const ot=t.destroyHooks||(t.destroyHooks=[]);if(!g&&e.multi){const xt=ot.indexOf(n);-1===xt?ot.push(n,[l,U]):ot[xt+1].push(l,U)}else ot.push(n,U)}}}function N_(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function _v(t,e,n,l){for(let g=n;g{n.providersResolver=(l,g)=>function A4(t,e,n){const l=Cn();if(l.firstCreatePass){const g=Ci(t);vv(n,l.data,l.blueprint,g,!0),vv(e,l.data,l.blueprint,g,!1)}}(l,g?g(t):t,e)}}let I4=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const l=Nc(0,n.type),g=l.length>0?Ry([l],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,g)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=Fo({token:t,providedIn:"environment",factory:()=>new t(Nn(ai))})}}return t})();function P_(t){Vs("NgStandalone"),t.getStandaloneInjector=e=>e.get(I4).getOrCreateStandaloneInjector(t)}function U_(t,e,n){const l=ga()+t,g=Rr();return g[l]===An?Yl(g,l,n?e.call(n):e()):om(g,l)}function $_(t,e,n,l){return W_(Rr(),ga(),t,e,n,l)}function j_(t,e,n,l,g){return K_(Rr(),ga(),t,e,n,l,g)}function V_(t,e,n,l,g,w){return function G_(t,e,n,l,g,w,E,R){const U=e+n;return function rw(t,e,n,l,g){const w=Pp(t,e,n,l);return Fa(t,e+2,g)||w}(t,U,g,w,E)?Yl(t,U+3,R?l.call(R,g,w,E):l(g,w,E)):fm(t,U+3)}(Rr(),ga(),t,e,n,l,g,w)}function z_(t,e,n,l,g,w,E){return function X_(t,e,n,l,g,w,E,R,U){const ot=e+n;return qc(t,ot,g,w,E,R)?Yl(t,ot+4,U?l.call(U,g,w,E,R):l(g,w,E,R)):fm(t,ot+4)}(Rr(),ga(),t,e,n,l,g,w,E)}function H_(t,e,n,l,g,w,E,R,U,ot,xt){const Jt=ga()+t,Fe=Rr(),Ge=qc(Fe,Jt,n,l,g,w);return qc(Fe,Jt+4,E,R,U,ot)||Ge?Yl(Fe,Jt+8,xt?e.call(xt,n,l,g,w,E,R,U,ot):e(n,l,g,w,E,R,U,ot)):om(Fe,Jt+8)}function fm(t,e){const n=t[e];return n===An?void 0:n}function W_(t,e,n,l,g,w){const E=e+n;return Fa(t,E,g)?Yl(t,E+1,w?l.call(w,g):l(g)):fm(t,E+1)}function K_(t,e,n,l,g,w,E){const R=e+n;return Pp(t,R,g,w)?Yl(t,R+2,E?l.call(E,g,w):l(g,w)):fm(t,R+2)}function Z_(t,e){const n=Cn();let l;const g=t+fo;n.firstCreatePass?(l=function U4(t,e){if(e)for(let n=e.length-1;n>=0;n--){const l=e[n];if(t===l.name)return l}}(e,n.pipeRegistry),n.data[g]=l,l.onDestroy&&(n.destroyHooks??=[]).push(g,l.onDestroy)):l=n.data[g];const w=l.factory||(l.factory=bi(l.type)),R=vi(Vl);try{const U=dd(!1),ot=w();return dd(U),function fv(t,e,n,l){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=l}(n,Rr(),g,ot),ot}finally{vi(R)}}function Q_(t,e,n){const l=t+fo,g=Rr(),w=_l(g,l);return mm(g,l)?W_(g,ga(),e,w.transform,n,w):w.transform(n)}function q_(t,e,n,l){const g=t+fo,w=Rr(),E=_l(w,g);return mm(w,g)?K_(w,ga(),e,E.transform,n,l,E):E.transform(n,l)}function mm(t,e){return t[nr].data[e].pure}function J_(t,e){return Ip(t,e)}class mk{constructor(e){this.full=e;const n=e.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let bk=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const _k=new ro(""),kk=new ro("");let Tv,L8=(()=>{class t{constructor(n,l,g){this._ngZone=n,this.registry=l,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Tv||(function P8(t){Tv=t}(g),g.addToWindow(l)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Bi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(n)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,l,g){let w=-1;l&&l>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(E=>E.timeoutId!==w),n()},l)),this._callbacks.push({doneCb:n,timeoutId:w,updateCb:g})}whenStable(n,l,g){if(g&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,l,g),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,l,g){return[]}static{this.\u0275fac=function(l){return new(l||t)(Nn(Bi),Nn(Ek),Nn(kk))}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac})}}return t})(),Ek=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,l){this._applications.set(n,l)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,l=!0){return Tv?.findTestabilityInTree(this,n,l)??null}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function Mv(t){return!!t&&"function"==typeof t.then}function Ck(t){return!!t&&"function"==typeof t.subscribe}const Dk=new ro("");let Ak=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,l)=>{this.resolve=n,this.reject=l}),this.appInits=Vo(Dk,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const g of this.appInits){const w=g();if(Mv(w))n.push(w);else if(Ck(w)){const E=new Promise((R,U)=>{w.subscribe({complete:R,error:U})});n.push(E)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{l()}).catch(g=>{this.reject(g)}),0===n.length&&l(),this.initialized=!0}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Dw=new ro("");let Ql=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Vo(hu),this.afterRenderManager=Vo(kx),this.zonelessEnabled=Vo(Qf),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie.B,this.afterTick=new ie.B,this.componentTypes=[],this.components=[],this.isStable=Vo(Ol).hasPendingTasks.pipe((0,Ht.T)(n=>!n)),this._injector=Vo(ai)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(l=>{n=this.isStable.subscribe({next:g=>{g&&l()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,l){const g=n instanceof A1;if(!this._injector.get(Ak).done)throw!g&&Ji(n),new We(405,!1);let E;E=g?n:this._injector.get(qf).resolveComponentFactory(n),this.componentTypes.push(E.componentType);const R=function F8(t){return t.isBoundToModule}(E)?void 0:this._injector.get(Lp),ot=E.create(Za.NULL,[],l||E.selector,R),xt=ot.location.nativeElement,Jt=ot.injector.get(_k,null);return Jt?.registerApplication(xt),ot.onDestroy(()=>{this.detachView(ot.hostView),Aw(this.components,ot),Jt?.unregisterApplication(xt)}),this._loadComponent(ot),ot}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new We(101,!1);const n=A(null);try{this._runningTick=!0,this.synchronize()}catch(l){this.internalErrorHandler(l)}finally{this._runningTick=!1,A(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(fy,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let l=0;for(;0!==this.dirtyFlags&&l++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(l);for(let{_lView:g,notifyErrorHandler:w}of this._views)$8(g,w,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>ed(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const l=n;this._views.push(l),l.attachToAppRef(this)}detachView(n){const l=n;Aw(this._views,l),l.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const l=this._injector.get(Dw,[]);[...this._bootstrapListeners,...l].forEach(g=>g(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),()=>Aw(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new We(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Aw(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function $8(t,e,n,l){(n||ed(t))&&pg(t,e,n&&!l?0:1)}class j8{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let V8=(()=>{class t{compileModuleSync(n){return new Oy(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const l=this.compileModuleSync(n),w=tc($i(n).declarations).reduce((E,R)=>{const U=ln(R);return U&&E.push(new em(U)),E},[]);return new j8(l,w)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),W8=(()=>{class t{constructor(){this.zone=Vo(Bi),this.changeDetectionScheduler=Vo(mg),this.applicationRef=Vo(Ql)}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(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Iv({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new Bi({...Ov(),scheduleInRootZone:n}),[{provide:Bi,useFactory:t},{provide:Br,multi:!0,useFactory:()=>{const l=Vo(W8,{optional:!0});return()=>l.initialize()}},{provide:Br,multi:!0,useFactory:()=>{const l=Vo(G8);return()=>{l.initialize()}}},!0===e?{provide:D1,useValue:!0}:[],{provide:gy,useValue:n??Ah}]}function Ov(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let G8=(()=>{class t{constructor(){this.subscription=new He.yU,this.initialized=!1,this.zone=Vo(Bi),this.pendingTasks=Vo(Ol)}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(()=>{Bi.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Bi.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ym=(()=>{class t{constructor(){this.appRef=Vo(Ql),this.taskService=Vo(Ol),this.ngZone=Vo(Bi),this.zonelessEnabled=Vo(Qf),this.disableScheduling=Vo(D1,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new He.yU,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rl):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(Vo(gy,{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 fd||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)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;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const l=this.useMicrotaskScheduler?ul:Sh;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>l(()=>this.tick())):this.ngZone.runOutsideAngular(()=>l(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){throw this.taskService.remove(n),l}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ul(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(l){return new(l||t)}}static{this.\u0275prov=Fo({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Nv=new ro("",{providedIn:"root",factory:()=>Vo(Nv,nn.Optional|nn.SkipSelf)||function X8(){return typeof $localize<"u"&&$localize.locale||mw}()}),Y8=new ro("",{providedIn:"root",factory:()=>"USD"}),Tw=new ro("");function Mw(t){return!t.moduleRef}let Vu=null;function nD(){return!1}let jk=(()=>{class t{static{this.__NG_ELEMENT_ID__=iD}}return t})();function iD(t){return function aD(t,e,n){if(la(t)&&!n){const l=xs(t.index,e);return new Mp(l,l)}return 175&t.type?new Mp(e[Qo],e):null}(Wn(),Rr(),!(16&~t))}class Wk{constructor(){}supports(e){return ew(e)}create(e){return new uD(e)}}const dD=(t,e)=>e;class uD{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||dD}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,l=this._removalsHead,g=0,w=null;for(;n||l;){const E=!l||n&&n.currentIndex{E=this._trackByFn(g,R),null!==n&&Object.is(n.trackById,E)?(l&&(n=this._verifyReinsertion(n,R,E,g)),Object.is(n.item,R)||this._addIdentityChange(n,R)):(n=this._mismatch(n,R,E,g),l=!0),n=n._next,g++}),this.length=g;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,l,g){let w;return null===e?w=this._itTail:(w=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,w,g)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(l,g))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,w,g)):e=this._addAfter(new pD(n,l),w,g),e}_verifyReinsertion(e,n,l,g){let w=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==w?e=this._reinsertAfter(w,e._prev,g):e.currentIndex!=g&&(e.currentIndex=g,this._addToMoves(e,g)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const g=e._prevRemoved,w=e._nextRemoved;return null===g?this._removalsHead=w:g._nextRemoved=w,null===w?this._removalsTail=g:w._prevRemoved=g,this._insertAfter(e,n,l),this._addToMoves(e,l),e}_moveAfter(e,n,l){return this._unlink(e),this._insertAfter(e,n,l),this._addToMoves(e,l),e}_addAfter(e,n,l){return this._insertAfter(e,n,l),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,l){const g=null===n?this._itHead:n._next;return e._next=g,e._prev=n,null===g?this._itTail=e:g._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new Kk),this._linkedRecords.put(e),e.currentIndex=l,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,l=e._next;return null===n?this._itHead=l:n._next=l,null===l?this._itTail=n:l._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Kk),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class pD{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class hD{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===n||n<=l.currentIndex)&&Object.is(l.trackById,e))return l;return null}remove(e){const n=e._prevDup,l=e._nextDup;return null===n?this._head=l:n._nextDup=l,null===l?this._tail=n:l._prevDup=n,null===this._head}}class Kk{constructor(){this.map=new Map}put(e){const n=e.trackById;let l=this.map.get(n);l||(l=new hD,this.map.set(n,l)),l.add(e)}get(e,n){const g=this.map.get(e);return g?g.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Gk(t,e,n){const l=t.previousIndex;if(null===l)return l;let g=0;return n&&l{if(n&&n.key===g)this._maybeAddToChanges(n,l),this._appendAfter=n,n=n._next;else{const w=this._getOrCreateRecordForKey(g,l);n=this._insertBeforeOrAppend(n,w)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let l=n;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const l=e._prev;return n._next=e,n._prev=l,e._prev=n,l&&(l._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const g=this._records.get(e);this._maybeAddToChanges(g,n);const w=g._prev,E=g._next;return w&&(w._next=E),E&&(E._prev=w),g._next=null,g._prev=null,g}const l=new fD(e);return this._records.set(e,l),l.currentValue=n,this._addToAdditions(l),l}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(l=>n(e[l],l))}}class fD{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Yk(){return new $v([new Wk])}let $v=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Yk})}constructor(n){this.factories=n}static create(n,l){if(null!=l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Yk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(null!=l)return l;throw new We(901,!1)}}return t})();function Zk(){return new jv([new Xk])}let jv=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:Zk})}constructor(n){this.factories=n}static create(n,l){if(l){const g=l.factories.slice();n=n.concat(g)}return new t(n)}static extend(n){return{provide:t,useFactory:l=>t.create(n,l||Zk()),deps:[[t,new On,new hi]]}}find(n){const l=this.factories.find(g=>g.supports(n));if(l)return l;throw new We(901,!1)}}return t})();function TD(t){try{const{rootComponent:e,appProviders:n,platformProviders:l}=t,g=function oD(t=[]){if(Vu)return Vu;const e=function Bk(t=[],e){return Za.create({name:e,providers:[{provide:ki,useValue:"platform"},{provide:Tw,useValue:new Set([()=>Vu=null])},...t]})}(t);return Vu=e,function Sk(){!function Wr(t){gr=t}(()=>{throw new We(600,!1)})}(),function Uk(t){t.get(Ho,null)?.forEach(n=>n())}(e),e}(l),w=[Iv({}),{provide:mg,useExisting:ym},...n||[]];return function Lk(t){const e=Mw(t)?t.r3Injector:t.moduleRef.injector,n=e.get(Bi);return n.run(()=>{Mw(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const l=e.get(uc,null);let g;if(n.runOutsideAngular(()=>{g=n.onError.subscribe({next:w=>{l.handleError(w)}})}),Mw(t)){const w=()=>e.destroy(),E=t.platformInjector.get(Tw);E.add(w),e.onDestroy(()=>{g.unsubscribe(),E.delete(w)})}else{const w=()=>t.moduleRef.destroy(),E=t.platformInjector.get(Tw);E.add(w),t.moduleRef.onDestroy(()=>{Aw(t.allPlatformModules,t.moduleRef),g.unsubscribe(),E.delete(w)})}return function U8(t,e,n){try{const l=n();return Mv(l)?l.catch(g=>{throw e.runOutsideAngular(()=>t.handleError(g)),g}):l}catch(l){throw e.runOutsideAngular(()=>t.handleError(l)),l}}(l,n,()=>{const w=e.get(Ak);return w.runInitializers(),w.donePromise.then(()=>{if(function DC(t){"string"==typeof t&&(A2=t.toLowerCase().replace(/_/g,"-"))}(e.get(Nv,mw)||mw),Mw(t)){const R=e.get(Ql);return void 0!==t.rootComponent&&R.bootstrap(t.rootComponent),R}return function tD(t,e){const n=t.injector.get(Ql);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(l=>n.bootstrap(l));else{if(!t.instance.ngDoBootstrap)throw new We(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new fx({providers:w,parent:g,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:g,rootComponent:e})}catch(e){return Promise.reject(e)}}function YD(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ZD(t,e=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?e:Number(t)}function qD(t,e){Vs("NgSignals");const n=Ct(t);return e?.equal&&(n[k].equal=e.equal),n}function JD(t){const e=A(null);try{return t()}finally{A(e)}}const tA=new ro("",{providedIn:"root",factory:()=>Vo(eA)});let eA=(()=>{class t{static{this.\u0275prov=Fo({token:t,providedIn:"root",factory:()=>new rA})}}return t})();class rA{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Vo(Ol),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(e){const n=e.creationZone;this.queues.has(n)||this.queues.set(n,new Set);const l=this.queues.get(n);l.has(e)||(this.queuedEffectCount++,l.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,n]of this.queues)null===e?this.flushQueue(n):e.run(()=>this.flushQueue(n))}flushQueue(e){for(const n of e)e.delete(n),this.queuedEffectCount--,n.run()}}class oA{constructor(e,n,l,g,w,E){this.scheduler=e,this.effectFn=n,this.creationZone=l,this.injector=w,this.watcher=function Ye(t,e,n){const l=Object.create(pe);n&&(l.consumerAllowSignalWrites=!0),l.fn=t,l.schedule=e;const g=U=>{l.cleanupFn=U};return l.ref={notify:()=>dt(l),run:()=>{if(null===l.fn)return;if(function M(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(l.dirty=!1,l.hasRun&&!Mt(l))return;l.hasRun=!0;const U=tt(l);try{l.cleanupFn(),l.cleanupFn=ft,l.fn(g)}finally{vt(l,U)}},cleanup:()=>l.cleanupFn(),destroy:()=>function E(U){(function w(U){return null===U.fn&&null===U.schedule})(U)||($t(U),U.cleanupFn(),U.fn=null,U.schedule=null,U.cleanupFn=ft)}(l),[k]:l},l.ref}(R=>this.runEffect(R),()=>this.schedule(),E),this.unregisterOnDestroy=g?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(n){this.injector.get(uc,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function yE(t,e){Vs("NgSignals"),!e?.injector&&fn();const n=e?.injector??Vo(Za),l=!0!==e?.manualCleanup?n.get(du):null,g=new oA(n.get(tA),t,typeof Zone>"u"?null:Zone.current,l,n,e?.allowSignalWrites??!1),w=n.get(jk,null,{optional:!0});return w&&8&w._lView[_r]?(w._lView[vn]??=[]).push(g.watcher.notify):g.watcher.notify(),g}function nA(t){const e=ln(t);if(!e)return null;const n=new em(e);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 e.standalone},get isSignal(){return e.signals}}}},9417:(i,a,r)=>{"use strict";r.d(a,{BC:()=>Pe,JD:()=>ii,Q0:()=>us,X1:()=>Gi,YN:()=>zn,YS:()=>_i,cV:()=>Nr,cb:()=>We,cz:()=>vt,hs:()=>xo,j4:()=>pa,k0:()=>St,kq:()=>T,l_:()=>fi,me:()=>ct,ok:()=>wi,qT:()=>Tn,vO:()=>ie,vS:()=>ja,xq:()=>os,ze:()=>ri});var o=r(4438),s=r(177),c=r(6648),y=r(7468),k=r(1413),A=r(6354);let I=(()=>{class st{constructor(X,Ft){this._renderer=X,this._elementRef=Ft,this.onChange=je=>{},this.onTouched=()=>{}}setProperty(X,Ft){this._renderer.setProperty(this._elementRef.nativeElement,X,Ft)}registerOnTouched(X){this.onTouched=X}registerOnChange(X){this.onChange=X}setDisabledState(X){this.setProperty("disabled",X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:st})}}return st})(),M=(()=>{class st extends I{static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,features:[o.Vt3]})}}return st})();const T=new o.nKC(""),Y={provide:T,useExisting:(0,o.Rfq)(()=>ct),multi:!0},q=new o.nKC("");let ct=(()=>{class st extends I{constructor(X,Ft,je){super(X,Ft),this._compositionMode=je,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function z(){const st=(0,s.QT)()?(0,s.QT)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(X){this.setProperty("value",X??"")}_handleInput(X){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(X)}_compositionStart(){this._composing=!0}_compositionEnd(X){this._composing=!1,this._compositionMode&&this.onChange(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(q,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("input",function(gn){return je._handleInput(gn.target.value)})("blur",function(){return je.onTouched()})("compositionstart",function(){return je._compositionStart()})("compositionend",function(gn){return je._compositionEnd(gn.target.value)})},features:[o.Jv_([Y]),o.Vt3]})}}return st})();function dt(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function tt(st){return null!=st&&"number"==typeof st.length}const vt=new o.nKC(""),Mt=new o.nKC(""),$t=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class St{static min(bt){return function kt(st){return bt=>{if(dt(bt.value)||dt(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X{if(dt(bt.value)||dt(st))return null;const X=parseFloat(bt.value);return!isNaN(X)&&X>st?{max:{max:st,actual:bt.value}}:null}}(bt)}static required(bt){return at(bt)}static requiredTrue(bt){return rt(bt)}static email(bt){return function yt(st){return dt(st.value)||$t.test(st.value)?null:{email:!0}}(bt)}static minLength(bt){return function Ct(st){return bt=>dt(bt.value)||!tt(bt.value)?null:bt.value.lengthtt(bt.value)&&bt.value.length>st?{maxlength:{requiredLength:st,actualLength:bt.value.length}}:null}(bt)}static pattern(bt){return function Xt(st){if(!st)return oe;let bt,X;return"string"==typeof st?(X="","^"!==st.charAt(0)&&(X+="^"),X+=st,"$"!==st.charAt(st.length-1)&&(X+="$"),bt=new RegExp(X)):(X=st.toString(),bt=st),Ft=>{if(dt(Ft.value))return null;const je=Ft.value;return bt.test(je)?null:{pattern:{requiredPattern:X,actualValue:je}}}}(bt)}static nullValidator(bt){return null}static compose(bt){return Le(bt)}static composeAsync(bt){return Nt(bt)}}function at(st){return dt(st.value)?{required:!0}:null}function rt(st){return!0===st.value?null:{required:!0}}function oe(st){return null}function Xe(st){return null!=st}function kr(st){return(0,o.jNT)(st)?(0,c.H)(st):st}function gr(st){let bt={};return st.forEach(X=>{bt=null!=X?{...bt,...X}:bt}),0===Object.keys(bt).length?null:bt}function wr(st,bt){return bt.map(X=>X(st))}function xe(st){return st.map(bt=>function Wr(st){return!st.validate}(bt)?bt:X=>bt.validate(X))}function Le(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){return gr(wr(X,bt))}}function gt(st){return null!=st?Le(xe(st)):null}function Nt(st){if(!st)return null;const bt=st.filter(Xe);return 0==bt.length?null:function(X){const Ft=wr(X,bt).map(kr);return(0,y.p)(Ft).pipe((0,A.T)(gr))}}function Se(st){return null!=st?Nt(xe(st)):null}function Rt(st,bt){return null===st?[bt]:Array.isArray(st)?[...st,bt]:[st,bt]}function de(st){return st._rawValidators}function jt(st){return st._rawAsyncValidators}function De(st){return st?Array.isArray(st)?st:[st]:[]}function Ye(st,bt){return Array.isArray(st)?st.includes(bt):st===bt}function ft(st,bt){const X=De(bt);return De(st).forEach(je=>{Ye(X,je)||X.push(je)}),X}function pe(st,bt){return De(bt).filter(X=>!Ye(st,X))}class Ut{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(bt){this._rawValidators=bt||[],this._composedValidatorFn=gt(this._rawValidators)}_setAsyncValidators(bt){this._rawAsyncValidators=bt||[],this._composedAsyncValidatorFn=Se(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(bt){this._onDestroyCallbacks.push(bt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(bt=>bt()),this._onDestroyCallbacks=[]}reset(bt=void 0){this.control&&this.control.reset(bt)}hasError(bt,X){return!!this.control&&this.control.hasError(bt,X)}getError(bt,X){return this.control?this.control.getError(bt,X):null}}class Ee extends Ut{get formDirective(){return null}get path(){return null}}class ie extends Ut{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class He{constructor(bt){this._cd=bt}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Pe=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(ie,2))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ft,je){2&Ft&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)},features:[o.Vt3]})}}return st})(),We=(()=>{class st extends He{constructor(X){super(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,10))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ft,je){2&Ft&&o.AVh("ng-untouched",je.isUntouched)("ng-touched",je.isTouched)("ng-pristine",je.isPristine)("ng-dirty",je.isDirty)("ng-valid",je.isValid)("ng-invalid",je.isInvalid)("ng-pending",je.isPending)("ng-submitted",je.isSubmitted)},features:[o.Vt3]})}}return st})();const Hr="VALID",eo="INVALID",Bo="PENDING",fr="DISABLED";class Pr{}class re extends Pr{constructor(bt,X){super(),this.value=bt,this.source=X}}class qt extends Pr{constructor(bt,X){super(),this.pristine=bt,this.source=X}}class Pt extends Pr{constructor(bt,X){super(),this.touched=bt,this.source=X}}class ue extends Pr{constructor(bt,X){super(),this.status=bt,this.source=X}}class mr extends Pr{constructor(bt){super(),this.source=bt}}class Qr extends Pr{constructor(bt){super(),this.source=bt}}function Ro(st){return(_e(st)?st.validators:st)||null}function tr(st,bt){return(_e(bt)?bt.asyncValidators:st)||null}function _e(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function qe(st,bt,X){const Ft=st.controls;if(!(bt?Object.keys(Ft):Ft).length)throw new o.wOt(1e3,"");if(!Ft[X])throw new o.wOt(1001,"")}function ke(st,bt,X){st._forEachChild((Ft,je)=>{if(void 0===X[je])throw new o.wOt(1002,"")})}class me{constructor(bt,X){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=(0,o.EWP)(()=>this.statusReactive()),this.statusReactive=(0,o.vPA)(void 0),this._pristine=(0,o.EWP)(()=>this.pristineReactive()),this.pristineReactive=(0,o.vPA)(!0),this._touched=(0,o.EWP)(()=>this.touchedReactive()),this.touchedReactive=(0,o.vPA)(!1),this._events=new k.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(bt),this._assignAsyncValidators(X)}get validator(){return this._composedValidatorFn}set validator(bt){this._rawValidators=this._composedValidatorFn=bt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(bt){this._rawAsyncValidators=this._composedAsyncValidatorFn=bt}get parent(){return this._parent}get status(){return(0,o.O8t)(this.statusReactive)}set status(bt){(0,o.O8t)(()=>this.statusReactive.set(bt))}get valid(){return this.status===Hr}get invalid(){return this.status===eo}get pending(){return this.status==Bo}get disabled(){return this.status===fr}get enabled(){return this.status!==fr}get pristine(){return(0,o.O8t)(this.pristineReactive)}set pristine(bt){(0,o.O8t)(()=>this.pristineReactive.set(bt))}get dirty(){return!this.pristine}get touched(){return(0,o.O8t)(this.touchedReactive)}set touched(bt){(0,o.O8t)(()=>this.touchedReactive.set(bt))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(bt){this._assignValidators(bt)}setAsyncValidators(bt){this._assignAsyncValidators(bt)}addValidators(bt){this.setValidators(ft(bt,this._rawValidators))}addAsyncValidators(bt){this.setAsyncValidators(ft(bt,this._rawAsyncValidators))}removeValidators(bt){this.setValidators(pe(bt,this._rawValidators))}removeAsyncValidators(bt){this.setAsyncValidators(pe(bt,this._rawAsyncValidators))}hasValidator(bt){return Ye(this._rawValidators,bt)}hasAsyncValidator(bt){return Ye(this._rawAsyncValidators,bt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(bt={}){const X=!1===this.touched;this.touched=!0;const Ft=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsTouched({...bt,sourceControl:Ft}),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!0,Ft))}markAllAsTouched(bt={}){this.markAsTouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:this}),this._forEachChild(X=>X.markAllAsTouched(bt))}markAsUntouched(bt={}){const X=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Ft=bt.sourceControl??this;this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0,emitEvent:bt.emitEvent,sourceControl:Ft})}),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,Ft),X&&!1!==bt.emitEvent&&this._events.next(new Pt(!1,Ft))}markAsDirty(bt={}){const X=!0===this.pristine;this.pristine=!1;const Ft=bt.sourceControl??this;this._parent&&!bt.onlySelf&&this._parent.markAsDirty({...bt,sourceControl:Ft}),X&&!1!==bt.emitEvent&&this._events.next(new qt(!1,Ft))}markAsPristine(bt={}){const X=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Ft=bt.sourceControl??this;this._forEachChild(je=>{je.markAsPristine({onlySelf:!0,emitEvent:bt.emitEvent})}),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,Ft),X&&!1!==bt.emitEvent&&this._events.next(new qt(!0,Ft))}markAsPending(bt={}){this.status=Bo;const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new ue(this.status,X)),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.markAsPending({...bt,sourceControl:X})}disable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=fr,this.errors=null,this._forEachChild(je=>{je.disable({...bt,onlySelf:!0})}),this._updateValue();const Ft=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,Ft)),this._events.next(new ue(this.status,Ft)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(je=>je(!0))}enable(bt={}){const X=this._parentMarkedDirty(bt.onlySelf);this.status=Hr,this._forEachChild(Ft=>{Ft.enable({...bt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent}),this._updateAncestors({...bt,skipPristineCheck:X},this),this._onDisabledChange.forEach(Ft=>Ft(!1))}_updateAncestors(bt,X){this._parent&&!bt.onlySelf&&(this._parent.updateValueAndValidity(bt),bt.skipPristineCheck||this._parent._updatePristine({},X),this._parent._updateTouched({},X))}setParent(bt){this._parent=bt}getRawValue(){return this.value}updateValueAndValidity(bt={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Ft=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hr||this.status===Bo)&&this._runAsyncValidator(Ft,bt.emitEvent)}const X=bt.sourceControl??this;!1!==bt.emitEvent&&(this._events.next(new re(this.value,X)),this._events.next(new ue(this.status,X)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.updateValueAndValidity({...bt,sourceControl:X})}_updateTreeValidity(bt={emitEvent:!0}){this._forEachChild(X=>X._updateTreeValidity(bt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fr:Hr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(bt,X){if(this.asyncValidator){this.status=Bo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==X};const Ft=kr(this.asyncValidator(this));this._asyncValidationSubscription=Ft.subscribe(je=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(je,{emitEvent:X,shouldHaveEmitted:bt})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const bt=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,bt}return!1}setErrors(bt,X={}){this.errors=bt,this._updateControlsErrors(!1!==X.emitEvent,this,X.shouldHaveEmitted)}get(bt){let X=bt;return null==X||(Array.isArray(X)||(X=X.split(".")),0===X.length)?null:X.reduce((Ft,je)=>Ft&&Ft._find(je),this)}getError(bt,X){const Ft=X?this.get(X):this;return Ft&&Ft.errors?Ft.errors[bt]:null}hasError(bt,X){return!!this.getError(bt,X)}get root(){let bt=this;for(;bt._parent;)bt=bt._parent;return bt}_updateControlsErrors(bt,X,Ft){this.status=this._calculateStatus(),bt&&this.statusChanges.emit(this.status),(bt||Ft)&&this._events.next(new ue(this.status,X)),this._parent&&this._parent._updateControlsErrors(bt,X,Ft)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fr:this.errors?eo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bo)?Bo:this._anyControlsHaveStatus(eo)?eo:Hr}_anyControlsHaveStatus(bt){return this._anyControls(X=>X.status===bt)}_anyControlsDirty(){return this._anyControls(bt=>bt.dirty)}_anyControlsTouched(){return this._anyControls(bt=>bt.touched)}_updatePristine(bt,X){const Ft=!this._anyControlsDirty(),je=this.pristine!==Ft;this.pristine=Ft,this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt,X),je&&this._events.next(new qt(this.pristine,X))}_updateTouched(bt={},X){this.touched=this._anyControlsTouched(),this._events.next(new Pt(this.touched,X)),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt,X)}_registerOnCollectionChange(bt){this._onCollectionChange=bt}_setUpdateStrategy(bt){_e(bt)&&null!=bt.updateOn&&(this._updateOn=bt.updateOn)}_parentMarkedDirty(bt){return!bt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(bt){return null}_assignValidators(bt){this._rawValidators=Array.isArray(bt)?bt.slice():bt,this._composedValidatorFn=function Wo(st){return Array.isArray(st)?gt(st):st||null}(this._rawValidators)}_assignAsyncValidators(bt){this._rawAsyncValidators=Array.isArray(bt)?bt.slice():bt,this._composedAsyncValidatorFn=function $e(st){return Array.isArray(st)?Se(st):st||null}(this._rawAsyncValidators)}}class Yt extends me{constructor(bt,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(bt,X){return this.controls[bt]?this.controls[bt]:(this.controls[bt]=X,X.setParent(this),X._registerOnCollectionChange(this._onCollectionChange),X)}addControl(bt,X,Ft={}){this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}removeControl(bt,X={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}setControl(bt,X,Ft={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],X&&this.registerControl(bt,X),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}contains(bt){return this.controls.hasOwnProperty(bt)&&this.controls[bt].enabled}setValue(bt,X={}){ke(this,0,bt),Object.keys(bt).forEach(Ft=>{qe(this,!0,Ft),this.controls[Ft].setValue(bt[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(Object.keys(bt).forEach(Ft=>{const je=this.controls[Ft];je&&je.patchValue(bt[Ft],{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt={},X={}){this._forEachChild((Ft,je)=>{Ft.reset(bt?bt[je]:null,{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this._reduceChildren({},(bt,X,Ft)=>(bt[Ft]=X.getRawValue(),bt))}_syncPendingControls(){let bt=this._reduceChildren(!1,(X,Ft)=>!!Ft._syncPendingControls()||X);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){Object.keys(this.controls).forEach(X=>{const Ft=this.controls[X];Ft&&bt(Ft,X)})}_setUpControls(){this._forEachChild(bt=>{bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(bt){for(const[X,Ft]of Object.entries(this.controls))if(this.contains(X)&&bt(Ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(X,Ft,je)=>((Ft.enabled||this.disabled)&&(X[je]=Ft.value),X))}_reduceChildren(bt,X){let Ft=bt;return this._forEachChild((je,No)=>{Ft=X(Ft,je,No)}),Ft}_allControlsDisabled(){for(const bt of Object.keys(this.controls))if(this.controls[bt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(bt){return this.controls.hasOwnProperty(bt)?this.controls[bt]:null}}class Eo extends Yt{}const Xn=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Yo}),Yo="always";function ni(st,bt){return[...bt.path,st]}function Fo(st,bt,X=Yo){Ke(st,bt),bt.valueAccessor.writeValue(st.value),(st.disabled||"always"===X)&&bt.valueAccessor.setDisabledState?.(st.disabled),function Lr(st,bt){bt.valueAccessor.registerOnChange(X=>{st._pendingValue=X,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&ao(st,bt)})}(st,bt),function no(st,bt){const X=(Ft,je)=>{bt.valueAccessor.writeValue(Ft),je&&bt.viewToModelUpdate(Ft)};st.registerOnChange(X),bt._registerOnDestroy(()=>{st._unregisterOnChange(X)})}(st,bt),function Ur(st,bt){bt.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&ao(st,bt),"submit"!==st.updateOn&&st.markAsTouched()})}(st,bt),function Oe(st,bt){if(bt.valueAccessor.setDisabledState){const X=Ft=>{bt.valueAccessor.setDisabledState(Ft)};st.registerOnDisabledChange(X),bt._registerOnDestroy(()=>{st._unregisterOnDisabledChange(X)})}}(st,bt)}function pi(st,bt,X=!0){const Ft=()=>{};bt.valueAccessor&&(bt.valueAccessor.registerOnChange(Ft),bt.valueAccessor.registerOnTouched(Ft)),Dr(st,bt),st&&(bt._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function ei(st,bt){st.forEach(X=>{X.registerOnValidatorChange&&X.registerOnValidatorChange(bt)})}function Ke(st,bt){const X=de(st);null!==bt.validator?st.setValidators(Rt(X,bt.validator)):"function"==typeof X&&st.setValidators([X]);const Ft=jt(st);null!==bt.asyncValidator?st.setAsyncValidators(Rt(Ft,bt.asyncValidator)):"function"==typeof Ft&&st.setAsyncValidators([Ft]);const je=()=>st.updateValueAndValidity();ei(bt._rawValidators,je),ei(bt._rawAsyncValidators,je)}function Dr(st,bt){let X=!1;if(null!==st){if(null!==bt.validator){const je=de(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(gn=>gn!==bt.validator);No.length!==je.length&&(X=!0,st.setValidators(No))}}if(null!==bt.asyncValidator){const je=jt(st);if(Array.isArray(je)&&je.length>0){const No=je.filter(gn=>gn!==bt.asyncValidator);No.length!==je.length&&(X=!0,st.setAsyncValidators(No))}}}const Ft=()=>{};return ei(bt._rawValidators,Ft),ei(bt._rawAsyncValidators,Ft),X}function ao(st,bt){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),bt.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function vo(st,bt){Ke(st,bt)}function Gt(st,bt){if(!st.hasOwnProperty("model"))return!1;const X=st.model;return!!X.isFirstChange()||!Object.is(bt,X.currentValue)}function ne(st,bt){st._syncPendingControls(),bt.forEach(X=>{const Ft=X.control;"submit"===Ft.updateOn&&Ft._pendingChange&&(X.viewToModelUpdate(Ft._pendingValue),Ft._pendingChange=!1)})}function Re(st,bt){if(!bt)return null;let X,Ft,je;return Array.isArray(bt),bt.forEach(No=>{No.constructor===ct?X=No:function Dt(st){return Object.getPrototypeOf(st.constructor)===M}(No)?Ft=No:je=No}),je||Ft||X||null}const Cr={provide:Ee,useExisting:(0,o.Rfq)(()=>Nr)},Er=Promise.resolve();let Nr=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this.submittedReactive)}constructor(X,Ft,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this.submittedReactive()),this.submittedReactive=(0,o.vPA)(!1),this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Yt({},gt(X),Se(Ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(X){Er.then(()=>{const Ft=this._findContainer(X.path);X.control=Ft.registerControl(X.name,X.control),Fo(X.control,X,this.callSetDisabledState),X.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(X)})}getControl(X){return this.form.get(X.path)}removeControl(X){Er.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name),this._directives.delete(X)})}addFormGroup(X){Er.then(()=>{const Ft=this._findContainer(X.path),je=new Yt({});vo(je,X),Ft.registerControl(X.name,je),je.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(X){Er.then(()=>{const Ft=this._findContainer(X.path);Ft&&Ft.removeControl(X.name)})}getFormGroup(X){return this.form.get(X.path)}updateModel(X,Ft){Er.then(()=>{this.form.get(X.path).setValue(Ft)})}setValue(X){this.control.setValue(X)}onSubmit(X){return this.submittedReactive.set(!0),ne(this.form,this._directives),this.ngSubmit.emit(X),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(X){return X.pop(),X.length?this.form.get(X):this.form}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("submit",function(gn){return je.onSubmit(gn)})("reset",function(){return je.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Cr]),o.Vt3]})}}return st})();function Fr(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}function qr(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const to=class extends me{constructor(bt=null,X,Ft){super(Ro(X),tr(Ft,X)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(bt),this._setUpdateStrategy(X),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_e(X)&&(X.nonNullable||X.initialValueIsDefault)&&(this.defaultValue=qr(bt)?bt.value:bt)}setValue(bt,X={}){this.value=this._pendingValue=bt,this._onChange.length&&!1!==X.emitModelToViewChange&&this._onChange.forEach(Ft=>Ft(this.value,!1!==X.emitViewToModelChange)),this.updateValueAndValidity(X)}patchValue(bt,X={}){this.setValue(bt,X)}reset(bt=this.defaultValue,X={}){this._applyFormState(bt),this.markAsPristine(X),this.markAsUntouched(X),this.setValue(this.value,X),this._pendingChange=!1}_updateValue(){}_anyControls(bt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(bt){this._onChange.push(bt)}_unregisterOnChange(bt){Fr(this._onChange,bt)}registerOnDisabledChange(bt){this._onDisabledChange.push(bt)}_unregisterOnDisabledChange(bt){Fr(this._onDisabledChange,bt)}_forEachChild(bt){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(bt){qr(bt)?(this.value=this._pendingValue=bt.value,bt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=bt}},xo=to,zi={provide:ie,useExisting:(0,o.Rfq)(()=>ja)},nn=Promise.resolve();let ja=(()=>{class st extends ie{constructor(X,Ft,je,No,gn,ha){super(),this._changeDetectorRef=gn,this.callSetDisabledState=ha,this.control=new to,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=X,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){if(this._checkForErrors(),!this._registered||"name"in X){if(this._registered&&(this._checkName(),this.formDirective)){const Ft=X.name.previousValue;this.formDirective.removeControl({name:Ft,path:this._getPath(Ft)})}this._setUpControl()}"isDisabled"in X&&this._updateDisabled(X),Gt(X,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(X){nn.then(()=>{this.control.setValue(X,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(X){const Ft=X.isDisabled.currentValue,je=0!==Ft&&(0,o.L39)(Ft);nn.then(()=>{je&&!this.control.disabled?this.control.disable():!je&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(X){return this._parent?ni(X,this._parent):[X]}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,9),o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(o.gRc,8),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([zi]),o.Vt3,o.OA$]})}}return st})(),Tn=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return st})();const vi={provide:T,useExisting:(0,o.Rfq)(()=>us),multi:!0};let us=(()=>{class st extends M{writeValue(X){this.setProperty("value",X??"")}registerOnChange(X){this.onChange=Ft=>{X(""==Ft?null:parseFloat(Ft))}}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("input",function(gn){return je.onChange(gn.target.value)})("blur",function(){return je.onTouched()})},features:[o.Jv_([vi]),o.Vt3]})}}return st})();const Mn=new o.nKC(""),na={provide:ie,useExisting:(0,o.Rfq)(()=>fi)};let fi=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,je,No,gn){super(),this._ngModelWarningConfig=No,this.callSetDisabledState=gn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(X),this._setAsyncValidators(Ft),this.valueAccessor=Re(0,je)}ngOnChanges(X){if(this._isControlChanged(X)){const Ft=X.form.previousValue;Ft&&pi(Ft,this,!1),Fo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Gt(X,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pi(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}_isControlChanged(X){return X.hasOwnProperty("form")}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(Mn,8),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([na]),o.Vt3,o.OA$]})}}return st})();const Ko={provide:Ee,useExisting:(0,o.Rfq)(()=>pa)};let pa=(()=>{class st extends Ee{get submitted(){return(0,o.O8t)(this._submittedReactive)}set submitted(X){this._submittedReactive.set(X)}constructor(X,Ft,je){super(),this.callSetDisabledState=je,this._submitted=(0,o.EWP)(()=>this._submittedReactive()),this._submittedReactive=(0,o.vPA)(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(X),this._setAsyncValidators(Ft)}ngOnChanges(X){this._checkFormPresent(),X.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(X){const Ft=this.form.get(X.path);return Fo(Ft,X,this.callSetDisabledState),Ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(X),Ft}getControl(X){return this.form.get(X.path)}removeControl(X){pi(X.control||null,X,!1),function Ce(st,bt){const X=st.indexOf(bt);X>-1&&st.splice(X,1)}(this.directives,X)}addFormGroup(X){this._setUpFormContainer(X)}removeFormGroup(X){this._cleanUpFormContainer(X)}getFormGroup(X){return this.form.get(X.path)}addFormArray(X){this._setUpFormContainer(X)}removeFormArray(X){this._cleanUpFormContainer(X)}getFormArray(X){return this.form.get(X.path)}updateModel(X,Ft){this.form.get(X.path).setValue(Ft)}onSubmit(X){return this._submittedReactive.set(!0),ne(this.form,this.directives),this.ngSubmit.emit(X),this.form._events.next(new mr(this.control)),"dialog"===X?.target?.method}onReset(){this.resetForm()}resetForm(X=void 0){this.form.reset(X),this._submittedReactive.set(!1),this.form._events.next(new Qr(this.form))}_updateDomValue(){this.directives.forEach(X=>{const Ft=X.control,je=this.form.get(X.path);Ft!==je&&(pi(Ft||null,X),(st=>st instanceof to)(je)&&(Fo(je,X,this.callSetDisabledState),X.control=je))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(X){const Ft=this.form.get(X.path);vo(Ft,X),Ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(X){if(this.form){const Ft=this.form.get(X.path);Ft&&function Co(st,bt){return Dr(st,bt)}(Ft,X)&&Ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ke(this.form,this),this._oldForm&&Dr(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(vt,10),o.rXU(Mt,10),o.rXU(Xn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formGroup",""]],hostBindings:function(Ft,je){1&Ft&&o.bIt("submit",function(gn){return je.onSubmit(gn)})("reset",function(){return je.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Ko]),o.Vt3,o.OA$]})}}return st})();const Va={provide:ie,useExisting:(0,o.Rfq)(()=>ii)};let ii=(()=>{class st extends ie{set isDisabled(X){}static{this._ngModelWarningSentOnce=!1}constructor(X,Ft,je,No,gn){super(),this._ngModelWarningConfig=gn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=X,this._setValidators(Ft),this._setAsyncValidators(je),this.valueAccessor=Re(0,No)}ngOnChanges(X){this._added||this._setUpControl(),Gt(X,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(X){this.viewModel=X,this.update.emit(X)}get path(){return ni(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(Ft){return new(Ft||st)(o.rXU(Ee,13),o.rXU(vt,10),o.rXU(Mt,10),o.rXU(T,10),o.rXU(Mn,8))}}static{this.\u0275dir=o.FsC({type:st,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([Va]),o.Vt3,o.OA$]})}}return st})(),ci=(()=>{class st{constructor(){this._validator=oe}ngOnChanges(X){if(this.inputName in X){const Ft=this.normalizeInput(X[this.inputName].currentValue);this._enabled=this.enabled(Ft),this._validator=this._enabled?this.createValidator(Ft):oe,this._onChange&&this._onChange()}}validate(X){return this._validator(X)}registerOnValidatorChange(X){this._onChange=X}enabled(X){return null!=X}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275dir=o.FsC({type:st,features:[o.OA$]})}}return st})();const wa={provide:vt,useExisting:(0,o.Rfq)(()=>_i),multi:!0},rs={provide:vt,useExisting:(0,o.Rfq)(()=>os),multi:!0};let _i=(()=>{class st extends ci{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=X=>at}enabled(X){return X}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&o.BMQ("required",je._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([wa]),o.Vt3]})}}return st})(),os=(()=>{class st extends _i{constructor(){super(...arguments),this.createValidator=X=>rt}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275dir=o.FsC({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ft,je){2&Ft&&o.BMQ("required",je._enabled?"":null)},features:[o.Jv_([rs]),o.Vt3]})}}return st})(),Lo=(()=>{class st{static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({})}}return st})();class In extends me{constructor(bt,X,Ft){super(Ro(X),tr(Ft,X)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(X),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(bt){return this.controls[this._adjustIndex(bt)]}push(bt,X={}){this.controls.push(bt),this._registerControl(bt),this.updateValueAndValidity({emitEvent:X.emitEvent}),this._onCollectionChange()}insert(bt,X,Ft={}){this.controls.splice(bt,0,X),this._registerControl(X),this.updateValueAndValidity({emitEvent:Ft.emitEvent})}removeAt(bt,X={}){let Ft=this._adjustIndex(bt);Ft<0&&(Ft=0),this.controls[Ft]&&this.controls[Ft]._registerOnCollectionChange(()=>{}),this.controls.splice(Ft,1),this.updateValueAndValidity({emitEvent:X.emitEvent})}setControl(bt,X,Ft={}){let je=this._adjustIndex(bt);je<0&&(je=0),this.controls[je]&&this.controls[je]._registerOnCollectionChange(()=>{}),this.controls.splice(je,1),X&&(this.controls.splice(je,0,X),this._registerControl(X)),this.updateValueAndValidity({emitEvent:Ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(bt,X={}){ke(this,0,bt),bt.forEach((Ft,je)=>{qe(this,!1,je),this.at(je).setValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X)}patchValue(bt,X={}){null!=bt&&(bt.forEach((Ft,je)=>{this.at(je)&&this.at(je).patchValue(Ft,{onlySelf:!0,emitEvent:X.emitEvent})}),this.updateValueAndValidity(X))}reset(bt=[],X={}){this._forEachChild((Ft,je)=>{Ft.reset(bt[je],{onlySelf:!0,emitEvent:X.emitEvent})}),this._updatePristine(X,this),this._updateTouched(X,this),this.updateValueAndValidity(X)}getRawValue(){return this.controls.map(bt=>bt.getRawValue())}clear(bt={}){this.controls.length<1||(this._forEachChild(X=>X._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:bt.emitEvent}))}_adjustIndex(bt){return bt<0?bt+this.length:bt}_syncPendingControls(){let bt=this.controls.reduce((X,Ft)=>!!Ft._syncPendingControls()||X,!1);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){this.controls.forEach((X,Ft)=>{bt(X,Ft)})}_updateValue(){this.value=this.controls.filter(bt=>bt.enabled||this.disabled).map(bt=>bt.value)}_anyControls(bt){return this.controls.some(X=>X.enabled&&bt(X))}_setUpControls(){this._forEachChild(bt=>this._registerControl(bt))}_allControlsDisabled(){for(const bt of this.controls)if(bt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(bt){bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)}_find(bt){return this.at(bt)??null}}function Ti(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let wi=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const X=new st;return X.useNonNullable=!0,X}group(X,Ft=null){const je=this._reduceControls(X);let No={};return Ti(Ft)?No=Ft:null!==Ft&&(No.validators=Ft.validator,No.asyncValidators=Ft.asyncValidator),new Yt(je,No)}record(X,Ft=null){const je=this._reduceControls(X);return new Eo(je,Ft)}control(X,Ft,je){let No={};return this.useNonNullable?(Ti(Ft)?No=Ft:(No.validators=Ft,No.asyncValidators=je),new to(X,{...No,nonNullable:!0})):new to(X,Ft,je)}array(X,Ft,je){const No=X.map(gn=>this._createControl(gn));return new In(No,Ft,je)}_reduceControls(X){const Ft={};return Object.keys(X).forEach(je=>{Ft[je]=this._createControl(X[je])}),Ft}_createControl(X){return X instanceof to||X instanceof me?X:Array.isArray(X)?this.control(X[0],X.length>1?X[1]:null,X.length>2?X[2]:null):this.control(X)}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),ri=(()=>{class st extends wi{group(X,Ft=null){return super.group(X,Ft)}control(X,Ft,je){return super.control(X,Ft,je)}array(X,Ft,je){return super.array(X,Ft,je)}static{this.\u0275fac=(()=>{let X;return function(je){return(X||(X=o.xGo(st)))(je||st)}})()}static{this.\u0275prov=o.jDH({token:st,factory:st.\u0275fac,providedIn:"root"})}}return st})(),zn=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Xn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})(),Gi=(()=>{class st{static withConfig(X){return{ngModule:st,providers:[{provide:Mn,useValue:X.warnOnNgModelWithFormControl??"always"},{provide:Xn,useValue:X.callSetDisabledState??Yo}]}}static{this.\u0275fac=function(Ft){return new(Ft||st)}}static{this.\u0275mod=o.$C({type:st})}static{this.\u0275inj=o.G2t({imports:[Lo]})}}return st})()},8834:(i,a,r)=>{"use strict";r.d(a,{$0:()=>Vt,$z:()=>kt,Hl:()=>gr,iY:()=>Xe,pQ:()=>kr});var o=r(6860),s=r(4438),c=r(9888),y=r(6600);const k=["mat-button",""],A=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],I=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],T=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",L=["mat-mini-fab",""],z=["mat-icon-button",""],q=["*"],dt=new s.nKC("MAT_BUTTON_CONFIG"),vt=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let Mt=(()=>{class wr{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(xe){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,xe)}get disableRipple(){return this._disableRipple}set disableRipple(xe){this._disableRipple=xe,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(xe){this._disabled=xe,this._updateRippleDisabled()}constructor(xe,Le,gt,Nt){this._elementRef=xe,this._platform=Le,this._ngZone=gt,this._animationMode=Nt,this._focusMonitor=(0,s.WQX)(c.FN),this._rippleLoader=(0,s.WQX)(y.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const Se=(0,s.WQX)(dt,{optional:!0}),Rt=xe.nativeElement,de=Rt.classList;this.disabledInteractive=Se?.disabledInteractive??!1,this.color=Se?.color??null,this._rippleLoader?.configureRipple(Rt,{className:"mat-mdc-button-ripple"});for(const{attribute:jt,mdcClasses:De}of vt)Rt.hasAttribute(jt)&&de.add(...De)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(xe="program",Le){xe?this._focusMonitor.focusVia(this._elementRef.nativeElement,xe,Le):this._elementRef.nativeElement.focus(Le)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:wr,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39]},features:[s.GFd]})}}return wr})(),St=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._haltDisabledEvents=Se=>{this.disabled&&(Se.preventDefault(),Se.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this.disabled||null}static{this.\u0275fac=function(Le){s.QTQ()}}static{this.\u0275dir=s.FsC({type:wr,inputs:{tabIndex:[2,"tabIndex","tabIndex",xe=>null==xe?void 0:(0,s.Udg)(xe)]},features:[s.GFd,s.Vt3]})}}return wr})(),kt=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:k,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(A),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return wr})();const at=new s.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:rt});function rt(){return{color:"accent"}}const yt=rt();let Vt=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt,Se){super(xe,Le,gt,Nt),this._options=Se,this._isFab=!0,this._options=this._options||yt,this.color=this._options.color||yt.color}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8),s.rXU(at,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:L,ngContentSelectors:I,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(A),s.nrm(0,"span",0),s.SdG(1),s.j41(2,"span",1),s.SdG(3,1),s.k0s(),s.SdG(4,2),s.nrm(5,"span",2)(6,"span",3)),2&Le&&s.AVh("mdc-button__ripple",!gt._isFab)("mdc-fab__ripple",gt._isFab)},styles:['.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return wr})(),Xe=(()=>{class wr extends Mt{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[s.Vt3,s.aNF],attrs:z,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',T],encapsulation:2,changeDetection:0})}}return wr})(),kr=(()=>{class wr extends St{constructor(xe,Le,gt,Nt){super(xe,Le,gt,Nt)}static{this.\u0275fac=function(Le){return new(Le||wr)(s.rXU(s.aKT),s.rXU(o.OD),s.rXU(s.SKi),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:wr,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(Le,gt){2&Le&&(s.BMQ("disabled",gt._getDisabledAttribute())("tabindex",gt.disabled&&!gt.disabledInteractive?-1:gt.tabIndex)("aria-disabled",gt._getAriaDisabled()),s.HbH(gt.color?"mat-"+gt.color:""),s.AVh("mat-mdc-button-disabled",gt.disabled)("mat-mdc-button-disabled-interactive",gt.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===gt._animationMode)("mat-unthemed",!gt.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[s.Vt3,s.aNF],attrs:z,ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,gt){1&Le&&(s.NAR(),s.nrm(0,"span",0),s.SdG(1),s.nrm(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',T],encapsulation:2,changeDetection:0})}}return wr})(),gr=(()=>{class wr{static{this.\u0275fac=function(Le){return new(Le||wr)}}static{this.\u0275mod=s.$C({type:wr})}static{this.\u0275inj=s.G2t({imports:[y.yE,y.pZ,y.yE]})}}return wr})()},6600:(i,a,r)=>{"use strict";r.d(a,{MJ:()=>gt,es:()=>Ut,N:()=>at,de:()=>Nt,Ju:()=>xe,QC:()=>ir,is:()=>It,yE:()=>rt,wT:()=>eo,Sy:()=>Pr,MI:()=>Hr,r6:()=>$,Ej:()=>Ro,pZ:()=>Z,X0:()=>gr,tO:()=>Wo,jb:()=>Bo,TL:()=>fr});var o=r(4438),s=r(9888),c=r(8203),k=r(177),A=r(6860),I=r(4085),M=r(1413),T=r(7336);const Y=["text"],z=[[["mat-icon"]],"*"],q=["mat-icon","*"];function ct(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",1),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)("state",_e.selected?"checked":"unchecked")}}function dt(tr,$e){if(1&tr&&o.nrm(0,"mat-pseudo-checkbox",3),2&tr){const _e=o.XpG();o.Y8G("disabled",_e.disabled)}}function tt(tr,$e){if(1&tr&&(o.j41(0,"span",4),o.EFF(1),o.k0s()),2&tr){const _e=o.XpG();o.R7$(),o.SpI("(",_e.group.label,")")}}const vt=["mat-internal-form-field",""],Mt=["*"],at=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function nt(){return!0}});let rt=(()=>{class tr{constructor(_e,qe,ke){this._sanityChecks=qe,this._document=ke,this._hasDoneGlobalChecks=!1,_e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(_e){return!(0,A.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[_e])}static{this.\u0275fac=function(qe){return new(qe||tr)(o.KVO(s.Q_),o.KVO(at,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[c.jI,c.jI]})}}return tr})();class gr{constructor($e,_e,qe,ke,me){this._defaultMatcher=$e,this.ngControl=_e,this._parentFormGroup=qe,this._parentForm=ke,this._stateChanges=me,this.errorState=!1}updateErrorState(){const $e=this.errorState,_e=this._parentFormGroup||this._parentForm,qe=this.matcher||this._defaultMatcher,ke=this.ngControl?this.ngControl.control:null,me=qe?.isErrorState(ke,_e)??!1;me!==$e&&(this.errorState=me,this._stateChanges.next())}}const xe=new o.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function Le(){return(0,o.WQX)(o.xe9)}});class gt{constructor(){this._localeChanges=new M.B,this.localeChanges=this._localeChanges}getValidDateOrNull($e){return this.isDateInstance($e)&&this.isValid($e)?$e:null}deserialize($e){return null==$e||this.isDateInstance($e)&&this.isValid($e)?$e:this.invalid()}setLocale($e){this.locale=$e,this._localeChanges.next()}compareDate($e,_e){return this.getYear($e)-this.getYear(_e)||this.getMonth($e)-this.getMonth(_e)||this.getDate($e)-this.getDate(_e)}sameDate($e,_e){if($e&&_e){let qe=this.isValid($e),ke=this.isValid(_e);return qe&&ke?!this.compareDate($e,_e):qe==ke}return $e==_e}clampDate($e,_e,qe){return _e&&this.compareDate($e,_e)<0?_e:qe&&this.compareDate($e,qe)>0?qe:$e}}const Nt=new o.nKC("mat-date-formats");let Ut=(()=>{class tr{isErrorState(_e,qe){return!!(_e&&_e.invalid&&(_e.touched||qe&&qe.submitted))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})();var Me=function(tr){return tr[tr.FADING_IN=0]="FADING_IN",tr[tr.VISIBLE=1]="VISIBLE",tr[tr.FADING_OUT=2]="FADING_OUT",tr[tr.HIDDEN=3]="HIDDEN",tr}(Me||{});class Pe{constructor($e,_e,qe,ke=!1){this._renderer=$e,this.element=_e,this.config=qe,this._animationForciblyDisabledThroughCss=ke,this.state=Me.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const We=(0,A.BQ)({passive:!0,capture:!0});class Or{constructor(){this._events=new Map,this._delegateEventHandler=$e=>{const _e=(0,A.Fb)($e);_e&&this._events.get($e.type)?.forEach((qe,ke)=>{(ke===_e||ke.contains(_e))&&qe.forEach(me=>me.handleEvent($e))})}}addHandler($e,_e,qe,ke){const me=this._events.get(_e);if(me){const Yt=me.get(qe);Yt?Yt.add(ke):me.set(qe,new Set([ke]))}else this._events.set(_e,new Map([[qe,new Set([ke])]])),$e.runOutsideAngular(()=>{document.addEventListener(_e,this._delegateEventHandler,We)})}removeHandler($e,_e,qe){const ke=this._events.get($e);if(!ke)return;const me=ke.get(_e);me&&(me.delete(qe),0===me.size&&ke.delete(_e),0===ke.size&&(this._events.delete($e),document.removeEventListener($e,this._delegateEventHandler,We)))}}const ko={enterDuration:225,exitDuration:150},Lt=(0,A.BQ)({passive:!0,capture:!0}),be=["mousedown","touchstart"],se=["mouseup","mouseleave","touchend","touchcancel"];class Ie{static{this._eventManager=new Or}constructor($e,_e,qe,ke){this._target=$e,this._ngZone=_e,this._platform=ke,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ke.isBrowser&&(this._containerElement=(0,I.i8)(qe))}fadeInRipple($e,_e,qe={}){const ke=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),me={...ko,...qe.animation};qe.centered&&($e=ke.left+ke.width/2,_e=ke.top+ke.height/2);const Yt=qe.radius||function br(tr,$e,_e){const qe=Math.max(Math.abs(tr-_e.left),Math.abs(tr-_e.right)),ke=Math.max(Math.abs($e-_e.top),Math.abs($e-_e.bottom));return Math.sqrt(qe*qe+ke*ke)}($e,_e,ke),Ae=$e-ke.left,ar=_e-ke.top,yr=me.enterDuration,Eo=document.createElement("div");Eo.classList.add("mat-ripple-element"),Eo.style.left=Ae-Yt+"px",Eo.style.top=ar-Yt+"px",Eo.style.height=2*Yt+"px",Eo.style.width=2*Yt+"px",null!=qe.color&&(Eo.style.backgroundColor=qe.color),Eo.style.transitionDuration=`${yr}ms`,this._containerElement.appendChild(Eo);const $n=window.getComputedStyle(Eo),Yo=$n.transitionDuration,ni="none"===$n.transitionProperty||"0s"===Yo||"0s, 0s"===Yo||0===ke.width&&0===ke.height,Fo=new Pe(this,Eo,qe,ni);Eo.style.transform="scale3d(1, 1, 1)",Fo.state=Me.FADING_IN,qe.persistent||(this._mostRecentTransientRipple=Fo);let pi=null;return!ni&&(yr||me.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ei=()=>{pi&&(pi.fallbackTimer=null),clearTimeout(Ke),this._finishRippleTransition(Fo)},Oe=()=>this._destroyRipple(Fo),Ke=setTimeout(Oe,yr+100);Eo.addEventListener("transitionend",ei),Eo.addEventListener("transitioncancel",Oe),pi={onTransitionEnd:ei,onTransitionCancel:Oe,fallbackTimer:Ke}}),this._activeRipples.set(Fo,pi),(ni||!yr)&&this._finishRippleTransition(Fo),Fo}fadeOutRipple($e){if($e.state===Me.FADING_OUT||$e.state===Me.HIDDEN)return;const _e=$e.element,qe={...ko,...$e.config.animation};_e.style.transitionDuration=`${qe.exitDuration}ms`,_e.style.opacity="0",$e.state=Me.FADING_OUT,($e._animationForciblyDisabledThroughCss||!qe.exitDuration)&&this._finishRippleTransition($e)}fadeOutAll(){this._getActiveRipples().forEach($e=>$e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach($e=>{$e.config.persistent||$e.fadeOut()})}setupTriggerEvents($e){const _e=(0,I.i8)($e);!this._platform.isBrowser||!_e||_e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=_e,be.forEach(qe=>{Ie._eventManager.addHandler(this._ngZone,qe,_e,this)}))}handleEvent($e){"mousedown"===$e.type?this._onMousedown($e):"touchstart"===$e.type?this._onTouchStart($e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{se.forEach(_e=>{this._triggerElement.addEventListener(_e,this,Lt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition($e){$e.state===Me.FADING_IN?this._startFadeOutTransition($e):$e.state===Me.FADING_OUT&&this._destroyRipple($e)}_startFadeOutTransition($e){const _e=$e===this._mostRecentTransientRipple,{persistent:qe}=$e.config;$e.state=Me.VISIBLE,!qe&&(!_e||!this._isPointerDown)&&$e.fadeOut()}_destroyRipple($e){const _e=this._activeRipples.get($e)??null;this._activeRipples.delete($e),this._activeRipples.size||(this._containerRect=null),$e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),$e.state=Me.HIDDEN,null!==_e&&($e.element.removeEventListener("transitionend",_e.onTransitionEnd),$e.element.removeEventListener("transitioncancel",_e.onTransitionCancel),null!==_e.fallbackTimer&&clearTimeout(_e.fallbackTimer)),$e.element.remove()}_onMousedown($e){const _e=(0,s._G)($e),qe=this._lastTouchStartEvent&&Date.now(){!$e.config.persistent&&($e.state===Me.VISIBLE||$e.config.terminateOnPointerUp&&$e.state===Me.FADING_IN)&&$e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const $e=this._triggerElement;$e&&(be.forEach(_e=>Ie._eventManager.removeHandler(_e,$e,this)),this._pointerUpEventsRegistered&&(se.forEach(_e=>$e.removeEventListener(_e,this,Lt)),this._pointerUpEventsRegistered=!1))}}const mt=new o.nKC("mat-ripple-global-options");let $=(()=>{class tr{get disabled(){return this._disabled}set disabled(_e){_e&&this.fadeOutAllNonPersistent(),this._disabled=_e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(_e){this._trigger=_e,this._setupTriggerEventsIfEnabled()}constructor(_e,qe,ke,me,Yt){this._elementRef=_e,this._animationMode=Yt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=me||{},this._rippleRenderer=new Ie(this,qe,_e,ke)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(_e,qe=0,ke){return"number"==typeof _e?this._rippleRenderer.fadeInRipple(_e,qe,{...this.rippleConfig,...ke}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,..._e})}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(A.OD),o.rXU(mt,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:tr,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-ripple-unbounded",ke.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return tr})(),Z=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt,rt]})}}return tr})(),it=(()=>{class tr{constructor(_e){this._animationMode=_e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(qe,ke){2&qe&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===ke.state)("mat-pseudo-checkbox-checked","checked"===ke.state)("mat-pseudo-checkbox-disabled",ke.disabled)("mat-pseudo-checkbox-minimal","minimal"===ke.appearance)("mat-pseudo-checkbox-full","full"===ke.appearance)("_mat-animation-noopable","NoopAnimations"===ke._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(qe,ke){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return tr})(),Tt=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[rt]})}}return tr})();const It=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),ir=new o.nKC("MatOptgroup");let er=0;class Hr{constructor($e,_e=!1){this.source=$e,this.isUserInput=_e}}let eo=(()=>{class tr{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(_e){this._disabled=_e}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(_e,qe,ke,me){this._element=_e,this._changeDetectorRef=qe,this._parent=ke,this.group=me,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+er++,this.onSelectionChange=new o.bkB,this._stateChanges=new M.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(_e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}deselect(_e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),_e&&this._emitSelectionChangeEvent())}focus(_e,qe){const ke=this._getHostElement();"function"==typeof ke.focus&&ke.focus(qe)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(_e){(_e.keyCode===T.Fm||_e.keyCode===T.t6)&&!(0,T.rp)(_e)&&(this._selectViaInteraction(),_e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const _e=this.viewValue;_e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=_e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(_e=!1){this.onSelectionChange.emit(new Hr(this,_e))}static{this.\u0275fac=function(qe){return new(qe||tr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(It,8),o.rXU(ir,8))}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["mat-option"]],viewQuery:function(qe,ke){if(1&qe&&o.GBs(Y,7),2&qe){let me;o.mGM(me=o.lsd())&&(ke._text=me.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(qe,ke){1&qe&&o.bIt("click",function(){return ke._selectViaInteraction()})("keydown",function(Yt){return ke._handleKeydown(Yt)}),2&qe&&(o.Mr5("id",ke.id),o.BMQ("aria-selected",ke.selected)("aria-disabled",ke.disabled.toString()),o.AVh("mdc-list-item--selected",ke.selected)("mat-mdc-option-multiple",ke.multiple)("mat-mdc-option-active",ke.active)("mdc-list-item--disabled",ke.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",o.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:q,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(qe,ke){1&qe&&(o.NAR(z),o.DNE(0,ct,1,2,"mat-pseudo-checkbox",1),o.SdG(1),o.j41(2,"span",2,0),o.SdG(4,1),o.k0s(),o.DNE(5,dt,1,1,"mat-pseudo-checkbox",3)(6,tt,2,1,"span",4),o.nrm(7,"div",5)),2&qe&&(o.vxM(ke.multiple?0:-1),o.R7$(5),o.vxM(ke.multiple||!ke.selected||ke.hideSingleSelectionIndicator?-1:5),o.R7$(),o.vxM(ke.group&&ke.group._inert?6:-1),o.R7$(),o.Y8G("matRippleTrigger",ke._getHostElement())("matRippleDisabled",ke.disabled||ke.disableRipple))},dependencies:[it,$],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return tr})();function Bo(tr,$e,_e){if(_e.length){let qe=$e.toArray(),ke=_e.toArray(),me=0;for(let Yt=0;Yt_e+qe?Math.max(0,tr-qe+$e):_e}let Pr=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275mod=o.$C({type:tr})}static{this.\u0275inj=o.G2t({imports:[Z,rt,Tt]})}}return tr})();const re={capture:!0},qt=["focus","mousedown","mouseenter","touchstart"],Pt="mat-ripple-loader-uninitialized",ue="mat-ripple-loader-class-name",mr="mat-ripple-loader-centered",Qr="mat-ripple-loader-disabled";let Ro=(()=>{class tr{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(mt,{optional:!0}),this._platform=(0,o.WQX)(A.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=_e=>{const qe=(0,A.Fb)(_e);if(qe instanceof HTMLElement){const ke=qe.closest(`[${Pt}="${this._globalRippleOptions?.namespace??""}"]`);ke&&this._createRipple(ke)}},this._ngZone.runOutsideAngular(()=>{for(const _e of qt)this._document?.addEventListener(_e,this._onInteraction,re)})}ngOnDestroy(){const _e=this._hosts.keys();for(const qe of _e)this.destroyRipple(qe);for(const qe of qt)this._document?.removeEventListener(qe,this._onInteraction,re)}configureRipple(_e,qe){_e.setAttribute(Pt,this._globalRippleOptions?.namespace??""),(qe.className||!_e.hasAttribute(ue))&&_e.setAttribute(ue,qe.className||""),qe.centered&&_e.setAttribute(mr,""),qe.disabled&&_e.setAttribute(Qr,"")}getRipple(_e){return this._hosts.get(_e)||this._createRipple(_e)}setDisabled(_e,qe){const ke=this._hosts.get(_e);ke?ke.disabled=qe:qe?_e.setAttribute(Qr,""):_e.removeAttribute(Qr)}_createRipple(_e){if(!this._document)return;const qe=this._hosts.get(_e);if(qe)return qe;_e.querySelector(".mat-ripple")?.remove();const ke=this._document.createElement("span");ke.classList.add("mat-ripple",_e.getAttribute(ue)),_e.append(ke);const me=new $(new o.aKT(ke),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return me._isInitialized=!0,me.trigger=_e,me.centered=_e.hasAttribute(mr),me.disabled=_e.hasAttribute(Qr),this.attachRipple(_e,me),me}attachRipple(_e,qe){_e.removeAttribute(Pt),this._hosts.set(_e,qe)}destroyRipple(_e){const qe=this._hosts.get(_e);qe&&(qe.ngOnDestroy(),this._hosts.delete(_e))}static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275prov=o.jDH({token:tr,factory:tr.\u0275fac,providedIn:"root"})}}return tr})(),Wo=(()=>{class tr{static{this.\u0275fac=function(qe){return new(qe||tr)}}static{this.\u0275cmp=o.VBU({type:tr,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(qe,ke){2&qe&&o.AVh("mdc-form-field--align-end","before"===ke.labelPosition)},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[o.aNF],attrs:vt,ngContentSelectors:Mt,decls:1,vars:0,template:function(qe,ke){1&qe&&(o.NAR(),o.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return tr})()},5351:(i,a,r)=>{"use strict";r.d(a,{Vh:()=>pe,bZ:()=>Me,E7:()=>Lt,tx:()=>We,Yi:()=>lr,hM:()=>Ie,CP:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(9888),k=r(6860),A=r(6939),I=r(7336),M=r(1413),T=r(9030),O=r(7673),L=r(8203),Y=r(9172);function z($,Z){}class q{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let dt=(()=>{class $ extends A.lb{constructor(it,Tt,It,ye,ir,Je,er,Hr){super(),this._elementRef=it,this._focusTrapFactory=Tt,this._config=ye,this._interactivityChecker=ir,this._ngZone=Je,this._overlayRef=er,this._focusMonitor=Hr,this._platform=(0,c.WQX)(k.OD),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=(0,c.WQX)(c.gRc),this._injector=(0,c.WQX)(c.zZn),this._isDestroyed=!1,this.attachDomPortal=eo=>{this._portalOutlet.hasAttached();const Bo=this._portalOutlet.attachDomPortal(eo);return this._contentAttached(),Bo},this._document=It,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(it){this._ariaLabelledByQueue.push(it),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(it){const Tt=this._ariaLabelledByQueue.indexOf(it);Tt>-1&&(this._ariaLabelledByQueue.splice(Tt,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachComponentPortal(it);return this._contentAttached(),Tt}attachTemplatePortal(it){this._portalOutlet.hasAttached();const Tt=this._portalOutlet.attachTemplatePortal(it);return this._contentAttached(),Tt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(it,Tt){this._interactivityChecker.isFocusable(it)||(it.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const It=()=>{it.removeEventListener("blur",It),it.removeEventListener("mousedown",It),it.removeAttribute("tabindex")};it.addEventListener("blur",It),it.addEventListener("mousedown",It)})),it.focus(Tt)}_focusByCssSelector(it,Tt){let It=this._elementRef.nativeElement.querySelector(it);It&&this._forceFocus(It,Tt)}_trapFocus(){this._isDestroyed||(0,c.mal)(()=>{const it=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||it.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}},{injector:this._injector})}_restoreFocus(){const it=this._config.restoreFocus;let Tt=null;if("string"==typeof it?Tt=this._document.querySelector(it):"boolean"==typeof it?Tt=it?this._elementFocusedBeforeDialogWasOpened:null:it&&(Tt=it),this._config.restoreFocus&&Tt&&"function"==typeof Tt.focus){const It=(0,k.vc)(),ye=this._elementRef.nativeElement;(!It||It===this._document.body||It===ye||ye.contains(It))&&(this._focusMonitor?(this._focusMonitor.focusVia(Tt,this._closeInteractionType),this._closeInteractionType=null):Tt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const it=this._elementRef.nativeElement,Tt=(0,k.vc)();return it===Tt||it.contains(Tt)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(q),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["cdk-dialog-container"]],viewQuery:function(Tt,It){if(1&Tt&&c.GBs(A.I3,7),2&Tt){let ye;c.mGM(ye=c.lsd())&&(It._portalOutlet=ye.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.BMQ("id",It._config.id||null)("role",It._config.role)("aria-modal",It._config.ariaModal)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null)},standalone:!0,features:[c.Vt3,c.aNF],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&c.DNE(0,z,0,0,"ng-template",0)},dependencies:[A.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return $})();class tt{constructor(Z,it){this.overlayRef=Z,this.config=it,this.closed=new M.B,this.disableClose=it.disableClose,this.backdropClick=Z.backdropClick(),this.keydownEvents=Z.keydownEvents(),this.outsidePointerEvents=Z.outsidePointerEvents(),this.id=it.id,this.keydownEvents.subscribe(Tt=>{Tt.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Tt)&&(Tt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Z.detachments().subscribe(()=>{!1!==it.closeOnOverlayDetachments&&this.close()})}close(Z,it){if(this.containerInstance){const Tt=this.closed;this.containerInstance._closeInteractionType=it?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Tt.next(Z),Tt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Z="",it=""){return this.overlayRef.updateSize({width:Z,height:it}),this}addPanelClass(Z){return this.overlayRef.addPanelClass(Z),this}removePanelClass(Z){return this.overlayRef.removePanelClass(Z),this}}const vt=new c.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}}),Mt=new c.nKC("DialogData"),$t=new c.nKC("DefaultDialogConfig");let nt=0,at=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(it,Tt,It,ye,ir,Je){this._overlay=it,this._injector=Tt,this._defaultOptions=It,this._parentDialog=ye,this._overlayContainer=ir,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.B,this._afterOpenedAtThisLevel=new M.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.Z)(void 0))),this._scrollStrategy=Je}open(it,Tt){(Tt={...this._defaultOptions||new q,...Tt}).id=Tt.id||"cdk-dialog-"+nt++,Tt.id&&this.getDialogById(Tt.id);const ye=this._getOverlayConfig(Tt),ir=this._overlay.create(ye),Je=new tt(ir,Tt),er=this._attachContainer(ir,Je,Tt);return Je.containerInstance=er,this._attachDialogContent(it,Je,er,Tt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Je),Je.closed.subscribe(()=>this._removeOpenDialog(Je,!0)),this.afterOpened.next(Je),Je}closeAll(){rt(this.openDialogs,it=>it.close())}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){rt(this._openDialogsAtThisLevel,it=>{!1===it.config.closeOnDestroy&&this._removeOpenDialog(it,!1)}),rt(this._openDialogsAtThisLevel,it=>it.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(it){const Tt=new o.rR({positionStrategy:it.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:it.scrollStrategy||this._scrollStrategy(),panelClass:it.panelClass,hasBackdrop:it.hasBackdrop,direction:it.direction,minWidth:it.minWidth,minHeight:it.minHeight,maxWidth:it.maxWidth,maxHeight:it.maxHeight,width:it.width,height:it.height,disposeOnNavigation:it.closeOnNavigation});return it.backdropClass&&(Tt.backdropClass=it.backdropClass),Tt}_attachContainer(it,Tt,It){const ye=It.injector||It.viewContainerRef?.injector,ir=[{provide:q,useValue:It},{provide:tt,useValue:Tt},{provide:o.yY,useValue:it}];let Je;It.container?"function"==typeof It.container?Je=It.container:(Je=It.container.type,ir.push(...It.container.providers(It))):Je=dt;const er=new A.A8(Je,It.viewContainerRef,c.zZn.create({parent:ye||this._injector,providers:ir}),It.componentFactoryResolver);return it.attach(er).instance}_attachDialogContent(it,Tt,It,ye){if(it instanceof c.C4Q){const ir=this._createInjector(ye,Tt,It,void 0);let Je={$implicit:ye.data,dialogRef:Tt};ye.templateContext&&(Je={...Je,..."function"==typeof ye.templateContext?ye.templateContext():ye.templateContext}),It.attachTemplatePortal(new A.VA(it,null,Je,ir))}else{const ir=this._createInjector(ye,Tt,It,this._injector),Je=It.attachComponentPortal(new A.A8(it,ye.viewContainerRef,ir,ye.componentFactoryResolver));Tt.componentRef=Je,Tt.componentInstance=Je.instance}}_createInjector(it,Tt,It,ye){const ir=it.injector||it.viewContainerRef?.injector,Je=[{provide:Mt,useValue:it.data},{provide:tt,useValue:Tt}];return it.providers&&("function"==typeof it.providers?Je.push(...it.providers(Tt,it,It)):Je.push(...it.providers)),it.direction&&(!ir||!ir.get(L.dS,null,{optional:!0}))&&Je.push({provide:L.dS,useValue:{value:it.direction,change:(0,O.of)()}}),c.zZn.create({parent:ir||ye,providers:Je})}_removeOpenDialog(it,Tt){const It=this.openDialogs.indexOf(it);It>-1&&(this.openDialogs.splice(It,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ye,ir)=>{ye?ir.setAttribute("aria-hidden",ye):ir.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Tt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const it=this._overlayContainer.getContainerElement();if(it.parentElement){const Tt=it.parentElement.children;for(let It=Tt.length-1;It>-1;It--){const ye=Tt[It];ye!==it&&"SCRIPT"!==ye.nodeName&&"STYLE"!==ye.nodeName&&!ye.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ye,ye.getAttribute("aria-hidden")),ye.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO($t,8),c.KVO($,12),c.KVO(o.Sf),c.KVO(vt))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();function rt($,Z){let it=$.length;for(;it--;)Z($[it])}let yt=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[at],imports:[o.z_,A.jc,y.Pd,A.jc]})}}return $})();var Ct=r(4085),Vt=r(7786),Xt=r(5964),oe=r(6697),Xe=r(5542),kr=r(6600);function wr($,Z){}r(9969);class Wr{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const xe="mdc-dialog--open",Le="mdc-dialog--opening",gt="mdc-dialog--closing";let Rt=(()=>{class $ extends dt{constructor(it,Tt,It,ye,ir,Je,er,Hr,eo){super(it,Tt,It,ye,ir,Je,er,eo),this._animationMode=Hr,this._animationStateChanged=new c.bkB,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?jt(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?jt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Le,xe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(xe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(xe),this._animationsEnabled?(this._hostElement.style.setProperty(de,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gt)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(it){this._actionSectionCount+=it,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(Le,gt)}_waitForAnimationToComplete(it,Tt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Tt,it)}_requestAnimationFrame(it){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(it):it()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(it){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:it})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(it){const Tt=super.attachComponentPortal(it);return Tt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Tt}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(c.aKT),c.rXU(y.GX),c.rXU(s.qQ,8),c.rXU(Wr),c.rXU(y.Z7),c.rXU(c.SKi),c.rXU(o.yY),c.rXU(c.bc$,8),c.rXU(y.FN))}}static{this.\u0275cmp=c.VBU({type:$,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Tt,It){2&Tt&&(c.Mr5("id",It._config.id),c.BMQ("aria-modal",It._config.ariaModal)("role",It._config.role)("aria-labelledby",It._config.ariaLabel?null:It._ariaLabelledByQueue[0])("aria-label",It._config.ariaLabel)("aria-describedby",It._config.ariaDescribedBy||null),c.AVh("_mat-animation-noopable",!It._animationsEnabled)("mat-mdc-dialog-container-with-actions",It._actionSectionCount>0))},standalone:!0,features:[c.Vt3,c.aNF],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Tt,It){1&Tt&&(c.j41(0,"div",0)(1,"div",1),c.DNE(2,wr,0,0,"ng-template",2),c.k0s()())},dependencies:[A.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return $})();const de="--mat-dialog-transition-duration";function jt($){return null==$?null:"number"==typeof $?$:$.endsWith("ms")?(0,Ct.OE)($.substring(0,$.length-2)):$.endsWith("s")?1e3*(0,Ct.OE)($.substring(0,$.length-1)):"0"===$?0:null}var De=function($){return $[$.OPEN=0]="OPEN",$[$.CLOSING=1]="CLOSING",$[$.CLOSED=2]="CLOSED",$}(De||{});class Ye{constructor(Z,it,Tt){this._ref=Z,this._containerInstance=Tt,this._afterOpened=new M.B,this._beforeClosed=new M.B,this._state=De.OPEN,this.disableClose=it.disableClose,this.id=Z.id,Z.addPanelClass("mat-mdc-dialog-panel"),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"opened"===It.state),(0,oe.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Tt._animationStateChanged.pipe((0,Xt.p)(It=>"closed"===It.state),(0,oe.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Z.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,Vt.h)(this.backdropClick(),this.keydownEvents().pipe((0,Xt.p)(It=>It.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(It)))).subscribe(It=>{this.disableClose||(It.preventDefault(),ft(this,"keydown"===It.type?"keyboard":"mouse"))})}close(Z){this._result=Z,this._containerInstance._animationStateChanged.pipe((0,Xt.p)(it=>"closing"===it.state),(0,oe.s)(1)).subscribe(it=>{this._beforeClosed.next(Z),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),it.totalTime+100)}),this._state=De.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Z){let it=this._ref.config.positionStrategy;return Z&&(Z.left||Z.right)?Z.left?it.left(Z.left):it.right(Z.right):it.centerHorizontally(),Z&&(Z.top||Z.bottom)?Z.top?it.top(Z.top):it.bottom(Z.bottom):it.centerVertically(),this._ref.updatePosition(),this}updateSize(Z="",it=""){return this._ref.updateSize(Z,it),this}addPanelClass(Z){return this._ref.addPanelClass(Z),this}removePanelClass(Z){return this._ref.removePanelClass(Z),this}getState(){return this._state}_finishDialogClose(){this._state=De.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ft($,Z,it){return $._closeInteractionType=Z,$.close(it)}const pe=new c.nKC("MatMdcDialogData"),Ut=new c.nKC("mat-mdc-dialog-default-options"),Ee=new c.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const $=(0,c.WQX)(o.hJ);return()=>$.scrollStrategies.block()}});let Ht=0,Me=(()=>{class ${get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const it=this._parentDialog;return it?it._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(it,Tt,It,ye,ir,Je,er,Hr){this._overlay=it,this._defaultOptions=ye,this._scrollStrategy=ir,this._parentDialog=Je,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M.B,this._afterOpenedAtThisLevel=new M.B,this.dialogConfigClass=Wr,this.afterAllClosed=(0,T.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,Y.Z)(void 0))),this._dialog=Tt.get(at),this._dialogRefConstructor=Ye,this._dialogContainerType=Rt,this._dialogDataToken=pe}open(it,Tt){let It;(Tt={...this._defaultOptions||new Wr,...Tt}).id=Tt.id||"mat-mdc-dialog-"+Ht++,Tt.scrollStrategy=Tt.scrollStrategy||this._scrollStrategy();const ye=this._dialog.open(it,{...Tt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Tt},{provide:q,useValue:Tt}]},templateContext:()=>({dialogRef:It}),providers:(ir,Je,er)=>(It=new this._dialogRefConstructor(ir,Tt,er),It.updatePosition(Tt?.position),[{provide:this._dialogContainerType,useValue:er},{provide:this._dialogDataToken,useValue:Je.data},{provide:this._dialogRefConstructor,useValue:It}])});return It.componentRef=ye.componentRef,It.componentInstance=ye.componentInstance,this.openDialogs.push(It),this.afterOpened.next(It),It.afterClosed().subscribe(()=>{const ir=this.openDialogs.indexOf(It);ir>-1&&(this.openDialogs.splice(ir,1),this.openDialogs.length||this._getAfterAllClosed().next())}),It}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(it){return this.openDialogs.find(Tt=>Tt.id===it)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(it){let Tt=it.length;for(;Tt--;)it[Tt].close()}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.KVO(o.hJ),c.KVO(c.zZn),c.KVO(s.aZ,8),c.KVO(Ut,8),c.KVO(Ee),c.KVO($,12),c.KVO(o.Sf),c.KVO(c.bc$,8))}}static{this.\u0275prov=c.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),We=(()=>{class ${constructor(it,Tt,It){this.dialogRef=it,this._elementRef=Tt,this._dialog=It,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=be(this._elementRef,this._dialog.openDialogs))}ngOnChanges(it){const Tt=it._matDialogClose||it._matDialogCloseResult;Tt&&(this.dialogResult=Tt.currentValue)}_onButtonClick(it){ft(this.dialogRef,0===it.screenX&&0===it.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Tt,It){1&Tt&&c.bIt("click",function(ir){return It._onButtonClick(ir)}),2&Tt&&c.BMQ("aria-label",It.ariaLabel||null)("type",It.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[c.OA$]})}}return $})(),Or=(()=>{class ${constructor(it,Tt,It){this._dialogRef=it,this._elementRef=Tt,this._dialog=It}ngOnInit(){this._dialogRef||(this._dialogRef=be(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(Tt){return new(Tt||$)(c.rXU(Ye,8),c.rXU(c.aKT),c.rXU(Me))}}static{this.\u0275dir=c.FsC({type:$,standalone:!0})}}return $})(),lr=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[c.nM4([Xe.uv])]})}}return $})(),Lt=(()=>{class $ extends Or{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let it;return function(It){return(it||(it=c.xGo($)))(It||$)}})()}static{this.\u0275dir=c.FsC({type:$,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Tt,It){2&Tt&&c.AVh("mat-mdc-dialog-actions-align-start","start"===It.align)("mat-mdc-dialog-actions-align-center","center"===It.align)("mat-mdc-dialog-actions-align-end","end"===It.align)},inputs:{align:"align"},standalone:!0,features:[c.Vt3]})}}return $})();function be($,Z){let it=$.nativeElement.parentElement;for(;it&&!it.classList.contains("mat-mdc-dialog-container");)it=it.parentElement;return it?Z.find(Tt=>Tt.id===it.id):null}let Ie=(()=>{class ${static{this.\u0275fac=function(Tt){return new(Tt||$)}}static{this.\u0275mod=c.$C({type:$})}static{this.\u0275inj=c.G2t({providers:[Me],imports:[yt,o.z_,A.jc,kr.yE,kr.yE]})}}return $})()},1997:(i,a,r)=>{"use strict";r.d(a,{q:()=>y,w:()=>k});var o=r(4438),s=r(4085),c=r(6600);let y=(()=>{class A{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(M){this._vertical=(0,s.he)(M)}get inset(){return this._inset}set inset(M){this._inset=(0,s.he)(M)}static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275cmp=o.VBU({type:A,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(T,O){2&T&&(o.BMQ("aria-orientation",O.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",O.vertical)("mat-divider-horizontal",!O.vertical)("mat-divider-inset",O.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[o.aNF],decls:0,vars:0,template:function(T,O){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return A})(),k=(()=>{class A{static{this.\u0275fac=function(T){return new(T||A)}}static{this.\u0275mod=o.$C({type:A})}static{this.\u0275inj=o.G2t({imports:[c.yE,c.yE]})}}return A})()},2102:(i,a,r)=>{"use strict";r.d(a,{xb:()=>Tt,U$:()=>It,TL:()=>Ee,rl:()=>eo,qT:()=>mt,RG:()=>Bo,MV:()=>He,nJ:()=>ft,JW:()=>Me,yw:()=>We});var o=r(4438),s=r(8203),c=r(4085),y=r(6860),k=r(177),A=r(8359),I=r(1413),M=r(7786),T=r(6977),O=r(1985),L=r(5964),Y=r(4668);class q{constructor(Pr){this._box=Pr,this._destroyed=new I.B,this._resizeSubject=new I.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(re=>this._resizeSubject.next(re)))}observe(Pr){return this._elementObservables.has(Pr)||this._elementObservables.set(Pr,new O.c(re=>{const qt=this._resizeSubject.subscribe(re);return this._resizeObserver?.observe(Pr,{box:this._box}),()=>{this._resizeObserver?.unobserve(Pr),qt.unsubscribe(),this._elementObservables.delete(Pr)}}).pipe((0,L.p)(re=>re.some(qt=>qt.target===Pr)),(0,Y.t)({bufferSize:1,refCount:!0}),(0,T.Q)(this._destroyed))),this._elementObservables.get(Pr)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let ct=(()=>{class fr{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,re]of this._observers)re.destroy();this._observers.clear()}observe(re,qt){const Pt=qt?.box||"content-box";return this._observers.has(Pt)||this._observers.set(Pt,new q(Pt)),this._observers.get(Pt).observe(re)}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275prov=o.jDH({token:fr,factory:fr.\u0275fac,providedIn:"root"})}}return fr})();var dt=r(9969),tt=r(2318),vt=r(6600);const Mt=["notch"],$t=["matFormFieldNotchedOutline",""],St=["*"],kt=["textField"],nt=["iconPrefixContainer"],at=["textPrefixContainer"],rt=["iconSuffixContainer"],yt=["textSuffixContainer"],Ct=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Vt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xt(fr,Pr){1&fr&&o.nrm(0,"span",21)}function oe(fr,Pr){if(1&fr&&(o.j41(0,"label",20),o.SdG(1,1),o.DNE(2,Xt,1,0,"span",21),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("floating",re._shouldLabelFloat())("monitorResize",re._hasOutline())("id",re._labelId),o.BMQ("for",re._control.disableAutomaticLabeling?null:re._control.id),o.R7$(2),o.vxM(!re.hideRequiredMarker&&re._control.required?2:-1)}}function Xe(fr,Pr){if(1&fr&&o.DNE(0,oe,3,5,"label",20),2&fr){const re=o.XpG();o.vxM(re._hasFloatingLabel()?0:-1)}}function kr(fr,Pr){1&fr&&o.nrm(0,"div",7)}function gr(fr,Pr){}function wr(fr,Pr){if(1&fr&&o.DNE(0,gr,0,0,"ng-template",13),2&fr){o.XpG(2);const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Wr(fr,Pr){if(1&fr&&(o.j41(0,"div",9),o.DNE(1,wr,1,1,null,13),o.k0s()),2&fr){const re=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",re._shouldLabelFloat()),o.R7$(),o.vxM(re._forceDisplayInfixLabel()?-1:1)}}function xe(fr,Pr){1&fr&&(o.j41(0,"div",10,2),o.SdG(2,2),o.k0s())}function Le(fr,Pr){1&fr&&(o.j41(0,"div",11,3),o.SdG(2,3),o.k0s())}function gt(fr,Pr){}function Nt(fr,Pr){if(1&fr&&o.DNE(0,gt,0,0,"ng-template",13),2&fr){o.XpG();const re=o.sdS(1);o.Y8G("ngTemplateOutlet",re)}}function Se(fr,Pr){1&fr&&(o.j41(0,"div",14,4),o.SdG(2,4),o.k0s())}function Rt(fr,Pr){1&fr&&(o.j41(0,"div",15,5),o.SdG(2,5),o.k0s())}function de(fr,Pr){1&fr&&o.nrm(0,"div",16)}function jt(fr,Pr){if(1&fr&&(o.j41(0,"div",18),o.SdG(1,6),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState)}}function De(fr,Pr){if(1&fr&&(o.j41(0,"mat-hint",22),o.EFF(1),o.k0s()),2&fr){const re=o.XpG(2);o.Y8G("id",re._hintLabelId),o.R7$(),o.JRh(re.hintLabel)}}function Ye(fr,Pr){if(1&fr&&(o.j41(0,"div",19),o.DNE(1,De,2,2,"mat-hint",22),o.SdG(2,7),o.nrm(3,"div",23),o.SdG(4,8),o.k0s()),2&fr){const re=o.XpG();o.Y8G("@transitionMessages",re._subscriptAnimationState),o.R7$(),o.vxM(re.hintLabel?1:-1)}}let ft=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-label"]],standalone:!0})}}return fr})(),pe=0;const Ut=new o.nKC("MatError");let Ee=(()=>{class fr{constructor(re,qt){this.id="mat-mdc-error-"+pe++,re||qt.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(qt){return new(qt||fr)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(qt,Pt){2&qt&&o.Mr5("id",Pt.id)},inputs:{id:"id"},standalone:!0,features:[o.Jv_([{provide:Ut,useExisting:fr}])]})}}return fr})(),ie=0,He=(()=>{class fr{constructor(){this.align="start",this.id="mat-mdc-hint-"+ie++}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(qt,Pt){2&qt&&(o.Mr5("id",Pt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Pt.align))},inputs:{align:"align",id:"id"},standalone:!0})}}return fr})();const Ht=new o.nKC("MatPrefix");let Me=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Ht,useExisting:fr}])]})}}return fr})();const Pe=new o.nKC("MatSuffix");let We=(()=>{class fr{constructor(){this._isText=!1}set _isTextSelector(re){this._isText=!0}static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[o.Jv_([{provide:Pe,useExisting:fr}])]})}}return fr})();const Or=new o.nKC("FloatingLabelParent");let ko=(()=>{class fr{get floating(){return this._floating}set floating(re){this._floating=re,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(re){this._monitorResize=re,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(re){this._elementRef=re,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(ct),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Or),this._resizeSubscription=new A.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function lr(fr){if(null!==fr.offsetParent)return fr.scrollWidth;const re=fr.cloneNode(!0);re.style.setProperty("position","absolute"),re.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(re);const qt=re.scrollWidth;return re.remove(),qt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-floating-label--float-above",Pt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return fr})();const Lt="mdc-line-ripple--active",be="mdc-line-ripple--deactivating";let se=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._handleTransitionEnd=Pt=>{const ue=this._elementRef.nativeElement.classList,mr=ue.contains(be);"opacity"===Pt.propertyName&&mr&&ue.remove(Lt,be)},qt.runOutsideAngular(()=>{re.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const re=this._elementRef.nativeElement.classList;re.remove(be),re.add(Lt)}deactivate(){this._elementRef.nativeElement.classList.add(be)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fr,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return fr})(),Ie=(()=>{class fr{constructor(re,qt){this._elementRef=re,this._ngZone=qt,this.open=!1}ngAfterViewInit(){const re=this._elementRef.nativeElement.querySelector(".mdc-floating-label");re?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(re.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>re.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(re){this._notch.nativeElement.style.width=this.open&&re?`calc(${re}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(qt,Pt){if(1&qt&&o.GBs(Mt,5),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._notch=ue.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(qt,Pt){2&qt&&o.AVh("mdc-notched-outline--notched",Pt.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[o.aNF],attrs:$t,ngContentSelectors:St,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(qt,Pt){1&qt&&(o.NAR(),o.nrm(0,"div",1),o.j41(1,"div",2,0),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fr})();const br={transitionMessages:(0,dt.hZ)("transitionMessages",[(0,dt.wk)("enter",(0,dt.iF)({opacity:1,transform:"translateY(0%)"})),(0,dt.kY)("void => enter",[(0,dt.iF)({opacity:0,transform:"translateY(-5px)"}),(0,dt.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mt=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275dir=o.FsC({type:fr})}}return fr})();const Tt=new o.nKC("MatFormField"),It=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let ye=0,eo=(()=>{class fr{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(re){this._hideRequiredMarker=(0,c.he)(re)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(re){re!==this._floatLabel&&(this._floatLabel=re,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(re){const qt=this._appearance;this._appearance=re||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==qt&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(re){this._subscriptSizing=re||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(re){this._hintLabel=re,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(re){this._explicitFormFieldControl=re}constructor(re,qt,Pt,ue,mr,Qr,Ro,Wo){this._elementRef=re,this._changeDetectorRef=qt,this._dir=ue,this._platform=mr,this._defaults=Qr,this._animationMode=Ro,this._labelChild=(0,o.sbv)(ft),this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+ye++,this._hintLabelId="mat-mdc-hint-"+ye++,this._subscriptAnimationState="",this._destroyed=new I.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=(0,o.WQX)(o.zZn),this.getLabelId=(0,o.EWP)(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=(0,o.EWP)(()=>!!this._labelChild()),Qr&&(Qr.appearance&&(this.appearance=Qr.appearance),this._hideRequiredMarker=!!Qr?.hideRequiredMarker,Qr.color&&(this.color=Qr.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(re){const qt=this._control,Pt="mat-mdc-form-field-type-";re&&this._elementRef.nativeElement.classList.remove(Pt+re.controlType),qt.controlType&&this._elementRef.nativeElement.classList.add(Pt+qt.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=qt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),qt.ngControl&&qt.ngControl.valueChanges&&(this._valueChanges=qt.ngControl.valueChanges.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(re=>!re._isText),this._hasTextPrefix=!!this._prefixChildren.find(re=>re._isText),this._hasIconSuffix=!!this._suffixChildren.find(re=>!re._isText),this._hasTextSuffix=!!this._suffixChildren.find(re=>re._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,M.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),(0,o.Tzd)(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe((0,T.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(re){const qt=this._control?this._control.ngControl:null;return qt&&qt[re]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let re=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&re.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const qt=this._hintChildren?this._hintChildren.find(ue=>"start"===ue.align):null,Pt=this._hintChildren?this._hintChildren.find(ue=>"end"===ue.align):null;qt?re.push(qt.id):this._hintLabel&&re.push(this._hintLabelId),Pt&&re.push(Pt.id)}else this._errorChildren&&re.push(...this._errorChildren.map(qt=>qt.id));this._control.setDescribedByIds(re)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const re=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(re.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const qt=this._iconPrefixContainer?.nativeElement,Pt=this._textPrefixContainer?.nativeElement,ue=this._iconSuffixContainer?.nativeElement,mr=this._textSuffixContainer?.nativeElement,Qr=qt?.getBoundingClientRect().width??0,Ro=Pt?.getBoundingClientRect().width??0,Wo=ue?.getBoundingClientRect().width??0,tr=mr?.getBoundingClientRect().width??0;re.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Qr+Ro}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${Qr+Ro+Wo+tr}px)`)}_isAttachedToDom(){const re=this._elementRef.nativeElement;if(re.getRootNode){const qt=re.getRootNode();return qt&&qt!==re}return document.documentElement.contains(re)}static{this.\u0275fac=function(qt){return new(qt||fr)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(s.dS),o.rXU(y.OD),o.rXU(It,8),o.rXU(o.bc$,8),o.rXU(k.qQ))}}static{this.\u0275cmp=o.VBU({type:fr,selectors:[["mat-form-field"]],contentQueries:function(qt,Pt,ue){if(1&qt&&(o.C6U(ue,Pt._labelChild,ft,5),o.wni(ue,mt,5),o.wni(ue,Ht,5),o.wni(ue,Pe,5),o.wni(ue,Ut,5),o.wni(ue,He,5)),2&qt){let mr;o.NyB(),o.mGM(mr=o.lsd())&&(Pt._formFieldControl=mr.first),o.mGM(mr=o.lsd())&&(Pt._prefixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._suffixChildren=mr),o.mGM(mr=o.lsd())&&(Pt._errorChildren=mr),o.mGM(mr=o.lsd())&&(Pt._hintChildren=mr)}},viewQuery:function(qt,Pt){if(1&qt&&(o.GBs(kt,5),o.GBs(nt,5),o.GBs(at,5),o.GBs(rt,5),o.GBs(yt,5),o.GBs(ko,5),o.GBs(Ie,5),o.GBs(se,5)),2&qt){let ue;o.mGM(ue=o.lsd())&&(Pt._textField=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textPrefixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._iconSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._textSuffixContainer=ue.first),o.mGM(ue=o.lsd())&&(Pt._floatingLabel=ue.first),o.mGM(ue=o.lsd())&&(Pt._notchedOutline=ue.first),o.mGM(ue=o.lsd())&&(Pt._lineRipple=ue.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(qt,Pt){2&qt&&o.AVh("mat-mdc-form-field-label-always-float",Pt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Pt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Pt._hasIconSuffix)("mat-form-field-invalid",Pt._control.errorState)("mat-form-field-disabled",Pt._control.disabled)("mat-form-field-autofilled",Pt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Pt._animationMode)("mat-form-field-appearance-fill","fill"==Pt.appearance)("mat-form-field-appearance-outline","outline"==Pt.appearance)("mat-form-field-hide-placeholder",Pt._hasFloatingLabel()&&!Pt._shouldLabelFloat())("mat-focused",Pt._control.focused)("mat-primary","accent"!==Pt.color&&"warn"!==Pt.color)("mat-accent","accent"===Pt.color)("mat-warn","warn"===Pt.color)("ng-untouched",Pt._shouldForward("untouched"))("ng-touched",Pt._shouldForward("touched"))("ng-pristine",Pt._shouldForward("pristine"))("ng-dirty",Pt._shouldForward("dirty"))("ng-valid",Pt._shouldForward("valid"))("ng-invalid",Pt._shouldForward("invalid"))("ng-pending",Pt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[o.Jv_([{provide:Tt,useExisting:fr},{provide:Or,useExisting:fr}]),o.aNF],ngContentSelectors:Vt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(qt,Pt){if(1&qt){const ue=o.RV6();o.NAR(Ct),o.DNE(0,Xe,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",6,1),o.bIt("click",function(Qr){return o.eBV(ue),o.Njj(Pt._control.onContainerClick(Qr))}),o.DNE(4,kr,1,0,"div",7),o.j41(5,"div",8),o.DNE(6,Wr,2,2,"div",9)(7,xe,3,0,"div",10)(8,Le,3,0,"div",11),o.j41(9,"div",12),o.DNE(10,Nt,1,1,null,13),o.SdG(11),o.k0s(),o.DNE(12,Se,3,0,"div",14)(13,Rt,3,0,"div",15),o.k0s(),o.DNE(14,de,1,0,"div",16),o.k0s(),o.j41(15,"div",17),o.DNE(16,jt,2,1,"div",18)(17,Ye,5,2,"div",19),o.k0s()}if(2&qt){let ue;o.R7$(2),o.AVh("mdc-text-field--filled",!Pt._hasOutline())("mdc-text-field--outlined",Pt._hasOutline())("mdc-text-field--no-label",!Pt._hasFloatingLabel())("mdc-text-field--disabled",Pt._control.disabled)("mdc-text-field--invalid",Pt._control.errorState),o.R7$(2),o.vxM(Pt._hasOutline()||Pt._control.disabled?-1:4),o.R7$(2),o.vxM(Pt._hasOutline()?6:-1),o.R7$(),o.vxM(Pt._hasIconPrefix?7:-1),o.R7$(),o.vxM(Pt._hasTextPrefix?8:-1),o.R7$(2),o.vxM(!Pt._hasOutline()||Pt._forceDisplayInfixLabel()?10:-1),o.R7$(2),o.vxM(Pt._hasTextSuffix?12:-1),o.R7$(),o.vxM(Pt._hasIconSuffix?13:-1),o.R7$(),o.vxM(Pt._hasOutline()?-1:14),o.R7$(),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Pt.subscriptSizing),o.R7$(),o.vxM("error"===(ue=Pt._getDisplayedMessages())?16:"hint"===ue?17:-1)}},dependencies:[ko,Ie,k.T3,se,He],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[br.transitionMessages]},changeDetection:0})}}return fr})(),Bo=(()=>{class fr{static{this.\u0275fac=function(qt){return new(qt||fr)}}static{this.\u0275mod=o.$C({type:fr})}static{this.\u0275inj=o.G2t({imports:[vt.yE,k.MD,tt.w5,vt.yE]})}}return fr})()},9213:(i,a,r)=>{"use strict";r.d(a,{An:()=>Le,m_:()=>gt,tp:()=>rt});var o=r(4438),s=r(6600),c=r(177),y=r(7673),k=r(8810),A=r(7468),I=r(8359),M=r(8141),T=r(6354),O=r(9437),L=r(980),Y=r(7647),z=r(6697),q=r(1626),ct=r(345);const dt=["*"];let tt;function Mt(Nt){return function vt(){if(void 0===tt&&(tt=null,typeof window<"u")){const Nt=window;void 0!==Nt.trustedTypes&&(tt=Nt.trustedTypes.createPolicy("angular#components",{createHTML:Se=>Se}))}return tt}()?.createHTML(Nt)||Nt}function $t(Nt){return Error(`Unable to find icon with the name "${Nt}"`)}function kt(Nt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Nt}".`)}function nt(Nt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Nt}".`)}class at{constructor(Se,Rt,de){this.url=Se,this.svgText=Rt,this.options=de}}let rt=(()=>{class Nt{constructor(Rt,de,jt,De){this._httpClient=Rt,this._sanitizer=de,this._errorHandler=De,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=jt}addSvgIcon(Rt,de,jt){return this.addSvgIconInNamespace("",Rt,de,jt)}addSvgIconLiteral(Rt,de,jt){return this.addSvgIconLiteralInNamespace("",Rt,de,jt)}addSvgIconInNamespace(Rt,de,jt,De){return this._addSvgIconConfig(Rt,de,new at(jt,null,De))}addSvgIconResolver(Rt){return this._resolvers.push(Rt),this}addSvgIconLiteralInNamespace(Rt,de,jt,De){const Ye=this._sanitizer.sanitize(o.WPN.HTML,jt);if(!Ye)throw nt(jt);const ft=Mt(Ye);return this._addSvgIconConfig(Rt,de,new at("",ft,De))}addSvgIconSet(Rt,de){return this.addSvgIconSetInNamespace("",Rt,de)}addSvgIconSetLiteral(Rt,de){return this.addSvgIconSetLiteralInNamespace("",Rt,de)}addSvgIconSetInNamespace(Rt,de,jt){return this._addSvgIconSetConfig(Rt,new at(de,null,jt))}addSvgIconSetLiteralInNamespace(Rt,de,jt){const De=this._sanitizer.sanitize(o.WPN.HTML,de);if(!De)throw nt(de);const Ye=Mt(De);return this._addSvgIconSetConfig(Rt,new at("",Ye,jt))}registerFontClassAlias(Rt,de=Rt){return this._fontCssClassesByAlias.set(Rt,de),this}classNameForFontAlias(Rt){return this._fontCssClassesByAlias.get(Rt)||Rt}setDefaultFontSetClass(...Rt){return this._defaultFontSetClass=Rt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Rt){const de=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Rt);if(!de)throw kt(Rt);const jt=this._cachedIconsByUrl.get(de);return jt?(0,y.of)(Vt(jt)):this._loadSvgIconFromConfig(new at(Rt,null)).pipe((0,M.M)(De=>this._cachedIconsByUrl.set(de,De)),(0,T.T)(De=>Vt(De)))}getNamedSvgIcon(Rt,de=""){const jt=Xt(de,Rt);let De=this._svgIconConfigs.get(jt);if(De)return this._getSvgFromConfig(De);if(De=this._getIconConfigFromResolvers(de,Rt),De)return this._svgIconConfigs.set(jt,De),this._getSvgFromConfig(De);const Ye=this._iconSetConfigs.get(de);return Ye?this._getSvgFromIconSetConfigs(Rt,Ye):(0,k.$)($t(jt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Rt){return Rt.svgText?(0,y.of)(Vt(this._svgElementFromConfig(Rt))):this._loadSvgIconFromConfig(Rt).pipe((0,T.T)(de=>Vt(de)))}_getSvgFromIconSetConfigs(Rt,de){const jt=this._extractIconWithNameFromAnySet(Rt,de);if(jt)return(0,y.of)(jt);const De=de.filter(Ye=>!Ye.svgText).map(Ye=>this._loadSvgIconSetFromConfig(Ye).pipe((0,O.W)(ft=>{const Ut=`Loading icon set URL: ${this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Ye.url)} failed: ${ft.message}`;return this._errorHandler.handleError(new Error(Ut)),(0,y.of)(null)})));return(0,A.p)(De).pipe((0,T.T)(()=>{const Ye=this._extractIconWithNameFromAnySet(Rt,de);if(!Ye)throw $t(Rt);return Ye}))}_extractIconWithNameFromAnySet(Rt,de){for(let jt=de.length-1;jt>=0;jt--){const De=de[jt];if(De.svgText&&De.svgText.toString().indexOf(Rt)>-1){const Ye=this._svgElementFromConfig(De),ft=this._extractSvgIconFromSet(Ye,Rt,De.options);if(ft)return ft}}return null}_loadSvgIconFromConfig(Rt){return this._fetchIcon(Rt).pipe((0,M.M)(de=>Rt.svgText=de),(0,T.T)(()=>this._svgElementFromConfig(Rt)))}_loadSvgIconSetFromConfig(Rt){return Rt.svgText?(0,y.of)(null):this._fetchIcon(Rt).pipe((0,M.M)(de=>Rt.svgText=de))}_extractSvgIconFromSet(Rt,de,jt){const De=Rt.querySelector(`[id="${de}"]`);if(!De)return null;const Ye=De.cloneNode(!0);if(Ye.removeAttribute("id"),"svg"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(Ye,jt);if("symbol"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ye),jt);const ft=this._svgElementFromString(Mt(""));return ft.appendChild(Ye),this._setSvgAttributes(ft,jt)}_svgElementFromString(Rt){const de=this._document.createElement("DIV");de.innerHTML=Rt;const jt=de.querySelector("svg");if(!jt)throw Error(" tag not found");return jt}_toSvgElement(Rt){const de=this._svgElementFromString(Mt("")),jt=Rt.attributes;for(let De=0;DeMt(Ut)),(0,L.j)(()=>this._inProgressUrlFetches.delete(Ye)),(0,Y.u)());return this._inProgressUrlFetches.set(Ye,pe),pe}_addSvgIconConfig(Rt,de,jt){return this._svgIconConfigs.set(Xt(Rt,de),jt),this}_addSvgIconSetConfig(Rt,de){const jt=this._iconSetConfigs.get(Rt);return jt?jt.push(de):this._iconSetConfigs.set(Rt,[de]),this}_svgElementFromConfig(Rt){if(!Rt.svgElement){const de=this._svgElementFromString(Rt.svgText);this._setSvgAttributes(de,Rt.options),Rt.svgElement=de}return Rt.svgElement}_getIconConfigFromResolvers(Rt,de){for(let jt=0;jtSe?Se.pathname+Se.search:""}}}),wr=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Wr=wr.map(Nt=>`[${Nt}]`).join(", "),xe=/^url\(['"]?#(.*?)['"]?\)$/;let Le=(()=>{class Nt{get color(){return this._color||this._defaultColor}set color(Rt){this._color=Rt}get svgIcon(){return this._svgIcon}set svgIcon(Rt){Rt!==this._svgIcon&&(Rt?this._updateSvgIcon(Rt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Rt)}get fontSet(){return this._fontSet}set fontSet(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontSet&&(this._fontSet=de,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Rt){const de=this._cleanupFontValue(Rt);de!==this._fontIcon&&(this._fontIcon=de,this._updateFontIconClasses())}constructor(Rt,de,jt,De,Ye,ft){this._elementRef=Rt,this._iconRegistry=de,this._location=De,this._errorHandler=Ye,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=I.yU.EMPTY,ft&&(ft.color&&(this.color=this._defaultColor=ft.color),ft.fontSet&&(this.fontSet=ft.fontSet)),jt||Rt.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Rt){if(!Rt)return["",""];const de=Rt.split(":");switch(de.length){case 1:return["",de[0]];case 2:return de;default:throw Error(`Invalid icon name: "${Rt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Rt=this._elementsWithExternalReferences;if(Rt&&Rt.size){const de=this._location.getPathname();de!==this._previousPath&&(this._previousPath=de,this._prependPathToReferences(de))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Rt){this._clearSvgElement();const de=this._location.getPathname();this._previousPath=de,this._cacheChildrenWithExternalReferences(Rt),this._prependPathToReferences(de),this._elementRef.nativeElement.appendChild(Rt)}_clearSvgElement(){const Rt=this._elementRef.nativeElement;let de=Rt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();de--;){const jt=Rt.childNodes[de];(1!==jt.nodeType||"svg"===jt.nodeName.toLowerCase())&&jt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Rt=this._elementRef.nativeElement,de=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(jt=>jt.length>0);this._previousFontSetClass.forEach(jt=>Rt.classList.remove(jt)),de.forEach(jt=>Rt.classList.add(jt)),this._previousFontSetClass=de,this.fontIcon!==this._previousFontIconClass&&!de.includes("mat-ligature-font")&&(this._previousFontIconClass&&Rt.classList.remove(this._previousFontIconClass),this.fontIcon&&Rt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Rt){return"string"==typeof Rt?Rt.trim().split(" ")[0]:Rt}_prependPathToReferences(Rt){const de=this._elementsWithExternalReferences;de&&de.forEach((jt,De)=>{jt.forEach(Ye=>{De.setAttribute(Ye.name,`url('${Rt}#${Ye.value}')`)})})}_cacheChildrenWithExternalReferences(Rt){const de=Rt.querySelectorAll(Wr),jt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let De=0;De{const ft=de[De],pe=ft.getAttribute(Ye),Ut=pe?pe.match(xe):null;if(Ut){let Ee=jt.get(ft);Ee||(Ee=[],jt.set(ft,Ee)),Ee.push({name:Ye,value:Ut[1]})}})}_updateSvgIcon(Rt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Rt){const[de,jt]=this._splitIconName(Rt);de&&(this._svgNamespace=de),jt&&(this._svgName=jt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(jt,de).pipe((0,z.s)(1)).subscribe(De=>this._setSvgElement(De),De=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${de}:${jt}! ${De.message}`))})}}static{this.\u0275fac=function(de){return new(de||Nt)(o.rXU(o.aKT),o.rXU(rt),o.kS0("aria-hidden"),o.rXU(kr),o.rXU(o.zcH),o.rXU(Xe,8))}}static{this.\u0275cmp=o.VBU({type:Nt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(de,jt){2&de&&(o.BMQ("data-mat-icon-type",jt._usingFontIcon()?"font":"svg")("data-mat-icon-name",jt._svgName||jt.fontIcon)("data-mat-icon-namespace",jt._svgNamespace||jt.fontSet)("fontIcon",jt._usingFontIcon()?jt.fontIcon:null),o.HbH(jt.color?"mat-"+jt.color:""),o.AVh("mat-icon-inline",jt.inline)("mat-icon-no-color","primary"!==jt.color&&"accent"!==jt.color&&"warn"!==jt.color))},inputs:{color:"color",inline:[2,"inline","inline",o.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[o.GFd,o.aNF],ngContentSelectors:dt,decls:1,vars:0,template:function(de,jt){1&de&&(o.NAR(),o.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return Nt})(),gt=(()=>{class Nt{static{this.\u0275fac=function(de){return new(de||Nt)}}static{this.\u0275mod=o.$C({type:Nt})}static{this.\u0275inj=o.G2t({imports:[s.yE,s.yE]})}}return Nt})()},9042:(i,a,r)=>{"use strict";r.d(a,{fS:()=>q,fg:()=>z});var o=r(4085),s=r(6860),c=r(7403),y=r(4438),k=r(9417),A=r(6600),I=r(2102),M=r(1413);const O=new y.nKC("MAT_INPUT_VALUE_ACCESSOR"),L=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0,z=(()=>{class ct{get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,o.he)(tt),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(tt){this._id=tt||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(k.k0.required)??!1}set required(tt){this._required=(0,o.he)(tt)}get type(){return this._type}set type(tt){this._type=tt||"text",this._validateType(),!this._isTextarea&&(0,s.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(tt){this._errorStateTracker.matcher=tt}get value(){return this._inputValueAccessor.value}set value(tt){tt!==this.value&&(this._inputValueAccessor.value=tt,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(tt){this._readonly=(0,o.he)(tt)}get errorState(){return this._errorStateTracker.errorState}set errorState(tt){this._errorStateTracker.errorState=tt}constructor(tt,vt,Mt,$t,St,kt,nt,at,rt,yt){this._elementRef=tt,this._platform=vt,this.ngControl=Mt,this._autofillMonitor=at,this._ngZone=rt,this._formField=yt,this._uid="mat-input-"+Y++,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new M.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Xt=>(0,s.MU)().has(Xt)),this._iOSKeyupListener=Xt=>{const oe=Xt.target;!oe.value&&0===oe.selectionStart&&0===oe.selectionEnd&&(oe.setSelectionRange(1,1),oe.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};const Ct=this._elementRef.nativeElement,Vt=Ct.nodeName.toLowerCase();this._inputValueAccessor=nt||Ct,this._previousNativeValue=this.value,this.id=this.id,vt.IOS&&rt.runOutsideAngular(()=>{tt.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new A.X0(kt,Mt,St,$t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Vt,this._isTextarea="textarea"===Vt,this._isInFormField=!!yt,this._isNativeSelect&&(this.controlType=Ct.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(tt=>{this.autofilled=tt.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(tt){this._elementRef.nativeElement.focus(tt)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(tt){tt!==this.focused&&(this.focused=tt,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const tt=this._elementRef.nativeElement.value;this._previousNativeValue!==tt&&(this._previousNativeValue=tt,this.stateChanges.next())}_dirtyCheckPlaceholder(){const tt=this._getPlaceholder();if(tt!==this._previousPlaceholder){const vt=this._elementRef.nativeElement;this._previousPlaceholder=tt,tt?vt.setAttribute("placeholder",tt):vt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){L.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let tt=this._elementRef.nativeElement.validity;return tt&&tt.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const tt=this._elementRef.nativeElement,vt=tt.options[0];return this.focused||tt.multiple||!this.empty||!!(tt.selectedIndex>-1&&vt&&vt.label)}return this.focused||!this.empty}setDescribedByIds(tt){tt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",tt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const tt=this._elementRef.nativeElement;return this._isNativeSelect&&(tt.multiple||tt.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&"number"!==this._type&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(vt){return new(vt||ct)(y.rXU(y.aKT),y.rXU(s.OD),y.rXU(k.vO,10),y.rXU(k.cV,8),y.rXU(k.j4,8),y.rXU(A.es),y.rXU(O,10),y.rXU(c.P8),y.rXU(y.SKi),y.rXU(I.xb,8))}}static{this.\u0275dir=y.FsC({type:ct,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(vt,Mt){1&vt&&y.bIt("focus",function(){return Mt._focusChanged(!0)})("blur",function(){return Mt._focusChanged(!1)})("input",function(){return Mt._onInput()}),2&vt&&(y.Mr5("id",Mt.id)("disabled",Mt.disabled)("required",Mt.required),y.BMQ("name",Mt.name||null)("readonly",Mt.readonly&&!Mt._isNativeSelect||null)("aria-invalid",Mt.empty&&Mt.required?null:Mt.errorState)("aria-required",Mt.required)("id",Mt.id),y.AVh("mat-input-server",Mt._isServer)("mat-mdc-form-field-textarea-control",Mt._isInFormField&&Mt._isTextarea)("mat-mdc-form-field-input-control",Mt._isInFormField)("mdc-text-field__input",Mt._isInFormField)("mat-mdc-native-select-inline",Mt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[y.Jv_([{provide:I.qT,useExisting:ct}]),y.OA$]})}}return ct})(),q=(()=>{class ct{static{this.\u0275fac=function(vt){return new(vt||ct)}}static{this.\u0275mod=y.$C({type:ct})}static{this.\u0275inj=y.G2t({imports:[A.yE,I.RG,I.RG,c.EE,A.yE]})}}return ct})()},9115:(i,a,r)=>{"use strict";r.d(a,{Cn:()=>Ee,Cp:()=>Ut,fb:()=>oe,kk:()=>de});var o=r(4438),s=r(9888),c=r(7336),y=r(1413),k=r(7786),A=r(8359),I=r(7673),M=r(5007),T=r(9172),O=r(5558),L=r(6977),Y=r(5964),z=r(6697),q=r(1986),ct=r(177),dt=r(6600),tt=r(6939),vt=r(9969),Mt=r(8203),$t=r(7987),St=r(6860),kt=r(5542);const nt=["mat-menu-item",""],at=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],rt=["mat-icon, [matMenuItemIcon]","*"];function yt(ie,He){1&ie&&(o.qSk(),o.j41(0,"svg",2),o.nrm(1,"polygon",3),o.k0s())}const Ct=["*"];function Vt(ie,He){if(1&ie){const Ht=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._handleKeydown(Pe))})("click",function(){o.eBV(Ht);const Pe=o.XpG();return o.Njj(Pe.closed.emit("click"))})("@transformMenu.start",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._onAnimationStart(Pe))})("@transformMenu.done",function(Pe){o.eBV(Ht);const We=o.XpG();return o.Njj(We._onAnimationDone(Pe))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&ie){const Ht=o.XpG();o.HbH(Ht._classList),o.Y8G("id",Ht.panelId)("@transformMenu",Ht._panelAnimationState),o.BMQ("aria-label",Ht.ariaLabel||null)("aria-labelledby",Ht.ariaLabelledby||null)("aria-describedby",Ht.ariaDescribedby||null)}}const Xt=new o.nKC("MAT_MENU_PANEL");let oe=(()=>{class ie{constructor(Ht,Me,Pe,We,Or){this._elementRef=Ht,this._document=Me,this._focusMonitor=Pe,this._parentMenu=We,this._changeDetectorRef=Or,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new y.B,this._focused=new y.B,this._highlighted=!1,this._triggersSubmenu=!1,We?.addItem?.(this)}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._getHostElement(),Ht,Me):this._getHostElement().focus(Me),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ht){this.disabled&&(Ht.preventDefault(),Ht.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ht=this._elementRef.nativeElement.cloneNode(!0),Me=Ht.querySelectorAll("mat-icon, .material-icons");for(let Pe=0;Pe enter",(0,vt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,vt.iF)({opacity:1,transform:"scale(1)"}))),(0,vt.kY)("* => void",(0,vt.i0)("100ms 25ms linear",(0,vt.iF)({opacity:0})))]),fadeInItems:(0,vt.hZ)("fadeInItems",[(0,vt.wk)("showing",(0,vt.iF)({opacity:1})),(0,vt.kY)("void => *",[(0,vt.iF)({opacity:0}),(0,vt.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Nt=0;const Se=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Rt(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let de=(()=>{class ie{get xPosition(){return this._xPosition}set xPosition(Ht){this._xPosition=Ht,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ht){this._yPosition=Ht,this.setPositionClasses()}set panelClass(Ht){const Me=this._previousPanelClass,Pe={...this._classList};Me&&Me.length&&Me.split(" ").forEach(We=>{Pe[We]=!1}),this._previousPanelClass=Ht,Ht&&Ht.length&&(Ht.split(" ").forEach(We=>{Pe[We]=!0}),this._elementRef.nativeElement.className=""),this._classList=Pe}get classList(){return this.panelClass}set classList(Ht){this.panelClass=Ht}constructor(Ht,Me,Pe,We){this._elementRef=Ht,this._changeDetectorRef=We,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new y.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Nt++,this._injector=(0,o.WQX)(o.zZn),this.overlayPanelClass=Pe.overlayPanelClass||"",this._xPosition=Pe.xPosition,this._yPosition=Pe.yPosition,this.backdropClass=Pe.backdropClass,this.overlapTrigger=Pe.overlapTrigger,this.hasBackdrop=Pe.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,T.Z)(this._directDescendantItems),(0,O.n)(Ht=>(0,k.h)(...Ht.map(Me=>Me._focused)))).subscribe(Ht=>this._keyManager.updateActiveItem(Ht)),this._directDescendantItems.changes.subscribe(Ht=>{const Me=this._keyManager;if("enter"===this._panelAnimationState&&Me.activeItem?._hasFocus()){const Pe=Ht.toArray(),We=Math.max(0,Math.min(Pe.length-1,Me.activeItemIndex||0));Pe[We]&&!Pe[We].disabled?Me.setActiveItem(We):Me.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe((0,T.Z)(this._directDescendantItems),(0,O.n)(Me=>(0,k.h)(...Me.map(Pe=>Pe._hovered))))}addItem(Ht){}removeItem(Ht){}_handleKeydown(Ht){const Me=Ht.keyCode,Pe=this._keyManager;switch(Me){case c._f:(0,c.rp)(Ht)||(Ht.preventDefault(),this.closed.emit("keydown"));break;case c.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case c.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Me===c.i7||Me===c.n6)&&Pe.setFocusOrigin("keyboard"),void Pe.onKeydown(Ht)}Ht.stopPropagation()}focusFirstItem(Ht="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,o.mal)(()=>{let Me=null;if(this._directDescendantItems.length&&(Me=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!Me||!Me.contains(document.activeElement)){const Pe=this._keyManager;Pe.setFocusOrigin(Ht).setFirstItemActive(),!Pe.activeItem&&Me&&Me.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ht){if(null===this._baseElevation){const ko=("function"==typeof getComputedStyle?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(ko)}const Me=Math.min(this._baseElevation+Ht,24),Pe=`${this._elevationPrefix}${Me}`,We=Object.keys(this._classList).find(Or=>Or.startsWith(this._elevationPrefix));if(!We||We===this._previousElevation){const Or={...this._classList};this._previousElevation&&(Or[this._previousElevation]=!1),Or[Pe]=!0,this._previousElevation=Pe,this._classList=Or}}setPositionClasses(Ht=this.xPosition,Me=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ht,"mat-menu-after":"after"===Ht,"mat-menu-above":"above"===Me,"mat-menu-below":"below"===Me},this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ht){this._animationDone.next(Ht),this._isAnimating=!1}_onAnimationStart(Ht){this._isAnimating=!0,"enter"===Ht.toState&&0===this._keyManager.activeItemIndex&&(Ht.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,T.Z)(this._allItems)).subscribe(Ht=>{this._directDescendantItems.reset(Ht.filter(Me=>Me._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Se),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:ie,selectors:[["mat-menu"]],contentQueries:function(Me,Pe,We){if(1&Me&&(o.wni(We,wr,5),o.wni(We,oe,5),o.wni(We,oe,4)),2&Me){let Or;o.mGM(Or=o.lsd())&&(Pe.lazyContent=Or.first),o.mGM(Or=o.lsd())&&(Pe._allItems=Or),o.mGM(Or=o.lsd())&&(Pe.items=Or)}},viewQuery:function(Me,Pe){if(1&Me&&o.GBs(o.C4Q,5),2&Me){let We;o.mGM(We=o.lsd())&&(Pe.templateRef=We.first)}},hostVars:3,hostBindings:function(Me,Pe){2&Me&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",o.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ht=>null==Ht?null:(0,o.L39)(Ht)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[o.Jv_([{provide:Xt,useExisting:ie}]),o.GFd,o.aNF],ngContentSelectors:Ct,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(Me,Pe){1&Me&&(o.NAR(),o.DNE(0,Vt,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0})}}return ie})();const jt=new o.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const ie=(0,o.WQX)($t.hJ);return()=>ie.scrollStrategies.reposition()}}),Ye={provide:jt,deps:[$t.hJ],useFactory:function De(ie){return()=>ie.scrollStrategies.reposition()}},ft=(0,St.BQ)({passive:!0});let Ut=(()=>{class ie{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ht){this.menu=Ht}get menu(){return this._menu}set menu(Ht){Ht!==this._menu&&(this._menu=Ht,this._menuCloseSubscription.unsubscribe(),Ht&&(this._menuCloseSubscription=Ht.close.subscribe(Me=>{this._destroyMenu(Me),("click"===Me||"tab"===Me)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Me)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ht,Me,Pe,We,Or,ko,lr,Lt,be){this._overlay=Ht,this._element=Me,this._viewContainerRef=Pe,this._menuItemInstance=ko,this._dir=lr,this._focusMonitor=Lt,this._ngZone=be,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=A.yU.EMPTY,this._hoverSubscription=A.yU.EMPTY,this._menuCloseSubscription=A.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=se=>{(0,s.w6)(se)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=We,this._parentMaterialMenu=Or instanceof de?Or:void 0,Me.nativeElement.addEventListener("touchstart",this._handleTouchStart,ft)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ft),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ht=this.menu;if(this._menuOpen||!Ht)return;const Me=this._createOverlay(Ht),Pe=Me.getConfig(),We=Pe.positionStrategy;this._setPosition(Ht,We),Pe.hasBackdrop=null==Ht.hasBackdrop?!this.triggersSubmenu():Ht.hasBackdrop,Me.attach(this._getPortal(Ht)),Ht.lazyContent&&Ht.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ht),Ht instanceof de&&(Ht._startAnimation(),Ht._directDescendantItems.changes.pipe((0,L.Q)(Ht.close)).subscribe(()=>{We.withLockedPosition(!1).reapplyLastPosition(),We.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ht,Me){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._element,Ht,Me):this._element.nativeElement.focus(Me)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ht){if(!this._overlayRef||!this.menuOpen)return;const Me=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ht||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,Me instanceof de?(Me._resetAnimation(),Me.lazyContent?Me._animationDone.pipe((0,Y.p)(Pe=>"void"===Pe.toState),(0,z.s)(1),(0,L.Q)(Me.lazyContent._attached)).subscribe({next:()=>Me.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),Me?.lazyContent?.detach())}_initMenu(Ht){Ht.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ht.direction=this.dir,this._setMenuElevation(Ht),Ht.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ht){if(Ht.setElevation){let Me=0,Pe=Ht.parentMenu;for(;Pe;)Me++,Pe=Pe.parentMenu;Ht.setElevation(Me)}}_setIsMenuOpen(Ht){Ht!==this._menuOpen&&(this._menuOpen=Ht,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ht),this._changeDetectorRef.markForCheck())}_createOverlay(Ht){if(!this._overlayRef){const Me=this._getOverlayConfig(Ht);this._subscribeToPositions(Ht,Me.positionStrategy),this._overlayRef=this._overlay.create(Me),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ht){return new $t.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ht.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ht.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ht,Me){Ht.setPositionClasses&&Me.positionChanges.subscribe(Pe=>{const We="start"===Pe.connectionPair.overlayX?"after":"before",Or="top"===Pe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ht.setPositionClasses(We,Or)):Ht.setPositionClasses(We,Or)})}_setPosition(Ht,Me){let[Pe,We]="before"===Ht.xPosition?["end","start"]:["start","end"],[Or,ko]="above"===Ht.yPosition?["bottom","top"]:["top","bottom"],[lr,Lt]=[Or,ko],[be,se]=[Pe,We],Ie=0;if(this.triggersSubmenu()){if(se=Pe="before"===Ht.xPosition?"start":"end",We=be="end"===Pe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const br=this._parentMaterialMenu.items.first;this._parentInnerPadding=br?br._getHostElement().offsetTop:0}Ie="bottom"===Or?this._parentInnerPadding:-this._parentInnerPadding}}else Ht.overlapTrigger||(lr="top"===Or?"bottom":"top",Lt="top"===ko?"bottom":"top");Me.withPositions([{originX:Pe,originY:lr,overlayX:be,overlayY:Or,offsetY:Ie},{originX:We,originY:lr,overlayX:se,overlayY:Or,offsetY:Ie},{originX:Pe,originY:Lt,overlayX:be,overlayY:ko,offsetY:-Ie},{originX:We,originY:Lt,overlayX:se,overlayY:ko,offsetY:-Ie}])}_menuClosingActions(){const Ht=this._overlayRef.backdropClick(),Me=this._overlayRef.detachments(),Pe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,I.of)(),We=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Y.p)(Or=>Or!==this._menuItemInstance),(0,Y.p)(()=>this._menuOpen)):(0,I.of)();return(0,k.h)(Ht,Pe,We,Me)}_handleMousedown(Ht){(0,s._G)(Ht)||(this._openedBy=0===Ht.button?"mouse":void 0,this.triggersSubmenu()&&Ht.preventDefault())}_handleKeydown(Ht){const Me=Ht.keyCode;(Me===c.Fm||Me===c.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Me===c.LE&&"ltr"===this.dir||Me===c.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ht){this.triggersSubmenu()?(Ht.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Y.p)(Ht=>Ht===this._menuItemInstance&&!Ht.disabled),(0,q.c)(0,M.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof de&&this.menu._isAnimating?this.menu._animationDone.pipe((0,z.s)(1),(0,q.c)(0,M.$),(0,L.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ht){return(!this._portal||this._portal.templateRef!==Ht.templateRef)&&(this._portal=new tt.VA(Ht.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(Me){return new(Me||ie)(o.rXU($t.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(jt),o.rXU(Xt,8),o.rXU(oe,10),o.rXU(Mt.dS,8),o.rXU(s.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:ie,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Me,Pe){1&Me&&o.bIt("click",function(Or){return Pe._handleClick(Or)})("mousedown",function(Or){return Pe._handleMousedown(Or)})("keydown",function(Or){return Pe._handleKeydown(Or)}),2&Me&&o.BMQ("aria-haspopup",Pe.menu?"menu":null)("aria-expanded",Pe.menuOpen)("aria-controls",Pe.menuOpen?Pe.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return ie})(),Ee=(()=>{class ie{static{this.\u0275fac=function(Me){return new(Me||ie)}}static{this.\u0275mod=o.$C({type:ie})}static{this.\u0275inj=o.G2t({providers:[Ye],imports:[ct.MD,dt.pZ,dt.yE,$t.z_,kt.Gj,dt.yE]})}}return ie})()},7575:(i,a,r)=>{"use strict";r.d(a,{HM:()=>M,PO:()=>O});var o=r(4438),c=(r(177),r(6600));function y(L,Y){1&L&&o.nrm(0,"div",2)}const k=new o.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let M=(()=>{class L{constructor(z,q,ct,dt,tt){this._elementRef=z,this._ngZone=q,this._changeDetectorRef=ct,this._animationMode=dt,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new o.bkB,this._mode="determinate",this._transitionendHandler=vt=>{0===this.animationEnd.observers.length||!vt.target||!vt.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===dt,tt&&(tt.color&&(this.color=this._defaultColor=tt.color),this.mode=tt.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(z){this._color=z}get value(){return this._value}set value(z){this._value=T(z||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(z){this._bufferValue=T(z||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(z){this._mode=z,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static{this.\u0275fac=function(q){return new(q||L)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(o.gRc),o.rXU(o.bc$,8),o.rXU(k,8))}}static{this.\u0275cmp=o.VBU({type:L,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(q,ct){2&q&&(o.BMQ("aria-valuenow",ct._isIndeterminate()?null:ct.value)("mode",ct.mode),o.HbH("mat-"+ct.color),o.AVh("_mat-animation-noopable",ct._isNoopAnimation)("mdc-linear-progress--animation-ready",!ct._isNoopAnimation)("mdc-linear-progress--indeterminate",ct._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",o.Udg],bufferValue:[2,"bufferValue","bufferValue",o.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[o.GFd,o.aNF],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(q,ct){1&q&&(o.j41(0,"div",0),o.nrm(1,"div",1),o.DNE(2,y,1,0,"div",2),o.k0s(),o.j41(3,"div",3),o.nrm(4,"span",4),o.k0s(),o.j41(5,"div",5),o.nrm(6,"span",4),o.k0s()),2&q&&(o.R7$(),o.xc7("flex-basis",ct._getBufferBarFlexBasis()),o.R7$(),o.vxM("buffer"===ct.mode?2:-1),o.R7$(),o.xc7("transform",ct._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}"],encapsulation:2,changeDetection:0})}}return L})();function T(L,Y=0,z=100){return Math.max(Y,Math.min(z,L))}let O=(()=>{class L{static{this.\u0275fac=function(q){return new(q||L)}}static{this.\u0275mod=o.$C({type:L})}static{this.\u0275inj=o.G2t({imports:[c.yE]})}}return L})()},2798:(i,a,r)=>{"use strict";r.d(a,{$2:()=>De,VO:()=>jt,Ve:()=>Ye});var o=r(7987),s=r(177),c=r(4438),y=r(6600),k=r(2102),A=r(5542),I=r(9888),M=r(8203),T=r(5024),O=r(7336),L=r(9417),Y=r(1413),z=r(9030),q=r(7786),ct=r(9172),dt=r(5558),tt=r(5964),vt=r(6354),Mt=r(3294),$t=r(6977),St=r(6697),kt=r(9969);const nt=["trigger"],at=["panel"],rt=[[["mat-select-trigger"]],"*"],yt=["mat-select-trigger","*"];function Ct(ft,pe){if(1&ft&&(c.j41(0,"span",4),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.JRh(Ut.placeholder)}}function Vt(ft,pe){1&ft&&c.SdG(0)}function Xt(ft,pe){if(1&ft&&(c.j41(0,"span",11),c.EFF(1),c.k0s()),2&ft){const Ut=c.XpG(2);c.R7$(),c.JRh(Ut.triggerValue)}}function oe(ft,pe){if(1&ft&&(c.j41(0,"span",5),c.DNE(1,Vt,1,0)(2,Xt,2,1,"span",11),c.k0s()),2&ft){const Ut=c.XpG();c.R7$(),c.vxM(Ut.customTrigger?1:2)}}function Xe(ft,pe){if(1&ft){const Ut=c.RV6();c.j41(0,"div",12,1),c.bIt("@transformPanel.done",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._panelDoneAnimatingStream.next(ie.toState))})("keydown",function(ie){c.eBV(Ut);const He=c.XpG();return c.Njj(He._handleKeydown(ie))}),c.SdG(2,1),c.k0s()}if(2&ft){const Ut=c.XpG();c.ZvI("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ut._getPanelTheme(),""),c.Y8G("ngClass",Ut.panelClass)("@transformPanel","showing"),c.BMQ("id",Ut.id+"-panel")("aria-multiselectable",Ut.multiple)("aria-label",Ut.ariaLabel||null)("aria-labelledby",Ut._getPanelAriaLabelledby())}}const kr={transformPanelWrap:(0,kt.hZ)("transformPanelWrap",[(0,kt.kY)("* => void",(0,kt.P)("@transformPanel",[(0,kt.MA)()],{optional:!0}))]),transformPanel:(0,kt.hZ)("transformPanel",[(0,kt.wk)("void",(0,kt.iF)({opacity:0,transform:"scale(1, 0.8)"})),(0,kt.kY)("void => showing",(0,kt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,kt.iF)({opacity:1,transform:"scale(1, 1)"}))),(0,kt.kY)("* => void",(0,kt.i0)("100ms linear",(0,kt.iF)({opacity:0})))])};let xe=0;const Le=new c.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const ft=(0,c.WQX)(o.hJ);return()=>ft.scrollStrategies.reposition()}}),Nt=new c.nKC("MAT_SELECT_CONFIG"),Se={provide:Le,deps:[o.hJ],useFactory:function gt(ft){return()=>ft.scrollStrategies.reposition()}},Rt=new c.nKC("MatSelectTrigger");class de{constructor(pe,Ut){this.source=pe,this.value=Ut}}let jt=(()=>{class ft{_scrollOptionIntoView(Ut){const Ee=this.options.toArray()[Ut];if(Ee){const ie=this.panel.nativeElement,He=(0,y.jb)(Ut,this.options,this.optionGroups),Ht=Ee._getHostElement();ie.scrollTop=0===Ut&&1===He?0:(0,y.TL)(Ht.offsetTop,Ht.offsetHeight,ie.scrollTop,ie.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ut){return new de(this,Ut)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ut){this._hideSingleSelectionIndicator=Ut,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(Ut){this._placeholder=Ut,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.k0.required)??!1}set required(Ut){this._required=Ut,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ut){this._multiple=Ut}get compareWith(){return this._compareWith}set compareWith(Ut){this._compareWith=Ut,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ut){this._assignValue(Ut)&&this._onChange(Ut)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Ut){this._errorStateTracker.matcher=Ut}get id(){return this._id}set id(Ut){this._id=Ut||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(Ut){this._errorStateTracker.errorState=Ut}constructor(Ut,Ee,ie,He,Ht,Me,Pe,We,Or,ko,lr,Lt,be,se){this._viewportRuler=Ut,this._changeDetectorRef=Ee,this._elementRef=Ht,this._dir=Me,this._parentFormField=Or,this.ngControl=ko,this._liveAnnouncer=be,this._defaultOptions=se,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,br)=>Ie===br,this._uid="mat-select-"+xe++,this._triggerAriaLabelledBy=null,this._destroy=new Y.B,this.stateChanges=new Y.B,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+xe++,this._panelDoneAnimatingStream=new Y.B,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new Y.B,this.optionSelectionChanges=(0,z.v)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,ct.Z)(Ie),(0,dt.n)(()=>(0,q.h)(...Ie.map(br=>br.onSelectionChange)))):this._initialized.pipe((0,dt.n)(()=>this.optionSelectionChanges))}),this.openedChange=new c.bkB,this._openedStream=this.openedChange.pipe((0,tt.p)(Ie=>Ie),(0,vt.T)(()=>{})),this._closedStream=this.openedChange.pipe((0,tt.p)(Ie=>!Ie),(0,vt.T)(()=>{})),this.selectionChange=new c.bkB,this.valueChange=new c.bkB,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=se?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=se.typeaheadDebounceInterval),this._errorStateTracker=new y.X0(He,ko,We,Pe,this.stateChanges),this._scrollStrategyFactory=Lt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(lr)||0,this.id=this.id}ngOnInit(){this._selectionModel=new T.CB(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Mt.F)(),(0,$t.Q)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,$t.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,$t.Q)(this._destroy)).subscribe(Ut=>{Ut.added.forEach(Ee=>Ee.select()),Ut.removed.forEach(Ee=>Ee.deselect())}),this.options.changes.pipe((0,ct.Z)(null),(0,$t.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ut=this._getTriggerAriaLabelledby(),Ee=this.ngControl;if(Ut!==this._triggerAriaLabelledBy){const ie=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ut,Ut?ie.setAttribute("aria-labelledby",Ut):ie.removeAttribute("aria-labelledby")}Ee&&(this._previousControl!==Ee.control&&(void 0!==this._previousControl&&null!==Ee.disabled&&Ee.disabled!==this.disabled&&(this.disabled=Ee.disabled),this._previousControl=Ee.control),this.updateErrorState())}ngOnChanges(Ut){(Ut.disabled||Ut.userAriaDescribedBy)&&this.stateChanges.next(),Ut.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){const Ut=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ut)return;const Ee=`${this.id}-panel`;this._trackedModal&&(0,I.Ae)(this._trackedModal,"aria-owns",Ee),(0,I.px)(Ut,"aria-owns",Ee),this._trackedModal=Ut}_clearFromModal(){this._trackedModal&&((0,I.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(Ut){this._assignValue(Ut)}registerOnChange(Ut){this._onChange=Ut}registerOnTouched(Ut){this._onTouched=Ut}setDisabledState(Ut){this.disabled=Ut,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ut=this._selectionModel.selected.map(Ee=>Ee.viewValue);return this._isRtl()&&Ut.reverse(),Ut.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ut){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ut):this._handleClosedKeydown(Ut))}_handleClosedKeydown(Ut){const Ee=Ut.keyCode,ie=Ee===O.n6||Ee===O.i7||Ee===O.UQ||Ee===O.LE,He=Ee===O.Fm||Ee===O.t6,Ht=this._keyManager;if(!Ht.isTyping()&&He&&!(0,O.rp)(Ut)||(this.multiple||Ut.altKey)&&ie)Ut.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;Ht.onKeydown(Ut);const Pe=this.selected;Pe&&Me!==Pe&&this._liveAnnouncer.announce(Pe.viewValue,1e4)}}_handleOpenKeydown(Ut){const Ee=this._keyManager,ie=Ut.keyCode,He=ie===O.n6||ie===O.i7,Ht=Ee.isTyping();if(He&&Ut.altKey)Ut.preventDefault(),this.close();else if(Ht||ie!==O.Fm&&ie!==O.t6||!Ee.activeItem||(0,O.rp)(Ut))if(!Ht&&this._multiple&&ie===O.A&&Ut.ctrlKey){Ut.preventDefault();const Me=this.options.some(Pe=>!Pe.disabled&&!Pe.selected);this.options.forEach(Pe=>{Pe.disabled||(Me?Pe.select():Pe.deselect())})}else{const Me=Ee.activeItemIndex;Ee.onKeydown(Ut),this._multiple&&He&&Ut.shiftKey&&Ee.activeItem&&Ee.activeItemIndex!==Me&&Ee.activeItem._selectViaInteraction()}else Ut.preventDefault(),Ee.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,St.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(Ut){if(this.options.forEach(Ee=>Ee.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ut)Array.isArray(Ut),Ut.forEach(Ee=>this._selectOptionByValue(Ee)),this._sortValues();else{const Ee=this._selectOptionByValue(Ut);Ee?this._keyManager.updateActiveItem(Ee):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ut){const Ee=this.options.find(ie=>{if(this._selectionModel.isSelected(ie))return!1;try{return null!=ie.value&&this._compareWith(ie.value,Ut)}catch{return!1}});return Ee&&this._selectionModel.select(Ee),Ee}_assignValue(Ut){return!!(Ut!==this._value||this._multiple&&Array.isArray(Ut))&&(this.options&&this._setSelectionByValue(Ut),this._value=Ut,!0)}_getOverlayWidth(Ut){return"auto"===this.panelWidth?(Ut instanceof o.$Q?Ut.elementRef:Ut||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Ut of this.options)Ut._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new I.Au(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ut=(0,q.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,$t.Q)(Ut)).subscribe(Ee=>{this._onSelect(Ee.source,Ee.isUserInput),Ee.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,q.h)(...this.options.map(Ee=>Ee._stateChanges)).pipe((0,$t.Q)(Ut)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ut,Ee){const ie=this._selectionModel.isSelected(Ut);null!=Ut.value||this._multiple?(ie!==Ut.selected&&(Ut.selected?this._selectionModel.select(Ut):this._selectionModel.deselect(Ut)),Ee&&this._keyManager.setActiveItem(Ut),this.multiple&&(this._sortValues(),Ee&&this.focus())):(Ut.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ut.value)),ie!==this._selectionModel.isSelected(Ut)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ut=this.options.toArray();this._selectionModel.sort((Ee,ie)=>this.sortComparator?this.sortComparator(Ee,ie,Ut):Ut.indexOf(Ee)-Ut.indexOf(ie)),this.stateChanges.next()}}_propagateChanges(Ut){let Ee;Ee=this.multiple?this.selected.map(ie=>ie.value):this.selected?this.selected.value:Ut,this._value=Ee,this.valueChange.emit(Ee),this._onChange(Ee),this.selectionChange.emit(this._getChangeEvent(Ee)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ut=-1;for(let Ee=0;Ee0}focus(Ut){this._elementRef.nativeElement.focus(Ut)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ut?Ut+" ":"")+this.ariaLabelledby:Ut}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ut=this._parentFormField?.getLabelId();let Ee=(Ut?Ut+" ":"")+this._valueId;return this.ariaLabelledby&&(Ee+=" "+this.ariaLabelledby),Ee}_panelDoneAnimating(Ut){this.openedChange.emit(Ut)}setDescribedByIds(Ut){Ut.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ut.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(Ee){return new(Ee||ft)(c.rXU(A.Xj),c.rXU(c.gRc),c.rXU(c.SKi),c.rXU(y.es),c.rXU(c.aKT),c.rXU(M.dS,8),c.rXU(L.cV,8),c.rXU(L.j4,8),c.rXU(k.xb,8),c.rXU(L.vO,10),c.kS0("tabindex"),c.rXU(Le),c.rXU(I.Ai),c.rXU(Nt,8))}}static{this.\u0275cmp=c.VBU({type:ft,selectors:[["mat-select"]],contentQueries:function(Ee,ie,He){if(1&Ee&&(c.wni(He,Rt,5),c.wni(He,y.wT,5),c.wni(He,y.QC,5)),2&Ee){let Ht;c.mGM(Ht=c.lsd())&&(ie.customTrigger=Ht.first),c.mGM(Ht=c.lsd())&&(ie.options=Ht),c.mGM(Ht=c.lsd())&&(ie.optionGroups=Ht)}},viewQuery:function(Ee,ie){if(1&Ee&&(c.GBs(nt,5),c.GBs(at,5),c.GBs(o.WB,5)),2&Ee){let He;c.mGM(He=c.lsd())&&(ie.trigger=He.first),c.mGM(He=c.lsd())&&(ie.panel=He.first),c.mGM(He=c.lsd())&&(ie._overlayDir=He.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ee,ie){1&Ee&&c.bIt("keydown",function(Ht){return ie._handleKeydown(Ht)})("focus",function(){return ie._onFocus()})("blur",function(){return ie._onBlur()}),2&Ee&&(c.BMQ("id",ie.id)("tabindex",ie.disabled?-1:ie.tabIndex)("aria-controls",ie.panelOpen?ie.id+"-panel":null)("aria-expanded",ie.panelOpen)("aria-label",ie.ariaLabel||null)("aria-required",ie.required.toString())("aria-disabled",ie.disabled.toString())("aria-invalid",ie.errorState)("aria-activedescendant",ie._getAriaActiveDescendant()),c.AVh("mat-mdc-select-disabled",ie.disabled)("mat-mdc-select-invalid",ie.errorState)("mat-mdc-select-required",ie.required)("mat-mdc-select-empty",ie.empty)("mat-mdc-select-multiple",ie.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",c.L39],disableRipple:[2,"disableRipple","disableRipple",c.L39],tabIndex:[2,"tabIndex","tabIndex",Ut=>null==Ut?0:(0,c.Udg)(Ut)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",c.L39],placeholder:"placeholder",required:[2,"required","required",c.L39],multiple:[2,"multiple","multiple",c.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",c.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",c.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[c.Jv_([{provide:k.qT,useExisting:ft},{provide:y.is,useExisting:ft}]),c.GFd,c.OA$,c.aNF],ngContentSelectors:yt,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(Ee,ie){if(1&Ee){const He=c.RV6();c.NAR(rt),c.j41(0,"div",2,0),c.bIt("click",function(){return c.eBV(He),c.Njj(ie.open())}),c.j41(3,"div",3),c.DNE(4,Ct,2,1,"span",4)(5,oe,3,1,"span",5),c.k0s(),c.j41(6,"div",6)(7,"div",7),c.qSk(),c.j41(8,"svg",8),c.nrm(9,"path",9),c.k0s()()()(),c.DNE(10,Xe,3,9,"ng-template",10),c.bIt("backdropClick",function(){return c.eBV(He),c.Njj(ie.close())})("attach",function(){return c.eBV(He),c.Njj(ie._onAttached())})("detach",function(){return c.eBV(He),c.Njj(ie.close())})}if(2&Ee){const He=c.sdS(1);c.R7$(3),c.BMQ("id",ie._valueId),c.R7$(),c.vxM(ie.empty?4:5),c.R7$(6),c.Y8G("cdkConnectedOverlayPanelClass",ie._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",ie._scrollStrategy)("cdkConnectedOverlayOrigin",ie._preferredOverlayOrigin||He)("cdkConnectedOverlayOpen",ie.panelOpen)("cdkConnectedOverlayPositions",ie._positions)("cdkConnectedOverlayWidth",ie._overlayWidth)}},dependencies:[o.$Q,o.WB,s.YU],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[kr.transformPanel]},changeDetection:0})}}return ft})(),De=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275dir=c.FsC({type:ft,selectors:[["mat-select-trigger"]],standalone:!0,features:[c.Jv_([{provide:Rt,useExisting:ft}])]})}}return ft})(),Ye=(()=>{class ft{static{this.\u0275fac=function(Ee){return new(Ee||ft)}}static{this.\u0275mod=c.$C({type:ft})}static{this.\u0275inj=c.G2t({providers:[Se],imports:[s.MD,o.z_,y.Sy,y.yE,A.Gj,k.RG,y.Sy,y.yE]})}}return ft})()},882:(i,a,r)=>{"use strict";r.d(a,{$C:()=>Nt,$l:()=>Le,qe:()=>gt,vg:()=>jt});var o=r(5542),s=r(4438),c=r(6600),y=r(9888),k=r(8203),A=r(4085),I=r(7336),M=r(6860),T=r(177),O=r(1413),L=r(3726),Y=r(7786),z=r(5964),q=r(6354),ct=r(3703),dt=r(6977),tt=r(6697),vt=r(9172),Mt=r(152),$t=r(9969);const St=["*"],kt=["content"],nt=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],at=["mat-drawer","mat-drawer-content","*"];function rt(De,Ye){if(1&De){const ft=s.RV6();s.j41(0,"div",1),s.bIt("click",function(){s.eBV(ft);const Ut=s.XpG();return s.Njj(Ut._onBackdropClicked())}),s.k0s()}if(2&De){const ft=s.XpG();s.AVh("mat-drawer-shown",ft._isShowingBackdrop())}}function yt(De,Ye){1&De&&(s.j41(0,"mat-drawer-content"),s.SdG(1,2),s.k0s())}const kr={transformDrawer:(0,$t.hZ)("transform",[(0,$t.wk)("open, open-instant",(0,$t.iF)({transform:"none",visibility:"visible"})),(0,$t.wk)("void",(0,$t.iF)({"box-shadow":"none",visibility:"hidden"})),(0,$t.kY)("void => open-instant",(0,$t.i0)("0ms")),(0,$t.kY)("void <=> open, open-instant => void",(0,$t.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},wr=new s.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function xe(){return!1}}),Wr=new s.nKC("MAT_DRAWER_CONTAINER");let Le=(()=>{class De extends o.uv{constructor(ft,pe,Ut,Ee,ie){super(Ut,Ee,ie),this._changeDetectorRef=ft,this._container=pe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.gRc),s.rXU((0,s.Rfq)(()=>Nt)),s.rXU(s.aKT),s.rXU(o.R),s.rXU(s.SKi))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(pe,Ut){2&pe&&s.xc7("margin-left",Ut._container._contentMargins.left,"px")("margin-right",Ut._container._contentMargins.right,"px")},standalone:!0,features:[s.Jv_([{provide:o.uv,useExisting:De}]),s.Vt3,s.aNF],ngContentSelectors:St,decls:1,vars:0,template:function(pe,Ut){1&pe&&(s.NAR(),s.SdG(0))},encapsulation:2,changeDetection:0})}}return De})(),gt=(()=>{class De{get position(){return this._position}set position(ft){(ft="end"===ft?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ft),this._position=ft,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ft){this._mode=ft,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ft){this._disableClose=(0,A.he)(ft)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ft){("true"===ft||"false"===ft||null==ft)&&(ft=(0,A.he)(ft)),this._autoFocus=ft}get opened(){return this._opened}set opened(ft){this.toggle((0,A.he)(ft))}constructor(ft,pe,Ut,Ee,ie,He,Ht,Me){this._elementRef=ft,this._focusTrapFactory=pe,this._focusMonitor=Ut,this._platform=Ee,this._ngZone=ie,this._interactivityChecker=He,this._doc=Ht,this._container=Me,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new O.B,this._animationEnd=new O.B,this._animationState="void",this.openedChange=new s.bkB(!0),this._openedStream=this.openedChange.pipe((0,z.p)(Pe=>Pe),(0,q.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,z.p)(Pe=>Pe.fromState!==Pe.toState&&0===Pe.toState.indexOf("open")),(0,ct.u)(void 0)),this._closedStream=this.openedChange.pipe((0,z.p)(Pe=>!Pe),(0,q.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,z.p)(Pe=>Pe.fromState!==Pe.toState&&"void"===Pe.toState),(0,ct.u)(void 0)),this._destroyed=new O.B,this.onPositionChanged=new s.bkB,this._modeChanged=new O.B,this._injector=(0,s.WQX)(s.zZn),this._changeDetectorRef=(0,s.WQX)(s.gRc),this.openedChange.pipe((0,dt.Q)(this._destroyed)).subscribe(Pe=>{Pe?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,L.R)(this._elementRef.nativeElement,"keydown").pipe((0,z.p)(Pe=>Pe.keyCode===I._f&&!this.disableClose&&!(0,I.rp)(Pe)),(0,dt.Q)(this._destroyed)).subscribe(Pe=>this._ngZone.run(()=>{this.close(),Pe.stopPropagation(),Pe.preventDefault()}))}),this._animationEnd.subscribe(Pe=>{const{fromState:We,toState:Or}=Pe;(0===Or.indexOf("open")&&"void"===We||"void"===Or&&0===We.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(ft,pe){this._interactivityChecker.isFocusable(ft)||(ft.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ut=()=>{ft.removeEventListener("blur",Ut),ft.removeEventListener("mousedown",Ut),ft.removeAttribute("tabindex")};ft.addEventListener("blur",Ut),ft.addEventListener("mousedown",Ut)})),ft.focus(pe)}_focusByCssSelector(ft,pe){let Ut=this._elementRef.nativeElement.querySelector(ft);Ut&&this._forceFocus(Ut,pe)}_takeFocus(){if(!this._focusTrap)return;const ft=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,s.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof ft.focus&&ft.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ft){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ft):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ft=this._doc.activeElement;return!!ft&&this._elementRef.nativeElement.contains(ft)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(ft){return this.toggle(!0,ft)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ft=!this.opened,pe){ft&&pe&&(this._openedVia=pe);const Ut=this._setOpen(ft,!ft&&this._isFocusWithinDrawer(),this._openedVia||"program");return ft||(this._openedVia=null),Ut}_setOpen(ft,pe,Ut){return this._opened=ft,ft?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",pe&&this._restoreFocus(Ut)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(Ee=>{this.openedChange.pipe((0,tt.s)(1)).subscribe(ie=>Ee(ie?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(ft){if(!this._platform.isBrowser)return;const pe=this._elementRef.nativeElement,Ut=pe.parentNode;"end"===ft?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ut.insertBefore(this._anchor,pe)),Ut.appendChild(pe)):this._anchor&&this._anchor.parentNode.insertBefore(pe,this._anchor)}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(s.aKT),s.rXU(y.GX),s.rXU(y.FN),s.rXU(M.OD),s.rXU(s.SKi),s.rXU(y.Z7),s.rXU(T.qQ,8),s.rXU(Wr,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer"]],viewQuery:function(pe,Ut){if(1&pe&&s.GBs(kt,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._content=Ee.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(pe,Ut){1&pe&&s.Kam("@transform.start",function(ie){return Ut._animationStarted.next(ie)})("@transform.done",function(ie){return Ut._animationEnd.next(ie)}),2&pe&&(s.zvX("@transform",Ut._animationState),s.BMQ("align",null),s.AVh("mat-drawer-end","end"===Ut.position)("mat-drawer-over","over"===Ut.mode)("mat-drawer-push","push"===Ut.mode)("mat-drawer-side","side"===Ut.mode)("mat-drawer-opened",Ut.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[s.aNF],ngContentSelectors:St,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(pe,Ut){1&pe&&(s.NAR(),s.j41(0,"div",1,0),s.SdG(2),s.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[kr.transformDrawer]},changeDetection:0})}}return De})(),Nt=(()=>{class De{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ft){this._autosize=(0,A.he)(ft)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(ft){this._backdropOverride=null==ft?null:(0,A.he)(ft)}get scrollable(){return this._userContent||this._content}constructor(ft,pe,Ut,Ee,ie,He=!1,Ht){this._dir=ft,this._element=pe,this._ngZone=Ut,this._changeDetectorRef=Ee,this._animationMode=Ht,this._drawers=new s.rOR,this.backdropClick=new s.bkB,this._destroyed=new O.B,this._doCheckSubject=new O.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new O.B,this._injector=(0,s.WQX)(s.zZn),ft&&ft.change.pipe((0,dt.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),ie.change().pipe((0,dt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=He}ngAfterContentInit(){this._allDrawers.changes.pipe((0,vt.Z)(this._allDrawers),(0,dt.Q)(this._destroyed)).subscribe(ft=>{this._drawers.reset(ft.filter(pe=>!pe._container||pe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,vt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ft=>{this._watchDrawerToggle(ft),this._watchDrawerPosition(ft),this._watchDrawerMode(ft)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Mt.B)(10),(0,dt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(ft=>ft.open())}close(){this._drawers.forEach(ft=>ft.close())}updateContentMargins(){let ft=0,pe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ft+=this._left._getWidth();else if("push"==this._left.mode){const Ut=this._left._getWidth();ft+=Ut,pe-=Ut}if(this._right&&this._right.opened)if("side"==this._right.mode)pe+=this._right._getWidth();else if("push"==this._right.mode){const Ut=this._right._getWidth();pe+=Ut,ft-=Ut}ft=ft||null,pe=pe||null,(ft!==this._contentMargins.left||pe!==this._contentMargins.right)&&(this._contentMargins={left:ft,right:pe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ft){ft._animationStarted.pipe((0,z.p)(pe=>pe.fromState!==pe.toState),(0,dt.Q)(this._drawers.changes)).subscribe(pe=>{"open-instant"!==pe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ft.mode&&ft.openedChange.pipe((0,dt.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ft.opened))}_watchDrawerPosition(ft){ft&&ft.onPositionChanged.pipe((0,dt.Q)(this._drawers.changes)).subscribe(()=>{(0,s.mal)(()=>{this._validateDrawers()},{injector:this._injector,phase:s.wjH.Read})})}_watchDrawerMode(ft){ft&&ft._modeChanged.pipe((0,dt.Q)((0,Y.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ft){const pe=this._element.nativeElement.classList,Ut="mat-drawer-container-has-open";ft?pe.add(Ut):pe.remove(Ut)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ft=>{"end"==ft.position?this._end=ft:this._start=ft}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(ft=>ft&&!ft.disableClose&&this._drawerHasBackdrop(ft)).forEach(ft=>ft._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(ft){return null!=ft&&ft.opened}_drawerHasBackdrop(ft){return null==this._backdropOverride?!!ft&&"side"!==ft.mode:this._backdropOverride}static{this.\u0275fac=function(pe){return new(pe||De)(s.rXU(k.dS,8),s.rXU(s.aKT),s.rXU(s.SKi),s.rXU(s.gRc),s.rXU(o.Xj),s.rXU(wr),s.rXU(s.bc$,8))}}static{this.\u0275cmp=s.VBU({type:De,selectors:[["mat-drawer-container"]],contentQueries:function(pe,Ut,Ee){if(1&pe&&(s.wni(Ee,Le,5),s.wni(Ee,gt,5)),2&pe){let ie;s.mGM(ie=s.lsd())&&(Ut._content=ie.first),s.mGM(ie=s.lsd())&&(Ut._allDrawers=ie)}},viewQuery:function(pe,Ut){if(1&pe&&s.GBs(Le,5),2&pe){let Ee;s.mGM(Ee=s.lsd())&&(Ut._userContent=Ee.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(pe,Ut){2&pe&&s.AVh("mat-drawer-container-explicit-backdrop",Ut._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[s.Jv_([{provide:Wr,useExisting:De}]),s.aNF],ngContentSelectors:at,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(pe,Ut){1&pe&&(s.NAR(nt),s.DNE(0,rt,1,2,"div",0),s.SdG(1),s.SdG(2,1),s.DNE(3,yt,2,0,"mat-drawer-content")),2&pe&&(s.vxM(Ut.hasBackdrop?0:-1),s.R7$(3),s.vxM(Ut._content?-1:3))},dependencies:[Le],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return De})(),jt=(()=>{class De{static{this.\u0275fac=function(pe){return new(pe||De)}}static{this.\u0275mod=s.$C({type:De})}static{this.\u0275inj=s.G2t({imports:[c.yE,o.Gj,o.Gj,c.yE]})}}return De})()},4823:(i,a,r)=>{"use strict";r.d(a,{oV:()=>oe,uc:()=>gr});var o=r(6977),s=r(4085),c=r(7336),y=r(4438),k=r(177),A=r(6860),I=r(9888),M=r(8203),T=r(7987),O=r(5542),L=r(6939),Y=r(1413),q=(r(9969),r(6600));const ct=["tooltip"],vt=new y.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const wr=(0,y.WQX)(T.hJ);return()=>wr.scrollStrategies.reposition({scrollThrottle:20})}}),$t={provide:vt,deps:[T.hJ],useFactory:function Mt(wr){return()=>wr.scrollStrategies.reposition({scrollThrottle:20})}},kt=new y.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function St(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),at="tooltip-panel",rt=(0,A.BQ)({passive:!0});let oe=(()=>{class wr{get position(){return this._position}set position(xe){xe!==this._position&&(this._position=xe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(xe){this._positionAtOrigin=(0,s.he)(xe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(xe){const Le=(0,s.he)(xe);this._disabled!==Le&&(this._disabled=Le,Le?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(xe){this._showDelay=(0,s.OE)(xe)}get hideDelay(){return this._hideDelay}set hideDelay(xe){this._hideDelay=(0,s.OE)(xe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(xe){const Le=this._message;this._message=null!=xe?String(xe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Le)}get tooltipClass(){return this._tooltipClass}set tooltipClass(xe){this._tooltipClass=xe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(xe,Le,gt,Nt,Se,Rt,de,jt,De,Ye,ft,pe){this._overlay=xe,this._elementRef=Le,this._scrollDispatcher=gt,this._viewContainerRef=Nt,this._ngZone=Se,this._platform=Rt,this._ariaDescriber=de,this._focusMonitor=jt,this._dir=Ye,this._defaultOptions=ft,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Xe,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new Y.B,this._injector=(0,y.WQX)(y.zZn),this._scrollStrategy=De,this._document=pe,ft&&(this._showDelay=ft.showDelay,this._hideDelay=ft.hideDelay,ft.position&&(this.position=ft.position),ft.positionAtOrigin&&(this.positionAtOrigin=ft.positionAtOrigin),ft.touchGestures&&(this.touchGestures=ft.touchGestures),ft.tooltipClass&&(this.tooltipClass=ft.tooltipClass)),Ye.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(xe=>{xe?"keyboard"===xe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const xe=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Le,gt])=>{xe.removeEventListener(Le,gt,rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(xe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(xe)}show(xe=this.showDelay,Le){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const gt=this._createOverlay(Le);this._detach(),this._portal=this._portal||new L.A8(this._tooltipComponent,this._viewContainerRef);const Nt=this._tooltipInstance=gt.attach(this._portal).instance;Nt._triggerElement=this._elementRef.nativeElement,Nt._mouseLeaveHideDelay=this._hideDelay,Nt.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Nt.show(xe)}hide(xe=this.hideDelay){const Le=this._tooltipInstance;Le&&(Le.isVisible()?Le.hide(xe):(Le._cancelPendingAnimations(),this._detach()))}toggle(xe){this._isTooltipVisible()?this.hide():this.show(void 0,xe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(xe){if(this._overlayRef){const Nt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!xe)&&Nt._origin instanceof y.aKT)return this._overlayRef;this._detach()}const Le=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),gt=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&xe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Le);return gt.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._updateCurrentPositionClass(Nt.connectionPair),this._tooltipInstance&&Nt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:gt,panelClass:`${this._cssClassPrefix}-${at}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(Nt=>{this._isTooltipVisible()&&Nt.keyCode===c._f&&!(0,c.rp)(Nt)&&(Nt.preventDefault(),Nt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(xe){const Le=xe.getConfig().positionStrategy,gt=this._getOrigin(),Nt=this._getOverlayPosition();Le.withPositions([this._addOffset({...gt.main,...Nt.main}),this._addOffset({...gt.fallback,...Nt.fallback})])}_addOffset(xe){const gt=!this._dir||"ltr"==this._dir.value;return"top"===xe.originY?xe.offsetY=-8:"bottom"===xe.originY?xe.offsetY=8:"start"===xe.originX?xe.offsetX=gt?-8:8:"end"===xe.originX&&(xe.offsetX=gt?8:-8),xe}_getOrigin(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le||"below"==Le?gt={originX:"center",originY:"above"==Le?"top":"bottom"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={originX:"start",originY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={originX:"end",originY:"center"});const{x:Nt,y:Se}=this._invertPosition(gt.originX,gt.originY);return{main:gt,fallback:{originX:Nt,originY:Se}}}_getOverlayPosition(){const xe=!this._dir||"ltr"==this._dir.value,Le=this.position;let gt;"above"==Le?gt={overlayX:"center",overlayY:"bottom"}:"below"==Le?gt={overlayX:"center",overlayY:"top"}:"before"==Le||"left"==Le&&xe||"right"==Le&&!xe?gt={overlayX:"end",overlayY:"center"}:("after"==Le||"right"==Le&&xe||"left"==Le&&!xe)&&(gt={overlayX:"start",overlayY:"center"});const{x:Nt,y:Se}=this._invertPosition(gt.overlayX,gt.overlayY);return{main:gt,fallback:{overlayX:Nt,overlayY:Se}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,y.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(xe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=xe,this._tooltipInstance._markForCheck())}_invertPosition(xe,Le){return"above"===this.position||"below"===this.position?"top"===Le?Le="bottom":"bottom"===Le&&(Le="top"):"end"===xe?xe="start":"start"===xe&&(xe="end"),{x:xe,y:Le}}_updateCurrentPositionClass(xe){const{overlayY:Le,originX:gt,originY:Nt}=xe;let Se;if(Se="center"===Le?this._dir&&"rtl"===this._dir.value?"end"===gt?"left":"right":"start"===gt?"left":"right":"bottom"===Le&&"top"===Nt?"above":"below",Se!==this._currentPosition){const Rt=this._overlayRef;if(Rt){const de=`${this._cssClassPrefix}-${at}-`;Rt.removePanelClass(de+this._currentPosition),Rt.addPanelClass(de+Se)}this._currentPosition=Se}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",xe=>{let Le;this._setupPointerExitEventsIfNeeded(),void 0!==xe.x&&void 0!==xe.y&&(Le=xe),this.show(void 0,Le)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",xe=>{const Le=xe.targetTouches?.[0],gt=Le?{x:Le.clientX,y:Le.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,gt)},this._defaultOptions.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const xe=[];if(this._platformSupportsMouseEvents())xe.push(["mouseleave",Le=>{const gt=Le.relatedTarget;(!gt||!this._overlayRef?.overlayElement.contains(gt))&&this.hide()}],["wheel",Le=>this._wheelListener(Le)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Le=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};xe.push(["touchend",Le],["touchcancel",Le])}this._addListeners(xe),this._passiveListeners.push(...xe)}_addListeners(xe){xe.forEach(([Le,gt])=>{this._elementRef.nativeElement.addEventListener(Le,gt,rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(xe){if(this._isTooltipVisible()){const Le=this._document.elementFromPoint(xe.clientX,xe.clientY),gt=this._elementRef.nativeElement;Le!==gt&&!gt.contains(Le)&&this.hide()}}_disableNativeGesturesIfNecessary(){const xe=this.touchGestures;if("off"!==xe){const Le=this._elementRef.nativeElement,gt=Le.style;("on"===xe||"INPUT"!==Le.nodeName&&"TEXTAREA"!==Le.nodeName)&&(gt.userSelect=gt.msUserSelect=gt.webkitUserSelect=gt.MozUserSelect="none"),("on"===xe||!Le.draggable)&&(gt.webkitUserDrag="none"),gt.touchAction="none",gt.webkitTapHighlightColor="transparent"}}_syncAriaDescription(xe){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,xe,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(Le){return new(Le||wr)(y.rXU(T.hJ),y.rXU(y.aKT),y.rXU(O.R),y.rXU(y.c1b),y.rXU(y.SKi),y.rXU(A.OD),y.rXU(I.vr),y.rXU(I.FN),y.rXU(vt),y.rXU(M.dS),y.rXU(kt,8),y.rXU(k.qQ))}}static{this.\u0275dir=y.FsC({type:wr,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Le,gt){2&Le&&y.AVh("mat-mdc-tooltip-disabled",gt.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return wr})(),Xe=(()=>{class wr{constructor(xe,Le,gt){this._changeDetectorRef=xe,this._elementRef=Le,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Y.B,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===gt}show(xe){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},xe)}hide(xe){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},xe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:xe}){(!xe||!this._triggerElement.contains(xe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const xe=this._elementRef.nativeElement.getBoundingClientRect();return xe.height>24&&xe.width>=200}_handleAnimationEnd({animationName:xe}){(xe===this._showAnimation||xe===this._hideAnimation)&&this._finalizeAnimation(xe===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(xe){xe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(xe){const Le=this._tooltip.nativeElement,gt=this._showAnimation,Nt=this._hideAnimation;if(Le.classList.remove(xe?Nt:gt),Le.classList.add(xe?gt:Nt),this._isVisible!==xe&&(this._isVisible=xe,this._changeDetectorRef.markForCheck()),xe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Se=getComputedStyle(Le);("0s"===Se.getPropertyValue("animation-duration")||"none"===Se.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}xe&&this._onShow(),this._animationsDisabled&&(Le.classList.add("_mat-animation-noopable"),this._finalizeAnimation(xe))}static{this.\u0275fac=function(Le){return new(Le||wr)(y.rXU(y.gRc),y.rXU(y.aKT),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:wr,selectors:[["mat-tooltip-component"]],viewQuery:function(Le,gt){if(1&Le&&y.GBs(ct,7),2&Le){let Nt;y.mGM(Nt=y.lsd())&&(gt._tooltip=Nt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Le,gt){1&Le&&y.bIt("mouseleave",function(Se){return gt._handleMouseLeave(Se)})},standalone:!0,features:[y.aNF],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Le,gt){if(1&Le){const Nt=y.RV6();y.j41(0,"div",1,0),y.bIt("animationend",function(Rt){return y.eBV(Nt),y.Njj(gt._handleAnimationEnd(Rt))}),y.j41(2,"div",2),y.EFF(3),y.k0s()()}2&Le&&(y.AVh("mdc-tooltip--multiline",gt._isMultiline),y.Y8G("ngClass",gt.tooltipClass),y.R7$(3),y.JRh(gt.message))},dependencies:[k.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return wr})(),gr=(()=>{class wr{static{this.\u0275fac=function(Le){return new(Le||wr)}}static{this.\u0275mod=y.$C({type:wr})}static{this.\u0275inj=y.G2t({providers:[$t],imports:[I.Pd,k.MD,T.z_,q.yE,q.yE,O.Gj]})}}return wr})()},345:(i,a,r)=>{"use strict";r.d(a,{B7:()=>rt,B8:()=>gt,hE:()=>Me,up:()=>Tt});var o=r(177),s=r(4438);class c extends o.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class y extends c{static makeCurrent(){(0,o.ZD)(new y)}onAndCancel(qt,Pt,ue){return qt.addEventListener(Pt,ue),()=>{qt.removeEventListener(Pt,ue)}}dispatchEvent(qt,Pt){qt.dispatchEvent(Pt)}remove(qt){qt.remove()}createElement(qt,Pt){return(Pt=Pt||this.getDefaultDocument()).createElement(qt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(qt){return qt.nodeType===Node.ELEMENT_NODE}isShadowRoot(qt){return qt instanceof DocumentFragment}getGlobalEventTarget(qt,Pt){return"window"===Pt?window:"document"===Pt?qt:"body"===Pt?qt.body:null}getBaseHref(qt){const Pt=function A(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==Pt?null:function I(re){return new URL(re,document.baseURI).pathname}(Pt)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(qt){return(0,o._b)(document.cookie,qt)}}let k=null,T=(()=>{class re{build(){return new XMLHttpRequest}static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const O=new s.nKC("");let L=(()=>{class re{constructor(Pt,ue){this._zone=ue,this._eventNameToPlugin=new Map,Pt.forEach(mr=>{mr.manager=this}),this._plugins=Pt.slice().reverse()}addEventListener(Pt,ue,mr){return this._findPluginFor(ue).addEventListener(Pt,ue,mr)}getZone(){return this._zone}_findPluginFor(Pt){let ue=this._eventNameToPlugin.get(Pt);if(ue)return ue;if(ue=this._plugins.find(Qr=>Qr.supports(Pt)),!ue)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(Pt,ue),ue}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(O),s.KVO(s.SKi))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class Y{constructor(qt){this._doc=qt}}const z="ng-app-id";let q=(()=>{class re{constructor(Pt,ue,mr,Qr={}){this.doc=Pt,this.appId=ue,this.nonce=mr,this.platformId=Qr,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.Vy)(Qr),this.resetHostNodes()}addStyles(Pt){for(const ue of Pt)1===this.changeUsageCount(ue,1)&&this.onStyleAdded(ue)}removeStyles(Pt){for(const ue of Pt)this.changeUsageCount(ue,-1)<=0&&this.onStyleRemoved(ue)}ngOnDestroy(){const Pt=this.styleNodesInDOM;Pt&&(Pt.forEach(ue=>ue.remove()),Pt.clear());for(const ue of this.getAllStyles())this.onStyleRemoved(ue);this.resetHostNodes()}addHost(Pt){this.hostNodes.add(Pt);for(const ue of this.getAllStyles())this.addStyleToHost(Pt,ue)}removeHost(Pt){this.hostNodes.delete(Pt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Pt){for(const ue of this.hostNodes)this.addStyleToHost(ue,Pt)}onStyleRemoved(Pt){const ue=this.styleRef;ue.get(Pt)?.elements?.forEach(mr=>mr.remove()),ue.delete(Pt)}collectServerRenderedStyles(){const Pt=this.doc.head?.querySelectorAll(`style[${z}="${this.appId}"]`);if(Pt?.length){const ue=new Map;return Pt.forEach(mr=>{null!=mr.textContent&&ue.set(mr.textContent,mr)}),ue}return null}changeUsageCount(Pt,ue){const mr=this.styleRef;if(mr.has(Pt)){const Qr=mr.get(Pt);return Qr.usage+=ue,Qr.usage}return mr.set(Pt,{usage:ue,elements:[]}),ue}getStyleElement(Pt,ue){const mr=this.styleNodesInDOM,Qr=mr?.get(ue);if(Qr?.parentNode===Pt)return mr.delete(ue),Qr.removeAttribute(z),Qr;{const Ro=this.doc.createElement("style");return this.nonce&&Ro.setAttribute("nonce",this.nonce),Ro.textContent=ue,this.platformIsServer&&Ro.setAttribute(z,this.appId),Pt.appendChild(Ro),Ro}}addStyleToHost(Pt,ue){const mr=this.getStyleElement(Pt,ue),Qr=this.styleRef,Ro=Qr.get(ue)?.elements;Ro?Ro.push(mr):Qr.set(ue,{elements:[mr],usage:1})}resetHostNodes(){const Pt=this.hostNodes;Pt.clear(),Pt.add(this.doc.head)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const ct={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},dt=/%COMP%/g,St=new s.nKC("",{providedIn:"root",factory:()=>!0});function at(re,qt){return qt.map(Pt=>Pt.replace(dt,re))}let rt=(()=>{class re{constructor(Pt,ue,mr,Qr,Ro,Wo,tr,$e=null){this.eventManager=Pt,this.sharedStylesHost=ue,this.appId=mr,this.removeStylesOnCompDestroy=Qr,this.doc=Ro,this.platformId=Wo,this.ngZone=tr,this.nonce=$e,this.rendererByCompId=new Map,this.platformIsServer=(0,o.Vy)(Wo),this.defaultRenderer=new yt(Pt,Ro,tr,this.platformIsServer)}createRenderer(Pt,ue){if(!Pt||!ue)return this.defaultRenderer;this.platformIsServer&&ue.encapsulation===s.gXe.ShadowDom&&(ue={...ue,encapsulation:s.gXe.Emulated});const mr=this.getOrCreateRenderer(Pt,ue);return mr instanceof kr?mr.applyToHost(Pt):mr instanceof Xe&&mr.applyStyles(),mr}getOrCreateRenderer(Pt,ue){const mr=this.rendererByCompId;let Qr=mr.get(ue.id);if(!Qr){const Ro=this.doc,Wo=this.ngZone,tr=this.eventManager,$e=this.sharedStylesHost,_e=this.removeStylesOnCompDestroy,qe=this.platformIsServer;switch(ue.encapsulation){case s.gXe.Emulated:Qr=new kr(tr,$e,ue,this.appId,_e,Ro,Wo,qe);break;case s.gXe.ShadowDom:return new oe(tr,$e,Pt,ue,Ro,Wo,this.nonce,qe);default:Qr=new Xe(tr,$e,ue,_e,Ro,Wo,qe)}mr.set(ue.id,Qr)}return Qr}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(L),s.KVO(q),s.KVO(s.sZ2),s.KVO(St),s.KVO(o.qQ),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();class yt{constructor(qt,Pt,ue,mr){this.eventManager=qt,this.doc=Pt,this.ngZone=ue,this.platformIsServer=mr,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(qt,Pt){return Pt?this.doc.createElementNS(ct[Pt]||Pt,qt):this.doc.createElement(qt)}createComment(qt){return this.doc.createComment(qt)}createText(qt){return this.doc.createTextNode(qt)}appendChild(qt,Pt){(Xt(qt)?qt.content:qt).appendChild(Pt)}insertBefore(qt,Pt,ue){qt&&(Xt(qt)?qt.content:qt).insertBefore(Pt,ue)}removeChild(qt,Pt){Pt.remove()}selectRootElement(qt,Pt){let ue="string"==typeof qt?this.doc.querySelector(qt):qt;if(!ue)throw new s.wOt(-5104,!1);return Pt||(ue.textContent=""),ue}parentNode(qt){return qt.parentNode}nextSibling(qt){return qt.nextSibling}setAttribute(qt,Pt,ue,mr){if(mr){Pt=mr+":"+Pt;const Qr=ct[mr];Qr?qt.setAttributeNS(Qr,Pt,ue):qt.setAttribute(Pt,ue)}else qt.setAttribute(Pt,ue)}removeAttribute(qt,Pt,ue){if(ue){const mr=ct[ue];mr?qt.removeAttributeNS(mr,Pt):qt.removeAttribute(`${ue}:${Pt}`)}else qt.removeAttribute(Pt)}addClass(qt,Pt){qt.classList.add(Pt)}removeClass(qt,Pt){qt.classList.remove(Pt)}setStyle(qt,Pt,ue,mr){mr&(s.czy.DashCase|s.czy.Important)?qt.style.setProperty(Pt,ue,mr&s.czy.Important?"important":""):qt.style[Pt]=ue}removeStyle(qt,Pt,ue){ue&s.czy.DashCase?qt.style.removeProperty(Pt):qt.style[Pt]=""}setProperty(qt,Pt,ue){null!=qt&&(qt[Pt]=ue)}setValue(qt,Pt){qt.nodeValue=Pt}listen(qt,Pt,ue){if("string"==typeof qt&&!(qt=(0,o.QT)().getGlobalEventTarget(this.doc,qt)))throw new Error(`Unsupported event target ${qt} for event ${Pt}`);return this.eventManager.addEventListener(qt,Pt,this.decoratePreventDefault(ue))}decoratePreventDefault(qt){return Pt=>{if("__ngUnwrap__"===Pt)return qt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>qt(Pt)):qt(Pt))&&Pt.preventDefault()}}}function Xt(re){return"TEMPLATE"===re.tagName&&void 0!==re.content}class oe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){super(qt,Qr,Ro,tr),this.sharedStylesHost=Pt,this.hostEl=ue,this.shadowRoot=ue.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $e=at(mr.id,mr.styles);for(const _e of $e){const qe=document.createElement("style");Wo&&qe.setAttribute("nonce",Wo),qe.textContent=_e,this.shadowRoot.appendChild(qe)}}nodeOrShadowRoot(qt){return qt===this.hostEl?this.shadowRoot:qt}appendChild(qt,Pt){return super.appendChild(this.nodeOrShadowRoot(qt),Pt)}insertBefore(qt,Pt,ue){return super.insertBefore(this.nodeOrShadowRoot(qt),Pt,ue)}removeChild(qt,Pt){return super.removeChild(null,Pt)}parentNode(qt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(qt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends yt{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){super(qt,Qr,Ro,Wo),this.sharedStylesHost=Pt,this.removeStylesOnCompDestroy=mr,this.styles=tr?at(tr,ue.styles):ue.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class kr extends Xe{constructor(qt,Pt,ue,mr,Qr,Ro,Wo,tr){const $e=mr+"-"+ue.id;super(qt,Pt,ue,Qr,Ro,Wo,tr,$e),this.contentAttr=function kt(re){return"_ngcontent-%COMP%".replace(dt,re)}($e),this.hostAttr=function nt(re){return"_nghost-%COMP%".replace(dt,re)}($e)}applyToHost(qt){this.applyStyles(),this.setAttribute(qt,this.hostAttr,"")}createElement(qt,Pt){const ue=super.createElement(qt,Pt);return super.setAttribute(ue,this.contentAttr,""),ue}}let gr=(()=>{class re extends Y{constructor(Pt){super(Pt)}supports(Pt){return!0}addEventListener(Pt,ue,mr){return Pt.addEventListener(ue,mr,!1),()=>this.removeEventListener(Pt,ue,mr)}removeEventListener(Pt,ue,mr){return Pt.removeEventListener(ue,mr)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();const wr=["alt","control","meta","shift"],Wr={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xe={alt:re=>re.altKey,control:re=>re.ctrlKey,meta:re=>re.metaKey,shift:re=>re.shiftKey};let Le=(()=>{class re extends Y{constructor(Pt){super(Pt)}supports(Pt){return null!=re.parseEventName(Pt)}addEventListener(Pt,ue,mr){const Qr=re.parseEventName(ue),Ro=re.eventCallback(Qr.fullKey,mr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.QT)().onAndCancel(Pt,Qr.domEventName,Ro))}static parseEventName(Pt){const ue=Pt.toLowerCase().split("."),mr=ue.shift();if(0===ue.length||"keydown"!==mr&&"keyup"!==mr)return null;const Qr=re._normalizeKey(ue.pop());let Ro="",Wo=ue.indexOf("code");if(Wo>-1&&(ue.splice(Wo,1),Ro="code."),wr.forEach($e=>{const _e=ue.indexOf($e);_e>-1&&(ue.splice(_e,1),Ro+=$e+".")}),Ro+=Qr,0!=ue.length||0===Qr.length)return null;const tr={};return tr.domEventName=mr,tr.fullKey=Ro,tr}static matchEventFullKeyCode(Pt,ue){let mr=Wr[Pt.key]||Pt.key,Qr="";return ue.indexOf("code.")>-1&&(mr=Pt.code,Qr="code."),!(null==mr||!mr)&&(mr=mr.toLowerCase()," "===mr?mr="space":"."===mr&&(mr="dot"),wr.forEach(Ro=>{Ro!==mr&&(0,xe[Ro])(Pt)&&(Qr+=Ro+".")}),Qr+=mr,Qr===ue)}static eventCallback(Pt,ue,mr){return Qr=>{re.matchEventFullKeyCode(Qr,Pt)&&mr.runGuarded(()=>ue(Qr))}}static _normalizeKey(Pt){return"esc"===Pt?"escape":Pt}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac})}}return re})();function gt(re,qt){return(0,s.TL3)({rootComponent:re,...Se(qt)})}function Se(re){return{appProviders:[...Ee,...re?.providers??[]],platformProviders:Ye}}const Ye=[{provide:s.Agw,useValue:o.AJ},{provide:s.PLl,useValue:function de(){y.makeCurrent()},multi:!0},{provide:o.qQ,useFactory:function De(){return(0,s.TL$)(document),document},deps:[]}],Ee=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function jt(){return new s.zcH},deps:[]},{provide:O,useClass:gr,multi:!0,deps:[o.qQ,s.SKi,s.Agw]},{provide:O,useClass:Le,multi:!0,deps:[o.qQ]},rt,q,L,{provide:s._9s,useExisting:rt},{provide:o.N0,useClass:T,deps:[]},[]];let Me=(()=>{class re{constructor(Pt){this._doc=Pt}getTitle(){return this._doc.title}setTitle(Pt){this._doc.title=Pt||""}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})(),Tt=(()=>{class re{static{this.\u0275fac=function(ue){return new(ue||re)}}static{this.\u0275prov=s.jDH({token:re,factory:function(ue){let mr=null;return mr=ue?new(ue||re):s.KVO(It),mr},providedIn:"root"})}}return re})(),It=(()=>{class re extends Tt{constructor(Pt){super(),this._doc=Pt}sanitize(Pt,ue){if(null==ue)return null;switch(Pt){case s.WPN.NONE:return ue;case s.WPN.HTML:return(0,s.ZF7)(ue,"HTML")?(0,s.rcV)(ue):(0,s.h9k)(this._doc,String(ue)).toString();case s.WPN.STYLE:return(0,s.ZF7)(ue,"Style")?(0,s.rcV)(ue):ue;case s.WPN.SCRIPT:if((0,s.ZF7)(ue,"Script"))return(0,s.rcV)(ue);throw new s.wOt(5200,!1);case s.WPN.URL:return(0,s.ZF7)(ue,"URL")?(0,s.rcV)(ue):(0,s.$MX)(String(ue));case s.WPN.RESOURCE_URL:if((0,s.ZF7)(ue,"ResourceURL"))return(0,s.rcV)(ue);throw new s.wOt(5201,!1);default:throw new s.wOt(5202,!1)}}bypassSecurityTrustHtml(Pt){return(0,s.Kcf)(Pt)}bypassSecurityTrustStyle(Pt){return(0,s.cWb)(Pt)}bypassSecurityTrustScript(Pt){return(0,s.UyX)(Pt)}bypassSecurityTrustUrl(Pt){return(0,s.osQ)(Pt)}bypassSecurityTrustResourceUrl(Pt){return(0,s.e5t)(Pt)}static{this.\u0275fac=function(ue){return new(ue||re)(s.KVO(o.qQ))}}static{this.\u0275prov=s.jDH({token:re,factory:re.\u0275fac,providedIn:"root"})}}return re})()},5245:(i,a,r)=>{"use strict";r.d(a,{nX:()=>ii,wF:()=>Dt,Ix:()=>ze,Wk:()=>Yr,wQ:()=>Mr,iI:()=>la,n3:()=>ia,lh:()=>tn,oH:()=>oi});var o=r(4438),s=r(4402),c=r(6648),y=r(7673),k=r(4412),A=r(4572),I=r(9350),M=r(8793),T=r(9030),O=r(1203),L=r(8810),Y=r(983),z=r(17),q=r(1413),ct=r(8359),dt=r(177),tt=r(6354),vt=r(5558),Mt=r(6697),$t=r(9172),St=r(5964),kt=r(1397),nt=r(9974),at=r(4360);function rt(N){return(0,nt.N)((W,P)=>{let K=!1;W.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>{K||P.next(N),P.complete()}))})}function yt(N=Ct){return(0,nt.N)((W,P)=>{let K=!1;W.subscribe((0,at._)(P,wt=>{K=!0,P.next(wt)},()=>K?P.complete():P.error(N())))})}function Ct(){return new I.G}var Vt=r(3669);function Xt(N,W){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,(0,Mt.s)(1),P?rt(W):yt(()=>new I.G))}var oe=r(274),Xe=r(8141),kr=r(9437),gr=r(6649);function Wr(N){return N<=0?()=>Y.w:(0,nt.N)((W,P)=>{let K=[];W.subscribe((0,at._)(P,wt=>{K.push(wt),N{for(const wt of K)P.next(wt);P.complete()},void 0,()=>{K=null}))})}var Le=r(3703),gt=r(980),Nt=r(9898),Se=r(6977),Rt=r(6365),de=r(345);const jt="primary",De=Symbol("RouteTitle");class Ye{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const P=this.params[W];return Array.isArray(P)?P[0]:P}return null}getAll(W){if(this.has(W)){const P=this.params[W];return Array.isArray(P)?P:[P]}return[]}get keys(){return Object.keys(this.params)}}function ft(N){return new Ye(N)}function pe(N,W,P){const K=P.path.split("/");if(K.length>N.length||"full"===P.pathMatch&&(W.hasChildren()||K.lengthK[Kt]===wt)}return N===W}function Ht(N){return N.length>0?N[N.length-1]:null}function Me(N){return(0,s.A)(N)?N:(0,o.jNT)(N)?(0,c.H)(Promise.resolve(N)):(0,y.of)(N)}const Pe={exact:function lr(N,W,P){if(!it(N.segments,W.segments)||!Ie(N.segments,W.segments,P)||N.numberOfChildren!==W.numberOfChildren)return!1;for(const K in W.children)if(!N.children[K]||!lr(N.children[K],W.children[K],P))return!1;return!0},subset:be},We={exact:function ko(N,W){return Ee(N,W)},subset:function Lt(N,W){return Object.keys(W).length<=Object.keys(N).length&&Object.keys(W).every(P=>He(N[P],W[P]))},ignored:()=>!0};function Or(N,W,P){return Pe[P.paths](N.root,W.root,P.matrixParams)&&We[P.queryParams](N.queryParams,W.queryParams)&&!("exact"===P.fragment&&N.fragment!==W.fragment)}function be(N,W,P){return se(N,W,W.segments,P)}function se(N,W,P,K){if(N.segments.length>P.length){const wt=N.segments.slice(0,P.length);return!(!it(wt,P)||W.hasChildren()||!Ie(wt,P,K))}if(N.segments.length===P.length){if(!it(N.segments,P)||!Ie(N.segments,P,K))return!1;for(const wt in W.children)if(!N.children[wt]||!be(N.children[wt],W.children[wt],K))return!1;return!0}{const wt=P.slice(0,N.segments.length),Kt=P.slice(N.segments.length);return!!(it(N.segments,wt)&&Ie(N.segments,wt,K)&&N.children[jt])&&se(N.children[jt],W,Kt,K)}}function Ie(N,W,P){return W.every((K,wt)=>We[P](N[wt].parameters,K.parameters))}class br{constructor(W=new mt([],{}),P={},K=null){this.root=W,this.queryParams=P,this.fragment=K}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return ir.serialize(this)}}class mt{constructor(W,P){this.segments=W,this.children=P,this.parent=null,Object.values(P).forEach(K=>K.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Je(this)}}class ${constructor(W,P){this.path=W,this.parameters=P}get parameterMap(){return this._parameterMap??=ft(this.parameters),this._parameterMap}toString(){return qt(this)}}function it(N,W){return N.length===W.length&&N.every((P,K)=>P.path===W[K].path)}let It=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>new ye,providedIn:"root"})}}return N})();class ye{parse(W){const P=new ke(W);return new br(P.parseRootSegment(),P.parseQueryParams(),P.parseFragment())}serialize(W){const P=`/${er(W.root,!0)}`,K=function ue(N){const W=Object.entries(N).map(([P,K])=>Array.isArray(K)?K.map(wt=>`${eo(P)}=${eo(wt)}`).join("&"):`${eo(P)}=${eo(K)}`).filter(P=>P);return W.length?`?${W.join("&")}`:""}(W.queryParams);return`${P}${K}${"string"==typeof W.fragment?`#${function Bo(N){return encodeURI(N)}(W.fragment)}`:""}`}}const ir=new ye;function Je(N){return N.segments.map(W=>qt(W)).join("/")}function er(N,W){if(!N.hasChildren())return Je(N);if(W){const P=N.children[jt]?er(N.children[jt],!1):"",K=[];return Object.entries(N.children).forEach(([wt,Kt])=>{wt!==jt&&K.push(`${wt}:${er(Kt,!1)}`)}),K.length>0?`${P}(${K.join("//")})`:P}{const P=function Tt(N,W){let P=[];return Object.entries(N.children).forEach(([K,wt])=>{K===jt&&(P=P.concat(W(wt,K)))}),Object.entries(N.children).forEach(([K,wt])=>{K!==jt&&(P=P.concat(W(wt,K)))}),P}(N,(K,wt)=>wt===jt?[er(N.children[jt],!1)]:[`${wt}:${er(K,!1)}`]);return 1===Object.keys(N.children).length&&null!=N.children[jt]?`${Je(N)}/${P[0]}`:`${Je(N)}/(${P.join("//")})`}}function Hr(N){return encodeURIComponent(N).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function eo(N){return Hr(N).replace(/%3B/gi,";")}function fr(N){return Hr(N).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pr(N){return decodeURIComponent(N)}function re(N){return Pr(N.replace(/\+/g,"%20"))}function qt(N){return`${fr(N.path)}${function Pt(N){return Object.entries(N).map(([W,P])=>`;${fr(W)}=${fr(P)}`).join("")}(N.parameters)}`}const mr=/^[^\/()?;#]+/;function Qr(N){const W=N.match(mr);return W?W[0]:""}const Ro=/^[^\/()?;=#]+/,tr=/^[^=?&#]+/,_e=/^[^&#]+/;class ke{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mt([],{}):new mt([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let P={};this.peekStartsWith("/(")&&(this.capture("/"),P=this.parseParens(!0));let K={};return this.peekStartsWith("(")&&(K=this.parseParens(!1)),(W.length>0||Object.keys(P).length>0)&&(K[jt]=new mt(W,P)),K}parseSegment(){const W=Qr(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(W),new $(Pr(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const P=function Wo(N){const W=N.match(Ro);return W?W[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const wt=Qr(this.remaining);wt&&(K=wt,this.capture(K))}W[Pr(P)]=Pr(K)}parseQueryParam(W){const P=function $e(N){const W=N.match(tr);return W?W[0]:""}(this.remaining);if(!P)return;this.capture(P);let K="";if(this.consumeOptional("=")){const Te=function qe(N){const W=N.match(_e);return W?W[0]:""}(this.remaining);Te&&(K=Te,this.capture(K))}const wt=re(P),Kt=re(K);if(W.hasOwnProperty(wt)){let Te=W[wt];Array.isArray(Te)||(Te=[Te],W[wt]=Te),Te.push(Kt)}else W[wt]=Kt}parseParens(W){const P={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const K=Qr(this.remaining),wt=this.remaining[K.length];if("/"!==wt&&")"!==wt&&";"!==wt)throw new o.wOt(4010,!1);let Kt;K.indexOf(":")>-1?(Kt=K.slice(0,K.indexOf(":")),this.capture(Kt),this.capture(":")):W&&(Kt=jt);const Te=this.parseChildren();P[Kt]=1===Object.keys(Te).length?Te[jt]:new mt([],Te),this.consumeOptional("//")}return P}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new o.wOt(4011,!1)}}function me(N){return N.segments.length>0?new mt([],{[jt]:N}):N}function Yt(N){const W={};for(const[K,wt]of Object.entries(N.children)){const Kt=Yt(wt);if(K===jt&&0===Kt.segments.length&&Kt.hasChildren())for(const[Te,Ar]of Object.entries(Kt.children))W[Te]=Ar;else(Kt.segments.length>0||Kt.hasChildren())&&(W[K]=Kt)}return function Ae(N){if(1===N.numberOfChildren&&N.children[jt]){const W=N.children[jt];return new mt(N.segments.concat(W.segments),W.children)}return N}(new mt(N.segments,W))}function ar(N){return N instanceof br}function Eo(N){let W;const wt=me(function P(Kt){const Te={};for(const pr of Kt.children){const bo=P(pr);Te[pr.outlet]=bo}const Ar=new mt(Kt.url,Te);return Kt===N&&(W=Ar),Ar}(N.root));return W??wt}function $n(N,W,P,K){let wt=N;for(;wt.parent;)wt=wt.parent;if(0===W.length)return ni(wt,wt,wt,P,K);const Kt=function ei(N){if("string"==typeof N[0]&&1===N.length&&"/"===N[0])return new pi(!0,0,N);let W=0,P=!1;const K=N.reduce((wt,Kt,Te)=>{if("object"==typeof Kt&&null!=Kt){if(Kt.outlets){const Ar={};return Object.entries(Kt.outlets).forEach(([pr,bo])=>{Ar[pr]="string"==typeof bo?bo.split("/"):bo}),[...wt,{outlets:Ar}]}if(Kt.segmentPath)return[...wt,Kt.segmentPath]}return"string"!=typeof Kt?[...wt,Kt]:0===Te?(Kt.split("/").forEach((Ar,pr)=>{0==pr&&"."===Ar||(0==pr&&""===Ar?P=!0:".."===Ar?W++:""!=Ar&&wt.push(Ar))}),wt):[...wt,Kt]},[]);return new pi(P,W,K)}(W);if(Kt.toRoot())return ni(wt,wt,new mt([],{}),P,K);const Te=function Ke(N,W,P){if(N.isAbsolute)return new Oe(W,!0,0);if(!P)return new Oe(W,!1,NaN);if(null===P.parent)return new Oe(P,!0,0);const K=Xn(N.commands[0])?0:1;return function Dr(N,W,P){let K=N,wt=W,Kt=P;for(;Kt>wt;){if(Kt-=wt,K=K.parent,!K)throw new o.wOt(4005,!1);wt=K.segments.length}return new Oe(K,!1,wt-Kt)}(P,P.segments.length-1+K,N.numberOfDoubleDots)}(Kt,wt,N),Ar=Te.processChildren?ao(Te.segmentGroup,Te.index,Kt.commands):Ur(Te.segmentGroup,Te.index,Kt.commands);return ni(wt,Te.segmentGroup,Ar,P,K)}function Xn(N){return"object"==typeof N&&null!=N&&!N.outlets&&!N.segmentPath}function Yo(N){return"object"==typeof N&&null!=N&&N.outlets}function ni(N,W,P,K,wt){let Te,Kt={};K&&Object.entries(K).forEach(([pr,bo])=>{Kt[pr]=Array.isArray(bo)?bo.map(pn=>`${pn}`):`${bo}`}),Te=N===W?P:Fo(N,W,P);const Ar=me(Yt(Te));return new br(Ar,Kt,wt)}function Fo(N,W,P){const K={};return Object.entries(N.children).forEach(([wt,Kt])=>{K[wt]=Kt===W?P:Fo(Kt,W,P)}),new mt(N.segments,K)}class pi{constructor(W,P,K){if(this.isAbsolute=W,this.numberOfDoubleDots=P,this.commands=K,W&&K.length>0&&Xn(K[0]))throw new o.wOt(4003,!1);const wt=K.find(Yo);if(wt&&wt!==Ht(K))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Oe{constructor(W,P,K){this.segmentGroup=W,this.processChildren=P,this.index=K}}function Ur(N,W,P){if(N??=new mt([],{}),0===N.segments.length&&N.hasChildren())return ao(N,W,P);const K=function no(N,W,P){let K=0,wt=W;const Kt={match:!1,pathIndex:0,commandIndex:0};for(;wt=P.length)return Kt;const Te=N.segments[wt],Ar=P[K];if(Yo(Ar))break;const pr=`${Ar}`,bo=K0&&void 0===pr)break;if(pr&&bo&&"object"==typeof bo&&void 0===bo.outlets){if(!zt(pr,bo,Te))return Kt;K+=2}else{if(!zt(pr,{},Te))return Kt;K++}wt++}return{match:!0,pathIndex:wt,commandIndex:K}}(N,W,P),wt=P.slice(K.commandIndex);if(K.match&&K.pathIndexKt!==jt)&&N.children[jt]&&1===N.numberOfChildren&&0===N.children[jt].segments.length){const Kt=ao(N.children[jt],W,P);return new mt(N.segments,Kt.children)}return Object.entries(K).forEach(([Kt,Te])=>{"string"==typeof Te&&(Te=[Te]),null!==Te&&(wt[Kt]=Ur(N.children[Kt],W,Te))}),Object.entries(N.children).forEach(([Kt,Te])=>{void 0===K[Kt]&&(wt[Kt]=Te)}),new mt(N.segments,wt)}}function vo(N,W,P){const K=N.segments.slice(0,W);let wt=0;for(;wt{"string"==typeof K&&(K=[K]),null!==K&&(W[P]=vo(new mt([],{}),0,K))}),W}function ro(N){const W={};return Object.entries(N).forEach(([P,K])=>W[P]=`${K}`),W}function zt(N,W,P){return N==P.path&&Ee(W,P.parameters)}const he="imperative";var ce=function(N){return N[N.NavigationStart=0]="NavigationStart",N[N.NavigationEnd=1]="NavigationEnd",N[N.NavigationCancel=2]="NavigationCancel",N[N.NavigationError=3]="NavigationError",N[N.RoutesRecognized=4]="RoutesRecognized",N[N.ResolveStart=5]="ResolveStart",N[N.ResolveEnd=6]="ResolveEnd",N[N.GuardsCheckStart=7]="GuardsCheckStart",N[N.GuardsCheckEnd=8]="GuardsCheckEnd",N[N.RouteConfigLoadStart=9]="RouteConfigLoadStart",N[N.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",N[N.ChildActivationStart=11]="ChildActivationStart",N[N.ChildActivationEnd=12]="ChildActivationEnd",N[N.ActivationStart=13]="ActivationStart",N[N.ActivationEnd=14]="ActivationEnd",N[N.Scroll=15]="Scroll",N[N.NavigationSkipped=16]="NavigationSkipped",N}(ce||{});class pt{constructor(W,P){this.id=W,this.url=P}}class Gt extends pt{constructor(W,P,K="imperative",wt=null){super(W,P),this.type=ce.NavigationStart,this.navigationTrigger=K,this.restoredState=wt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dt extends pt{constructor(W,P,K){super(W,P),this.urlAfterRedirects=K,this.type=ce.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ne=function(N){return N[N.Redirect=0]="Redirect",N[N.SupersededByNewNavigation=1]="SupersededByNewNavigation",N[N.NoDataFromResolver=2]="NoDataFromResolver",N[N.GuardRejected=3]="GuardRejected",N}(ne||{}),Re=function(N){return N[N.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",N[N.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",N}(Re||{});class Ce extends pt{constructor(W,P,K,wt){super(W,P),this.reason=K,this.code=wt,this.type=ce.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class or extends pt{constructor(W,P,K,wt){super(W,P),this.reason=K,this.code=wt,this.type=ce.NavigationSkipped}}class Cr extends pt{constructor(W,P,K,wt){super(W,P),this.error=K,this.target=wt,this.type=ce.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Er extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Nr extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fr extends pt{constructor(W,P,K,wt,Kt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.shouldActivate=Kt,this.type=ce.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qr extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class to extends pt{constructor(W,P,K,wt){super(W,P),this.urlAfterRedirects=K,this.state=wt,this.type=ce.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xo{constructor(W){this.route=W,this.type=ce.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class So{constructor(W){this.route=W,this.type=ce.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class po{constructor(W){this.snapshot=W,this.type=ce.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class io{constructor(W){this.snapshot=W,this.type=ce.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yn{constructor(W){this.snapshot=W,this.type=ce.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Di{constructor(W){this.snapshot=W,this.type=ce.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jn{constructor(W,P,K){this.routerEvent=W,this.position=P,this.anchor=K,this.type=ce.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Uo{}class Fn{constructor(W,P){this.url=W,this.navigationBehaviorOptions=P}}function Zn(N){return N.outlet||jt}function Mn(N){if(!N)return null;if(N.routeConfig?._injector)return N.routeConfig._injector;for(let W=N.parent;W;W=W.parent){const P=W.routeConfig;if(P?._loadedInjector)return P._loadedInjector;if(P?._injector)return P._injector}return null}class na{get injector(){return Mn(this.route?.snapshot)??this.rootInjector}set injector(W){}constructor(W){this.rootInjector=W,this.outlet=null,this.route=null,this.children=new fi(this.rootInjector),this.attachRef=null}}let fi=(()=>{class N{constructor(P){this.rootInjector=P,this.contexts=new Map}onChildOutletCreated(P,K){const wt=this.getOrCreateContext(P);wt.outlet=K,this.contexts.set(P,wt)}onChildOutletDestroyed(P){const K=this.getContext(P);K&&(K.outlet=null,K.attachRef=null)}onOutletDeactivated(){const P=this.contexts;return this.contexts=new Map,P}onOutletReAttached(P){this.contexts=P}getOrCreateContext(P){let K=this.getContext(P);return K||(K=new na(this.rootInjector),this.contexts.set(P,K)),K}getContext(P){return this.contexts.get(P)||null}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();class Ko{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const P=this.pathFromRoot(W);return P.length>1?P[P.length-2]:null}children(W){const P=pa(W,this._root);return P?P.children.map(K=>K.value):[]}firstChild(W){const P=pa(W,this._root);return P&&P.children.length>0?P.children[0].value:null}siblings(W){const P=Qn(W,this._root);return P.length<2?[]:P[P.length-2].children.map(wt=>wt.value).filter(wt=>wt!==W)}pathFromRoot(W){return Qn(W,this._root).map(P=>P.value)}}function pa(N,W){if(N===W.value)return W;for(const P of W.children){const K=pa(N,P);if(K)return K}return null}function Qn(N,W){if(N===W.value)return[W];for(const P of W.children){const K=Qn(N,P);if(K.length)return K.unshift(W),K}return[]}class qn{constructor(W,P){this.value=W,this.children=P}toString(){return`TreeNode(${this.value})`}}function Nn(N){const W={};return N&&N.children.forEach(P=>W[P.value.outlet]=P),W}class ma extends Ko{constructor(W,P){super(W),this.snapshot=P,ba(this,W)}toString(){return this.snapshot.toString()}}function Vo(N){const W=function Va(N){const Kt=new Qi([],{},{},"",{},jt,N,null,{});return new ps("",new qn(Kt,[]))}(N),P=new k.t([new $("",{})]),K=new k.t({}),wt=new k.t({}),Kt=new k.t({}),Te=new k.t(""),Ar=new ii(P,K,Kt,Te,wt,jt,N,W.root);return Ar.snapshot=W.root,new ma(new qn(Ar,[]),W)}class ii{constructor(W,P,K,wt,Kt,Te,Ar,pr){this.urlSubject=W,this.paramsSubject=P,this.queryParamsSubject=K,this.fragmentSubject=wt,this.dataSubject=Kt,this.outlet=Te,this.component=Ar,this._futureSnapshot=pr,this.title=this.dataSubject?.pipe((0,tt.T)(bo=>bo[De]))??(0,y.of)(void 0),this.url=W,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,tt.T)(W=>ft(W))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,tt.T)(W=>ft(W))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mi(N,W,P="emptyOnly"){let K;const{routeConfig:wt}=N;return K=null===W||"always"!==P&&""!==wt?.path&&(W.component||W.routeConfig?.loadComponent)?{params:{...N.params},data:{...N.data},resolve:{...N.data,...N._resolvedData??{}}}:{params:{...W.params,...N.params},data:{...W.data,...N.data},resolve:{...N.data,...W.data,...wt?.data,...N._resolvedData}},wt&&On(wt)&&(K.resolve[De]=wt.title),K}class Qi{get title(){return this.data?.[De]}constructor(W,P,K,wt,Kt,Te,Ar,pr,bo){this.url=W,this.params=P,this.queryParams=K,this.fragment=wt,this.data=Kt,this.outlet=Te,this.component=Ar,this.routeConfig=pr,this._resolve=bo}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ft(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ft(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(K=>K.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ps extends Ko{constructor(W,P){super(P),this.url=W,ba(this,P)}toString(){return za(this._root)}}function ba(N,W){W.value._routerState=N,W.children.forEach(P=>ba(N,P))}function za(N){const W=N.children.length>0?` { ${N.children.map(za).join(", ")} } `:"";return`${N.value}${W}`}function hi(N){if(N.snapshot){const W=N.snapshot,P=N._futureSnapshot;N.snapshot=P,Ee(W.queryParams,P.queryParams)||N.queryParamsSubject.next(P.queryParams),W.fragment!==P.fragment&&N.fragmentSubject.next(P.fragment),Ee(W.params,P.params)||N.paramsSubject.next(P.params),function Ut(N,W){if(N.length!==W.length)return!1;for(let P=0;PEe(P.parameters,W[K].parameters))}(N.url,W.url);return P&&!(!N.parent!=!W.parent)&&(!N.parent||Jo(N.parent,W.parent))}function On(N){return"string"==typeof N.title||null===N.title}let ia=(()=>{class N{constructor(){this.activated=null,this._activatedRoute=null,this.name=jt,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.inputBinder=(0,o.WQX)(es,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(P){if(P.name){const{firstChange:K,previousValue:wt}=P.name;if(K)return;this.isTrackedInParentContexts(wt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(wt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(P){return this.parentContexts.getContext(P)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const P=this.parentContexts.getContext(this.name);P?.route&&(P.attachRef?this.attach(P.attachRef,P.route):this.activateWith(P.route,P.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const P=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(P.instance),P}attach(P,K){this.activated=P,this._activatedRoute=K,this.location.insert(P.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(P.instance)}deactivate(){if(this.activated){const P=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(P)}}activateWith(P,K){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=P;const wt=this.location,Te=P.snapshot.component,Ar=this.parentContexts.getOrCreateContext(this.name).children,pr=new bi(P,Ar,wt.injector);this.activated=wt.createComponent(Te,{index:wt.length,injector:pr,environmentInjector:K}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275dir=o.FsC({type:N,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return N})();class bi{__ngOutletInjector(W){return new bi(this.route,this.childContexts,W)}constructor(W,P,K){this.route=W,this.childContexts=P,this.parent=K}get(W,P){return W===ii?this.route:W===fi?this.childContexts:this.parent.get(W,P)}}const es=new o.nKC("");let Vn=(()=>{class N{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(P){this.unsubscribeFromRouteData(P),this.subscribeToRouteData(P)}unsubscribeFromRouteData(P){this.outletDataSubscriptions.get(P)?.unsubscribe(),this.outletDataSubscriptions.delete(P)}subscribeToRouteData(P){const{activatedRoute:K}=P,wt=(0,A.z)([K.queryParams,K.params,K.data]).pipe((0,vt.n)(([Kt,Te,Ar],pr)=>(Ar={...Kt,...Te,...Ar},0===pr?(0,y.of)(Ar):Promise.resolve(Ar)))).subscribe(Kt=>{if(!P.isActivated||!P.activatedComponentRef||P.activatedRoute!==K||null===K.component)return void this.unsubscribeFromRouteData(P);const Te=(0,o.HJs)(K.component);if(Te)for(const{templateName:Ar}of Te.inputs)P.activatedComponentRef.setInput(Ar,Kt[Ar]);else this.unsubscribeFromRouteData(P)});this.outletDataSubscriptions.set(P,wt)}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function ci(N,W,P){if(P&&N.shouldReuseRoute(W.value,P.value.snapshot)){const K=P.value;K._futureSnapshot=W.value;const wt=function Ui(N,W,P){return W.children.map(K=>{for(const wt of P.children)if(N.shouldReuseRoute(K.value,wt.value.snapshot))return ci(N,K,wt);return ci(N,K)})}(N,W,P);return new qn(K,wt)}{if(N.shouldAttach(W.value)){const Kt=N.retrieve(W.value);if(null!==Kt){const Te=Kt.route;return Te.value._futureSnapshot=W.value,Te.children=W.children.map(Ar=>ci(N,Ar)),Te}}const K=function Jn(N){return new ii(new k.t(N.url),new k.t(N.params),new k.t(N.queryParams),new k.t(N.fragment),new k.t(N.data),N.outlet,N.component,N)}(W.value),wt=W.children.map(Kt=>ci(N,Kt));return new qn(K,wt)}}class aa{constructor(W,P){this.redirectTo=W,this.navigationBehaviorOptions=P}}const Ni="ngNavigationCancelingError";function wa(N,W){const{redirectTo:P,navigationBehaviorOptions:K}=ar(W)?{redirectTo:W,navigationBehaviorOptions:void 0}:W,wt=rs(!1,ne.Redirect);return wt.url=P,wt.navigationBehaviorOptions=K,wt}function rs(N,W){const P=new Error(`NavigationCancelingError: ${N||""}`);return P[Ni]=!0,P.cancellationCode=W,P}function os(N){return!!N&&N[Ni]}class et{constructor(W,P,K,wt,Kt){this.routeReuseStrategy=W,this.futureState=P,this.currState=K,this.forwardEvent=wt,this.inputBindingEnabled=Kt}activate(W){const P=this.futureState._root,K=this.currState?this.currState._root:null;this.deactivateChildRoutes(P,K,W),hi(this.futureState.root),this.activateChildRoutes(P,K,W)}deactivateChildRoutes(W,P,K){const wt=Nn(P);W.children.forEach(Kt=>{const Te=Kt.value.outlet;this.deactivateRoutes(Kt,wt[Te],K),delete wt[Te]}),Object.values(wt).forEach(Kt=>{this.deactivateRouteAndItsChildren(Kt,K)})}deactivateRoutes(W,P,K){const wt=W.value,Kt=P?P.value:null;if(wt===Kt)if(wt.component){const Te=K.getContext(wt.outlet);Te&&this.deactivateChildRoutes(W,P,Te.children)}else this.deactivateChildRoutes(W,P,K);else Kt&&this.deactivateRouteAndItsChildren(P,K)}deactivateRouteAndItsChildren(W,P){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,P):this.deactivateRouteAndOutlet(W,P)}detachAndStoreRouteSubtree(W,P){const K=P.getContext(W.value.outlet),wt=K&&W.value.component?K.children:P,Kt=Nn(W);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);if(K&&K.outlet){const Te=K.outlet.detach(),Ar=K.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:Te,route:W,contexts:Ar})}}deactivateRouteAndOutlet(W,P){const K=P.getContext(W.value.outlet),wt=K&&W.value.component?K.children:P,Kt=Nn(W);for(const Te of Object.values(Kt))this.deactivateRouteAndItsChildren(Te,wt);K&&(K.outlet&&(K.outlet.deactivate(),K.children.onOutletDeactivated()),K.attachRef=null,K.route=null)}activateChildRoutes(W,P,K){const wt=Nn(P);W.children.forEach(Kt=>{this.activateRoutes(Kt,wt[Kt.value.outlet],K),this.forwardEvent(new Di(Kt.value.snapshot))}),W.children.length&&this.forwardEvent(new io(W.value.snapshot))}activateRoutes(W,P,K){const wt=W.value,Kt=P?P.value:null;if(hi(wt),wt===Kt)if(wt.component){const Te=K.getOrCreateContext(wt.outlet);this.activateChildRoutes(W,P,Te.children)}else this.activateChildRoutes(W,P,K);else if(wt.component){const Te=K.getOrCreateContext(wt.outlet);if(this.routeReuseStrategy.shouldAttach(wt.snapshot)){const Ar=this.routeReuseStrategy.retrieve(wt.snapshot);this.routeReuseStrategy.store(wt.snapshot,null),Te.children.onOutletReAttached(Ar.contexts),Te.attachRef=Ar.componentRef,Te.route=Ar.route.value,Te.outlet&&Te.outlet.attach(Ar.componentRef,Ar.route.value),hi(Ar.route.value),this.activateChildRoutes(W,null,Te.children)}else Te.attachRef=null,Te.route=wt,Te.outlet&&Te.outlet.activateWith(wt,Te.injector),this.activateChildRoutes(W,null,Te.children)}else this.activateChildRoutes(W,null,K)}}class te{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class le{constructor(W,P){this.component=W,this.route=P}}function Br(N,W,P){const K=N._root;return so(K,W?W._root:null,P,[K.value])}function Oo(N,W){const P=Symbol(),K=W.get(N,P);return K===P?"function"!=typeof N||(0,o.LfX)(N)?W.get(N):N:K}function so(N,W,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=Nn(W);return N.children.forEach(Te=>{(function rn(N,W,P,K,wt={canDeactivateChecks:[],canActivateChecks:[]}){const Kt=N.value,Te=W?W.value:null,Ar=P?P.getContext(N.value.outlet):null;if(Te&&Kt.routeConfig===Te.routeConfig){const pr=function bn(N,W,P){if("function"==typeof P)return P(N,W);switch(P){case"pathParamsChange":return!it(N.url,W.url);case"pathParamsOrQueryParamsChange":return!it(N.url,W.url)||!Ee(N.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jo(N,W)||!Ee(N.queryParams,W.queryParams);default:return!Jo(N,W)}}(Te,Kt,Kt.routeConfig.runGuardsAndResolvers);pr?wt.canActivateChecks.push(new te(K)):(Kt.data=Te.data,Kt._resolvedData=Te._resolvedData),so(N,W,Kt.component?Ar?Ar.children:null:P,K,wt),pr&&Ar&&Ar.outlet&&Ar.outlet.isActivated&&wt.canDeactivateChecks.push(new le(Ar.outlet.component,Te))}else Te&&Lo(W,Ar,wt),wt.canActivateChecks.push(new te(K)),so(N,null,Kt.component?Ar?Ar.children:null:P,K,wt)})(Te,Kt[Te.value.outlet],P,K.concat([Te.value]),wt),delete Kt[Te.value.outlet]}),Object.entries(Kt).forEach(([Te,Ar])=>Lo(Ar,P.getContext(Te),wt)),wt}function Lo(N,W,P){const K=Nn(N),wt=N.value;Object.entries(K).forEach(([Kt,Te])=>{Lo(Te,wt.component?W?W.children.getContext(Kt):null:W,P)}),P.canDeactivateChecks.push(new le(wt.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,wt))}function In(N){return"function"==typeof N}function Ki(N){return N instanceof I.G||"EmptyError"===N?.name}const zn=Symbol("INITIAL_VALUE");function Gi(){return(0,vt.n)(N=>(0,A.z)(N.map(W=>W.pipe((0,Mt.s)(1),(0,$t.Z)(zn)))).pipe((0,tt.T)(W=>{for(const P of W)if(!0!==P){if(P===zn)return zn;if(!1===P||st(P))return P}return!0}),(0,St.p)(W=>W!==zn),(0,Mt.s)(1)))}function st(N){return ar(N)||N instanceof aa}function Ls(N){return(0,O.F)((0,Xe.M)(W=>{if("boolean"!=typeof W)throw wa(0,W)}),(0,tt.T)(W=>!0===W))}class Wa{constructor(W){this.segmentGroup=W||null}}class yn extends Error{constructor(W){super(),this.urlTree=W}}function Fs(N){return(0,L.$)(new Wa(N))}class Jc{constructor(W,P){this.urlSerializer=W,this.urlTree=P}lineralizeSegments(W,P){let K=[],wt=P.root;for(;;){if(K=K.concat(wt.segments),0===wt.numberOfChildren)return(0,y.of)(K);if(wt.numberOfChildren>1||!wt.children[jt])return(0,L.$)(new o.wOt(4e3,!1));wt=wt.children[jt]}}applyRedirectCommands(W,P,K,wt,Kt){if("string"!=typeof P){const Ar=P,{queryParams:pr,fragment:bo,routeConfig:pn,url:_n,outlet:wn,params:Sa,data:Ta,title:Os}=wt,vs=(0,o.N4e)(Kt,()=>Ar({params:Sa,data:Ta,queryParams:pr,fragment:bo,routeConfig:pn,url:_n,outlet:wn,title:Os}));if(vs instanceof br)throw new yn(vs);P=vs}const Te=this.applyRedirectCreateUrlTree(P,this.urlSerializer.parse(P),W,K);if("/"===P[0])throw new yn(Te);return Te}applyRedirectCreateUrlTree(W,P,K,wt){const Kt=this.createSegmentGroup(W,P.root,K,wt);return new br(Kt,this.createQueryParams(P.queryParams,this.urlTree.queryParams),P.fragment)}createQueryParams(W,P){const K={};return Object.entries(W).forEach(([wt,Kt])=>{if("string"==typeof Kt&&":"===Kt[0]){const Ar=Kt.substring(1);K[wt]=P[Ar]}else K[wt]=Kt}),K}createSegmentGroup(W,P,K,wt){const Kt=this.createSegments(W,P.segments,K,wt);let Te={};return Object.entries(P.children).forEach(([Ar,pr])=>{Te[Ar]=this.createSegmentGroup(W,pr,K,wt)}),new mt(Kt,Te)}createSegments(W,P,K,wt){return P.map(Kt=>":"===Kt.path[0]?this.findPosParam(W,Kt,wt):this.findOrReturn(Kt,K))}findPosParam(W,P,K){const wt=K[P.path.substring(1)];if(!wt)throw new o.wOt(4001,!1);return wt}findOrReturn(W,P){let K=0;for(const wt of P){if(wt.path===W.path)return P.splice(K),wt;K++}return W}}const ln={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Li(N,W,P,K,wt){const Kt=on(N,W,P);return Kt.matched?(K=function nn(N,W){return N.providers&&!N._injector&&(N._injector=(0,o.Ol2)(N.providers,W,`Route: ${N.path}`)),N._injector??W}(W,K),function Ps(N,W,P,K){const wt=W.canMatch;if(!wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Ar=Oo(Te,N);return Me(function ri(N){return N&&In(N.canMatch)}(Ar)?Ar.canMatch(W,P):(0,o.N4e)(N,()=>Ar(W,P)))});return(0,y.of)(Kt).pipe(Gi(),Ls())}(K,W,P).pipe((0,tt.T)(Te=>!0===Te?Kt:{...ln}))):(0,y.of)(Kt)}function on(N,W,P){if("**"===W.path)return function Ji(N){return{matched:!0,parameters:N.length>0?Ht(N).parameters:{},consumedSegments:N,remainingSegments:[],positionalParamSegments:{}}}(P);if(""===W.path)return"full"===W.pathMatch&&(N.hasChildren()||P.length>0)?{...ln}:{matched:!0,consumedSegments:[],remainingSegments:P,parameters:{},positionalParamSegments:{}};const wt=(W.matcher||pe)(P,N,W);if(!wt)return{...ln};const Kt={};Object.entries(wt.posParams??{}).forEach(([Ar,pr])=>{Kt[Ar]=pr.path});const Te=wt.consumed.length>0?{...Kt,...wt.consumed[wt.consumed.length-1].parameters}:Kt;return{matched:!0,consumedSegments:wt.consumed,remainingSegments:P.slice(wt.consumed.length),parameters:Te,positionalParamSegments:wt.posParams??{}}}function $i(N,W,P,K){return P.length>0&&function sa(N,W,P){return P.some(K=>Ss(N,W,K)&&Zn(K)!==jt)}(N,P,K)?{segmentGroup:new mt(W,As(K,new mt(P,N.children))),slicedSegments:[]}:0===P.length&&function yc(N,W,P){return P.some(K=>Ss(N,W,K))}(N,P,K)?{segmentGroup:new mt(N.segments,zs(N,P,K,N.children)),slicedSegments:P}:{segmentGroup:new mt(N.segments,N.children),slicedSegments:P}}function zs(N,W,P,K){const wt={};for(const Kt of P)if(Ss(N,W,Kt)&&!K[Zn(Kt)]){const Te=new mt([],{});wt[Zn(Kt)]=Te}return{...K,...wt}}function As(N,W){const P={};P[jt]=W;for(const K of N)if(""===K.path&&Zn(K)!==jt){const wt=new mt([],{});P[Zn(K)]=wt}return P}function Ss(N,W,P){return(!(N.hasChildren()||W.length>0)||"full"!==P.pathMatch)&&""===P.path}class vc{}class xc{constructor(W,P,K,wt,Kt,Te,Ar){this.injector=W,this.configLoader=P,this.rootComponentType=K,this.config=wt,this.urlTree=Kt,this.paramsInheritanceStrategy=Te,this.urlSerializer=Ar,this.applyRedirects=new Jc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(W){return new o.wOt(4002,`'${W.segmentGroup}'`)}recognize(){const W=$i(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(W).pipe((0,tt.T)(({children:P,rootSnapshot:K})=>{const wt=new qn(K,P),Kt=new ps("",wt),Te=function yr(N,W,P=null,K=null){return $n(Eo(N),W,P,K)}(K,[],this.urlTree.queryParams,this.urlTree.fragment);return Te.queryParams=this.urlTree.queryParams,Kt.url=this.urlSerializer.serialize(Te),{state:Kt,tree:Te}}))}match(W){const P=new Qi([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),jt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,W,jt,P).pipe((0,tt.T)(K=>({children:K,rootSnapshot:P})),(0,kr.W)(K=>{if(K instanceof yn)return this.urlTree=K.urlTree,this.match(K.urlTree.root);throw K instanceof Wa?this.noMatchError(K):K}))}processSegmentGroup(W,P,K,wt,Kt){return 0===K.segments.length&&K.hasChildren()?this.processChildren(W,P,K,Kt):this.processSegment(W,P,K,K.segments,wt,!0,Kt).pipe((0,tt.T)(Te=>Te instanceof qn?[Te]:[]))}processChildren(W,P,K,wt){const Kt=[];for(const Te of Object.keys(K.children))"primary"===Te?Kt.unshift(Te):Kt.push(Te);return(0,c.H)(Kt).pipe((0,oe.H)(Te=>{const Ar=K.children[Te],pr=function ua(N,W){const P=N.filter(K=>Zn(K)===W);return P.push(...N.filter(K=>Zn(K)!==W)),P}(P,Te);return this.processSegmentGroup(W,pr,Ar,Te,wt)}),function wr(N,W){return(0,nt.N)((0,gr.S)(N,W,arguments.length>=2,!0))}((Te,Ar)=>(Te.push(...Ar),Te)),rt(null),function xe(N,W){const P=arguments.length>=2;return K=>K.pipe(N?(0,St.p)((wt,Kt)=>N(wt,Kt,K)):Vt.D,Wr(1),P?rt(W):yt(()=>new I.G))}(),(0,kt.Z)(Te=>{if(null===Te)return Fs(K);const Ar=Lc(Te);return function _c(N){N.sort((W,P)=>W.value.outlet===jt?-1:P.value.outlet===jt?1:W.value.outlet.localeCompare(P.value.outlet))}(Ar),(0,y.of)(Ar)}))}processSegment(W,P,K,wt,Kt,Te,Ar){return(0,c.H)(P).pipe((0,oe.H)(pr=>this.processSegmentAgainstRoute(pr._injector??W,P,pr,K,wt,Kt,Te,Ar).pipe((0,kr.W)(bo=>{if(bo instanceof Wa)return(0,y.of)(null);throw bo}))),Xt(pr=>!!pr),(0,kr.W)(pr=>{if(Ki(pr))return function Oi(N,W,P){return 0===W.length&&!N.children[P]}(K,wt,Kt)?(0,y.of)(new vc):Fs(K);throw pr}))}processSegmentAgainstRoute(W,P,K,wt,Kt,Te,Ar,pr){return Zn(K)===Te||Te!==jt&&Ss(wt,Kt,K)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(W,wt,K,Kt,Te,pr):this.allowRedirects&&Ar?this.expandSegmentAgainstRouteUsingRedirect(W,wt,P,K,Kt,Te,pr):Fs(wt):Fs(wt)}expandSegmentAgainstRouteUsingRedirect(W,P,K,wt,Kt,Te,Ar){const{matched:pr,parameters:bo,consumedSegments:pn,positionalParamSegments:_n,remainingSegments:wn}=on(P,wt,Kt);if(!pr)return Fs(P);"string"==typeof wt.redirectTo&&"/"===wt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Sa=new Qi(Kt,bo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Bs(wt),Zn(wt),wt.component??wt._loadedComponent??null,wt,Us(wt)),Ta=mi(Sa,Ar,this.paramsInheritanceStrategy);Sa.params=Object.freeze(Ta.params),Sa.data=Object.freeze(Ta.data);const Os=this.applyRedirects.applyRedirectCommands(pn,wt.redirectTo,_n,Sa,W);return this.applyRedirects.lineralizeSegments(wt,Os).pipe((0,kt.Z)(vs=>this.processSegment(W,K,P,vs.concat(wn),Te,!1,Ar)))}matchSegmentAgainstRoute(W,P,K,wt,Kt,Te){const Ar=Li(P,K,wt,W);return"**"===K.path&&(P.children={}),Ar.pipe((0,vt.n)(pr=>pr.matched?this.getChildConfig(W=K._injector??W,K,wt).pipe((0,vt.n)(({routes:bo})=>{const pn=K._loadedInjector??W,{parameters:_n,consumedSegments:wn,remainingSegments:Sa}=pr,Ta=new Qi(wn,_n,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Bs(K),Zn(K),K.component??K._loadedComponent??null,K,Us(K)),Os=mi(Ta,Te,this.paramsInheritanceStrategy);Ta.params=Object.freeze(Os.params),Ta.data=Object.freeze(Os.data);const{segmentGroup:vs,slicedSegments:Fc}=$i(P,wn,Sa,bo);if(0===Fc.length&&vs.hasChildren())return this.processChildren(pn,bo,vs,Ta).pipe((0,tt.T)(Ya=>new qn(Ta,Ya)));if(0===bo.length&&0===Fc.length)return(0,y.of)(new qn(Ta,[]));const Ws=Zn(K)===Kt;return this.processSegment(pn,bo,vs,Fc,Ws?jt:Kt,!0,Ta).pipe((0,tt.T)(Ya=>new qn(Ta,Ya instanceof qn?[Ya]:[])))})):Fs(P)))}getChildConfig(W,P,K){return P.children?(0,y.of)({routes:P.children,injector:W}):P.loadChildren?void 0!==P._loadedRoutes?(0,y.of)({routes:P._loadedRoutes,injector:P._loadedInjector}):function Ha(N,W,P,K){const wt=W.canLoad;if(void 0===wt||0===wt.length)return(0,y.of)(!0);const Kt=wt.map(Te=>{const Ar=Oo(Te,N);return Me(function Bn(N){return N&&In(N.canLoad)}(Ar)?Ar.canLoad(W,P):(0,o.N4e)(N,()=>Ar(W,P)))});return(0,y.of)(Kt).pipe(Gi(),Ls())}(W,P,K).pipe((0,kt.Z)(wt=>wt?this.configLoader.loadChildren(W,P).pipe((0,Xe.M)(Kt=>{P._loadedRoutes=Kt.routes,P._loadedInjector=Kt.injector})):function ql(){return(0,L.$)(rs(!1,ne.GuardRejected))}())):(0,y.of)({routes:[],injector:W})}}function kc(N){const W=N.value.routeConfig;return W&&""===W.path}function Lc(N){const W=[],P=new Set;for(const K of N){if(!kc(K)){W.push(K);continue}const wt=W.find(Kt=>K.value.routeConfig===Kt.value.routeConfig);void 0!==wt?(wt.children.push(...K.children),P.add(wt)):W.push(K)}for(const K of P){const wt=Lc(K.children);W.push(new qn(K.value,wt))}return W.filter(K=>!P.has(K))}function Bs(N){return N.data||{}}function Us(N){return N.resolve||{}}function ki(N){const W=N.children.map(P=>ki(P)).flat();return[N,...W]}function Ts(N){return(0,vt.n)(W=>{const P=N(W);return P?(0,c.H)(P).pipe((0,tt.T)(()=>W)):(0,y.of)(W)})}let ai=(()=>{class N{buildTitle(P){let K,wt=P.root;for(;void 0!==wt;)K=this.getResolvedTitleForRoute(wt)??K,wt=wt.children.find(Kt=>Kt.outlet===jt);return K}getResolvedTitleForRoute(P){return P.data[De]}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(Hs),providedIn:"root"})}}return N})(),Hs=(()=>{class N extends ai{constructor(P){super(),this.title=P}updateTitle(P){const K=this.buildTitle(P);void 0!==K&&this.title.setTitle(K)}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(de.hE))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Ms=new o.nKC("",{providedIn:"root",factory:()=>({})});let Da=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275cmp=o.VBU({type:N,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(K,wt){1&K&&o.nrm(0,"router-outlet")},dependencies:[ia],encapsulation:2})}}return N})();function Ln(N){const W=N.children&&N.children.map(Ln),P=W?{...N,children:W}:{...N};return!P.component&&!P.loadComponent&&(W||P.loadChildren)&&P.outlet&&P.outlet!==jt&&(P.component=Da),P}const Ga=new o.nKC("");let gs=(()=>{class N{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(P){if(this.componentLoaders.get(P))return this.componentLoaders.get(P);if(P._loadedComponent)return(0,y.of)(P._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(P);const K=Me(P.loadComponent()).pipe((0,tt.T)(ic),(0,Xe.M)(Kt=>{this.onLoadEndListener&&this.onLoadEndListener(P),P._loadedComponent=Kt}),(0,gt.j)(()=>{this.componentLoaders.delete(P)})),wt=new z.G(K,()=>new q.B).pipe((0,Nt.B)());return this.componentLoaders.set(P,wt),wt}loadChildren(P,K){if(this.childrenLoaders.get(K))return this.childrenLoaders.get(K);if(K._loadedRoutes)return(0,y.of)({routes:K._loadedRoutes,injector:K._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(K);const Kt=function gi(N,W,P,K){return Me(N.loadChildren()).pipe((0,tt.T)(ic),(0,kt.Z)(wt=>wt instanceof o.Co$||Array.isArray(wt)?(0,y.of)(wt):(0,c.H)(W.compileModuleAsync(wt))),(0,tt.T)(wt=>{K&&K(N);let Kt,Te,Ar=!1;return Array.isArray(wt)?(Te=wt,!0):(Kt=wt.create(P).injector,Te=Kt.get(Ga,[],{optional:!0,self:!0}).flat()),{routes:Te.map(Ln),injector:Kt}}))}(K,this.compiler,P,this.onLoadEndListener).pipe((0,gt.j)(()=>{this.childrenLoaders.delete(K)})),Te=new z.G(Kt,()=>new q.B).pipe((0,Nt.B)());return this.childrenLoaders.set(K,Te),Te}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function ic(N){return function fs(N){return N&&"object"==typeof N&&"default"in N}(N)?N.default:N}let Is=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ca),providedIn:"root"})}}return N})(),ca=(()=>{class N{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,K){return P}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const bs=new o.nKC(""),fn=new o.nKC("");function ac(N,W,P){const K=N.get(fn),wt=N.get(dt.qQ);return N.get(o.SKi).runOutsideAngular(()=>{if(!wt.startViewTransition||K.skipNextTransition)return K.skipNextTransition=!1,new Promise(bo=>setTimeout(bo));let Kt;const Te=new Promise(bo=>{Kt=bo}),Ar=wt.startViewTransition(()=>(Kt(),function Ec(N){return new Promise(W=>{(0,o.mal)({read:()=>setTimeout(W)},{injector:N})})}(N))),{onViewTransitionCreated:pr}=K;return pr&&(0,o.N4e)(N,()=>pr({transition:Ar,from:W,to:P})),Te})}const B=new o.nKC("");let Et=(()=>{class N{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q.B,this.transitionAbortSubject=new q.B,this.configLoader=(0,o.WQX)(gs),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(It),this.rootContexts=(0,o.WQX)(fi),this.location=(0,o.WQX)(dt.aZ),this.inputBindingEnabled=null!==(0,o.WQX)(es,{optional:!0}),this.titleStrategy=(0,o.WQX)(ai),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,o.WQX)(Is),this.createViewTransition=(0,o.WQX)(bs,{optional:!0}),this.navigationErrorHandler=(0,o.WQX)(B,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,y.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=wt=>this.events.next(new So(wt)),this.configLoader.onLoadStartListener=wt=>this.events.next(new xo(wt))}complete(){this.transitions?.complete()}handleNavigationRequest(P){const K=++this.navigationId;this.transitions?.next({...this.transitions.value,...P,id:K})}setupNavigations(P,K,wt){return this.transitions=new k.t({id:0,currentUrlTree:K,currentRawUrl:K,extractedUrl:this.urlHandlingStrategy.extract(K),urlAfterRedirects:this.urlHandlingStrategy.extract(K),rawUrl:K,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:he,restoredState:null,currentSnapshot:wt.snapshot,targetSnapshot:null,currentRouterState:wt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,St.p)(Kt=>0!==Kt.id),(0,tt.T)(Kt=>({...Kt,extractedUrl:this.urlHandlingStrategy.extract(Kt.rawUrl)})),(0,vt.n)(Kt=>{let Te=!1,Ar=!1;return(0,y.of)(Kt).pipe((0,vt.n)(pr=>{if(this.navigationId>Kt.id)return this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),Y.w;this.currentTransition=Kt,this.currentNavigation={id:pr.id,initialUrl:pr.rawUrl,extractedUrl:pr.extractedUrl,targetBrowserUrl:"string"==typeof pr.extras.browserUrl?this.urlSerializer.parse(pr.extras.browserUrl):pr.extras.browserUrl,trigger:pr.source,extras:pr.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const bo=!P.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!bo&&"reload"!==(pr.extras.onSameUrlNavigation??P.onSameUrlNavigation)){const _n="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.rawUrl),_n,Re.IgnoredSameUrlNavigation)),pr.resolve(!1),Y.w}if(this.urlHandlingStrategy.shouldProcessUrl(pr.rawUrl))return(0,y.of)(pr).pipe((0,vt.n)(_n=>{const wn=this.transitions?.getValue();return this.events.next(new Gt(_n.id,this.urlSerializer.serialize(_n.extractedUrl),_n.source,_n.restoredState)),wn!==this.transitions?.getValue()?Y.w:Promise.resolve(_n)}),function Ca(N,W,P,K,wt,Kt){return(0,kt.Z)(Te=>function Nc(N,W,P,K,wt,Kt,Te="emptyOnly"){return new xc(N,W,P,K,wt,Te,Kt).recognize()}(N,W,P,K,Te.extractedUrl,wt,Kt).pipe((0,tt.T)(({state:Ar,tree:pr})=>({...Te,targetSnapshot:Ar,urlAfterRedirects:pr}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,P.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Xe.M)(_n=>{Kt.targetSnapshot=_n.targetSnapshot,Kt.urlAfterRedirects=_n.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:_n.urlAfterRedirects};const wn=new Er(_n.id,this.urlSerializer.serialize(_n.extractedUrl),this.urlSerializer.serialize(_n.urlAfterRedirects),_n.targetSnapshot);this.events.next(wn)}));if(bo&&this.urlHandlingStrategy.shouldProcessUrl(pr.currentRawUrl)){const{id:_n,extractedUrl:wn,source:Sa,restoredState:Ta,extras:Os}=pr,vs=new Gt(_n,this.urlSerializer.serialize(wn),Sa,Ta);this.events.next(vs);const Fc=Vo(this.rootComponentType).snapshot;return this.currentTransition=Kt={...pr,targetSnapshot:Fc,urlAfterRedirects:wn,extras:{...Os,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=wn,(0,y.of)(Kt)}{const _n="";return this.events.next(new or(pr.id,this.urlSerializer.serialize(pr.extractedUrl),_n,Re.IgnoredByUrlHandlingStrategy)),pr.resolve(!1),Y.w}}),(0,Xe.M)(pr=>{const bo=new Nr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot);this.events.next(bo)}),(0,tt.T)(pr=>(this.currentTransition=Kt={...pr,guards:Br(pr.targetSnapshot,pr.currentSnapshot,this.rootContexts)},Kt)),function bt(N,W){return(0,kt.Z)(P=>{const{targetSnapshot:K,currentSnapshot:wt,guards:{canActivateChecks:Kt,canDeactivateChecks:Te}}=P;return 0===Te.length&&0===Kt.length?(0,y.of)({...P,guardsResult:!0}):function X(N,W,P,K){return(0,c.H)(N).pipe((0,kt.Z)(wt=>function Ns(N,W,P,K,wt){const Kt=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!Kt||0===Kt.length)return(0,y.of)(!0);const Te=Kt.map(Ar=>{const pr=Mn(W)??wt,bo=Oo(Ar,pr);return Me(function qi(N){return N&&In(N.canDeactivate)}(bo)?bo.canDeactivate(N,W,P,K):(0,o.N4e)(pr,()=>bo(N,W,P,K))).pipe(Xt())});return(0,y.of)(Te).pipe(Gi())}(wt.component,wt.route,P,W,K)),Xt(wt=>!0!==wt,!0))}(Te,K,wt,N).pipe((0,kt.Z)(Ar=>Ar&&function Si(N){return"boolean"==typeof N}(Ar)?function Ft(N,W,P,K){return(0,c.H)(W).pipe((0,oe.H)(wt=>(0,M.x)(function No(N,W){return null!==N&&W&&W(new po(N)),(0,y.of)(!0)}(wt.route.parent,K),function je(N,W){return null!==N&&W&&W(new Yn(N)),(0,y.of)(!0)}(wt.route,K),function ha(N,W,P){const K=W[W.length-1],Kt=W.slice(0,W.length-1).reverse().map(Te=>function jr(N){const W=N.routeConfig?N.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:N,guards:W}:null}(Te)).filter(Te=>null!==Te).map(Te=>(0,T.v)(()=>{const Ar=Te.guards.map(pr=>{const bo=Mn(Te.node)??P,pn=Oo(pr,bo);return Me(function wi(N){return N&&In(N.canActivateChild)}(pn)?pn.canActivateChild(K,N):(0,o.N4e)(bo,()=>pn(K,N))).pipe(Xt())});return(0,y.of)(Ar).pipe(Gi())}));return(0,y.of)(Kt).pipe(Gi())}(N,wt.path,P),function gn(N,W,P){const K=W.routeConfig?W.routeConfig.canActivate:null;if(!K||0===K.length)return(0,y.of)(!0);const wt=K.map(Kt=>(0,T.v)(()=>{const Te=Mn(W)??P,Ar=Oo(Kt,Te);return Me(function Ti(N){return N&&In(N.canActivate)}(Ar)?Ar.canActivate(W,N):(0,o.N4e)(Te,()=>Ar(W,N))).pipe(Xt())}));return(0,y.of)(wt).pipe(Gi())}(N,wt.route,P))),Xt(wt=>!0!==wt,!0))}(K,Kt,N,W):(0,y.of)(Ar)),(0,tt.T)(Ar=>({...P,guardsResult:Ar})))})}(this.environmentInjector,pr=>this.events.next(pr)),(0,Xe.M)(pr=>{if(Kt.guardsResult=pr.guardsResult,pr.guardsResult&&"boolean"!=typeof pr.guardsResult)throw wa(0,pr.guardsResult);const bo=new Fr(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects),pr.targetSnapshot,!!pr.guardsResult);this.events.next(bo)}),(0,St.p)(pr=>!!pr.guardsResult||(this.cancelNavigationTransition(pr,"",ne.GuardRejected),!1)),Ts(pr=>{if(pr.guards.canActivateChecks.length)return(0,y.of)(pr).pipe((0,Xe.M)(bo=>{const pn=new qr(bo.id,this.urlSerializer.serialize(bo.extractedUrl),this.urlSerializer.serialize(bo.urlAfterRedirects),bo.targetSnapshot);this.events.next(pn)}),(0,vt.n)(bo=>{let pn=!1;return(0,y.of)(bo).pipe(function el(N,W){return(0,kt.Z)(P=>{const{targetSnapshot:K,guards:{canActivateChecks:wt}}=P;if(!wt.length)return(0,y.of)(P);const Kt=new Set(wt.map(pr=>pr.route)),Te=new Set;for(const pr of Kt)if(!Te.has(pr))for(const bo of ki(pr))Te.add(bo);let Ar=0;return(0,c.H)(Te).pipe((0,oe.H)(pr=>Kt.has(pr)?function ta(N,W,P,K){const wt=N.routeConfig,Kt=N._resolve;return void 0!==wt?.title&&!On(wt)&&(Kt[De]=wt.title),function Jl(N,W,P,K){const wt=ie(N);if(0===wt.length)return(0,y.of)({});const Kt={};return(0,c.H)(wt).pipe((0,kt.Z)(Te=>function Xi(N,W,P,K){const wt=Mn(W)??K,Kt=Oo(N,wt);return Me(Kt.resolve?Kt.resolve(W,P):(0,o.N4e)(wt,()=>Kt(W,P)))}(N[Te],W,P,K).pipe(Xt(),(0,Xe.M)(Ar=>{if(Ar instanceof aa)throw wa(new ye,Ar);Kt[Te]=Ar}))),Wr(1),(0,Le.u)(Kt),(0,kr.W)(Te=>Ki(Te)?Y.w:(0,L.$)(Te)))}(Kt,N,W,K).pipe((0,tt.T)(Te=>(N._resolvedData=Te,N.data=mi(N,N.parent,P).resolve,null)))}(pr,K,N,W):(pr.data=mi(pr,pr.parent,N).resolve,(0,y.of)(void 0))),(0,Xe.M)(()=>Ar++),Wr(1),(0,kt.Z)(pr=>Ar===Te.size?(0,y.of)(P):Y.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>pn=!0,complete:()=>{pn||this.cancelNavigationTransition(bo,"",ne.NoDataFromResolver)}}))}),(0,Xe.M)(bo=>{const pn=new to(bo.id,this.urlSerializer.serialize(bo.extractedUrl),this.urlSerializer.serialize(bo.urlAfterRedirects),bo.targetSnapshot);this.events.next(pn)}))}),Ts(pr=>{const bo=pn=>{const _n=[];pn.routeConfig?.loadComponent&&!pn.routeConfig._loadedComponent&&_n.push(this.configLoader.loadComponent(pn.routeConfig).pipe((0,Xe.M)(wn=>{pn.component=wn}),(0,tt.T)(()=>{})));for(const wn of pn.children)_n.push(...bo(wn));return _n};return(0,A.z)(bo(pr.targetSnapshot.root)).pipe(rt(null),(0,Mt.s)(1))}),Ts(()=>this.afterPreactivation()),(0,vt.n)(()=>{const{currentSnapshot:pr,targetSnapshot:bo}=Kt,pn=this.createViewTransition?.(this.environmentInjector,pr.root,bo.root);return pn?(0,c.H)(pn).pipe((0,tt.T)(()=>Kt)):(0,y.of)(Kt)}),(0,tt.T)(pr=>{const bo=function xi(N,W,P){const K=ci(N,W._root,P?P._root:void 0);return new ma(K,W)}(P.routeReuseStrategy,pr.targetSnapshot,pr.currentRouterState);return this.currentTransition=Kt={...pr,targetRouterState:bo},this.currentNavigation.targetRouterState=bo,Kt}),(0,Xe.M)(()=>{this.events.next(new Uo)}),((N,W,P,K)=>(0,tt.T)(wt=>(new et(W,wt.targetRouterState,wt.currentRouterState,P,K).activate(N),wt)))(this.rootContexts,P.routeReuseStrategy,pr=>this.events.next(pr),this.inputBindingEnabled),(0,Mt.s)(1),(0,Xe.M)({next:pr=>{Te=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Dt(pr.id,this.urlSerializer.serialize(pr.extractedUrl),this.urlSerializer.serialize(pr.urlAfterRedirects))),this.titleStrategy?.updateTitle(pr.targetRouterState.snapshot),pr.resolve(!0)},complete:()=>{Te=!0}}),(0,Se.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pr=>{throw pr}))),(0,gt.j)(()=>{!Te&&!Ar&&this.cancelNavigationTransition(Kt,"",ne.SupersededByNewNavigation),this.currentTransition?.id===Kt.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,kr.W)(pr=>{if(Ar=!0,os(pr))this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr.message,pr.cancellationCode)),function _i(N){return os(N)&&ar(N.url)}(pr)?this.events.next(new Fn(pr.url,pr.navigationBehaviorOptions)):Kt.resolve(!1);else{const bo=new Cr(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),pr,Kt.targetSnapshot??void 0);try{const pn=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(bo));if(pn instanceof aa){const{message:_n,cancellationCode:wn}=wa(0,pn);this.events.next(new Ce(Kt.id,this.urlSerializer.serialize(Kt.extractedUrl),_n,wn)),this.events.next(new Fn(pn.redirectTo,pn.navigationBehaviorOptions))}else{this.events.next(bo);const _n=P.errorHandler(pr);Kt.resolve(!!_n)}}catch(pn){this.options.resolveNavigationPromiseOnError?Kt.resolve(!1):Kt.reject(pn)}}return Y.w}))}))}cancelNavigationTransition(P,K,wt){const Kt=new Ce(P.id,this.urlSerializer.serialize(P.extractedUrl),K,wt);this.events.next(Kt),P.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const P=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),K=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return P.toString()!==K?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();function x(N){return N!==he}let C=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ht),providedIn:"root"})}}return N})();class F{shouldDetach(W){return!1}store(W,P){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,P){return W.routeConfig===P.routeConfig}}let ht=(()=>{class N extends F{static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Ot=(()=>{class N{static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:()=>(0,o.WQX)(ae),providedIn:"root"})}}return N})(),ae=(()=>{class N extends Ot{constructor(){super(...arguments),this.location=(0,o.WQX)(dt.aZ),this.urlSerializer=(0,o.WQX)(It),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,o.WQX)(Is),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new br,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Vo(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(P){return this.location.subscribe(K=>{"popstate"===K.type&&P(K.url,K.state)})}handleRouterEvent(P,K){if(P instanceof Gt)this.stateMemento=this.createStateMemento();else if(P instanceof or)this.rawUrlTree=K.initialUrl;else if(P instanceof Er){if("eager"===this.urlUpdateStrategy&&!K.extras.skipLocationChange){const wt=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl);this.setBrowserUrl(K.targetBrowserUrl??wt,K)}}else P instanceof Uo?(this.currentUrlTree=K.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(K.finalUrl,K.initialUrl),this.routerState=K.targetRouterState,"deferred"===this.urlUpdateStrategy&&!K.extras.skipLocationChange&&this.setBrowserUrl(K.targetBrowserUrl??this.rawUrlTree,K)):P instanceof Ce&&(P.code===ne.GuardRejected||P.code===ne.NoDataFromResolver)?this.restoreHistory(K):P instanceof Cr?this.restoreHistory(K,!0):P instanceof Dt&&(this.lastSuccessfulId=P.id,this.currentPageId=this.browserPageId)}setBrowserUrl(P,K){const wt=P instanceof br?this.urlSerializer.serialize(P):P;if(this.location.isCurrentPathEqualTo(wt)||K.extras.replaceUrl){const Te={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId)};this.location.replaceState(wt,"",Te)}else{const Kt={...K.extras.state,...this.generateNgRouterState(K.id,this.browserPageId+1)};this.location.go(wt,"",Kt)}}restoreHistory(P,K=!1){if("computed"===this.canceledNavigationResolution){const Kt=this.currentPageId-this.browserPageId;0!==Kt?this.location.historyGo(Kt):this.currentUrlTree===P.finalUrl&&0===Kt&&(this.resetState(P),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(K&&this.resetState(P),this.resetUrlToCurrentUrlTree())}resetState(P){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,P.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(P,K){return"computed"===this.canceledNavigationResolution?{navigationId:P,\u0275routerPageId:K}:{navigationId:P}}static{this.\u0275fac=(()=>{let P;return function(wt){return(P||(P=o.xGo(N)))(wt||N)}})()}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();var Ue=function(N){return N[N.COMPLETE=0]="COMPLETE",N[N.FAILED=1]="FAILED",N[N.REDIRECTING=2]="REDIRECTING",N}(Ue||{});function Ve(N,W){N.events.pipe((0,St.p)(P=>P instanceof Dt||P instanceof Ce||P instanceof Cr||P instanceof or),(0,tt.T)(P=>P instanceof Dt||P instanceof or?Ue.COMPLETE:P instanceof Ce&&(P.code===ne.Redirect||P.code===ne.SupersededByNewNavigation)?Ue.REDIRECTING:Ue.FAILED),(0,St.p)(P=>P!==Ue.REDIRECTING),(0,Mt.s)(1)).subscribe(()=>{W()})}function Ze(N){throw N}const sr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ir={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ze=(()=>{class N{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=(0,o.WQX)(o.H3F),this.stateManager=(0,o.WQX)(Ot),this.options=(0,o.WQX)(Ms,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,o.WQX)(Et),this.urlSerializer=(0,o.WQX)(It),this.location=(0,o.WQX)(dt.aZ),this.urlHandlingStrategy=(0,o.WQX)(Is),this._events=new q.B,this.errorHandler=this.options.errorHandler||Ze,this.navigated=!1,this.routeReuseStrategy=(0,o.WQX)(C),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,o.WQX)(Ga,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,o.WQX)(es,{optional:!0}),this.eventsSubscription=new ct.yU,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:P=>{this.console.warn(P)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const P=this.navigationTransitions.events.subscribe(K=>{try{const wt=this.navigationTransitions.currentTransition,Kt=this.navigationTransitions.currentNavigation;if(null!==wt&&null!==Kt)if(this.stateManager.handleRouterEvent(K,Kt),K instanceof Ce&&K.code!==ne.Redirect&&K.code!==ne.SupersededByNewNavigation)this.navigated=!0;else if(K instanceof Dt)this.navigated=!0;else if(K instanceof Fn){const Te=K.navigationBehaviorOptions,Ar=this.urlHandlingStrategy.merge(K.url,wt.currentRawUrl),pr={browserUrl:wt.extras.browserUrl,info:wt.extras.info,skipLocationChange:wt.extras.skipLocationChange,replaceUrl:wt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||x(wt.source),...Te};this.scheduleNavigation(Ar,he,null,pr,{resolve:wt.resolve,reject:wt.reject,promise:wt.promise})}(function _r(N){return!(N instanceof Uo||N instanceof Fn)})(K)&&this._events.next(K)}catch(wt){this.navigationTransitions.transitionAbortSubject.next(wt)}});this.eventsSubscription.add(P)}resetRootComponentType(P){this.routerState.root.component=P,this.navigationTransitions.rootComponentType=P}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),he,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((P,K)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(P,"popstate",K)},0)})}navigateToSyncWithBrowser(P,K,wt){const Kt={replaceUrl:!0},Te=wt?.navigationId?wt:null;if(wt){const pr={...wt};delete pr.navigationId,delete pr.\u0275routerPageId,0!==Object.keys(pr).length&&(Kt.state=pr)}const Ar=this.parseUrl(P);this.scheduleNavigation(Ar,K,Te,Kt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(P){this.config=P.map(Ln),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(P,K={}){const{relativeTo:wt,queryParams:Kt,fragment:Te,queryParamsHandling:Ar,preserveFragment:pr}=K,bo=pr?this.currentUrlTree.fragment:Te;let _n,pn=null;switch(Ar??this.options.defaultQueryParamsHandling){case"merge":pn={...this.currentUrlTree.queryParams,...Kt};break;case"preserve":pn=this.currentUrlTree.queryParams;break;default:pn=Kt||null}null!==pn&&(pn=this.removeEmptyProps(pn));try{_n=Eo(wt?wt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof P[0]||"/"!==P[0][0])&&(P=[]),_n=this.currentUrlTree.root}return $n(_n,P,pn,bo??null)}navigateByUrl(P,K={skipLocationChange:!1}){const wt=ar(P)?P:this.parseUrl(P),Kt=this.urlHandlingStrategy.merge(wt,this.rawUrlTree);return this.scheduleNavigation(Kt,he,null,K)}navigate(P,K={skipLocationChange:!1}){return function nr(N){for(let W=0;W(null!=Kt&&(K[wt]=Kt),K),{})}scheduleNavigation(P,K,wt,Kt,Te){if(this.disposed)return Promise.resolve(!1);let Ar,pr,bo;Te?(Ar=Te.resolve,pr=Te.reject,bo=Te.promise):bo=new Promise((_n,wn)=>{Ar=_n,pr=wn});const pn=this.pendingTasks.add();return Ve(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(pn))}),this.navigationTransitions.handleNavigationRequest({source:K,restoredState:wt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:P,extras:Kt,resolve:Ar,reject:pr,promise:bo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bo.catch(_n=>Promise.reject(_n))}static{this.\u0275fac=function(K){return new(K||N)}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})(),Yr=(()=>{class N{constructor(P,K,wt,Kt,Te,Ar){this.router=P,this.route=K,this.tabIndexAttribute=wt,this.renderer=Kt,this.el=Te,this.locationStrategy=Ar,this.href=null,this.onChanges=new q.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const pr=Te.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pr||"area"===pr,this.isAnchorElement?this.subscription=P.events.subscribe(bo=>{bo instanceof Dt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(P){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",P)}ngOnChanges(P){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(P){null==P?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=ar(P)||Array.isArray(P)?P:[P],this.setTabIndexIfNotOnNativeEl("0"))}onClick(P,K,wt,Kt,Te){const Ar=this.urlTree;return!!(null===Ar||this.isAnchorElement&&(0!==P||K||wt||Kt||Te||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ar,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const P=this.urlTree;this.href=null!==P&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(P)):null;const K=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",K)}applyAttributeValue(P,K){const wt=this.renderer,Kt=this.el.nativeElement;null!==K?wt.setAttribute(Kt,P,K):wt.removeAttribute(Kt,P)}get urlTree(){return null===this.routerLinkInput?null:ar(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(ii),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(dt.hb))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(K,wt){1&K&&o.bIt("click",function(Te){return wt.onClick(Te.button,Te.ctrlKey,Te.shiftKey,Te.altKey,Te.metaKey)}),2&K&&o.BMQ("target",wt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",o.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",o.L39],replaceUrl:[2,"replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return N})(),Mr=(()=>{class N{get isActive(){return this._isActive}constructor(P,K,wt,Kt,Te){this.router=P,this.element=K,this.renderer=wt,this.cdr=Kt,this.link=Te,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new o.bkB,this.routerEventsSubscription=P.events.subscribe(Ar=>{Ar instanceof Dt&&this.update()})}ngAfterContentInit(){(0,y.of)(this.links.changes,(0,y.of)(null)).pipe((0,Rt.U)()).subscribe(P=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const P=[...this.links.toArray(),this.link].filter(K=>!!K).map(K=>K.onChanges);this.linkInputChangesSubscription=(0,c.H)(P).pipe((0,Rt.U)()).subscribe(K=>{this._isActive!==this.isLinkActive(this.router)(K)&&this.update()})}set routerLinkActive(P){const K=Array.isArray(P)?P:P.split(" ");this.classes=K.filter(wt=>!!wt)}ngOnChanges(P){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const P=this.hasActiveLinks();this.classes.forEach(K=>{P?this.renderer.addClass(this.element.nativeElement,K):this.renderer.removeClass(this.element.nativeElement,K)}),P&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==P&&(this._isActive=P,this.cdr.markForCheck(),this.isActiveChange.emit(P))})}isLinkActive(P){const K=function Gr(N){return!!N.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return wt=>{const Kt=wt.urlTree;return!!Kt&&P.isActive(Kt,K)}}hasActiveLinks(){const P=this.isLinkActive(this.router);return this.link&&P(this.link)||this.links.some(P)}static{this.\u0275fac=function(K){return new(K||N)(o.rXU(ze),o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(o.gRc),o.rXU(Yr,8))}}static{this.\u0275dir=o.FsC({type:N,selectors:[["","routerLinkActive",""]],contentQueries:function(K,wt,Kt){if(1&K&&o.wni(Kt,Yr,5),2&K){let Te;o.mGM(Te=o.lsd())&&(wt.links=Te)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[o.OA$]})}}return N})();class Jr{}let Do=(()=>{class N{constructor(P,K,wt,Kt,Te){this.router=P,this.injector=wt,this.preloadingStrategy=Kt,this.loader=Te}setUpPreloading(){this.subscription=this.router.events.pipe((0,St.p)(P=>P instanceof Dt),(0,oe.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(P,K){const wt=[];for(const Kt of K){Kt.providers&&!Kt._injector&&(Kt._injector=(0,o.Ol2)(Kt.providers,P,`Route: ${Kt.path}`));const Te=Kt._injector??P,Ar=Kt._loadedInjector??Te;(Kt.loadChildren&&!Kt._loadedRoutes&&void 0===Kt.canLoad||Kt.loadComponent&&!Kt._loadedComponent)&&wt.push(this.preloadConfig(Te,Kt)),(Kt.children||Kt._loadedRoutes)&&wt.push(this.processRoutes(Ar,Kt.children??Kt._loadedRoutes))}return(0,c.H)(wt).pipe((0,Rt.U)())}preloadConfig(P,K){return this.preloadingStrategy.preload(K,()=>{let wt;wt=K.loadChildren&&void 0===K.canLoad?this.loader.loadChildren(P,K):(0,y.of)(null);const Kt=wt.pipe((0,kt.Z)(Te=>null===Te?(0,y.of)(void 0):(K._loadedRoutes=Te.routes,K._loadedInjector=Te.injector,this.processRoutes(Te.injector??P,Te.routes))));if(K.loadComponent&&!K._loadedComponent){const Te=this.loader.loadComponent(K);return(0,c.H)([Kt,Te]).pipe((0,Rt.U)())}return Kt})}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(ze),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(Jr),o.KVO(gs))}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})();const Io=new o.nKC("");let Xr=(()=>{class N{constructor(P,K,wt,Kt,Te={}){this.urlSerializer=P,this.transitions=K,this.viewportScroller=wt,this.zone=Kt,this.options=Te,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Te.scrollPositionRestoration||="disabled",Te.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof Gt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=P.navigationTrigger,this.restoredId=P.restoredState?P.restoredState.navigationId:0):P instanceof Dt?(this.lastId=P.id,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.urlAfterRedirects).fragment)):P instanceof or&&P.code===Re.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof jn&&(P.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(P.position):P.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(P.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(P,K){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new jn(P,"popstate"===this.lastSource?this.store[this.restoredId]:null,K))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(K){o.QTQ()}}static{this.\u0275prov=o.jDH({token:N,factory:N.\u0275fac})}}return N})();function tn(N,...W){return(0,o.EmA)([{provide:Ga,multi:!0,useValue:N},[],{provide:ii,useFactory:Xo,deps:[ze]},{provide:o.iLQ,multi:!0,useFactory:Hi},W.map(P=>P.\u0275providers)])}function Xo(N){return N.routerState.root}function En(N,W){return{\u0275kind:N,\u0275providers:W}}function oi(N={}){return En(4,[{provide:Io,useFactory:()=>{const P=(0,o.WQX)(dt.Xr),K=(0,o.WQX)(o.SKi),wt=(0,o.WQX)(Et),Kt=(0,o.WQX)(It);return new Xr(Kt,wt,P,K,N)}}])}function Hi(){const N=(0,o.WQX)(o.zZn);return W=>{const P=N.get(o.o8S);if(W!==P.components[0])return;const K=N.get(ze),wt=N.get(To);1===N.get(uo)&&K.initialNavigation(),N.get(Mi,null,o.$GK.Optional)?.setUpPreloading(),N.get(Io,null,o.$GK.Optional)?.init(),K.resetRootComponentType(P.componentTypes[0]),wt.closed||(wt.next(),wt.complete(),wt.unsubscribe())}}const To=new o.nKC("",{factory:()=>new q.B}),uo=new o.nKC("",{providedIn:"root",factory:()=>1}),Mi=new o.nKC("");function ea(N){return En(0,[{provide:Mi,useExisting:Do},{provide:Jr,useExisting:N}])}function Po(N){return En(9,[{provide:bs,useValue:ac},{provide:fn,useValue:{skipNextTransition:!!N?.skipInitialTransition,...N}}])}const Ii=new o.nKC("ROUTER_FORROOT_GUARD"),Xa=[dt.aZ,{provide:It,useClass:ye},ze,fi,{provide:ii,useFactory:Xo,deps:[ze]},gs,[]];let la=(()=>{class N{constructor(P){}static forRoot(P,K){return{ngModule:N,providers:[Xa,[],{provide:Ga,multi:!0,useValue:P},{provide:Ii,useFactory:ys,deps:[[ze,new o.Xx1,new o.kdw]]},{provide:Ms,useValue:K||{}},K?.useHash?{provide:dt.hb,useClass:dt.fw}:{provide:dt.hb,useClass:dt.Sm},{provide:Io,useFactory:()=>{const N=(0,o.WQX)(dt.Xr),W=(0,o.WQX)(o.SKi),P=(0,o.WQX)(Ms),K=(0,o.WQX)(Et),wt=(0,o.WQX)(It);return P.scrollOffset&&N.setOffset(P.scrollOffset),new Xr(wt,K,N,W,P)}},K?.preloadingStrategy?ea(K.preloadingStrategy).\u0275providers:[],K?.initialNavigation?yl(K):[],K?.bindToComponentInputs?En(8,[Vn,{provide:es,useExisting:Vn}]).\u0275providers:[],K?.enableViewTransitions?Po().\u0275providers:[],[{provide:Pc,useFactory:Hi},{provide:o.iLQ,multi:!0,useExisting:Pc}]]}}static forChild(P){return{ngModule:N,providers:[{provide:Ga,multi:!0,useValue:P}]}}static{this.\u0275fac=function(K){return new(K||N)(o.KVO(Ii,8))}}static{this.\u0275mod=o.$C({type:N})}static{this.\u0275inj=o.G2t({})}}return N})();function ys(N){return"guarded"}function yl(N){return["disabled"===N.initialNavigation?En(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const W=(0,o.WQX)(ze);return()=>{W.setUpLocationChangeListener()}}},{provide:uo,useValue:2}]).\u0275providers:[],"enabledBlocking"===N.initialNavigation?En(2,[{provide:uo,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:W=>{const P=W.get(dt.hj,Promise.resolve());return()=>P.then(()=>new Promise(K=>{const wt=W.get(ze),Kt=W.get(To);Ve(wt,()=>{K(!0)}),W.get(Et).afterPreactivation=()=>(K(!0),Kt.closed?(0,y.of)(void 0):Kt),wt.initialNavigation()}))}}]).\u0275providers:[]]}const Pc=new o.nKC("")},6616:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ts:()=>init,ql:()=>launch});var _home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(467),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6218),_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(600),BUILD={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},__defProp$1=Object.defineProperty,__export$1=(i,a)=>{for(var r in a)__defProp$1(i,r,{get:a[r],enumerable:!0})},hostRefs=new WeakMap,getHostRef=i=>hostRefs.get(i),registerHost=(i,a)=>hostRefs.set(i,{$flags$:0,$hostElement$:i,$cmpMeta$:a,$instanceValues$:new Map}),isMemberInElement=(i,a)=>a in i,consoleError=(i,a)=>(0,console.error)(i,a),styles=new Map,modeResolutionChain=[],SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}",XLINK_NS="http://www.w3.org/1999/xlink",win=typeof window<"u"?window:{},doc=win.document||{head:{}},H=win.HTMLElement||class{},plt={$flags$:0,$resourcesUrl$:"",jmp:i=>i(),raf:i=>requestAnimationFrame(i),ael:(i,a,r,o)=>i.addEventListener(a,r,o),rel:(i,a,r,o)=>i.removeEventListener(a,r,o),ce:(i,a)=>new CustomEvent(i,a)},supportsListenerOptions=(()=>{let i=!1;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get(){i=!0}}))}catch{}return i})(),promiseResolve=i=>Promise.resolve(i),supportsConstructableStylesheets=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),queuePending=!1,queueDomReads=[],queueDomWrites=[],queueTask=(i,a)=>r=>{i.push(r),queuePending||(queuePending=!0,a&&4&plt.$flags$?nextTick(flush):plt.raf(flush))},consume=i=>{for(let a=0;a{consume(queueDomReads),consume(queueDomWrites),(queuePending=queueDomReads.length>0)&&plt.raf(flush)},nextTick=i=>promiseResolve().then(i),writeTask=queueTask(queueDomWrites,!0),EMPTY_OBJ={},SVG_NS="http://www.w3.org/2000/svg",HTML_NS="http://www.w3.org/1999/xhtml",isDef=i=>null!=i,isComplexType=i=>"object"==(i=typeof i)||"function"===i;function queryNonceMetaTagContent(i){var a,r,o;return null!=(o=null==(r=null==(a=i.head)?void 0:a.querySelector('meta[name="csp-nonce"]'))?void 0:r.getAttribute("content"))?o:void 0}var result_exports={};__export$1(result_exports,{err:()=>err,map:()=>map,ok:()=>ok,unwrap:()=>unwrap$1,unwrapErr:()=>unwrapErr});var ok=i=>({isOk:!0,isErr:!1,value:i}),err=i=>({isOk:!1,isErr:!0,value:i});function map(i,a){if(i.isOk){const r=a(i.value);return r instanceof Promise?r.then(o=>ok(o)):ok(r)}if(i.isErr)return err(i.value);throw"should never get here"}var unwrap$1=i=>{if(i.isOk)return i.value;throw i.value},unwrapErr=i=>{if(i.isErr)return i.value;throw i.value},createTime=(i,a="")=>()=>{},h=(i,a,...r)=>{let o=null,s=null,c=null,y=!1,k=!1;const A=[],I=T=>{for(let O=0;OT[O]).join(" "))}}if("function"==typeof i)return i(null===a?{}:a,A,vdomFnUtils);const M=newVNode(i,null);return M.$attrs$=a,A.length>0&&(M.$children$=A),M.$key$=s,M.$name$=c,M},newVNode=(i,a)=>({$flags$:0,$tag$:i,$text$:a,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),Host={},isHost=i=>i&&i.$tag$===Host,vdomFnUtils={forEach:(i,a)=>i.map(convertToPublic).forEach(a),map:(i,a)=>i.map(convertToPublic).map(a).map(convertToPrivate)},convertToPublic=i=>({vattrs:i.$attrs$,vchildren:i.$children$,vkey:i.$key$,vname:i.$name$,vtag:i.$tag$,vtext:i.$text$}),convertToPrivate=i=>{if("function"==typeof i.vtag){const r={...i.vattrs};return i.vkey&&(r.key=i.vkey),i.vname&&(r.name=i.vname),h(i.vtag,r,...i.vchildren||[])}const a=newVNode(i.vtag,i.vtext);return a.$attrs$=i.vattrs,a.$children$=i.vchildren,a.$key$=i.vkey,a.$name$=i.vname,a},computeMode=i=>modeResolutionChain.map(a=>a(i)).find(a=>!!a),parsePropertyValue=(i,a)=>null==i||isComplexType(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,getElement=i=>i,createEvent=(i,a,r)=>{const o=getElement(i);return{emit:s=>emitEvent(o,a,{bubbles:!!(4&r),composed:!!(2&r),cancelable:!!(1&r),detail:s})}},emitEvent=(i,a,r)=>{const o=plt.ce(a,r);return i.dispatchEvent(o),o},rootAppliedStyles=new WeakMap,registerStyle=(i,a,r)=>{let o=styles.get(i);supportsConstructableStylesheets&&r?(o=o||new CSSStyleSheet,"string"==typeof o?o=a:o.replaceSync(a)):o=a,styles.set(i,o)},addStyle=(i,a,r)=>{var o;const s=getScopeId(a,r),c=styles.get(s);if(i=11===i.nodeType?i:doc,c)if("string"==typeof c){let y,k=rootAppliedStyles.get(i=i.head||i);if(k||rootAppliedStyles.set(i,k=new Set),!k.has(s)){{y=doc.createElement("style"),y.innerHTML=c;const A=null!=(o=plt.$nonce$)?o:queryNonceMetaTagContent(doc);null!=A&&y.setAttribute("nonce",A),(!(1&a.$flags$)||1&a.$flags$&&"HEAD"!==i.nodeName)&&i.insertBefore(y,i.querySelector("link"))}4&a.$flags$&&(y.innerHTML+=SLOT_FB_CSS),k&&k.add(s)}}else i.adoptedStyleSheets.includes(c)||(i.adoptedStyleSheets=[...i.adoptedStyleSheets,c]);return s},attachStyles=i=>{const a=i.$cmpMeta$,r=i.$hostElement$,o=a.$flags$,s=createTime("attachStyles",a.$tagName$),c=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),a,i.$modeName$);10&o&&2&o&&(r["s-sc"]=c,r.classList.add(c+"-h"),2&o&&r.classList.add(c+"-s")),s()},getScopeId=(i,a)=>"sc-"+(a&&32&i.$flags$?i.$tagName$+"-"+a:i.$tagName$),setAccessor=(i,a,r,o,s,c)=>{if(r!==o){let y=isMemberInElement(i,a),k=a.toLowerCase();if("class"===a){const A=i.classList,I=parseClassList(r),M=parseClassList(o);A.remove(...I.filter(T=>T&&!M.includes(T))),A.add(...M.filter(T=>T&&!I.includes(T)))}else if("style"===a){for(const A in r)o&&null!=o[A]||(A.includes("-")?i.style.removeProperty(A):i.style[A]="");for(const A in o)r&&o[A]===r[A]||(A.includes("-")?i.style.setProperty(A,o[A]):i.style[A]=o[A])}else if("key"!==a)if("ref"===a)o&&o(i);else if(i.__lookupSetter__(a)||"o"!==a[0]||"n"!==a[1]){const A=isComplexType(o);if((y||A&&null!==o)&&!s)try{if(i.tagName.includes("-"))i[a]=o;else{const M=o??"";"list"===a?y=!1:null!=r&&i[a]==M||(i[a]=M)}}catch{}let I=!1;k!==(k=k.replace(/^xlink\:?/,""))&&(a=k,I=!0),null==o||!1===o?!1===o&&""!==i.getAttribute(a)||(I?i.removeAttributeNS(XLINK_NS,a):i.removeAttribute(a)):(!y||4&c||s)&&!A&&(o=!0===o?"":o,I?i.setAttributeNS(XLINK_NS,a,o):i.setAttribute(a,o))}else if(a="-"===a[2]?a.slice(3):isMemberInElement(win,k)?k.slice(2):k[2]+a.slice(3),r||o){const A=a.endsWith(CAPTURE_EVENT_SUFFIX);a=a.replace(CAPTURE_EVENT_REGEX,""),r&&plt.rel(i,a,r,A),o&&plt.ael(i,a,o,A)}}},parseClassListRegex=/\s/,parseClassList=i=>i?i.split(parseClassListRegex):[],CAPTURE_EVENT_SUFFIX="Capture",CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$"),updateElement=(i,a,r)=>{const o=11===a.$elm$.nodeType&&a.$elm$.host?a.$elm$.host:a.$elm$,s=i&&i.$attrs$||EMPTY_OBJ,c=a.$attrs$||EMPTY_OBJ;for(const y of sortedAttrNames(Object.keys(s)))y in c||setAccessor(o,y,s[y],void 0,r,a.$flags$);for(const y of sortedAttrNames(Object.keys(c)))setAccessor(o,y,s[y],c[y],r,a.$flags$)},scopeId,contentRef,hostTagName;function sortedAttrNames(i){return i.includes("ref")?[...i.filter(a=>"ref"!==a),"ref"]:i}var useNativeShadowDom=!1,checkSlotFallbackVisibility=!1,checkSlotRelocate=!1,isSvgMode=!1,createElm=(i,a,r,o)=>{var s;const c=a.$children$[r];let y,k,A,I=0;if(useNativeShadowDom||(checkSlotRelocate=!0,"slot"===c.$tag$&&(scopeId&&o.classList.add(scopeId+"-s"),c.$flags$|=c.$children$?2:1)),null!==c.$text$)y=c.$elm$=doc.createTextNode(c.$text$);else if(1&c.$flags$)y=c.$elm$=doc.createTextNode("");else{if(isSvgMode||(isSvgMode="svg"===c.$tag$),y=c.$elm$=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&2&c.$flags$?"slot-fb":c.$tag$),isSvgMode&&"foreignObject"===c.$tag$&&(isSvgMode=!1),updateElement(null,c,isSvgMode),y.getRootNode().querySelector("body")&&BUILD.scoped&&isDef(scopeId)&&y["s-si"]!==scopeId&&y.classList.add(y["s-si"]=scopeId),updateElementScopeIds(y,o),c.$children$)for(I=0;I{plt.$flags$|=1;const r=Array.from(i.childNodes);if(i["s-sr"]&&BUILD.experimentalSlotFixes){let o=i;for(;o=o.nextSibling;)o&&o["s-sn"]===i["s-sn"]&&o["s-sh"]===hostTagName&&r.push(o)}for(let o=r.length-1;o>=0;o--){const s=r[o];s["s-hn"]!==hostTagName&&s["s-ol"]&&(insertBefore(parentReferenceNode(s),s,referenceNode(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,checkSlotRelocate=!0),a&&putBackInOriginalLocation(s,a)}plt.$flags$&=-2},addVnodes=(i,a,r,o,s,c)=>{let y,k=i["s-cr"]&&i["s-cr"].parentNode||i;for(k.shadowRoot&&k.tagName===hostTagName&&(k=k.shadowRoot);s<=c;++s)o[s]&&(y=createElm(null,r,s,i),y&&(o[s].$elm$=y,insertBefore(k,y,referenceNode(a))))},removeVnodes=(i,a,r)=>{for(let o=a;o<=r;++o){const s=i[o];if(s){const c=s.$elm$;nullifyVNodeRefs(s),c&&(checkSlotFallbackVisibility=!0,c["s-ol"]?c["s-ol"].remove():putBackInOriginalLocation(c,!0),c.remove())}}},updateChildren=(i,a,r,o,s=!1)=>{let c,y,k=0,A=0,I=0,M=0,T=a.length-1,O=a[0],L=a[T],Y=o.length-1,z=o[0],q=o[Y];for(;k<=T&&A<=Y;)if(null==O)O=a[++k];else if(null==L)L=a[--T];else if(null==z)z=o[++A];else if(null==q)q=o[--Y];else if(isSameVnode(O,z,s))patch(O,z,s),O=a[++k],z=o[++A];else if(isSameVnode(L,q,s))patch(L,q,s),L=a[--T],q=o[--Y];else if(isSameVnode(O,q,s))"slot"!==O.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(O.$elm$.parentNode,!1),patch(O,q,s),insertBefore(i,O.$elm$,L.$elm$.nextSibling),O=a[++k],q=o[--Y];else if(isSameVnode(L,z,s))"slot"!==O.$tag$&&"slot"!==q.$tag$||putBackInOriginalLocation(L.$elm$.parentNode,!1),patch(L,z,s),insertBefore(i,L.$elm$,O.$elm$),L=a[--T],z=o[++A];else{for(I=-1,M=k;M<=T;++M)if(a[M]&&null!==a[M].$key$&&a[M].$key$===z.$key$){I=M;break}I>=0?(y=a[I],y.$tag$!==z.$tag$?c=createElm(a&&a[A],r,I,i):(patch(y,z,s),a[I]=void 0,c=y.$elm$),z=o[++A]):(c=createElm(a&&a[A],r,A,i),z=o[++A]),c&&insertBefore(parentReferenceNode(O.$elm$),c,referenceNode(O.$elm$))}k>T?addVnodes(i,null==o[Y+1]?null:o[Y+1].$elm$,r,o,A,Y):A>Y&&removeVnodes(a,k,T)},isSameVnode=(i,a,r=!1)=>!(i.$tag$!==a.$tag$||("slot"===i.$tag$?"$nodeId$"in i&&r&&8!==i.$elm$.nodeType||i.$name$!==a.$name$:!r&&i.$key$!==a.$key$)),referenceNode=i=>i&&i["s-ol"]||i,parentReferenceNode=i=>(i["s-ol"]?i["s-ol"]:i).parentNode,patch=(i,a,r=!1)=>{const o=a.$elm$=i.$elm$,s=i.$children$,c=a.$children$,y=a.$tag$,k=a.$text$;let A;null===k?(isSvgMode="svg"===y||"foreignObject"!==y&&isSvgMode,("slot"!==y||useNativeShadowDom)&&updateElement(i,a,isSvgMode),null!==s&&null!==c?updateChildren(o,s,a,c,r):null!==c?(null!==i.$text$&&(o.textContent=""),addVnodes(o,null,a,c,0,c.length-1)):!r&&BUILD.updatable&&null!==s&&removeVnodes(s,0,s.length-1),isSvgMode&&"svg"===y&&(isSvgMode=!1)):(A=o["s-cr"])?A.parentNode.textContent=k:i.$text$!==k&&(o.data=k)},updateFallbackSlotVisibility=i=>{const a=i.childNodes;for(const r of a)if(1===r.nodeType){if(r["s-sr"]){const o=r["s-sn"];r.hidden=!1;for(const s of a)if(s!==r)if(s["s-hn"]!==r["s-hn"]||""!==o){if(1===s.nodeType&&(o===s.getAttribute("slot")||o===s["s-sn"])||3===s.nodeType&&o===s["s-sn"]){r.hidden=!0;break}}else if(1===s.nodeType||3===s.nodeType&&""!==s.textContent.trim()){r.hidden=!0;break}}updateFallbackSlotVisibility(r)}},relocateNodes=[],markSlotContentForRelocation=i=>{let a,r,o;for(const s of i.childNodes){if(s["s-sr"]&&(a=s["s-cr"])&&a.parentNode){r=a.parentNode.childNodes;const c=s["s-sn"];for(o=r.length-1;o>=0;o--)if(a=r[o],!a["s-cn"]&&!a["s-nr"]&&a["s-hn"]!==s["s-hn"]&&!BUILD.experimentalSlotFixes)if(isNodeLocatedInSlot(a,c)){let y=relocateNodes.find(k=>k.$nodeToRelocate$===a);checkSlotFallbackVisibility=!0,a["s-sn"]=a["s-sn"]||c,y?(y.$nodeToRelocate$["s-sh"]=s["s-hn"],y.$slotRefNode$=s):(a["s-sh"]=s["s-hn"],relocateNodes.push({$slotRefNode$:s,$nodeToRelocate$:a})),a["s-sr"]&&relocateNodes.map(k=>{isNodeLocatedInSlot(k.$nodeToRelocate$,a["s-sn"])&&(y=relocateNodes.find(A=>A.$nodeToRelocate$===a),y&&!k.$slotRefNode$&&(k.$slotRefNode$=y.$slotRefNode$))})}else relocateNodes.some(y=>y.$nodeToRelocate$===a)||relocateNodes.push({$nodeToRelocate$:a})}1===s.nodeType&&markSlotContentForRelocation(s)}},isNodeLocatedInSlot=(i,a)=>1===i.nodeType?null===i.getAttribute("slot")&&""===a||i.getAttribute("slot")===a:i["s-sn"]===a||""===a,nullifyVNodeRefs=i=>{i.$attrs$&&i.$attrs$.ref&&i.$attrs$.ref(null),i.$children$&&i.$children$.map(nullifyVNodeRefs)},insertBefore=(i,a,r)=>{const o=i?.insertBefore(a,r);return updateElementScopeIds(a,i),o},findScopeIds=i=>{const a=[];return i&&a.push(...i["s-scs"]||[],i["s-si"],i["s-sc"],...findScopeIds(i.parentElement)),a},updateElementScopeIds=(i,a,r=!1)=>{var o;if(i&&a&&1===i.nodeType){const s=new Set(findScopeIds(a).filter(Boolean));if(s.size&&(null==(o=i.classList)||o.add(...i["s-scs"]=[...s]),i["s-ol"]||r))for(const c of Array.from(i.childNodes))updateElementScopeIds(c,i,!0)}},renderVdom=(i,a,r=!1)=>{var o,s,c,y,k;const A=i.$hostElement$,I=i.$cmpMeta$,M=i.$vnode$||newVNode(null,null),T=isHost(a)?a:h(null,null,a);if(hostTagName=A.tagName,I.$attrsToReflect$&&(T.$attrs$=T.$attrs$||{},I.$attrsToReflect$.map(([O,L])=>T.$attrs$[L]=A[O])),r&&T.$attrs$)for(const O of Object.keys(T.$attrs$))A.hasAttribute(O)&&!["key","ref","style","class"].includes(O)&&(T.$attrs$[O]=A[O]);if(T.$tag$=null,T.$flags$|=4,i.$vnode$=T,T.$elm$=M.$elm$=A.shadowRoot||A,scopeId=A["s-sc"],useNativeShadowDom=!!(1&I.$flags$),contentRef=A["s-cr"],checkSlotFallbackVisibility=!1,patch(M,T,r),plt.$flags$|=1,checkSlotRelocate){markSlotContentForRelocation(T.$elm$);for(const O of relocateNodes){const L=O.$nodeToRelocate$;if(!L["s-ol"]){const Y=doc.createTextNode("");Y["s-nr"]=L,insertBefore(L.parentNode,L["s-ol"]=Y,L)}}for(const O of relocateNodes){const L=O.$nodeToRelocate$,Y=O.$slotRefNode$;if(Y){const z=Y.parentNode;let q=Y.nextSibling;{let ct=null==(o=L["s-ol"])?void 0:o.previousSibling;for(;ct;){let dt=null!=(s=ct["s-nr"])?s:null;if(dt&&dt["s-sn"]===L["s-sn"]&&z===dt.parentNode){for(dt=dt.nextSibling;dt===L||dt?.["s-sr"];)dt=dt?.nextSibling;if(!dt||!dt["s-nr"]){q=dt;break}}ct=ct.previousSibling}}(!q&&z!==L.parentNode||L.nextSibling!==q)&&L!==q&&(!L["s-hn"]&&L["s-ol"]&&(L["s-hn"]=L["s-ol"].parentNode.nodeName),insertBefore(z,L,q),1===L.nodeType&&(L.hidden=null!=(c=L["s-ih"])&&c)),L&&"function"==typeof Y["s-rf"]&&Y["s-rf"](L)}else 1===L.nodeType&&(r&&(L["s-ih"]=null!=(y=L.hidden)&&y),L.hidden=!0)}}if(checkSlotFallbackVisibility&&updateFallbackSlotVisibility(T.$elm$),plt.$flags$&=-2,relocateNodes.length=0,BUILD.experimentalScopedSlotChanges&&2&I.$flags$)for(const O of T.$elm$.childNodes)O["s-hn"]===hostTagName||O["s-sh"]||(r&&null==O["s-ih"]&&(O["s-ih"]=null!=(k=O.hidden)&&k),O.hidden=!0);contentRef=void 0},attachToAncestor=(i,a)=>{},scheduleUpdate=(i,a)=>(i.$flags$|=16,attachToAncestor(i,i.$ancestorComponent$),writeTask(()=>dispatchHooks(i,a))),dispatchHooks=(i,a)=>{const r=i.$hostElement$,o=createTime("scheduleUpdate",i.$cmpMeta$.$tagName$),s=r;if(!s)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let c;return c=safeCall(s,a?"componentWillLoad":"componentWillUpdate"),c=enqueue(c,()=>safeCall(s,"componentWillRender")),o(),enqueue(c,()=>updateComponent(i,s,a))},enqueue=(i,a)=>isPromisey(i)?i.then(a).catch(r=>{console.error(r),a()}):a(),isPromisey=i=>i instanceof Promise||i&&i.then&&"function"==typeof i.then,updateComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o){const s=a.$hostElement$,c=createTime("update",a.$cmpMeta$.$tagName$);o&&attachStyles(a);const y=createTime("render",a.$cmpMeta$.$tagName$);callRender(a,r,s,o),y(),c(),postUpdateComponent(a)});return function(r,o,s){return i.apply(this,arguments)}}(),renderingRef=null,callRender=(i,a,r,o)=>{try{renderingRef=a,a=a.render&&a.render(),i.$flags$&=-17,i.$flags$|=2,(BUILD.hasRenderFn||BUILD.reflect)&&(BUILD.vdomRender||BUILD.reflect)&&(BUILD.hydrateServerSide||renderVdom(i,a,o))}catch(s){consoleError(s,i.$hostElement$)}return renderingRef=null,null},getRenderingRef=()=>renderingRef,postUpdateComponent=i=>{const r=i.$hostElement$,o=createTime("postUpdate",i.$cmpMeta$.$tagName$),s=r;safeCall(s,"componentDidRender"),64&i.$flags$?(safeCall(s,"componentDidUpdate"),o()):(i.$flags$|=64,safeCall(s,"componentDidLoad"),o())},forceUpdate=i=>{{const a=getHostRef(i),r=a.$hostElement$.isConnected;return r&&2==(18&a.$flags$)&&scheduleUpdate(a,!1),r}},safeCall=(i,a,r)=>{if(i&&i[a])try{return i[a](r)}catch(o){consoleError(o)}},getValue=(i,a)=>getHostRef(i).$instanceValues$.get(a),setValue=(i,a,r,o)=>{const s=getHostRef(i),c=i,y=s.$instanceValues$.get(a),k=s.$flags$,A=c;r=parsePropertyValue(r,o.$members$[a][0]);const I=Number.isNaN(y)&&Number.isNaN(r);if(r!==y&&!I){if(s.$instanceValues$.set(a,r),o.$watchers$&&128&k){const M=o.$watchers$[a];M&&M.map(T=>{try{A[T](r,y,a)}catch(O){consoleError(O,c)}})}if(2==(18&k)){if(A.componentShouldUpdate&&!1===A.componentShouldUpdate(r,y,a))return;scheduleUpdate(s,!1)}}},proxyComponent=(i,a,r)=>{var o,s;const c=i.prototype;if(a.$members$||a.$watchers$||i.watchers){i.watchers&&!a.$watchers$&&(a.$watchers$=i.watchers);const y=Object.entries(null!=(o=a.$members$)?o:{});y.map(([k,[A]])=>{(31&A||32&A)&&Object.defineProperty(c,k,{get(){return getValue(this,k)},set(I){setValue(this,k,I,a)},configurable:!0,enumerable:!0})});{const k=new Map;c.attributeChangedCallback=function(A,I,M){plt.jmp(()=>{var T;const O=k.get(A);if(this.hasOwnProperty(O))M=this[O],delete this[O];else{if(c.hasOwnProperty(O)&&"number"==typeof this[O]&&this[O]==M)return;if(null==O){const L=getHostRef(this),Y=L?.$flags$;if(Y&&!(8&Y)&&128&Y&&M!==I){const z=this,q=null==(T=a.$watchers$)?void 0:T[A];q?.forEach(ct=>{null!=z[ct]&&z[ct].call(z,M,I,A)})}return}}this[O]=(null!==M||"boolean"!=typeof this[O])&&M})},i.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=a.$watchers$)?s:{}),...y.filter(([A,I])=>15&I[0]).map(([A,I])=>{var M;const T=I[1]||A;return k.set(T,A),512&I[0]&&(null==(M=a.$attrsToReflect$)||M.push([A,T])),T})]))}}return i},initializeComponent=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){let c;if(!(32&r.$flags$)&&(r.$flags$|=32,c=a.constructor,customElements.whenDefined(a.localName).then(()=>r.$flags$|=128),c&&c.style)){let y;"string"==typeof c.style?y=c.style:"string"!=typeof c.style&&(r.$modeName$=computeMode(a),r.$modeName$&&(y=c.style[r.$modeName$]));const k=getScopeId(o,r.$modeName$);if(!styles.has(k)){const A=createTime("registerStyles",o.$tagName$);registerStyle(k,y,!!(1&o.$flags$)),A()}}scheduleUpdate(r,!0)});return function(r,o,s,c){return i.apply(this,arguments)}}(),fireConnectedCallback=i=>{},connectedCallback=i=>{if(!(1&plt.$flags$)){const a=getHostRef(i),r=a.$cmpMeta$,o=createTime("connectedCallback",r.$tagName$);1&a.$flags$?(addHostEventListeners(i,a,r.$listeners$),a?.$lazyInstance$?fireConnectedCallback(a.$lazyInstance$):a?.$onReadyPromise$&&a.$onReadyPromise$.then(()=>fireConnectedCallback(a.$lazyInstance$))):(a.$flags$|=1,12&r.$flags$&&setContentReference(i),r.$members$&&Object.entries(r.$members$).map(([s,[c]])=>{if(31&c&&i.hasOwnProperty(s)){const y=i[s];delete i[s],i[s]=y}}),initializeComponent(i,a,r)),o()}},setContentReference=i=>{const a=i["s-cr"]=doc.createComment("");a["s-cn"]=!0,insertBefore(i,a,i.firstChild)},disconnectedCallback=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){if(!(1&plt.$flags$)){const r=getHostRef(a);r.$rmListeners$&&(r.$rmListeners$.map(o=>o()),r.$rmListeners$=void 0)}});return function(r){return i.apply(this,arguments)}}(),proxyCustomElement=(i,a)=>{const r={$flags$:a[0],$tagName$:a[1]};r.$members$=a[2],r.$listeners$=a[3],r.$watchers$=i.$watchers$,r.$attrsToReflect$=[];const o=i.prototype.connectedCallback,s=i.prototype.disconnectedCallback;return Object.assign(i.prototype,{__registerHost(){registerHost(this,r)},connectedCallback(){const c=getHostRef(this);addHostEventListeners(this,c,r.$listeners$),connectedCallback(this),o&&o.call(this)},disconnectedCallback(){disconnectedCallback(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${r.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else this.attachShadow({mode:"open",delegatesFocus:!!(16&r.$flags$)})}}),i.is=r.$tagName$,proxyComponent(i,r)},Fragment=(i,a)=>a,addHostEventListeners=(i,a,r,o)=>{r&&r.map(([s,c,y])=>{const k=getHostListenerTarget(i,s),A=hostListenerProxy(a,y),I=hostListenerOpts(s);plt.ael(k,c,A,I),(a.$rmListeners$=a.$rmListeners$||[]).push(()=>plt.rel(k,c,A,I))})},hostListenerProxy=(i,a)=>r=>{try{BUILD.lazyLoad||i.$hostElement$[a](r)}catch(o){consoleError(o)}},getHostListenerTarget=(i,a)=>4&a?doc:8&a?win:16&a?doc.body:i,hostListenerOpts=i=>supportsListenerOptions?{passive:!!(1&i),capture:!!(2&i)}:!!(2&i),CURRENT_MODULE,METHOD_MODULE,i;i=CURRENT_MODULE||(CURRENT_MODULE={}),i.WELCOME="welcome",i.WELCOME_LOGIN="welcome-login",i.WELCOME_SIGNUP="welcome-signup",i.INFO="info",i.LOGIN_BUNKER_URL="login-bunker-url",i.LOGIN_READ_ONLY="login-read-only",i.CONFIRM_LOGOUT="confirm-logout",i.IMPORT_FLOW="import",i.LOGIN="login",i.SIGNUP="signup",i.LOCAL_SIGNUP="local-signup",i.EXTENSION="extension",i.LOADING="loading",i.PREVIOUSLY_LOGGED="switch-account",i.LOGIN_OTP="otp",i.CONNECT="connect",i.CONNECTION_STRING="connection-string",function(i){i.LOGIN="login",i.SIGNUP="signup",i.LOGOUT="logout",i.CONFIRM="confirm"}(METHOD_MODULE||(METHOD_MODULE={}));const appendToMap=(i,a,r)=>{const o=i.get(a);o?o.includes(r)||o.push(r):i.set(a,[r])},debounce=(i,a)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>{r=0,i(...o)},a)}},isConnected=i=>!("isConnected"in i)||i.isConnected,cleanupElements=debounce(i=>{for(let a of i.keys())i.set(a,i.get(a).filter(isConnected))},2e3),stencilSubscription=()=>{if("function"!=typeof getRenderingRef)return{};const i=new Map;return{dispose:()=>i.clear(),get:a=>{const r=getRenderingRef();r&&appendToMap(i,a,r)},set:a=>{const r=i.get(a);r&&i.set(a,r.filter(forceUpdate)),cleanupElements(i)},reset:()=>{i.forEach(a=>a.forEach(forceUpdate)),cleanupElements(i)}}},unwrap=i=>"function"==typeof i?i():i,createObservableMap=(i,a=(r,o)=>r!==o)=>{const r=unwrap(i);let o=new Map(Object.entries(r??{}));const s={dispose:[],get:[],set:[],reset:[]},c=()=>{var M;o=new Map(Object.entries(null!==(M=unwrap(i))&&void 0!==M?M:{})),s.reset.forEach(T=>T())},y=M=>(s.get.forEach(T=>T(M)),o.get(M)),k=(M,T)=>{const O=o.get(M);a(T,O,M)&&(o.set(M,T),s.set.forEach(L=>L(M,T,O)))},A=typeof Proxy>"u"?{}:new Proxy(r,{get:(M,T)=>y(T),ownKeys:M=>Array.from(o.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(M,T)=>o.has(T),set:(M,T,O)=>(k(T,O),!0)}),I=(M,T)=>(s[M].push(T),()=>{removeFromArray(s[M],T)});return{state:A,get:y,set:k,on:I,onChange:(M,T)=>{const O=I("set",(Y,z)=>{Y===M&&T(z)}),L=I("reset",()=>T(unwrap(i)[M]));return()=>{O(),L()}},use:(...M)=>{const T=M.reduce((O,L)=>(L.set&&O.push(I("set",L.set)),L.get&&O.push(I("get",L.get)),L.reset&&O.push(I("reset",L.reset)),L.dispose&&O.push(I("dispose",L.dispose)),O),[]);return()=>T.forEach(O=>O())},dispose:()=>{s.dispose.forEach(M=>M()),c()},reset:c,forceUpdate:M=>{const T=o.get(M);s.set.forEach(O=>O(M,T,T))}}},removeFromArray=(i,a)=>{const r=i.indexOf(a);r>=0&&(i[r]=i[i.length-1],i.length--)},createStore=(i,a)=>{const r=createObservableMap(i,a);return r.use(stencilSubscription()),r},{state,onChange}=createStore({screen:CURRENT_MODULE.WELCOME,prevScreen:CURRENT_MODULE.WELCOME,path:[CURRENT_MODULE.WELCOME],error:"",isLoading:!1,isLoadingExtension:!1,isOTP:!1,authUrl:"",localSignup:!1,nlSignin:{loginName:""},nlSignup:{signupName:"",domain:"",servers:[{name:"@nsec.app",value:"nsec.app"},{name:"@highlighter.com",value:"highlighter.com"}]},nlSigninBunkerUrl:{loginName:""},nlSigninReadOnly:{loginName:""},nlSigninOTP:{loginName:"",code:""},nlImport:{nostrConnect:"",relay:""}});onChange("screen",()=>{state.error="",state.nlSignin.loginName="",state.nlSignup.signupName="",state.nlSignup.domain=""});const buttonBaseCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.h-0{height:0}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-16{width:64px}.w-44{width:176px}.w-52{width:208px}.w-6{width:24px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.min-w-40{min-width:160px}.max-w-40{max-width:160px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.gap-x-2{column-gap:8px}.text-nowrap{text-wrap:nowrap}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border-\\[0px\\]{border-width:0}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-xs{font-size:12px;line-height:16px}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.transition-all{transition-duration:.15s;transition-property:all}.ease-in-out,.transition-all{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.border-t-\\[1px\\]{border-top-width:1px}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}",ButtonBaseStyle0=buttonBaseCss,ButtonBase=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}componentDidRender(){const i=this.element.querySelector("svg");i&&(i.classList.add("flex-shrink-0","w-4","h-4","block"),i.removeAttribute("style"))}render(){return h("div",{key:"fd503ba6a6e4523b510f85fa8eb35d64af6616f3",class:`theme-${this.theme}`},h("button",{key:"2341cc507577b37f0309eda12b3516e2abb468a2",disabled:this.disabled,type:"button",class:"nl-button py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},h("slot",{key:"7bdd086b67b7662ab913e93ddab8fdb05b4e2805",name:"icon-start"}),this.titleBtn))}get element(){return this}static get style(){return ButtonBaseStyle0}},[4,"button-base",{theme:[1025],darkMode:[1028,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$n(){typeof customElements>"u"||["button-base"].forEach(i=>{"button-base"===i&&(customElements.get(i)||customElements.define(i,ButtonBase))})}defineCustomElement$n();const nlConfirmLogoutCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConfirmLogoutStyle0=nlConfirmLogoutCss,NlConfirmLogout=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleBackUpModal=createEvent(this,"handleBackUpModal",7),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.titleModal="Delete keys?",this.description="Your profile keys are stored in this browser tab and will be deleted if you log out, and your profile will be inaccessible."}handleLogout(){this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.nlCloseModal.emit()}handleCancel(){this.nlCloseModal.emit()}handleBackUp(){state.path=[CURRENT_MODULE.IMPORT_FLOW]}render(){return h("div",{key:"cc17a91048cddc093676cec3f7f1f41a4e3bc765",class:"p-4 overflow-y-auto"},h("h1",{key:"1120e3b34cbd42110b76c3774f0a2dcba43c1711",class:"nl-title font-bold text-center text-4xl"},this.titleModal),h("p",{key:"09a3b077d82c7d32fa4da4987198c81316155c2d",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description),h("div",{key:"9c5ed8fc1ac5220e93d72e02a3ec8bffd127b27f",class:"mt-3 ml-auto mr-auto w-60 flex flex-col gap-2"},h("button-base",{key:"1f9c9b8b0c994ccb92706105a92e59136bdcdb2f",onClick:()=>this.handleBackUp(),titleBtn:"Backup keys",theme:"lemonade"}),h("button-base",{key:"bbb5ed3483b1b46ac2016acfdd082b8eb3403565",onClick:()=>this.handleLogout(),theme:"crab",titleBtn:"Logout and delete keys"})))}static get style(){return NlConfirmLogoutStyle0}},[0,"nl-confirm-logout",{titleModal:[1,"title-modal"],description:[1]}]);function defineCustomElement$m(){typeof customElements>"u"||["nl-confirm-logout","button-base"].forEach(i=>{switch(i){case"nl-confirm-logout":customElements.get(i)||customElements.define(i,NlConfirmLogout);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$m();const nlConnectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlConnectStyle0=nlConnectCss,NlConnect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnect=createEvent(this,"nlNostrConnect",7),this.titleWelcome="Connect to key store",this.authMethods=[],this.hasOTP=!1,this.connectionStringServices=[],this.isOpenAdvancedLogin=!1}handleChangeScreen(i){state.path=[...state.path,i]}handleOpenAdvanced(){this.isOpenAdvancedLogin=!this.isOpenAdvancedLogin}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}componentWillLoad(){}handleOpenLink(i){this.nlNostrConnect.emit(i)}render(){const i=(this.isOpenAdvancedLogin?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-blue-500";return h(Fragment,{key:"1734363a22bf47aea8b41fc54696482dedd91e1c"},h("div",{key:"0b6b579442514815b57da027e849820a95a73cea",class:"p-4 overflow-y-auto"},h("h1",{key:"dad1e22099a1fde4ece1fae2617e7c73cc42aac5",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"ffdf8ff49e45a68cc545ddcd88977309b3b43a30",class:"p-4"},!!this.connectionStringServices.length&&h("div",{key:"f520127eb53001b3439d39e12cabf387321f9f41",class:"max-w-96 mx-auto pt-5"},h("p",{key:"f2defd241991995ef1ae21f54e9aa60decb9fbfe",class:"nl-description font-medium text-sm pb-1.5"},"Select key store:"),h("ul",{key:"eb13569f5bf6e6a396f77e288907d164877661c7",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.connectionStringServices.map(a=>h("li",null,h("a",{href:a.link,target:"_blank",onClick:()=>this.handleOpenLink(a.relay),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-300 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a.img?h("img",{class:"w-full rounded-full",src:a.img,alt:a.name}):h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#9ca3af",class:"w-4 h-4 block"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},a.name)))))))),h("div",{key:"e5d8b631dc6f226de089094f5b1a618387e53b13",class:"max-w-52 mx-auto pb-5"},(this.allowAuthMethod("connect")||this.allowAuthMethod("readOnly"))&&h("div",{key:"9f180499d91ce85e3220b1c01a7100dc43436250",class:"flex justify-center"},h("div",{key:"1e7150301d9b9f6fb2c617833728bdfb1bdc7ff6",onClick:()=>this.handleOpenAdvanced(),class:"text-blue-500 mt-3 decoration-dashed cursor-pointer inline-flex gap-2 items-center pb-1 border-dashed border-b-[1px] border-blue-500 text-sm font-light"},"Advanced",h("svg",{key:"25d75cf514b5aa565882da8810732274ef268e84",class:i,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"82ff6cc210c408bc936b1d99156cf24e44b3bb47",d:"m6 9 6 6 6-6"})))),h("div",{key:"a9e4973c918e98f9858283d7910d7583958eeee6",class:(this.isOpenAdvancedLogin?"max-h-[500px] mt-3 duration-300":"max-h-0 mt-0 duration-[0.25s]")+" transition-max-height ease-in flex gap-3 flex-col overflow-hidden"},this.allowAuthMethod("connect")&&h("button-base",{key:"b0bc64c50c4961aa782cefa9a4f861a038f9179a",titleBtn:"User name",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN)},h("svg",{key:"e3d75127673c52bb03ccad55d2c6542afd496710",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},h("path",{key:"826f8a8d89353d29c81a69325bb1b2fd08fe587d","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"aed22d0c3261fe329dce8b85cd538064122c8ff4",titleBtn:"Connection string",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECTION_STRING)},h("svg",{key:"3152d79247973a849dfa94350acc27cc9a818ce1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"054b5a956d77e8913c3055a3fea4931910734ae1","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),h("path",{key:"c10dbf07fd8499263a3e1460c92749e4c5217d1b","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))),this.allowAuthMethod("connect")&&h("button-base",{key:"348375d8ac51c14d66fa25a77665b6b7a5a93d9a",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_BUNKER_URL),titleBtn:"Bunker URL"},h("svg",{key:"4d62028c6dbafa67aa952299cabc7a620ea20275",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"da623db3500829ff12727c36a0ee6c4f4867a139","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))))))}static get style(){return NlConnectStyle0}},[0,"nl-connect",{titleWelcome:[1,"title-welcome"],authMethods:[16],hasOTP:[4,"has-o-t-p"],connectionStringServices:[16],isOpenAdvancedLogin:[32]}]);function defineCustomElement$l(){typeof customElements>"u"||["nl-connect","button-base"].forEach(i=>{switch(i){case"nl-connect":customElements.get(i)||customElements.define(i,NlConnect);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$l();const nlSelectCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSelectStyle0=nlSelectCss,NlSelect=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.selectDomain=createEvent(this,"selectDomain",7),this.isOpen=!1,this.value=null,this.options=void 0,this.selected=void 0,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode,this.value=this.options[this.selected],this.selectDomain.emit(this.value.value)}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.value=i,this.isOpen=!1,this.selectDomain.emit(this.value.value)}render(){const i=(this.isOpen?"listClass":"hidden")+" min-w-[15rem] nl-select-list absolute left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500";return h("div",{key:"c5fb00e7a9dc2acbe6b8a0b3c7d6f0aaaa945ded",class:`theme-${this.themeState}`},h("div",{key:"75a6cc368af855bcf0baeb697aac5c77b26537dc",class:"relative",ref:r=>this.wrapperRef=r},h("button",{key:"e79b850f351172fec8a523a88424882b4bc1c9e0",ref:r=>this.buttonRef=r,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"7224e21928ed0a6075d0f8809973877b8626258e",class:"truncate overflow-hidden"},this.value.name),h("svg",{key:"abcea29a8c905c9eea64162f5a2bfa79c08d3b0b",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"d0667eba7a0cf9ccb7bb043e5856ec41a97a8fcc",d:"m6 9 6 6 6-6"}))),h("ul",{key:"bfd9ebf3c17fa62d84f29204d901650fabe14c03",ref:r=>this.ulRef=r,class:i},this.options.map(r=>h("li",{onClick:()=>this.handleChange(r),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},r.name)))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}}static get style(){return NlSelectStyle0}},[0,"nl-select",{options:[16],selected:[2],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],value:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"]}]);function defineCustomElement$k(){typeof customElements>"u"||["nl-select"].forEach(i=>{"nl-select"===i&&(customElements.get(i)||customElements.define(i,NlSelect))})}defineCustomElement$k();const nlImportFlowCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlImportFlowStyle0=nlImportFlowCss,NlImportFlow=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlImportAccount=createEvent(this,"nlImportAccount",7),this.nlExportKeys=createEvent(this,"nlExportKeys",7),this.titleInfo="Back up your keys",this.titleImport="Choose a service",this.textImport="Your Nostr keys will be imported into this provider, and you will manage your keys on their website.",this.services=[],this.isAvailable=!1,this.isContinued=!1,this.isKeyBackup=!1,this.isCopy=!1}handleDomainSelect(i){const a=this.services.find(r=>r.domain===i.detail);state.nlImport.relay=a.relay,state.nlImport.nostrConnect=a.link}handleCreateAccount(i){i.preventDefault(),window.open(state.nlImport.nostrConnect,"_blank"),this.nlImportAccount.emit(state.nlImport.relay)}handleContinue(){this.isContinued=!0}handleContinueKeyBackup(){this.isKeyBackup=!0}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.nlExportKeys.emit(),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)})()}render(){if(!this.isContinued&&!this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleInfo),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Nostr profiles are controlled by cryptographic keys.",h("br",null),h("br",null),"Your keys are currently only stored in this browser tab, and may be lost if you close it.",h("br",null),h("br",null),"You should backup your keys.",h("br",null),h("br",null),"We recommend to import your keys into a key store service, to protect them and to use with other apps."),h("div",{class:"ml-auto mr-auto w-72"},h("button-base",{onClick:()=>this.handleContinue(),titleBtn:"Import to key store"})),h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.handleContinueKeyBackup(),titleBtn:"Export keys"})));if(this.isKeyBackup)return h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},"Key export"),h("p",{class:"nl-description font-light text-sm pt-2 pb-2 max-w-96 mx-auto"},"Copy your keys and store them in a safe place, like a password manager.",h("br",null),h("br",null),"You can sign into other Nostr apps by pasting your keys into them.",h("br",null),h("br",null),"Your keys are like your password, never share them with anyone."),h("div",{class:"max-w-72 mx-auto"},h("div",{class:"ml-auto mr-auto mb-2 w-72"},h("button-base",{onClick:()=>this.copyToClipboard(),titleBtn:this.isCopy?"Copied!":"Copy to clipboard"}))));const i=this.services.map(a=>({name:a.domain,value:a.domain}));return h(Fragment,null,h("div",{class:"p-4 overflow-y-auto"},h("h1",{class:"nl-title font-bold text-center text-2xl"},this.titleImport),h("p",{class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},"Your Nostr keys will be imported into the service you choose. You will manage your keys on their website.")),h("div",{class:"max-w-72 mx-auto mb-5"},h("div",{class:"mb-0.5"},h("nl-select",{onSelectDomain:a=>this.handleDomainSelect(a),selected:0,options:i})),h("p",{class:"nl-title font-light text-sm mb-2"},"Default provider is a fine choice to start with."),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{disabled:state.isLoading,onClick:a=>this.handleCreateAccount(a),titleBtn:"Start importing"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlImportFlowStyle0}},[0,"nl-import-flow",{titleInfo:[1025,"title-info"],titleImport:[1,"title-import"],textImport:[1,"text-import"],services:[16],isAvailable:[32],isContinued:[32],isKeyBackup:[32],isCopy:[32]}]);function defineCustomElement$j(){typeof customElements>"u"||["nl-import-flow","button-base","nl-select"].forEach(i=>{switch(i){case"nl-import-flow":customElements.get(i)||customElements.define(i,NlImportFlow);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$j();const nlInfoCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoStyle0=nlInfoCss,NlInfo=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"369813cd9991a71e8578b3afd09228850a956cc5",class:"p-4 overflow-y-auto"},h("svg",{key:"463d3d38cbaea31e5316b563491f6f6e3162f4ce",class:"w-12 h-12 mx-auto mb-2",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{key:"5d77b33d54a376edffc6a4edf8ccabf8890bf5e4",width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{key:"7c8f8dd801f357378e9518879af15368f7652793",d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("h1",{key:"964eeb119baa8053a11a7a9ebf860297e94d213c",class:"nl-title font-bold text-center text-4xl"},"Nostr ",h("span",{key:"6197de00428856facf31bdeae0fdc6adc2472b59",class:"font-light"},"Login")))}static get style(){return NlInfoStyle0}},[0,"nl-info"]);function defineCustomElement$i(){typeof customElements>"u"||["nl-info"].forEach(i=>{"nl-info"===i&&(customElements.get(i)||customElements.define(i,NlInfo))})}defineCustomElement$i();const nlInfoExtensionCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlInfoExtensionStyle0=nlInfoExtensionCss,NlInfoExtension=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost()}render(){return h("div",{key:"c4fede7840388bd72cd9adc25e94ff4521797caf",class:"p-4 overflow-y-auto"},state.isLoadingExtension?h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Signing in..."),h("div",{class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{class:"ps-4 pe-4 overflow-y-auto"},h("p",{class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error))):h("div",null,h("h1",{class:"nl-title font-bold text-center text-4xl"},"Install browser extension!"),h("p",{class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Try"," ",h("a",{href:"https://chromewebstore.google.com/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj",target:"_blank"},"Blockcore"),","," ",h("a",{href:"https://getalby.com",target:"_blank"},"Alby"),","," ",h("a",{href:"https://chromewebstore.google.com/detail/nos2x/kpgefcfmnafjgpblomihpgmejjdanjjp",target:"_blank"},"nos2x")," ","or"," ",h("a",{href:"https://apps.apple.com/us/app/nostore/id1666553677",target:"_blank"},"Nostore"))))}static get style(){return NlInfoExtensionStyle0}},[0,"nl-info-extension"]);function defineCustomElement$h(){typeof customElements>"u"||["nl-info-extension"].forEach(i=>{"nl-info-extension"===i&&(customElements.get(i)||customElements.define(i,NlInfoExtension))})}defineCustomElement$h();const nlLoadingCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLoadingStyle0=nlLoadingCss,NlLoading=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.stopFetchHandler=createEvent(this,"stopFetchHandler",7),this.handleContinue=createEvent(this,"handleContinue",7),this.path=void 0}handleStop(i){i.preventDefault(),this.stopFetchHandler.emit()}handleContinueClick(i){i.preventDefault(),this.handleContinue.emit()}render(){let i="Connecting...",a="Establishing connection to your key storage.";this.path===CURRENT_MODULE.LOCAL_SIGNUP?(i="Creating...",a="Publishing your profile on Nostr."):state.authUrl&&(state.isLoading?(i="Confirming...",a="Please confirm the connection in your key storage app."):(i="Almost ready!",a="Continue to confirm the connection to your key storage."));const r=this.path!==CURRENT_MODULE.LOCAL_SIGNUP;return h("div",{key:"630b1ac3e32165dd32595466aa5476457aaa89d9",class:"p-4 overflow-y-auto"},h("h1",{key:"d9913644604598614d281d85d93f4f331f1a9261",class:"nl-title font-bold text-center text-4xl"},i),h("p",{key:"822f15bfc3a61f822d803c7e7f3b5101bab42eaa",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},a),!state.authUrl&&state.isLoading&&h("div",{key:"3989eac9b421e2452c96460fd86098cf01e3c07f",class:"mt-10 mb-10 ml-auto mr-auto w-20"},h("span",{key:"748523db8207aef49f449a0c25070f15097517fb",slot:"icon-start",class:"animate-spin-loading ml-auto mr-auto inline-block w-20 h-20 border-[4px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"})),h("div",{key:"5c4716cac822e50abefdd524ca77cb854bead2fe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"1c7a0df8bc547416f24f53c0243a1e6fe944e067",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),r&&h("div",{key:"b64c30fff6e6c29db92ec77d574b4908a097dce4",class:"mt-3 ml-auto mr-auto w-72"},h("button-base",{key:"7d51196c3a61860292e95332cc36ea7b90075157",onClick:o=>{state.authUrl&&!state.isLoading?this.handleContinueClick(o):this.handleStop(o)},titleBtn:state.isLoading?"Cancel":"Continue"})))}static get style(){return NlLoadingStyle0}},[0,"nl-loading",{path:[1]}]);function defineCustomElement$g(){typeof customElements>"u"||["nl-loading","button-base"].forEach(i=>{switch(i){case"nl-loading":customElements.get(i)||customElements.define(i,NlLoading);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$g();const nlLocalSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlLocalSignupStyle0=nlLocalSignupCss,NlLocalSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLocalSignup=createEvent(this,"nlLocalSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create Nostr profile",this.description="Choose any username, you can always change it later.",this.isAvailable=!1}handleInputChange(i){state.nlSignup.signupName=i.target.value}handleCreateAccount(i){i.preventDefault(),this.nlLocalSignup.emit(`${state.nlSignup.signupName}`)}render(){return h(Fragment,{key:"f707cc6eaa61b36b52daf2f61360fab0f37fcc3e"},h("div",{key:"7cc640ec75dc80a0f84c3d5db3bcdffe2bb46c45",class:"p-4 overflow-y-auto"},h("h1",{key:"c4ef87db38b1aef19258950b4b4703f992ede847",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"45ecaf37bf71fcb965f333b1c788dce26806413a",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"1cea94ff9de943dfea8f1b8cc39c30af82aa66a9",class:"max-w-72 mx-auto"},h("div",{key:"202d4e7c5def553c36a735003a1a23903ee4735b",class:"relative mb-2"},h("input",{key:"41502ef89f2433915b37caace4c7cdd7fb86b7b1",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Enter username",value:state.nlSignup.signupName}),h("div",{key:"efc7d9fbd45da136b002d42a9403b34d9e654f50",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"8ff89d5922b3091c4b212a89932e41bd8db7ec09",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"e6aeac8d4b82fc3b08995825eb0eb481a3a8bdd1","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"a3fef381cdbd14c931e7f6940627a4af51063d8a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"869dc7e661e5840b4d2ce3091b0112596cc4629b",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"da8429619571547e8a1c1a21418c4d6452f86571",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlLocalSignupStyle0}},[0,"nl-local-signup",{titleSignup:[1,"title-signup"],description:[1],isAvailable:[32]}]);function defineCustomElement$f(){typeof customElements>"u"||["nl-local-signup","button-base"].forEach(i=>{switch(i){case"nl-local-signup":customElements.get(i)||customElements.define(i,NlLocalSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$f();const NlLoginStatus=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.info=void 0}render(){let i="",a="";if("extension"===this.info.authMethod)i="Extension",a="border-yellow-300 text-yellow-500 bg-yellow-100";else if("readOnly"===this.info.authMethod)i="Read only",a="border-gray-300 text-gray-400 bg-gray-100";else if("connect"===this.info.authMethod)i="Connect",a="border-teal-300 text-teal-600 bg-teal-100";else if("local"===this.info.authMethod)i="Temporary",a="border-red-300 text-red-600 bg-red-100";else{if("otp"!==this.info.authMethod)throw console.log("unknown auth method",this.info),new Error("Unknown auth method");i="Delegated",a="border-orange-300 text-orange-600 bg-orange-100"}return h("div",{key:"deff079607a599f28ab3feb535ed129434d54c7f"},h("span",{key:"a46ce6b03027226914d5d6bd46b74c9ae5213339",class:`${a} rounded-xl border w-auto text-[10px] px-1 `},i))}},[0,"nl-login-status",{info:[16]}]);function defineCustomElement$e(){typeof customElements>"u"||["nl-login-status"].forEach(i=>{"nl-login-status"===i&&(customElements.get(i)||customElements.define(i,NlLoginStatus))})}defineCustomElement$e();const nlPreviouslyLoggedCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.active{animation:blink .7s infinite alternate}@keyframes blink{0%{opacity:1}to{opacity:0}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlPreviouslyLoggedStyle0=nlPreviouslyLoggedCss,NlPreviouslyLogged=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSwitchAccount=createEvent(this,"nlSwitchAccount",7),this.nlLoginRecentAccount=createEvent(this,"nlLoginRecentAccount",7),this.nlRemoveRecent=createEvent(this,"nlRemoveRecent",7),this.titlePage="Your profiles",this.description="Switch between active profiles or choose a recent one for fast login.",this.accounts=[],this.recents=[]}handleGoToWelcome(){state.path=[CURRENT_MODULE.WELCOME]}switchToWelcomeIfEmpty(){this.recents.length||this.accounts.length||(state.path=[CURRENT_MODULE.WELCOME])}watchAccounts(){this.switchToWelcomeIfEmpty()}watchRecents(){this.switchToWelcomeIfEmpty()}handleRemoveRecent(i){this.nlRemoveRecent.emit(i)}handleSwitch(i){this.nlSwitchAccount.emit(i)}handleLoginRecentAccount(i){this.nlLoginRecentAccount.emit(i)}render(){return h(Fragment,{key:"efe95984bfeb92cc0fe4b8ac29f209af81c2de78"},h("div",{key:"26ef58fd8df4b6908bcb9771b4a5b1c75e9ad097",class:"p-4 pt-0 overflow-y-auto"},h("h1",{key:"a8dd74eb5ba5c521b06e93b70c2104bc9179efd6",class:"nl-title font-bold text-center text-4xl"},this.titlePage),h("p",{key:"651425e336bf01d0902e836efee083118c98bdbf",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"c65adbe0a74df16268ff7f8c7911d4e9ab637619",class:"p-4"},!!this.accounts.length&&h("div",{key:"0a3f9419b4d19eca86144406691a9b2ed8584440",class:"max-w-96 mx-auto"},h("p",{key:"ee339f628c757c3218d3f4728097136f1879b28b",class:"nl-description font-medium text-sm pb-1.5"},"Active profiles"),h("ul",{key:"d6090b1380be40705af3b725255f7da826ae9b7a",class:"p-2 rounded-lg border border-blue-200 flex flex-col w-full gap-0.5"},this.accounts.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleSwitch(i),class:"group hover:bg-gray-400 flex cursor-pointer gap-x-3.5 py-2 px-3 rounded-lg text-sm items-center justify-between"},h("div",{class:"flex items-center gap-x-3.5 w-full"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-2px] right-[-2px] bg-white border-2 border-white rounded-xl"},h("div",{class:"active h-1.5 w-1.5 bg-green-500 rounded-xl"})),h("div",{class:"group-hover:border-blue-400 uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i}))))}))),!!this.recents.length&&h("div",{key:"f2e8514d062979f626de9f71e06e01990c33624e",class:"max-w-96 mx-auto pt-5"},h("p",{key:"e52d1f0d5be0eb4a8a42004df6a7192d7b458838",class:"nl-description font-medium text-sm pb-1.5"},"Recent profiles"),h("ul",{key:"b508e9b26d52ab25b3c18c12cf20e94929a0d34f",class:"p-2 rounded-lg border border-gray-200 flex flex-col w-full gap-0.5"},this.recents.map(i=>{const a=!!i?.picture,r=i.name||i.nip05||i.pubkey,o=!!r;return h("li",{onClick:()=>this.handleLoginRecentAccount(i),class:"flex items-center gap-x-3.5 w-full hover:bg-gray-400 flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm justify-between"},h("div",{class:"w-full max-w-7 h-7 flex relative"},h("div",{class:"absolute top-[-3px] right-[-3px] bg-white border border-white rounded-xl"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-3 h-3"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),h("div",{class:"uppercase font-bold w-full h-full rounded-full border border-gray-400 flex justify-center items-center"},a?h("img",{class:"w-full rounded-full",src:i.picture,alt:"Logo"}):o?r[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"nl-title truncate overflow-hidden"},r),h("nl-login-status",{info:i})),h("svg",{onClick:s=>{s.stopPropagation(),this.handleRemoveRecent(i)},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full max-w-6 h-6 text-red-500 hover:text-red-600 ml-auto"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})))})))),h("div",{key:"71ef71b8cc45811c45d04f2460855d90c932d42c",class:"p-4 overflow-y-auto"},h("p",{key:"40b0f783bf7d9946fbe3e0b915bd01cd7e42a468",class:"nl-footer font-light text-center text-sm max-w-96 mx-auto"},"You can also"," ",h("span",{key:"2689126b8e8d9e7ff01cfc35e682bf698856f363",onClick:()=>this.handleGoToWelcome(),class:"cursor-pointer pb-3 text-blue-500"},"add another profile"))))}static get watchers(){return{accounts:["watchAccounts"],recents:["watchRecents"]}}static get style(){return NlPreviouslyLoggedStyle0}},[0,"nl-previously-logged",{titlePage:[1,"title-page"],description:[1],accounts:[16],recents:[16]},void 0,{accounts:["watchAccounts"],recents:["watchRecents"]}]);function defineCustomElement$d(){typeof customElements>"u"||["nl-previously-logged","nl-login-status"].forEach(i=>{switch(i){case"nl-previously-logged":customElements.get(i)||customElements.define(i,NlPreviouslyLogged);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$d();const nlSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninStyle0=nlSigninCss,NlSignin=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect to key store",this.description="Please enter your user name.",this.isGood=!1}handleInputChange(i){state.nlSignin.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSignin.loginName)}render(){return h(Fragment,{key:"db38daf19a106f820747dc29ed9074b3a5be41e1"},h("div",{key:"d08c760b6fda83b5affc616657edd1f160b50741",class:"p-4 overflow-y-auto"},h("h1",{key:"0de9a5982d277facf5b9c0bf663cf37b60e5e35a",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"c0f1cf7037c472358e65e34d9bfd6568522d85e2",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"2221e32fa5487fd2ec05239e4ae16b5393833f9a",class:"max-w-72 mx-auto"},h("div",{key:"7aefa39fe14a818c5188c771451f6f5f50183458",class:"relative mb-2"},h("input",{key:"36113042568bc9b00cd910485eb8adea268c2518",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"name@domain.com",value:state.nlSignin.loginName}),h("div",{key:"9a4dfa1f8c18ea963e26bcd981c81fe697abc546",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"14ed5cc346c25ebeaa49f983527d1e3efadef53c",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"99af82eb37b8812bc49ab15e3d809243db635c75","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"74f43932e9aab6afb37d9d129b207d9ad1d2ce5a",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"09a2a638a8c47f6debf28a6159d16cff7cc2694e",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d5735f567247f415e04dca13e1b30ccfa62aea7b",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninStyle0}},[0,"nl-signin",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$c(){typeof customElements>"u"||["nl-signin","button-base"].forEach(i=>{switch(i){case"nl-signin":customElements.get(i)||customElements.define(i,NlSignin);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$c();const nlSigninBunkerUrlCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninBunkerUrlStyle0=nlSigninBunkerUrlCss,NlSigninBunkerUrl=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLogin=createEvent(this,"nlLogin",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Connect with bunker url",this.description="Please enter a bunker url provided by key store.",this.isGood=!1}handleInputChange(i){state.nlSigninBunkerUrl.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLogin.emit(state.nlSigninBunkerUrl.loginName)}render(){return h(Fragment,{key:"97fc0661bee87364f3ea9f72d4bec657e1b64ddc"},h("div",{key:"0636b0505c49d5e3c3d37bc7b0a66b1acfe38a3e",class:"p-4 overflow-y-auto"},h("h1",{key:"c3c4baf3bfc693a42a62b5a66e7af65c852f177b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"9ab0b3537ab790a834b6ad57b6dfcfc77337dd3c",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"4fe3349e769a2e1c75040b7306674461a47222b3",class:"max-w-72 mx-auto"},h("div",{key:"1eb4ce411f4ef92da4b437162cb06e9db2709f49",class:"relative mb-2"},h("input",{key:"360eac0e0606901336c14fb7f7e836e0e592defc",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"bunker://...",value:state.nlSigninBunkerUrl.loginName}),h("div",{key:"0cb3e1f39ecb8eafa3c39be65566731c41f79ccb",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"dd764bce7d06f3132312c083b520dc15e0185b89",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"8a6107e9f82bc3bf70fcc81be04bf9191321dd8e","stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})))),h("div",{key:"ed1c621171950bdb3f1b1c4f4b67a73c74e95ec4",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"8b38d4721e6f4ad85ef0e2d9fabba152a7a649eb",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"d9dc061a5b63ae3b8eec4fb40a9c5b5be1489471",titleBtn:"Connect",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"})))))}static get style(){return NlSigninBunkerUrlStyle0}},[0,"nl-signin-bunker-url",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$b(){typeof customElements>"u"||["nl-signin-bunker-url","button-base"].forEach(i=>{switch(i){case"nl-signin-bunker-url":customElements.get(i)||customElements.define(i,NlSigninBunkerUrl);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$b();var browser$1={},canPromise$1=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},qrcode={},utils$1$1={};let toSJISFunction;const CODEWORDS_COUNT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];utils$1$1.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return 4*i+17},utils$1$1.getSymbolTotalCodewords=function(i){return CODEWORDS_COUNT[i]},utils$1$1.getBCHDigit=function(i){let a=0;for(;0!==i;)a++,i>>>=1;return a},utils$1$1.setToSJISFunction=function(i){if("function"!=typeof i)throw new Error('"toSJISFunc" is not a valid function.');toSJISFunction=i},utils$1$1.isKanjiModeEnabled=function(){return void 0!==toSJISFunction},utils$1$1.toSJIS=function(i){return toSJISFunction(i)};var errorCorrectionLevel={},exports;function BitBuffer$1(){this.buffer=[],this.length=0}exports=errorCorrectionLevel,exports.L={bit:1},exports.M={bit:0},exports.Q={bit:3},exports.H={bit:2},exports.isValid=function(i){return i&&void 0!==i.bit&&i.bit>=0&&i.bit<4},exports.from=function(i,a){if(exports.isValid(i))return i;try{return function(r){if("string"!=typeof r)throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return exports.L;case"m":case"medium":return exports.M;case"q":case"quartile":return exports.Q;case"h":case"high":return exports.H;default:throw new Error("Unknown EC Level: "+r)}}(i)}catch{return a}},BitBuffer$1.prototype={get:function(i){const a=Math.floor(i/8);return 1==(this.buffer[a]>>>7-i%8&1)},put:function(i,a){for(let r=0;r>>a-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(i){const a=Math.floor(this.length/8);this.buffer.length<=a&&this.buffer.push(0),i&&(this.buffer[a]|=128>>>this.length%8),this.length++}};var bitBuffer=BitBuffer$1;function BitMatrix$1(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}BitMatrix$1.prototype.set=function(i,a,r,o){const s=i*this.size+a;this.data[s]=r,o&&(this.reservedBit[s]=!0)},BitMatrix$1.prototype.get=function(i,a){return this.data[i*this.size+a]},BitMatrix$1.prototype.xor=function(i,a,r){this.data[i*this.size+a]^=r},BitMatrix$1.prototype.isReserved=function(i,a){return this.reservedBit[i*this.size+a]};var bitMatrix=BitMatrix$1,alignmentPattern={};!function(i){const a=utils$1$1.getSymbolSize;i.getRowColCoords=function(r){if(1===r)return[];const o=Math.floor(r/7)+2,s=a(r),c=145===s?26:2*Math.ceil((s-13)/(2*o-2)),y=[s-7];for(let k=1;k=0&&y<=7},i.from=function(y){return i.isValid(y)?parseInt(y,10):void 0},i.getPenaltyN1=function(y){const k=y.size;let A=0,I=0,M=0,T=null,O=null;for(let L=0;L=5&&(A+=I-5+3),T=z,I=1),z=y.get(Y,L),z===O?M++:(M>=5&&(A+=M-5+3),O=z,M=1)}I>=5&&(A+=I-5+3),M>=5&&(A+=M-5+3)}return A},i.getPenaltyN2=function(y){const k=y.size;let A=0;for(let I=0;I=10&&(1488===I||93===I)&&A++,M=M<<1&2047|y.get(O,T),O>=10&&(1488===M||93===M)&&A++}return 40*A},i.getPenaltyN4=function(y){let k=0;const A=y.data.length;for(let I=0;I=0;){const c=s[0];for(let k=0;k0){const s=new Uint8Array(this.degree);return s.set(r,o),s}return r};var reedSolomonEncoder=ReedSolomonEncoder$1,version={},mode={},versionCheck={isValid:function(i){return!isNaN(i)&&i>=1&&i<=40}},regex$1={};const numeric="[0-9]+",alphanumeric="[A-Z $%*+\\-./:]+";let kanji="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kanji=kanji.replace(/u/g,"\\u");const byte="(?:(?![A-Z0-9 $%*+\\-./:]|"+kanji+")(?:.|[\r\n]))+";regex$1.KANJI=new RegExp(kanji,"g"),regex$1.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),regex$1.BYTE=new RegExp(byte,"g"),regex$1.NUMERIC=new RegExp(numeric,"g"),regex$1.ALPHANUMERIC=new RegExp(alphanumeric,"g");const TEST_KANJI=new RegExp("^"+kanji+"$"),TEST_NUMERIC=new RegExp("^"+numeric+"$"),TEST_ALPHANUMERIC=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");regex$1.testKanji=function(i){return TEST_KANJI.test(i)},regex$1.testNumeric=function(i){return TEST_NUMERIC.test(i)},regex$1.testAlphanumeric=function(i){return TEST_ALPHANUMERIC.test(i)},function(i){const a=versionCheck,r=regex$1;i.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},i.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},i.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},i.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},i.MIXED={bit:-1},i.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!a.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},i.getBestModeForData=function(o){return r.testNumeric(o)?i.NUMERIC:r.testAlphanumeric(o)?i.ALPHANUMERIC:r.testKanji(o)?i.KANJI:i.BYTE},i.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},i.isValid=function(o){return o&&o.bit&&o.ccBits},i.from=function(o,s){if(i.isValid(o))return o;try{return function(c){if("string"!=typeof c)throw new Error("Param is not a string");switch(c.toLowerCase()){case"numeric":return i.NUMERIC;case"alphanumeric":return i.ALPHANUMERIC;case"kanji":return i.KANJI;case"byte":return i.BYTE;default:throw new Error("Unknown mode: "+c)}}(o)}catch{return s}}}(mode),function(i){const a=utils$1$1,r=errorCorrectionCode,o=errorCorrectionLevel,s=mode,c=versionCheck,y=a.getBCHDigit(7973);function k(I,M){return s.getCharCountIndicator(I,M)+4}function A(I,M){let T=0;return I.forEach(function(O){const L=k(O.mode,M);T+=L+O.getBitsLength()}),T}i.from=function(I,M){return c.isValid(I)?parseInt(I,10):M},i.getCapacity=function(I,M,T){if(!c.isValid(I))throw new Error("Invalid QR Code version");void 0===T&&(T=s.BYTE);const O=8*(a.getSymbolTotalCodewords(I)-r.getTotalCodewordsCount(I,M));if(T===s.MIXED)return O;const L=O-k(T,I);switch(T){case s.NUMERIC:return Math.floor(L/10*3);case s.ALPHANUMERIC:return Math.floor(L/11*2);case s.KANJI:return Math.floor(L/13);default:return Math.floor(L/8)}},i.getBestVersionForData=function(I,M){let T;const O=o.from(M,o.M);if(Array.isArray(I)){if(I.length>1)return function(L,Y){for(let z=1;z<=40;z++)if(A(L,z)<=i.getCapacity(z,Y,s.MIXED))return z}(I,O);if(0===I.length)return 1;T=I[0]}else T=I;return function(L,Y,z){for(let q=1;q<=40;q++)if(Y<=i.getCapacity(q,z,L))return q}(T.mode,T.getLength(),O)},i.getEncodedBits=function(I){if(!c.isValid(I)||I<7)throw new Error("Invalid QR Code version");let M=I<<12;for(;a.getBCHDigit(M)-y>=0;)M^=7973<=0;)o^=G15<0&&(r=this.data.substr(a),o=parseInt(r,10),i.put(o,3*s+1))};var numericData=NumericData;const Mode$3=mode,ALPHA_NUM_CHARS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function AlphanumericData(i){this.mode=Mode$3.ALPHANUMERIC,this.data=i}AlphanumericData.getBitsLength=function(i){return 11*Math.floor(i/2)+i%2*6},AlphanumericData.prototype.getLength=function(){return this.data.length},AlphanumericData.prototype.getBitsLength=function(){return AlphanumericData.getBitsLength(this.data.length)},AlphanumericData.prototype.write=function(i){let a;for(a=0;a+2<=this.data.length;a+=2){let r=45*ALPHA_NUM_CHARS.indexOf(this.data[a]);r+=ALPHA_NUM_CHARS.indexOf(this.data[a+1]),i.put(r,11)}this.data.length%2&&i.put(ALPHA_NUM_CHARS.indexOf(this.data[a]),6)};var alphanumericData=AlphanumericData;const Mode$2=mode;function ByteData(i){this.mode=Mode$2.BYTE,this.data="string"==typeof i?(new TextEncoder).encode(i):new Uint8Array(i)}ByteData.getBitsLength=function(i){return 8*i},ByteData.prototype.getLength=function(){return this.data.length},ByteData.prototype.getBitsLength=function(){return ByteData.getBitsLength(this.data.length)},ByteData.prototype.write=function(i){for(let a=0,r=this.data.length;a=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[a]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),i.put(r,13)}};var kanjiData=KanjiData,dijkstra={exports:{}};(function(i){var a={single_source_shortest_paths:function(r,o,s){var c={},y={};y[o]=0;var k,A,I,M,T,O,Y=a.PriorityQueue.make();for(Y.push(o,0);!Y.empty();)for(I in A=(k=Y.pop()).value,M=k.cost,T=r[A]||{})T.hasOwnProperty(I)&&(O=M+T[I],(void 0===y[I]||y[I]>O)&&(y[I]=O,Y.push(I,O),c[I]=A));if(void 0!==s&&void 0===y[s]){var z=["Could not find a path from ",o," to ",s,"."].join("");throw new Error(z)}return c},extract_shortest_path_from_predecessor_list:function(r,o){for(var s=[],c=o;c;)s.push(c),c=r[c];return s.reverse(),s},find_path:function(r,o,s){var c=a.single_source_shortest_paths(r,o,s);return a.extract_shortest_path_from_predecessor_list(c,s)},PriorityQueue:{make:function(r){var o,s=a.PriorityQueue,c={};for(o in r=r||{},s)s.hasOwnProperty(o)&&(c[o]=s[o]);return c.queue=[],c.sorter=r.sorter||s.default_sorter,c},default_sorter:function(r,o){return r.cost-o.cost},push:function(r,o){this.queue.push({value:r,cost:o}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};i.exports=a})(dijkstra),function(i){const a=mode,r=numericData,o=alphanumericData,s=byteData,c=kanjiData,y=regex$1,k=utils$1$1,A=dijkstra.exports;function I(Y){return unescape(encodeURIComponent(Y)).length}function M(Y,z,q){const ct=[];let dt;for(;null!==(dt=Y.exec(q));)ct.push({data:dt[0],index:dt.index,mode:z,length:dt[0].length});return ct}function T(Y){const z=M(y.NUMERIC,a.NUMERIC,Y),q=M(y.ALPHANUMERIC,a.ALPHANUMERIC,Y);let ct,dt;return k.isKanjiModeEnabled()?(ct=M(y.BYTE,a.BYTE,Y),dt=M(y.KANJI,a.KANJI,Y)):(ct=M(y.BYTE_KANJI,a.BYTE,Y),dt=[]),z.concat(q,ct,dt).sort(function(tt,vt){return tt.index-vt.index}).map(function(tt){return{data:tt.data,mode:tt.mode,length:tt.length}})}function O(Y,z){switch(z){case a.NUMERIC:return r.getBitsLength(Y);case a.ALPHANUMERIC:return o.getBitsLength(Y);case a.KANJI:return c.getBitsLength(Y);case a.BYTE:return s.getBitsLength(Y)}}function L(Y,z){let q;const ct=a.getBestModeForData(Y);if(q=a.from(z,ct),q!==a.BYTE&&q.bit=0?Mt[Mt.length-1]:null;return St&&St.mode===$t.mode?(Mt[Mt.length-1].data+=$t.data,Mt):(Mt.push($t),Mt)},[]))},i.rawSplit=function(Y){return i.fromArray(T(Y,k.isKanjiModeEnabled()))}}(segments);const Utils$1=utils$1$1,ECLevel=errorCorrectionLevel,BitBuffer=bitBuffer,BitMatrix=bitMatrix,AlignmentPattern=alignmentPattern,FinderPattern=finderPattern,MaskPattern=maskPattern,ECCode=errorCorrectionCode,ReedSolomonEncoder=reedSolomonEncoder,Version=version,FormatInfo=formatInfo,Mode=mode,Segments=segments;function setupFinderPattern(i,a){const r=i.size,o=FinderPattern.getPositions(a);for(let s=0;s=0&&k<=6&&(0===A||6===A)||A>=0&&A<=6&&(0===k||6===k)||k>=2&&k<=4&&A>=2&&A<=4,!0)}}function setupTimingPattern(i){const a=i.size;for(let r=8;r>k&1),i.set(s,c,y,!0),i.set(c,s,y,!0)}function setupFormatInfo(i,a,r){const o=i.size,s=FormatInfo.getEncodedBits(a,r);let c,y;for(c=0;c<15;c++)y=1==(s>>c&1),i.set(c<6?c:c<8?c+1:o-15+c,8,y,!0),i.set(8,c<8?o-c-1:c<9?15-c-1+1:15-c-1,y,!0);i.set(o-8,8,1,!0)}function setupData(i,a){const r=i.size;let o=-1,s=r-1,c=7,y=0;for(let k=r-1;k>0;k-=2)for(6===k&&k--;;){for(let A=0;A<2;A++)if(!i.isReserved(s,k-A)){let I=!1;y>>c&1)),i.set(s,k-A,I),c--,-1===c&&(y++,c=7)}if(s+=o,s<0||r<=s){s-=o,o=-o;break}}}function createData(i,a,r){const o=new BitBuffer;r.forEach(function(y){o.put(y.mode.bit,4),o.put(y.getLength(),Mode.getCharCountIndicator(y.mode,i)),y.write(o)});const s=8*(Utils$1.getSymbolTotalCodewords(i)-ECCode.getTotalCodewordsCount(i,a));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let y=0;y=7&&setupVersionInfo(A,a),setupData(A,y),isNaN(o)&&(o=MaskPattern.getBestMask(A,setupFormatInfo.bind(null,A,r))),MaskPattern.applyMask(o,A),setupFormatInfo(A,r,o),{modules:A,version:a,errorCorrectionLevel:r,maskPattern:o,segments:s}}qrcode.create=function(i,a){if(void 0===i||""===i)throw new Error("No input text");let r,o,s=ECLevel.M;return void 0!==a&&(s=ECLevel.from(a.errorCorrectionLevel,ECLevel.M),r=Version.from(a.version),o=MaskPattern.from(a.maskPattern),a.toSJISFunc&&Utils$1.setToSJISFunction(a.toSJISFunc)),createSymbol(i,r,s,o)};var canvas={},utils$3={};(function(i){function a(r){if("number"==typeof r&&(r=r.toString()),"string"!=typeof r)throw new Error("Color should be defined as hex string");let o=r.slice().replace("#","").split("");if(o.length<3||5===o.length||o.length>8)throw new Error("Invalid hex color: "+r);3!==o.length&&4!==o.length||(o=Array.prototype.concat.apply([],o.map(function(c){return[c,c]}))),6===o.length&&o.push("F","F");const s=parseInt(o.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:255&s,hex:"#"+o.slice(0,6).join("")}}i.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=r.width&&r.width>=21?r.width:void 0;return{width:s,scale:s?4:r.scale||4,margin:null==r.margin||r.margin<0?4:r.margin,color:{dark:a(r.color.dark||"#000000ff"),light:a(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},i.getScale=function(r,o){return o.width&&o.width>=r+2*o.margin?o.width/(r+2*o.margin):o.scale},i.getImageWidth=function(r,o){const s=i.getScale(r,o);return Math.floor((r+2*o.margin)*s)},i.qrToImageData=function(r,o,s){const c=o.modules.size,y=o.modules.data,k=i.getScale(c,s),A=Math.floor((c+2*s.margin)*k),I=s.margin*k,M=[s.color.light,s.color.dark];for(let T=0;T=I&&O>=I&&T0&&A>0&&i[k-1]||(o+=c?svgCmd("M",A+r,.5+I+r):svgCmd("m",s,0),s=0,c=!1),A+1':"",A="',M=''+k+A+"\n";return"function"==typeof r&&r(null,M),M};const canPromise=canPromise$1,QRCode=qrcode,CanvasRenderer=canvas,SvgRenderer=svgTag;function renderCanvas(i,a,r,o,s){const c=[].slice.call(arguments,1),y=c.length,k="function"==typeof c[y-1];if(!k&&!canPromise())throw new Error("Callback required as last argument");if(!k){if(y<1)throw new Error("Too few arguments provided");return 1===y?(r=a,a=o=void 0):2!==y||a.getContext||(o=r,r=a,a=void 0),new Promise(function(A,I){try{const M=QRCode.create(r,o);A(i(M,a,o))}catch(M){I(M)}})}if(y<2)throw new Error("Too few arguments provided");2===y?(s=r,r=a,a=o=void 0):3===y&&(a.getContext&&void 0===s?(s=o,o=void 0):(s=o,o=r,r=a,a=void 0));try{const A=QRCode.create(r,o);s(null,i(A,a,o))}catch(A){s(A)}}browser$1.create=QRCode.create,browser$1.toCanvas=renderCanvas.bind(null,CanvasRenderer.render),browser$1.toDataURL=renderCanvas.bind(null,CanvasRenderer.renderToDataURL),browser$1.toString=renderCanvas.bind(null,function(i,a,r){return SvgRenderer.render(i,r)});const nlSigninConnectionStringCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninConnectionStringStyle0=nlSigninConnectionStringCss,NlSigninConnectionString=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlNostrConnectDefault=createEvent(this,"nlNostrConnectDefault",7),this.titleLogin="Connection string",this.description="Scan or copy the connection string with key store app",this.connectionString="",this.isCopy=!1}componentDidLoad(){this.generateQRCode(),this.nlNostrConnectDefault.emit()}generateQRCode(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.connectionString&&i.canvasElement)try{yield browser$1.toCanvas(i.canvasElement,i.connectionString)}catch(a){console.error("Error generating QR Code:",a)}})()}copyToClipboard(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(i.connectionString),i.isCopy=!0,setTimeout(()=>{i.isCopy=!1},1500)}catch(a){console.error("Failed to copy connectionString: ",a)}})()}render(){return h(Fragment,{key:"5186c70f33e7b5d8e42d426f41cbab452181fa79"},h("div",{key:"1737f8438920880e369eff393cad6db37fe62975",class:"p-4 overflow-y-auto"},h("h1",{key:"3dab5fc70ba7ae87d7926f208df838e4e8506e1b",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"43a2d0d56b36b4b1577bd6b21eeda9b105359389",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("canvas",{key:"92cd37de695eee50873cb7a76b2196fd6f2885d6",class:"mx-auto mb-2",ref:i=>this.canvasElement=i}),h("div",{key:"668b253bb58f243d223931a0be911e36eee4a119",class:"px-4"},h("div",{key:"7abb7aa8ba86857ccff22cba4d88cf07407b5fe0",class:"max-w-72 mx-auto"},h("div",{key:"e1747e8fddc4ebe00671ed82ab43fe3b29a4a456",class:"relative mb-2"},h("input",{key:"ce0fed3c0b9a29a63bad975082294d616fcb2b79",type:"text",class:"nl-input peer py-3 px-4 pe-11 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:this.connectionString,disabled:!0}),h("div",{key:"462c8d5454066fe42710cc1a51df4ac6c9dbf8b1",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"cfe2ebdc57ad397d559d935c4c11c6429a7787cc",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"a50d4b5d4a610b535dfb06fb0676d6d8bc681d94","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"6c773dbcda5c18b8d3debfad939678dc6374be76","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.isCopy?h("div",{class:"absolute inset-y-0 end-0 flex items-center p-2 rounded-lg"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#00cc00",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))):h("div",{class:"absolute inset-y-0 end-0 flex items-center cursor-pointer p-2 rounded-lg",onClick:()=>this.copyToClipboard()},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"})))),h("div",{key:"e4df52d63e603c2e72228b0bc739688dd3298fa3",class:"mt-10 justify-center items-center flex gap-2"},h("span",{key:"354b7424c4a06110d3ec030ae71348e21f0575a9",slot:"icon-start",class:"animate-spin-loading inline-block w-[20px] h-[20px] border-[2px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),h("span",{key:"364239250897a241357e2759292538efff0462bd",class:"nl-footer"},"Waiting for connection")))))}static get style(){return NlSigninConnectionStringStyle0}},[0,"nl-signin-connection-string",{titleLogin:[1,"title-login"],description:[1],connectionString:[1,"connection-string"],isCopy:[32]}]);function defineCustomElement$a(){typeof customElements>"u"||["nl-signin-connection-string"].forEach(i=>{"nl-signin-connection-string"===i&&(customElements.get(i)||customElements.define(i,NlSigninConnectionString))})}defineCustomElement$a();const nlSigninOtpCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninOtpStyle0=nlSigninOtpCss,NlSigninOtp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginOTPUser=createEvent(this,"nlLoginOTPUser",7),this.nlLoginOTPCode=createEvent(this,"nlLoginOTPCode",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in with DM",this.description="Please enter your user name or npub, and we will send you a direct message with a one-time code.",this.titleLoginOTP="Enter the code",this.descriptionOTP="Please enter the one-time code we sent to you as a direct message on Nostr.",this.isGood=!1}handleInputChange(i){state.isOTP?state.nlSigninOTP.code=i.target.value:(state.nlSigninOTP.loginName=i.target.value,this.nlCheckLogin.emit(state.nlSigninOTP.loginName))}handleLogin(i){i.preventDefault(),state.isOTP?this.nlLoginOTPCode.emit(state.nlSigninOTP.code):this.nlLoginOTPUser.emit(state.nlSigninOTP.loginName)}render(){return h(Fragment,{key:"68fc45b1dd5e0a15bee1f6497a186b6d73900de5"},h("div",{key:"9ee4c1e464ffd21e04dbf7f3765fb8bbebb77881",class:"p-4 overflow-y-auto"},h("h1",{key:"031d20441be16371669d5143f29b7e88d8a56651",class:"nl-title font-bold text-center text-2xl"},state.isOTP?this.titleLoginOTP:this.titleLogin),h("p",{key:"9a1aebb5297ce0d54b929c4049f4fa0a499de3a6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},state.isOTP?this.descriptionOTP:this.description)),h("div",{key:"cb120ff50bded40b52328fbdb6d1a9ff2a0f60c6",class:"max-w-72 mx-auto"},h("div",{key:"479e7947b92cfb7421b3f8aaa9992e2b0a44f3b9",class:"relative mb-2"},h("input",{key:"642b11b622a3974ce3314c58cc913dad504ab8b8",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:state.isOTP?"code from direct message":"npub or name@domain",value:state.isOTP?state.nlSigninOTP.code:state.nlSigninOTP.loginName}),h("div",{key:"62b9b607b5cad463660df841545762b6b9c4a803",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"69cdd8e64b17fe1aaf23759f6091651baffd8c8a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"1b19fa169d6f1c893df0c3ae8d6328e0c8b413e6","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"583e207c1197a3d6ee97b68cd35f1fe6fa6e992e","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"b019f36008b7f27a76462f745ffcebc201b40bee",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"14e9d64878284f30f4ca7c3132934cb1befc92c4",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"60f37876cbc7a69e073dacfdfb464b792da8c3ca",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"dc2285fee7ae949e36c7066f8453df25659d44e0",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninOtpStyle0}},[0,"nl-signin-otp",{titleLogin:[1,"title-login"],description:[1],titleLoginOTP:[1,"title-login-o-t-p"],descriptionOTP:[1,"description-o-t-p"],isGood:[32]}]);function defineCustomElement$9(){typeof customElements>"u"||["nl-signin-otp","button-base"].forEach(i=>{switch(i){case"nl-signin-otp":customElements.get(i)||customElements.define(i,NlSigninOtp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$9();const nlSigninReadOnlyCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSigninReadOnlyStyle0=nlSigninReadOnlyCss,NlSigninReadOnly=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginReadOnly=createEvent(this,"nlLoginReadOnly",7),this.nlCheckLogin=createEvent(this,"nlCheckLogin",7),this.titleLogin="Log in to read only",this.description="Please enter the user name or npub of any Nostr user.",this.isGood=!1}handleInputChange(i){state.nlSigninReadOnly.loginName=i.target.value,this.nlCheckLogin.emit(i.target.value)}handleLogin(i){i.preventDefault(),this.nlLoginReadOnly.emit(state.nlSigninReadOnly.loginName)}render(){return h(Fragment,{key:"427a326a29895539d36b2a4b6a6c263c34cb87a4"},h("div",{key:"24c32f3a0c8ea0c88046013147498a2ac2d8d7a3",class:"p-4 overflow-y-auto"},h("h1",{key:"f3324907637382727d127b700ce72990e2c0b72d",class:"nl-title font-bold text-center text-2xl"},this.titleLogin),h("p",{key:"0439c0deffe5735650976622cb8bf3ffd7962cd6",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"75881872a795cda5173252c349cb68446be32847",class:"max-w-72 mx-auto"},h("div",{key:"b1716089f573616674f2b9ceb138821ed41d1ae5",class:"relative mb-2"},h("input",{key:"d3ea9fd0489a36916d48e05f342421f9686da1e6",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"npub or name@domain",value:state.nlSigninReadOnly.loginName}),h("div",{key:"4489f769ed6aeaf7d66ea06b416fdf9e08c2862c",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"aed3c5efdc122fa4dfa0b15dccf3bcc7a123c87a",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:this.isGood?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"5a9165cf26ae7588ebd16f499748b3b3eff8ac1c","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"7dca77f080a4824bdecce0fbc1e98bfff993f7c2","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})))),h("div",{key:"ca4c58b0ab64e54a4714d082b97b7dd340b0dbfe",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"b7b95e645a8e742410eb7e17e90e497ce0da1c72",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"87f5289d87599a1d182170da96e75f727f3a9e52",titleBtn:"Log in",disabled:state.isLoading,onClick:i=>this.handleLogin(i)},state.isLoading&&h("span",{key:"2cbd83dc1516674c872aa9a21d44188d1739807e",slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}))))}static get style(){return NlSigninReadOnlyStyle0}},[0,"nl-signin-read-only",{titleLogin:[1,"title-login"],description:[1],isGood:[32]}]);function defineCustomElement$8(){typeof customElements>"u"||["nl-signin-read-only","button-base"].forEach(i=>{switch(i){case"nl-signin-read-only":customElements.get(i)||customElements.define(i,NlSigninReadOnly);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$8();const nlSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlSignupStyle0=nlSignupCss,NlSignup=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlSignup=createEvent(this,"nlSignup",7),this.nlCheckSignup=createEvent(this,"nlCheckSignup",7),this.fetchHandler=createEvent(this,"fetchHandler",7),this.titleSignup="Create keys with key store",this.description="Choose some username and a key store service.",this.bunkers="nsec.app,highlighter.com",this.isAvailable=!1}formatServers(i){return i.split(",").map(a=>({name:"@"+a,value:a}))}handleInputChange(i){state.nlSignup.signupName=i.target.value,this.nlCheckSignup.emit(`${i.target.value}@${state.nlSignup.domain}`)}handleDomainSelect(i){state.nlSignup.domain=i.detail,this.nlCheckSignup.emit(`${state.nlSignup.signupName}@${i.detail}`)}handleCreateAccount(i){i.preventDefault(),this.nlSignup.emit(`${state.nlSignup.signupName}@${state.nlSignup.domain}`)}watchBunkersHandler(i){state.nlSignup.servers=this.formatServers(i)}componentWillLoad(){state.nlSignup.servers=this.formatServers(this.bunkers)}render(){return h(Fragment,{key:"0f80c95f518b18c70b6ec3a7674ba65b93a7150e"},h("div",{key:"0a0e632e1b9891c6d01660916e5ae4581fe88e65",class:"p-4 overflow-y-auto"},h("h1",{key:"6f565e42dc0fa7ed8610f9bbab695756838d3a77",class:"nl-title font-bold text-center text-2xl"},this.titleSignup),h("p",{key:"f0cac8b68583bc5302e5a7b36d3784266ca1205e",class:"nl-description font-light text-center text-sm pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"8c7901599fd0ce9274abd4fd4e860763d9396334",class:"max-w-72 mx-auto"},h("div",{key:"fc80a9a9d067939bfedd6453727b1b48eef10055",class:"relative mb-2"},h("input",{key:"6efaa2e17d5001cedd32d5a9c9ddb94b57774144",onInput:i=>this.handleInputChange(i),type:"text",class:"nl-input peer py-3 px-4 ps-11 block w-full border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent",placeholder:"Name",value:state.nlSignup.signupName}),h("div",{key:"558606cff7bcdf983dd5cca89dda79d7760e9f49",class:"absolute inset-y-0 start-0 flex items-center pointer-events-none ps-4 peer-disabled:opacity-50 peer-disabled:pointer-events-none"},h("svg",{key:"4f07566169625a94e83ded38d3e55ff1a4602faa",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:this.isAvailable?"#00cc00":"currentColor",class:"flex-shrink-0 w-4 h-4 text-gray-500"},h("path",{key:"2a5cd98b44738bdbe4e1d87565fe9441e895f257","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})))),h("div",{key:"88aec1cd623c0b72ea54d1dfb779831b15d9fa9f",class:"mb-2"},h("nl-select",{key:"9582245b4e59fcdaa0097bc6837b502266d2026f",onSelectDomain:i=>this.handleDomainSelect(i),selected:0,options:state.nlSignup.servers})),h("div",{key:"51a864c0638e07f1821dd5bd39f793e0e562fc99",class:"ps-4 pe-4 overflow-y-auto"},h("p",{key:"81cf5005b72f9cf2cf9fa9680358d79024e80366",class:"nl-error font-light text-center text-sm max-w-96 mx-auto"},state.error)),h("button-base",{key:"dbc143408fece554536908a8498580186ac86b8d",disabled:state.isLoading,onClick:i=>this.handleCreateAccount(i),titleBtn:"Create profile"},state.isLoading?h("span",{slot:"icon-start",class:"animate-spin-loading inline-block w-4 h-4 border-[3px] border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}):h("svg",{slot:"icon-start",style:{display:"none"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get watchers(){return{bunkers:["watchBunkersHandler"]}}static get style(){return NlSignupStyle0}},[0,"nl-signup",{titleSignup:[1,"title-signup"],description:[1],bunkers:[1],isAvailable:[32]},void 0,{bunkers:["watchBunkersHandler"]}]);function defineCustomElement$7(){typeof customElements>"u"||["nl-signup","button-base","nl-select"].forEach(i=>{switch(i){case"nl-signup":customElements.get(i)||customElements.define(i,NlSignup);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-select":customElements.get(i)||defineCustomElement$k()}})}defineCustomElement$7();const nlWelcomeCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeStyle0=nlWelcomeCss,NlWelcome=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Welcome to Nostr!",this.description="This website is part of the Nostr network. Log in with your Nostr profile or sign up to join."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"7b5a07cdad875ea8242ce84c0736f024deb36949"},h("div",{key:"f0aee3e2ff848c8abd635fbab6aa2df75741bd08",class:"p-4 overflow-y-auto"},h("h1",{key:"0f44047e567b6e28ba8eb9269ae62173bfe4216b",class:"nl-title font-bold text-center text-4xl"},this.titleWelcome),h("p",{key:"b3fd3e2b412894f7d1ec0821077f8418d3611545",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"625314b5bf2e6821144fd79901a3da2629a0771a",class:"max-w-52 mx-auto pb-5"},h("div",{key:"f0846ced1f6cc63dfc43184d3d3536c1eafa7890",class:"flex gap-3 flex-col mb-2"},h("button-base",{key:"f4a62ade504b7096052fe26f8eaa8f7a139cc8b6",titleBtn:"Log in",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_LOGIN)},h("svg",{key:"8fa708e8fd991b06026142844443ff192b15f1a1",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"232741c608aa380ab96fab7498fd4b055bad40ba","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"})))),h("button-base",{key:"14568a2ca701d0e7fe55a5d8a8196642792b1cf2",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.WELCOME_SIGNUP),titleBtn:"Sign up"},h("svg",{key:"551a9a9e2aa57cb920a3d1978f40ebf7dcb7c314",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"a957c348aa9762287638772bdde925a88f38d779","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"})))))}static get style(){return NlWelcomeStyle0}},[0,"nl-welcome",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$6(){typeof customElements>"u"||["nl-welcome","button-base"].forEach(i=>{switch(i){case"nl-welcome":customElements.get(i)||customElements.define(i,NlWelcome);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$6();const nlWelcomeSigninCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSigninStyle0=nlWelcomeSigninCss,NlWelcomeSignIn=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.nlLoginExtension=createEvent(this,"nlLoginExtension",7),this.titleWelcome="Log in",this.hasExtension=!1,this.authMethods=[],this.hasOTP=!1}handleChangeScreen(i){state.path=[...state.path,i],i===CURRENT_MODULE.EXTENSION&&this.nlLoginExtension.emit()}allowAuthMethod(i){return!this.authMethods.length||this.authMethods.includes(i)}renderSignInWithExtension(){return h("button-base",{onClick:()=>this.handleChangeScreen(CURRENT_MODULE.EXTENSION),titleBtn:"With extension"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"})))}render(){return h(Fragment,{key:"4f0767e4cdcc4927af3fafd074148ba418738923"},h("div",{key:"c8ab1ddae5c93498c26516337fb2b3dbd25a9ab4",class:"p-4 overflow-y-auto"},h("h1",{key:"2332e495e6f947a2e522203415a7e62279bdc497",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome)),h("div",{key:"917a8e134efa774749152e47bee8a02ffd18dbd2",class:"max-w-52 mx-auto pb-5"},h("div",{key:"3f63f413e66ffde4456998913d37e71fa2e65b91",class:"flex gap-3 flex-col"},this.allowAuthMethod("connect")&&h("button-base",{key:"23a84e3cbfe6003aa4798afe40794cf5fdd29a48",titleBtn:"Connect",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.CONNECT)},h("svg",{key:"8af63dc69962963c17d272dcbe44c859d5ba11aa",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"82f9174085198b815d1b76ea16cad5a397bb0bda","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))),this.allowAuthMethod("readOnly")&&h("button-base",{key:"d6aedb185f57a3ae61721ab8e1f191b521881015",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_READ_ONLY),titleBtn:"Read only"},h("svg",{key:"94eeb7e77be912ff240658added6f18e2b82559a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"84406c27a40b9a835ba7cb64e99de007b09caaab","stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),h("path",{key:"aec21828fba73b6602cf7e158d66e6c8c7d1202c","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),this.hasOTP&&this.allowAuthMethod("otp")&&h("button-base",{key:"909370309781cfa868bed804699602129ef2735b",titleBtn:"One-time code",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOGIN_OTP)},h("svg",{key:"652fe8e11bfeda9261a1f639c5a526123c87db71",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"950de2ac776cc2fefbbb08358fc35ab8b786c5ef","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))),this.hasExtension&&this.allowAuthMethod("extension")&&this.renderSignInWithExtension(),!this.allowAuthMethod("connect")&&!this.hasExtension&&h("p",{key:"9caf44de7b4a18fabc947169cc3283243661a2f8",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"No Nostr extension!"),!this.allowAuthMethod("connect")&&this.hasExtension&&!this.allowAuthMethod("extension")&&h("p",{key:"f3feba2e9a56ead70ac353aaf67d1ac3438aaa4f",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},"Use advanced options."))))}static get style(){return NlWelcomeSigninStyle0}},[0,"nl-welcome-signin",{titleWelcome:[1,"title-welcome"],hasExtension:[4,"has-extension"],authMethods:[16],hasOTP:[4,"has-o-t-p"]}]);function defineCustomElement$5(){typeof customElements>"u"||["nl-welcome-signin","button-base"].forEach(i=>{switch(i){case"nl-welcome-signin":customElements.get(i)||customElements.define(i,NlWelcomeSignIn);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$5();const nlWelcomeSignupCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlWelcomeSignupStyle0=nlWelcomeSignupCss,NlWelcomeSignUp=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.titleWelcome="Sign up",this.description="Nostr profiles are based on cryptographic keys. You can create keys right here, or with a key storage app."}handleChangeScreen(i){state.path=[...state.path,i]}render(){return h(Fragment,{key:"b5d134603b3a579120e107a6db9dc1cc3f68106c"},h("div",{key:"64028950f83e5372e7774d0b642d2bc4b7a4e374",class:"p-4 overflow-y-auto"},h("h1",{key:"ab2a90b7501aa467dd300e5d3fa5c03ad7430f80",class:"nl-title font-bold text-center text-3xl"},this.titleWelcome),h("p",{key:"be4afbc5c19cf6943127992472ca9788ad45a667",class:"nl-description font-light text-center text-lg pt-2 max-w-96 mx-auto"},this.description)),h("div",{key:"053719e30861ffc47b08c7dec4afd47ab2228eb4",class:"max-w-52 mx-auto pb-5"},h("div",{key:"6fe9fce24b1a77410a271e27b6df49781b748806",class:"flex gap-3 flex-col"},h("button-base",{key:"4374520b23b997f21a42690e25cdd2398049e2ca",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.LOCAL_SIGNUP),titleBtn:"Create keys"},h("svg",{key:"cda4adcb7f43fc22ca43f5682f05bd025be6749a",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"1837503cef1df0e616160f9e443c404fac2fe593","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{key:"fb56918415df51984a6c3e338652a7ceab1b8876",onClick:()=>this.handleChangeScreen(CURRENT_MODULE.SIGNUP),titleBtn:"With key store"},h("svg",{key:"605354a04e15ae5447fe9342675073157ce9cd54",style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},h("path",{key:"ae5545abaa6dcfe32723e7bb05dd864485f68046","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"}))))))}static get style(){return NlWelcomeSignupStyle0}},[0,"nl-welcome-signup",{titleWelcome:[1,"title-welcome"],description:[1]}]);function defineCustomElement$4(){typeof customElements>"u"||["nl-welcome-signup","button-base"].forEach(i=>{switch(i){case"nl-welcome-signup":customElements.get(i)||customElements.define(i,NlWelcomeSignUp);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$4();const nlAuthCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.animate-spin-loading{animation:spin 1s linear infinite;background:var(--qa-dark-color)}@keyframes spin{to{transform:rotate(1turn)}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-\\[80\\]{z-index:80}.z-\\[81\\]{z-index:81}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.h-5{height:20px}.h-7{height:28px}.h-full{height:100%}.w-5{width:20px}.w-7{width:28px}.w-full{width:100%}.max-w-96{max-width:384px}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.p-4{padding:16px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-bottom:12px}.pt-3,.py-3{padding-top:12px}.text-center{text-align:center}.text-base{font-size:16px;line-height:24px}.text-sm{font-size:14px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}@media (min-width:640px){.sm\\:mx-auto{margin-left:auto;margin-right:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:512px}}.ml-auto,.mx-auto{margin-left:auto}.mr-auto{margin-right:auto}.mt-3{margin-top:12px}.w-60{width:240px}.pt-2{padding-top:8px}.text-4xl{font-size:36px;line-height:40px}.text-lg{font-size:18px;line-height:28px}.mb-0\\.5{margin-bottom:2px}.mb-2{margin-bottom:8px}.mb-5{margin-bottom:20px}.ml-auto{margin-left:auto}.inline-block{display:inline-block}.h-4{height:16px}.w-4{width:16px}.w-72{width:288px}.max-w-72{max-width:288px}.border-\\[3px\\]{border-width:3px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:transparent}.pb-2{padding-bottom:8px}.pe-4{padding-inline-end:16px}.ps-4{padding-inline-start:16px}.text-2xl{font-size:24px;line-height:32px}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.mt-0{margin-top:0}.inline-flex{display:inline-flex}.max-h-0{max-height:0}.max-h-\\[500px\\]{max-height:500px}.max-w-52{max-width:208px}.max-w-7{max-width:28px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.gap-0\\.5{gap:2px}.gap-3{gap:12px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap}.rounded-lg{border-radius:.5rem}.border-b-\\[1px\\]{border-bottom-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.p-2{padding:8px}.px-3{padding-left:12px;padding-right:12px}.py-2{padding-bottom:8px;padding-top:8px}.pb-1{padding-bottom:4px}.pb-1\\.5{padding-bottom:6px}.pb-5{padding-bottom:20px}.pt-5{padding-top:20px}.text-3xl{font-size:30px;line-height:36px}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity))}.decoration-dashed{text-decoration-style:dashed}.duration-300{transition-duration:.3s}.duration-\\[0\\.25s\\]{transition-duration:.25s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.hover\\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.h-12{height:48px}.w-12{width:48px}.mb-10{margin-bottom:40px}.mt-10{margin-top:40px}.h-20{height:80px}.w-20{width:80px}.border-\\[4px\\]{border-width:4px}.right-\\[-2px\\]{right:-2px}.right-\\[-3px\\]{right:-3px}.top-\\[-2px\\]{top:-2px}.top-\\[-3px\\]{top:-3px}.h-1\\.5{height:6px}.h-3{height:12px}.h-6{height:24px}.w-1\\.5{width:6px}.w-3{width:12px}.max-w-6{max-width:24px}.border-2{border-width:2px}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-green-500{background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-green-500,.bg-white{--tw-bg-opacity:1}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.pb-3{padding-bottom:12px}.pt-0{padding-top:0}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.hover\\:text-red-600:hover{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.group:hover .group-hover\\:border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.pointer-events-none{pointer-events:none}.inset-y-0{bottom:0;top:0}.ps-11{padding-inline-start:44px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\\:pointer-events-none{pointer-events:none}.peer:disabled~.peer-disabled\\:opacity-50{opacity:.5}.dark\\:border-transparent:is(.dark *){border-color:transparent}.w-auto{width:auto}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.end-0{inset-inline-end:0}.h-\\[20px\\]{height:20px}.w-\\[20px\\]{width:20px}.border-\\[2px\\]{border-width:2px}.pe-11{padding-inline-end:44px}.mt-1{margin-top:4px}.hidden{display:none}.min-w-\\[15rem\\]{min-width:15rem}.overflow-hidden,.truncate{overflow:hidden}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}",NlAuthStyle0=nlAuthCss,NlAuth=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.nlCloseModal=createEvent(this,"nlCloseModal",7),this.nlChangeDarkMode=createEvent(this,"nlChangeDarkMode",7),this.theme="default",this.bunkers="",this.startScreen=CURRENT_MODULE.WELCOME,this.authMethods=[],this.hasExtension=!1,this.hasOTP=!1,this.isLoading=!1,this.isLoadingExtension=!1,this.isOTP=!1,this.authUrl="",this.error="",this.localSignup=!1,this.accounts=[],this.recents=[],this.darkMode=!1,this.welcomeTitle="",this.welcomeDescription="",this.connectionString="",this.connectionStringServices=[]}watchLocalSignupHandler(i){state.localSignup=i}watchLoadingHandler(i){state.isLoading=i}watchLoadingExtensionHandler(i){state.isLoadingExtension=i}watchOTPHandler(i){state.isOTP=i}watchAuthUrlHandler(i){state.authUrl=i}watchErrorHandler(i){state.error=i}handleClose(){this.nlCloseModal.emit()}handleChangeDarkMode(){this.nlChangeDarkMode.emit(!this.darkMode)}componentWillLoad(){state.path=[this.startScreen],state.localSignup=this.localSignup,console.log("path",state.path),state.isOTP=!1}handleClickToBack(){state.path.pop(),state.path=[...state.path],state.isLoading=!1,state.isLoadingExtension=!1,state.authUrl="",state.isOTP=!1}switchSignSignUpStrategy(i){state.path=CURRENT_MODULE.LOCAL_SIGNUP!==i?[CURRENT_MODULE.WELCOME,i]:[CURRENT_MODULE.WELCOME,CURRENT_MODULE.WELCOME_SIGNUP,i]}render(){const i="w-full h-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto flex items-center "+(this.darkMode?"dark":""),a=state.path.at(-1),r=!this.authMethods.length||!this.localSignup&&this.authMethods.includes("connect")||this.localSignup&&this.authMethods.includes("local");return h("div",{class:`theme-${this.theme}`},h("div",{class:i},h("div",{onClick:()=>this.handleClose(),class:"absolute top-0 left-0 w-full h-full bg-gray-500 bg-opacity-75 z-[80]"}),h("div",{class:"nl-bg relative z-[81] w-full flex flex-col rounded-xl sm:max-w-lg sm:w-full sm:mx-auto"},h("div",{class:"flex justify-between items-center py-3 px-4"},h("div",{class:"flex gap-2 items-center"},h("svg",{class:"w-7 h-7",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),h("p",{class:"font-bold nl-logo text-base"},"Nostr ",h("span",{class:"font-light"},"Login"))),h("div",{class:"flex gap-1"},h("button",{onClick:()=>this.handleChangeDarkMode(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Change theme"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",this.darkMode?{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))),h("button",{onClick:()=>this.handleClose(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{class:"sr-only"},"Close"),h("svg",{class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{d:"M18 6 6 18"}),h("path",{d:"m6 6 12 12"}))))),state.path.length>1&&!state.isLoading&&h("div",{class:"p-4"},h("button",{onClick:()=>this.handleClickToBack(),type:"button",class:"nl-action-button flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600","data-hs-overlay":"#hs-vertically-centered-modal"},h("span",{class:"sr-only"},"Back"),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-5 h-5"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})))),state.isLoading||state.authUrl?h("nl-loading",{path:a}):h(Fragment,null,(()=>{if(state.isOTP)return h("nl-signin-otp",null);switch(a){case CURRENT_MODULE.WELCOME:return h("nl-welcome",{titleWelcome:this.welcomeTitle||void 0,description:this.welcomeDescription||void 0});case CURRENT_MODULE.LOGIN:return h("nl-signin",null);case CURRENT_MODULE.SIGNUP:return h("nl-signup",{bunkers:this.bunkers});case CURRENT_MODULE.LOCAL_SIGNUP:return h("nl-local-signup",null);case CURRENT_MODULE.CONFIRM_LOGOUT:return h("nl-confirm-logout",null);case CURRENT_MODULE.IMPORT_FLOW:return h("nl-import-flow",{services:this.connectionStringServices.filter(o=>o.canImport)});case CURRENT_MODULE.INFO:return h("nl-info",null);case CURRENT_MODULE.EXTENSION:return h("nl-info-extension",null);case CURRENT_MODULE.LOGIN_READ_ONLY:return h("nl-signin-read-only",null);case CURRENT_MODULE.LOGIN_BUNKER_URL:return h("nl-signin-bunker-url",null);case CURRENT_MODULE.LOGIN_OTP:return h("nl-signin-otp",null);case CURRENT_MODULE.WELCOME_LOGIN:return h("nl-welcome-signin",{hasOTP:this.hasOTP,authMethods:this.authMethods,hasExtension:this.hasExtension});case CURRENT_MODULE.WELCOME_SIGNUP:return h("nl-welcome-signup",null);case CURRENT_MODULE.CONNECTION_STRING:return h("nl-signin-connection-string",{connectionString:this.connectionString});case CURRENT_MODULE.CONNECT:return h("nl-connect",{connectionStringServices:this.connectionStringServices,authMethods:this.authMethods});case CURRENT_MODULE.PREVIOUSLY_LOGGED:return h("nl-previously-logged",{accounts:this.accounts,recents:this.recents});default:return h("nl-welcome",null)}})(),(state.isOTP||a!==CURRENT_MODULE.INFO&&a!==CURRENT_MODULE.CONFIRM_LOGOUT&&a!==CURRENT_MODULE.IMPORT_FLOW&&a!==CURRENT_MODULE.WELCOME&&a!==CURRENT_MODULE.EXTENSION&&a!==CURRENT_MODULE.PREVIOUSLY_LOGGED)&&h(Fragment,null,a===CURRENT_MODULE.WELCOME_SIGNUP||a===CURRENT_MODULE.SIGNUP||a===CURRENT_MODULE.LOCAL_SIGNUP?h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you already have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(CURRENT_MODULE.WELCOME_LOGIN),class:"cursor-pointer text-blue-400"},"log in"),".")):r&&h("div",{class:"p-4 overflow-y-auto"},h("p",{class:"nl-footer font-light text-center text-sm pt-3 max-w-96 mx-auto"},"If you don't have a profile please"," ",h("span",{onClick:()=>this.switchSignSignUpStrategy(this.localSignup?CURRENT_MODULE.LOCAL_SIGNUP:CURRENT_MODULE.WELCOME_SIGNUP),class:"cursor-pointer text-blue-400"},"sign up"),".")))))))}static get watchers(){return{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}}static get style(){return NlAuthStyle0}},[1,"nl-auth",{theme:[1025],bunkers:[1],startScreen:[1,"start-screen"],authMethods:[16],hasExtension:[4,"has-extension"],hasOTP:[4,"has-o-t-p"],isLoading:[4,"is-loading"],isLoadingExtension:[4,"is-loading-extension"],isOTP:[4,"is-o-t-p"],authUrl:[1,"auth-url"],error:[1],localSignup:[4,"local-signup"],accounts:[1040],recents:[1040],darkMode:[1028,"dark-mode"],welcomeTitle:[1,"welcome-title"],welcomeDescription:[1,"welcome-description"],connectionString:[1,"connection-string"],connectionStringServices:[16]},void 0,{localSignup:["watchLocalSignupHandler"],isLoading:["watchLoadingHandler"],isLoadingExtension:["watchLoadingExtensionHandler"],isOTP:["watchOTPHandler"],authUrl:["watchAuthUrlHandler"],error:["watchErrorHandler"]}]);function defineCustomElement$3(){typeof customElements>"u"||["nl-auth","button-base","nl-confirm-logout","nl-connect","nl-import-flow","nl-info","nl-info-extension","nl-loading","nl-local-signup","nl-login-status","nl-previously-logged","nl-select","nl-signin","nl-signin-bunker-url","nl-signin-connection-string","nl-signin-otp","nl-signin-read-only","nl-signup","nl-welcome","nl-welcome-signin","nl-welcome-signup"].forEach(i=>{switch(i){case"nl-auth":customElements.get(i)||customElements.define(i,NlAuth);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-confirm-logout":customElements.get(i)||defineCustomElement$m();break;case"nl-connect":customElements.get(i)||defineCustomElement$l();break;case"nl-import-flow":customElements.get(i)||defineCustomElement$j();break;case"nl-info":customElements.get(i)||defineCustomElement$i();break;case"nl-info-extension":customElements.get(i)||defineCustomElement$h();break;case"nl-loading":customElements.get(i)||defineCustomElement$g();break;case"nl-local-signup":customElements.get(i)||defineCustomElement$f();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e();break;case"nl-previously-logged":customElements.get(i)||defineCustomElement$d();break;case"nl-select":customElements.get(i)||defineCustomElement$k();break;case"nl-signin":customElements.get(i)||defineCustomElement$c();break;case"nl-signin-bunker-url":customElements.get(i)||defineCustomElement$b();break;case"nl-signin-connection-string":customElements.get(i)||defineCustomElement$a();break;case"nl-signin-otp":customElements.get(i)||defineCustomElement$9();break;case"nl-signin-read-only":customElements.get(i)||defineCustomElement$8();break;case"nl-signup":customElements.get(i)||defineCustomElement$7();break;case"nl-welcome":customElements.get(i)||defineCustomElement$6();break;case"nl-welcome-signin":customElements.get(i)||defineCustomElement$5();break;case"nl-welcome-signup":customElements.get(i)||defineCustomElement$4()}})}defineCustomElement$3();const NlButton=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.theme="default",this.darkMode=!1,this.titleBtn="Open modal",this.disabled=!1}render(){return h("button-base",{key:"906c0f4cad65523702f56462bd36e2e773650d57",theme:this.theme,darkMode:this.darkMode,titleBtn:this.titleBtn,disabled:this.disabled})}},[1,"nl-button",{theme:[1],darkMode:[4,"dark-mode"],titleBtn:[1,"title-btn"],disabled:[4]}]);function defineCustomElement$2(){typeof customElements>"u"||["nl-button","button-base"].forEach(i=>{switch(i){case"nl-button":customElements.get(i)||customElements.define(i,NlButton);break;case"button-base":customElements.get(i)||defineCustomElement$n()}})}defineCustomElement$2();const nlChangeAccountCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlChangeAccountStyle0=nlChangeAccountCss,NLChangeAccount=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleSwitchAccount=createEvent(this,"handleSwitchAccount",7),this.isOpen=!1,this.options=[],this.accounts=[],this.currentAccount=null,this.mode=!1,this.darkMode=!1,this.themeState="default",this.theme="default"}handleWindowClick(){this.wrapperRef.querySelector(".listClass")&&(this.isOpen=!1)}toggleDropdown(){this.isOpen=!this.isOpen,this.calculateDropdownPosition()}watchPropHandler(i){this.themeState=i}watchModeHandler(i){this.mode=i}watchAccountsHandler(i){this.options=i}connectedCallback(){this.themeState=this.theme,this.mode=this.darkMode}calculateDropdownPosition(){if(this.isOpen&&this.buttonRef){const i=this.buttonRef.getBoundingClientRect();this.ulRef.style.top=`${i.height}px`}}handleChange(i){this.handleSwitchAccount.emit(i)}handleOpenModal(){this.handleOpenWelcomeModal.emit()}render(){const i=(this.isOpen?"listClass flex flex-col gap-2":"hidden")+" w-full nl-select-list absolute z-10 left-0 shadow-md rounded-lg p-2 mt-1 after:h-4 after:absolute after:-bottom-4 after:start-0 after:w-full before:h-4 before:absolute before:-top-4 before:start-0 before:w-full",a=(this.isOpen?"rotate-180":"rotate-0")+" duration-300 flex-shrink-0 w-4 h-4 text-gray-500",r=this.options&&this.currentAccount?this.options.filter(o=>o.pubkey!==this.currentAccount.pubkey||o.authMethod!==this.currentAccount.authMethod):[];return h("div",{key:"e2fb1c4ca91fe75f9af8c40ba3411dba388ac9fd",class:`theme-${this.themeState}`},h("div",{key:"4ea60737ca60f4e6c20d014ed197f65f7b169432",class:"relative",ref:o=>this.wrapperRef=o},h("button",{key:"5838bf67141378607ec9d7f653f2eb71fbb655ee",ref:o=>this.buttonRef=o,onClick:()=>this.toggleDropdown(),type:"button",class:"nl-select peer py-3 px-4 flex items-center w-full justify-between border-transparent rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none dark:border-transparent"},h("span",{key:"b1424401cb9c0222175d027c505d07aa2f0932e9",class:"text-gray-500"},"Switch profile"),h("svg",{key:"58eecdd605e9cb6296656f26abf8153150ee0f64",class:a,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"f31b6c5b8a96e35a46bf39c983cad1af501a1763",d:"m6 9 6 6 6-6"}))),h("ul",{key:"a5cb6e8ab70134082b1ad7953939fd5aedb7481d",ref:o=>this.ulRef=o,class:i},this.options&&r.map(o=>{const c=o.name||o.nip05||o.pubkey;return h("li",{onClick:()=>this.handleChange(o),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{class:"uppercase font-bold w-full max-w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},o?.picture?h("img",{class:"w-full rounded-full",src:o.picture,alt:"Logo"}):c?c[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))),h("div",{class:"overflow-hidden flex flex-col w-full"},h("div",{class:"truncate overflow-hidden"},c),h("nl-login-status",{info:o})))}),h("li",{key:"7d050773b50bbda055bd3f660045d5fee0c609c7",class:"first:pt-0 pt-2 border-t-[1px] first:border-none border-gray-300"},h("div",{key:"222120208bad410ec4217c15d8327a24abb71950",onClick:()=>this.handleOpenModal(),class:"nl-select-option flex cursor-pointer items-center gap-x-3.5 py-2 px-3 rounded-lg text-sm"},h("div",{key:"2d4d88a1df00ea687f6b32f8d97a29146efdb49a",class:"uppercase font-bold w-6 h-6 rounded-full border border-gray-400 flex justify-center items-center"},h("svg",{key:"6863afeb362ce38a2b6cca8611f91746a5d879ca",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},h("path",{key:"16d78e3b3288db99c203cef5ed766ef61ce146a1","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"}))),"Add profile")))))}get element(){return this}static get watchers(){return{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}}static get style(){return NlChangeAccountStyle0}},[0,"nl-change-account",{accounts:[16],currentAccount:[16],darkMode:[4,"dark-mode"],theme:[1],isOpen:[32],options:[32],mode:[32],themeState:[32]},[[8,"click","handleWindowClick"]],{theme:["watchPropHandler"],darkMode:["watchModeHandler"],accounts:["watchAccountsHandler"]}]);function defineCustomElement$1(){typeof customElements>"u"||["nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-change-account":customElements.get(i)||customElements.define(i,NLChangeAccount);break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement$1();const nlBannerCss="/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;color:#6b7280;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,input:where(:not([type])):focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;print-color-adjust:exact;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.block{display:block}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.theme-default .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-default .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-description,.theme-default .nl-logo,.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-description,.theme-default .dark .nl-logo,.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.theme-default .nl-description a{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .dark .nl-description a{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity));text-decoration-line:underline}.theme-default .nl-action-button{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-action-button{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-default .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-title{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-title{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.theme-default .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.theme-default .nl-divider{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .nl-divider:before{border-top-width:1px}.theme-default .nl-divider:after,.theme-default .nl-divider:before{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .dark .nl-divider{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.theme-default .dark .nl-divider:after,.theme-default .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity));content:var(--tw-content)}.theme-default .nl-footer{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-footer{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.theme-default .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-default .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-default .nl-input{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-default .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity));color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.theme-default .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.theme-default .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.theme-default .nl-select-option{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.theme-default .nl-select-option.active-option{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.theme-default .dark .nl-select-option{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.theme-default .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-default .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-default .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-default .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(31 41 55/var(--tw-text-opacity))}.theme-default .dark .nl-banner{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity));border-color:rgb(55 65 81/var(--tw-border-opacity));color:rgb(209 213 219/var(--tw-text-opacity))}.theme-ocean .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(191 219 254/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-ocean .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(8 47 73/var(--tw-bg-opacity))}.theme-ocean .nl-description,.theme-ocean .nl-logo,.theme-ocean .nl-title{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-description,.theme-ocean .dark .nl-logo,.theme-ocean .dark .nl-title{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-action-button{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-action-button{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-ocean .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(224 242 254/var(--tw-bg-opacity));border-color:rgb(186 230 253/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 249 255/var(--tw-bg-opacity))}.theme-ocean .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));border-color:rgb(8 47 73/var(--tw-border-opacity));color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity))}.theme-ocean .nl-divider{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .nl-divider:after,.theme-ocean .nl-divider:before{--tw-border-opacity:1;border-color:rgb(8 47 73/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .dark .nl-divider{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .dark .nl-divider:after,.theme-ocean .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(186 230 253/var(--tw-border-opacity));content:var(--tw-content)}.theme-ocean .nl-footer{--tw-text-opacity:1;color:rgb(8 47 73/var(--tw-text-opacity))}.theme-ocean .dark .nl-footer{--tw-text-opacity:1;color:rgb(186 230 253/var(--tw-text-opacity))}.theme-ocean .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-ocean .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-ocean .nl-input{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(14 165 233/var(--tw-ring-opacity));border-color:rgb(14 165 233/var(--tw-border-opacity))}.theme-ocean .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(12 74 110/var(--tw-bg-opacity));color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(2 132 199/var(--tw-ring-opacity))}.theme-ocean .nl-select-list{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(3 105 161/var(--tw-bg-opacity))}.theme-ocean .nl-select-option{--tw-text-opacity:1;color:rgb(7 89 133/var(--tw-text-opacity))}.theme-ocean .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity))}.theme-ocean .dark .nl-select-option{--tw-text-opacity:1;color:rgb(56 189 248/var(--tw-text-opacity))}.theme-ocean .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(7 89 133/var(--tw-bg-opacity));color:rgb(125 211 252/var(--tw-text-opacity))}.theme-ocean .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-ocean .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-ocean .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-lemonade .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(187 247 208/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-lemonade .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(5 46 22/var(--tw-bg-opacity))}.theme-lemonade .nl-description,.theme-lemonade .nl-logo,.theme-lemonade .nl-title{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-description,.theme-lemonade .dark .nl-logo,.theme-lemonade .dark .nl-title{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-action-button{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-action-button{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-lemonade .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(187 247 208/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));border-color:rgb(5 46 22/var(--tw-border-opacity));color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity))}.theme-lemonade .nl-divider{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .nl-divider:after,.theme-lemonade .nl-divider:before{--tw-border-opacity:1;border-color:rgb(5 46 22/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .dark .nl-divider{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .dark .nl-divider:after,.theme-lemonade .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity));content:var(--tw-content)}.theme-lemonade .nl-footer{--tw-text-opacity:1;color:rgb(5 46 22/var(--tw-text-opacity))}.theme-lemonade .dark .nl-footer{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.theme-lemonade .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-lemonade .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-lemonade .nl-input{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(34 197 94/var(--tw-ring-opacity));border-color:rgb(34 197 94/var(--tw-border-opacity))}.theme-lemonade .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity));color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(22 163 74/var(--tw-ring-opacity))}.theme-lemonade .nl-select-list{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.theme-lemonade .nl-select-option{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.theme-lemonade .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.theme-lemonade .dark .nl-select-option{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.theme-lemonade .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 101 52/var(--tw-bg-opacity));color:rgb(134 239 172/var(--tw-text-opacity))}.theme-lemonade .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-lemonade .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-lemonade .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-purple .nl-bg{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(233 213 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.theme-purple .dark .nl-bg{--tw-bg-opacity:1;--tw-shadow-color:rgba(51,65,85,.7);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(59 7 100/var(--tw-bg-opacity))}.theme-purple .nl-description,.theme-purple .nl-logo,.theme-purple .nl-title{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-description,.theme-purple .dark .nl-logo,.theme-purple .dark .nl-title{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-action-button{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-action-button{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.theme-purple .dark .nl-action-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(233 213 255/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(250 245 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));border-color:rgb(59 7 100/var(--tw-border-opacity));color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity))}.theme-purple .nl-divider{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .nl-divider:after,.theme-purple .nl-divider:before{--tw-border-opacity:1;border-color:rgb(59 7 100/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .dark .nl-divider{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .dark .nl-divider:after,.theme-purple .dark .nl-divider:before{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));content:var(--tw-content)}.theme-purple .nl-footer{--tw-text-opacity:1;color:rgb(59 7 100/var(--tw-text-opacity))}.theme-purple .dark .nl-footer{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.theme-purple .nl-error{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.theme-purple .dark .nl-error{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.theme-purple .nl-input{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-input:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-input{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-input:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .nl-select:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(168 85 247/var(--tw-ring-opacity));border-color:rgb(168 85 247/var(--tw-border-opacity))}.theme-purple .dark .nl-select{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity));color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(147 51 234/var(--tw-ring-opacity))}.theme-purple .nl-select-list{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-list{--tw-bg-opacity:1;background-color:rgb(126 34 206/var(--tw-bg-opacity))}.theme-purple .nl-select-option{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity))}.theme-purple .nl-select-option:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.theme-purple .dark .nl-select-option{--tw-text-opacity:1;color:rgb(192 132 252/var(--tw-text-opacity))}.theme-purple .dark .nl-select-option:hover{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(107 33 168/var(--tw-bg-opacity));color:rgb(216 180 254/var(--tw-text-opacity))}.theme-purple .nl-text-error{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.theme-purple .dark .nl-text-error{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.theme-purple .nl-text-success{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.theme-purple .dark .nl-text-success{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity))}.theme-crab .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(254 202 202/var(--tw-border-opacity));border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(69 10 10/var(--tw-text-opacity))}.theme-crab .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.theme-crab .dark .nl-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(153 27 27/var(--tw-bg-opacity));border-color:rgb(69 10 10/var(--tw-border-opacity));color:rgb(254 202 202/var(--tw-text-opacity))}.theme-crab .dark .nl-button:hover{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}:host{display:block}.show-slow{display:none;opacity:0;transition:.1s}.isOpen .show-slow{display:block;opacity:1;transition:.2s;transition-delay:.2s}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-0{right:0}.right-2{right:8px}.top-2{top:8px}.top-52{top:208px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:8px}.ml-0{margin-left:0}.ml-\\[2px\\]{margin-left:2px}.mr-0{margin-right:0}.mr-2{margin-right:8px}.mr-3\\.5{margin-right:14px}.mt-2{margin-top:8px}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0}.h-12{height:48px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-\\[46px\\]{height:46px}.h-auto{height:auto}.w-0{width:0}.w-12{width:48px}.w-16{width:64px}.w-4{width:16px}.w-44{width:176px}.w-5{width:20px}.w-52{width:208px}.w-6{width:24px}.w-7{width:28px}.w-8{width:32px}.w-\\[48px\\]{width:48px}.w-full{width:100%}.min-w-40{min-width:160px}.max-w-40{max-width:160px}.flex-shrink-0{flex-shrink:0}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-2{column-gap:8px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-\\[0px\\]{border-width:0}.border-\\[2px\\]{border-width:2px}.border-current{border-color:currentColor}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-white,.bg-yellow-100{--tw-bg-opacity:1}.bg-yellow-100{background-color:rgb(254 249 195/var(--tw-bg-opacity))}.p-2{padding:8px}.p-3{padding:12px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-2\\.5{padding-bottom:10px;padding-top:10px}.pl-\\[11px\\]{padding-left:11px}.text-center{text-align:center}.text-sm{font-size:14px;line-height:20px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:right-2:hover{right:8px}.hover\\:rounded-r-lg:hover{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-50:disabled{opacity:.5}.dark\\:text-gray-300:is(.dark *){--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark\\:focus\\:outline-none:focus:is(.dark *){outline:2px solid transparent;outline-offset:2px}.dark\\:focus\\:ring-1:focus:is(.dark *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:focus\\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity:1;--tw-ring-color:rgb(75 85 99/var(--tw-ring-opacity))}.w-auto{width:auto}.rounded-xl{border-radius:.75rem}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity:1;border-color:rgb(253 186 116/var(--tw-border-opacity))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity:1;border-color:rgb(94 234 212/var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity:1;border-color:rgb(253 224 71/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-100,.bg-teal-100{--tw-bg-opacity:1}.bg-teal-100{background-color:rgb(204 251 241/var(--tw-bg-opacity))}.px-1{padding-left:4px;padding-right:4px}.text-\\[10px\\]{font-size:10px}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity:1;color:rgb(13 148 136/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.left-0{left:0}.mt-1{margin-top:4px}.max-w-6{max-width:24px}.rotate-0{--tw-rotate:0deg}.rotate-0,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-x-3\\.5{column-gap:14px}.overflow-hidden,.truncate{overflow:hidden}.border-t-\\[1px\\]{border-top-width:1px}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.px-4{padding-left:16px;padding-right:16px}.py-2{padding-bottom:8px;padding-top:8px}.py-3{padding-bottom:12px;padding-top:12px}.pt-2{padding-top:8px}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:-top-4:before{content:var(--tw-content);top:-16px}.before\\:start-0:before{content:var(--tw-content);inset-inline-start:0}.before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-full:before{content:var(--tw-content);width:100%}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-bottom-4:after{bottom:-16px;content:var(--tw-content)}.after\\:start-0:after{content:var(--tw-content);inset-inline-start:0}.after\\:h-4:after{content:var(--tw-content);height:16px}.after\\:w-full:after{content:var(--tw-content);width:100%}.first\\:border-none:first-child{border-style:none}.first\\:pt-0:first-child{padding-top:0}.dark\\:border-transparent:is(.dark *){border-color:transparent}",NlBannerStyle0=nlBannerCss,NlBanner=proxyCustomElement(class extends H{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.handleRetryConfirmBanner=createEvent(this,"handleRetryConfirmBanner",7),this.handleNotifyConfirmBanner=createEvent(this,"handleNotifyConfirmBanner",7),this.handleSetConfirmBanner=createEvent(this,"handleSetConfirmBanner",7),this.handleLoginBanner=createEvent(this,"handleLoginBanner",7),this.handleLogoutBanner=createEvent(this,"handleLogoutBanner",7),this.handleOpenWelcomeModal=createEvent(this,"handleOpenWelcomeModal",7),this.handleConfirmLogout=createEvent(this,"handleConfirmLogout",7),this.handleImportModal=createEvent(this,"handleImportModal",7),this.isLogin=!1,this.theme="default",this.darkMode=!1,this.hiddenMode=!1,this.titleBanner="",this.domain="",this.urlNotify="",this.listNotifies=[],this.isOpenNotifyTimeOut=!1,this.isOpen=!1,this.isConfirm=!0,this.isOpenConfirm=!1,this.isLoading=!1,this.notify=null,this.isNotConfirmToSend=!1,this.userInfo=null,this.accounts=[]}watchNotifyHandler(i){var a,r,o;this.isNotConfirmToSend=!0,this.isOpen=!0,this.isOpenConfirm=!0,this.domain=(null===(o=null===(r=null===(a=this.userInfo)||void 0===a?void 0:a.nip05)||void 0===r?void 0:r.split("@"))||void 0===o?void 0:o[1])||"",i.url&&(this.urlNotify=i.url,this.isOpenNotifyTimeOut=!1),!this.urlNotify&&i.timeOut&&(this.isOpenNotifyTimeOut=!0)}handleOpen(){this.userInfo?this.isOpen=!0:this.handleOpenWelcomeModal.emit()}handleClose(){this.isOpen=!1,this.isOpenNotifyTimeOut=!1,this.isOpenConfirm=!1,this.isNotConfirmToSend&&(this.handleSetConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1),this.urlNotify=""}handleLogin(){this.handleLoginBanner.emit(METHOD_MODULE.LOGIN),this.handleClose()}handleSignup(){this.handleLoginBanner.emit(METHOD_MODULE.SIGNUP),this.handleClose()}handleImport(){this.handleImportModal.emit(),this.handleClose()}handleLogout(){if(localStorage.getItem("backupKey"))return this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose(),void localStorage.removeItem("backupKey");"local"===this.userInfo.authMethod?this.handleConfirmLogout.emit():this.handleLogoutBanner.emit(METHOD_MODULE.LOGOUT),this.handleClose()}handleConfirm(){this.handleNotifyConfirmBanner.emit(this.urlNotify),this.isNotConfirmToSend=!1,this.handleClose()}handleRetryConfirm(){this.handleRetryConfirmBanner.emit(),this.isNotConfirmToSend=!1,this.handleClose()}render(){var i,a,r,o,s,c;const y=!(null===(i=this.userInfo)||void 0===i||!i.picture),k=(null===(a=this.userInfo)||void 0===a?void 0:a.name)||(null===(s=null===(o=null===(r=this.userInfo)||void 0===r?void 0:r.nip05)||void 0===o?void 0:o.split("@"))||void 0===s?void 0:s[0])||(null===(c=this.userInfo)||void 0===c?void 0:c.pubkey)||"",A=!!k,I=this.userInfo&&"local"===this.userInfo.authMethod,M=localStorage.getItem("backupKey");return h("div",{key:"135e66c8e2156c98f3c5b2ed33657e193575301e",class:`theme-${this.theme} ${!this.isOpen&&this.hiddenMode?"hidden":""}`},h("div",{key:"472074168314b51f8a80f53814043bfda4058c26",class:this.darkMode&&"dark"},h("div",{key:"f55074c5da729a4de542841ace63a7d73cabadf5",class:`nl-banner ${this.isOpen?"w-52 h-auto right-2 rounded-r-lg isOpen":"rounded-r-none hover:rounded-r-lg cursor-pointer"} z-50 w-12 h-12 fixed top-52 right-0 inline-block gap-x-2 text-sm font-medium rounded-lg hover:right-2 transition-all duration-300 ease-in-out`},h("div",{key:"10c552768319d8f6642ea23db3af15d3b54cec67",class:"block w-[48px] h-[46px] relative z-10"},h("div",{key:"52d9d39b5d27d2924fabd0560e27b3d3d214c011",onClick:()=>this.handleOpen(),class:"flex w-52 h-[46px] items-center pl-[11px]"},h("span",{key:"c64f3d89b7daba7ea1cf20f215561ebb18fa56e2",class:(this.isLoading?"w-5 h-5 border-[2px] mr-3.5 ml-[2px] opacity-1":"w-0 h-0 border-[0px] mr-0 opacity-0 ml-0")+" animate-spin transition-all duration-300 ease-in-out inline-block border-current border-t-transparent text-slate-900 dark:text-gray-300 rounded-full",role:"status","aria-label":"loading"}),this.userInfo?h("div",{class:"uppercase font-bold w-6 h-6 mr-2 rounded-full border border-gray-200 flex justify-center items-center"},y?h("img",{class:"w-full rounded-full",src:this.userInfo.picture,alt:"Logo"}):A?k[0]:h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))):h("div",{class:"flex justify-center items-center"},h("svg",{class:"w-6 h-6",width:"225",height:"224",viewBox:"0 0 225 224",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("rect",{width:"224.047",height:"224",rx:"64",fill:"#6951FA"}),h("path",{d:"M162.441 135.941V88.0593C170.359 85.1674 176 77.5348 176 68.6696C176 57.2919 166.708 48 155.33 48C143.953 48 134.661 57.2444 134.661 68.6696C134.661 77.5822 140.302 85.1674 148.219 88.0593V135.941C147.698 136.13 147.176 136.367 146.655 136.604L87.3956 77.3452C88.6282 74.6904 89.2919 71.7511 89.2919 68.6696C89.2919 57.2444 80.0474 48 68.6696 48C57.2919 48 48 57.2444 48 68.6696C48 77.5822 53.6415 85.1674 61.5585 88.0593V135.941C53.6415 138.833 48 146.465 48 155.33C48 166.708 57.2444 176 68.6696 176C80.0948 176 89.3393 166.708 89.3393 155.33C89.3393 146.418 83.6978 138.833 75.7807 135.941V88.0593C76.3022 87.8696 76.8237 87.6326 77.3452 87.3956L136.604 146.655C135.372 149.31 134.708 152.249 134.708 155.33C134.708 166.708 143.953 176 155.378 176C166.803 176 176.047 166.708 176.047 155.33C176.047 146.418 170.406 138.833 162.489 135.941H162.441Z",fill:"white"})),this.isOpen&&h("span",{class:"px-2"},h("b",null,"Nostr")," Login")),this.isOpen&&A&&h("div",{key:"ac034a746a28bd20a36770a49d02773ac97025a5",class:"show-slow truncate w-16 text-xs"},k),this.isOpen&&A&&h("nl-login-status",{key:"5355376e14be5616978f4ab4a7f635aa34dd79b1",info:this.userInfo}))),h("button",{key:"7b772fb052250c40b5f82df5c78ed89a4fc1c294",onClick:()=>this.handleClose(),type:"button",class:(this.isOpen?"z-20":"z-0")+" nl-action-button absolute right-2 top-2 z-0 show-slow flex justify-center items-center w-7 h-7 text-sm font-semibold rounded-full border border-transparent"},h("span",{key:"4ed204a4e214ef7d6d31bee7d3b3b0297adc969f",class:"sr-only"},"Close"),h("svg",{key:"78705023791bbfe894b5a522471340ee21ddc38d",class:"flex-shrink-0 w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},h("path",{key:"065017768a1984e78818d39ee21d8a9e771fae71",d:"M18 6 6 18"}),h("path",{key:"2c647fa99c7d9d896fc36075862e6e52d7897228",d:"m6 6 12 12"}))),h("div",{key:"c96e61467259657e68a30a9adc47aab195bf7ee8",class:"p-3 show-slow"},this.isOpenConfirm?h("div",null,h("div",{class:"w-8 h-8 p-1/2 rounded-full border border-gray-200 bg-white mb-2 mt-2 show-slow m-auto"},h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"#5a68ff",class:"w-full"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))),h("p",{class:"mb-2 text-center max-w-40 min-w-40 mx-auto"},this.isOpenNotifyTimeOut?"Keys not responding, check your key storage app":`Confirmation required at ${this.domain}`),this.isOpenNotifyTimeOut?h("a",{onClick:()=>this.handleClose(),href:`https://${this.domain}`,target:"_blank",class:"nl-button text-nowrap py-2.5 px-3 w-full inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg disabled:opacity-50 disabled:pointer-events-none dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},"Go to ",this.domain):h("button-base",{onClick:()=>this.handleConfirm(),titleBtn:"Confirm"})):h("div",null,h("div",null,this.titleBanner&&h("p",{class:"mb-2 text-center show-slow max-w-40 min-w-40 mx-auto"},this.titleBanner),I&&h(Fragment,null,!M&&h("p",{class:"mb-2 text-center show-slow text-red-400 max-w-40 min-w-40 mx-auto"},"Your profile may be lost if you close this tab"),h("div",{class:"mb-2"},h("button-base",{onClick:()=>this.handleImport(),theme:"lemonade",titleBtn:"Back up profile"}))),h("div",{class:"mb-2"},h("nl-change-account",{currentAccount:this.userInfo,accounts:this.accounts})),!!this.listNotifies.length&&h("div",{onClick:()=>this.handleRetryConfirm(),class:"show-slow border border-yellow-600 text-yellow-600 bg-yellow-100 p-2 rounded-lg mb-2 cursor-pointer w-44 text-xs m-auto text-center"},"Requests: ",this.listNotifies.length),this.userInfo?h("button-base",{onClick:()=>this.handleLogout(),titleBtn:"Log out"}):h("div",null,h("button-base",{onClick:()=>this.handleLogin(),titleBtn:"Log in"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"}))),h("button-base",{onClick:()=>this.handleSignup(),titleBtn:"Sign up"},h("svg",{style:{display:"none"},slot:"icon-start",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"flex-shrink-0 w-4 h-4"},h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 7.5v3m0 0v3m0-3h3m-3 0h-3m-2.25-4.125a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0ZM3 19.235v-.11a6.375 6.375 0 0 1 12.75 0v.109A12.318 12.318 0 0 1 9.374 21c-2.331 0-4.512-.645-6.374-1.766Z"}))))))))))}static get watchers(){return{notify:["watchNotifyHandler"]}}static get style(){return NlBannerStyle0}},[1,"nl-banner",{theme:[1025],darkMode:[1028,"dark-mode"],hiddenMode:[1028,"hidden-mode"],titleBanner:[1,"title-banner"],listNotifies:[16],isOpen:[1028,"is-open"],isLoading:[4,"is-loading"],notify:[16],userInfo:[16],accounts:[1040],isLogin:[32],domain:[32],urlNotify:[32],isOpenNotifyTimeOut:[32],isConfirm:[32],isOpenConfirm:[32],isNotConfirmToSend:[32]},void 0,{notify:["watchNotifyHandler"]}]);function defineCustomElement(){typeof customElements>"u"||["nl-banner","button-base","nl-change-account","nl-login-status"].forEach(i=>{switch(i){case"nl-banner":customElements.get(i)||customElements.define(i,NlBanner);break;case"button-base":customElements.get(i)||defineCustomElement$n();break;case"nl-change-account":customElements.get(i)||defineCustomElement$1();break;case"nl-login-status":customElements.get(i)||defineCustomElement$e()}})}defineCustomElement();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var lib$1={},types={};Object.defineProperty(types,"__esModule",{value:!0});var ee={},taskCollection$1={},taskCollection={},bakeCollection={};(function(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bakeCollectionVariadic=exports.bakeCollectionAwait=exports.bakeCollection=exports.BAKED_EMPTY_FUNC=void 0,exports.BAKED_EMPTY_FUNC=function(){};var FORLOOP_FALLBACK=1500;function generateArgsDefCode(i){var a="";if(0===i)return a;for(var r=0;r1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++}function push_rebuild(i,a){var r,o=this.length;if(o>1)a?((r=this._tasks).push.apply(r,arguments),this.length+=arguments.length):(this._tasks.push(i),this.length++);else if(a){var s;1===o?((s=Array(1+arguments.length)).push(s),s.push.apply(s,arguments),this._tasks=s):((s=Array(arguments.length)).push.apply(s,arguments),this._tasks=s),this.length+=arguments.length}else this._tasks=1===o?[this._tasks,i]:i,this.length++;this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}function _fast_remove_single(i,a){-1!==a&&(0===a?i.shift():a===i.length-1?i.length=i.length-1:i.splice(a,1))}function removeLast_norebuild(i){0!==this.length&&(1===this.length?this._tasks===i&&(this.length=0):(_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length))}function removeLast_rebuild(i){if(0!==this.length){if(1===this.length)return this._tasks===i&&(this.length=0),this.firstEmitBuildStrategy?void(this.call=bake_collection_1.BAKED_EMPTY_FUNC):void this.rebuild();_fast_remove_single(this._tasks,this._tasks.lastIndexOf(i)),1===this._tasks.length?(this._tasks=this._tasks[0],this.length=1):this.length=this._tasks.length,this.firstEmitBuildStrategy?this.call=rebuild_on_first_call:this.rebuild()}}function insert_norebuild(i){for(var a,r=[],o=1;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$3(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$3(i.outputLen),number$3(i.blockLen)}function exists$3(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$3(i,a){bytes$3(i);const r=a.outputLen;if(i.lengthi instanceof Uint8Array,createView$2=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$2=(i,a)=>i<<32-a|i>>>a,isLE$3=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$3)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes$4(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes$3(i){if("string"==typeof i&&(i=utf8ToBytes$4(i)),!u8a$3(i))throw new Error("expected Uint8Array, got "+typeof i);return i}function concatBytes$3(...i){const a=new Uint8Array(i.reduce((o,s)=>o+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$3(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));let Hash$2=class{clone(){return this._cloneInto()}};function wrapConstructor$2(i){const a=o=>i().update(toBytes$3(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$2(i=32){if(crypto$3&&"function"==typeof crypto$3.getRandomValues)return crypto$3.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function setBigUint64$2(i,a,r,o){if("function"==typeof i.setBigUint64)return i.setBigUint64(a,r,o);const s=BigInt(32),c=BigInt(4294967295),y=Number(r>>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$2=class extends Hash$2{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$2(this.buffer)}update(i){assert$3.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$3(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let M=c;MI.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj$2=(i,a,r)=>i&a^i&r^a&r,SHA256_K$2=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV$2=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$2=new Uint32Array(64);let SHA256$2=class extends SHA2$2{constructor(){super(64,32,8,!1),this.A=0|IV$2[0],this.B=0|IV$2[1],this.C=0|IV$2[2],this.D=0|IV$2[3],this.E=0|IV$2[4],this.F=0|IV$2[5],this.G=0|IV$2[6],this.H=0|IV$2[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let M=0;M<16;M++,a+=4)SHA256_W$2[M]=i.getUint32(a,!1);for(let M=16;M<64;M++){const T=SHA256_W$2[M-15],O=SHA256_W$2[M-2],L=rotr$2(T,7)^rotr$2(T,18)^T>>>3,Y=rotr$2(O,17)^rotr$2(O,19)^O>>>10;SHA256_W$2[M]=Y+SHA256_W$2[M-7]+L+SHA256_W$2[M-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:A,H:I}=this;for(let M=0;M<64;M++){const T=I+(rotr$2(y,6)^rotr$2(y,11)^rotr$2(y,25))+Chi$2(y,k,A)+SHA256_K$2[M]+SHA256_W$2[M]|0,O=(rotr$2(r,2)^rotr$2(r,13)^rotr$2(r,22))+Maj$2(r,o,s)|0;I=A,A=k,k=y,y=c+T|0,c=s,s=o,o=r,r=T+O|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,A=A+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,A,I)}roundClean(){SHA256_W$2.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},SHA224$1=class extends SHA256$2{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};const sha256$2=wrapConstructor$2(()=>new SHA256$2);wrapConstructor$2(()=>new SHA224$1);const _0n$4=BigInt(0),_1n$4=BigInt(1),_2n$2=BigInt(2),u8a$2=i=>i instanceof Uint8Array,hexes$2=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$2(i){if(!u8a$2(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$2(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}function equalBytes$1(i,a){if(i.length!==a.length)return!1;for(let r=0;r_0n$4;i>>=_1n$4,a+=1);return a}function bitGet(i,a){return i>>BigInt(a)&_1n$4}const bitSet=(i,a,r)=>i|(r?_1n$4:_0n$4)<(_2n$2<new Uint8Array(i),u8fr=i=>Uint8Array.from(i);function createHmacDrbg(i,a,r){if("number"!=typeof i||i<2)throw new Error("hashLen must be a number");if("number"!=typeof a||a<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let o=u8n(i),s=u8n(i),c=0;const y=()=>{o.fill(1),s.fill(0),c=0},k=(...M)=>r(s,o,...M),A=(M=u8n())=>{s=k(u8fr([0]),M),o=k(),0!==M.length&&(s=k(u8fr([1]),M),o=k())},I=()=>{if(c++>=1e3)throw new Error("drbg: tried 1000 values");let M=0;const T=[];for(;M{let O;for(y(),A(M);!(O=T(I()));)A();return y(),O}}const validatorFns={bigint:i=>"bigint"==typeof i,function:i=>"function"==typeof i,boolean:i=>"boolean"==typeof i,string:i=>"string"==typeof i,isSafeInteger:i=>Number.isSafeInteger(i),array:i=>Array.isArray(i),field:(i,a)=>a.Fp.isValid(i),hash:i=>"function"==typeof i&&Number.isSafeInteger(i.outputLen)};function validateObject(i,a,r={}){const o=(s,c,y)=>{const k=validatorFns[c];if("function"!=typeof k)throw new Error(`Invalid validator "${c}", expected function`);const A=i[s];if(!(y&&void 0===A||k(A,i)))throw new Error(`Invalid param ${String(s)}=${A} (${typeof A}), expected ${c}`)};for(const[s,c]of Object.entries(a))o(s,c,!1);for(const[s,c]of Object.entries(r))o(s,c,!0);return i}var ut=Object.freeze({__proto__:null,bitGet,bitLen,bitMask,bitSet,bytesToHex:bytesToHex$2,bytesToNumberBE,bytesToNumberLE,concatBytes:concatBytes$2,createHmacDrbg,ensureBytes:ensureBytes$1,equalBytes:equalBytes$1,hexToBytes:hexToBytes$2,hexToNumber,numberToBytesBE,numberToBytesLE,numberToHexUnpadded,numberToVarBytesBE,utf8ToBytes:utf8ToBytes$3,validateObject});const _0n$3=BigInt(0),_1n$3=BigInt(1),_2n$1=BigInt(2),_3n$1=BigInt(3),_4n=BigInt(4),_5n=BigInt(5),_8n=BigInt(8);function mod(i,a){const r=i%a;return r>=_0n$3?r:a+r}function pow(i,a,r){if(r<=_0n$3||a<_0n$3)throw new Error("Expected power/modulo > 0");if(r===_1n$3)return _0n$3;let o=_1n$3;for(;a>_0n$3;)a&_1n$3&&(o=o*i%r),i=i*i%r,a>>=_1n$3;return o}function pow2(i,a,r){let o=i;for(;a-- >_0n$3;)o*=o,o%=r;return o}function invert(i,a){if(i===_0n$3||a<=_0n$3)throw new Error(`invert: expected positive integers, got n=${i} mod=${a}`);let r=mod(i,a),o=a,s=_0n$3,c=_1n$3;for(;r!==_0n$3;){const y=o%r,k=s-c*(o/r);o=r,r=y,s=c,c=k}if(o!==_1n$3)throw new Error("invert: does not exist");return mod(s,a)}function tonelliShanks(i){const a=(i-_1n$3)/_2n$1;let r,o,s;for(r=i-_1n$3,o=0;r%_2n$1===_0n$3;r/=_2n$1,o++);for(s=_2n$1;s(r[o]="function",r),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function FpPow(i,a,r){if(r<_0n$3)throw new Error("Expected power > 0");if(r===_0n$3)return i.ONE;if(r===_1n$3)return a;let o=i.ONE,s=a;for(;r>_0n$3;)r&_1n$3&&(o=i.mul(o,s)),s=i.sqr(s),r>>=_1n$3;return o}function FpInvertBatch(i,a){const r=new Array(a.length),o=a.reduce((c,y,k)=>i.is0(y)?c:(r[k]=c,i.mul(c,y)),i.ONE),s=i.inv(o);return a.reduceRight((c,y,k)=>i.is0(y)?c:(r[k]=i.mul(c,r[k]),i.mul(c,y)),s),r}function nLength(i,a){const r=void 0!==a?a:i.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function Field(i,a,r=!1,o={}){if(i<=_0n$3)throw new Error(`Expected Fp ORDER > 0, got ${i}`);const{nBitLength:s,nByteLength:c}=nLength(i,a);if(c>2048)throw new Error("Field lengths over 2048 bytes are not supported");const y=FpSqrt(i),k=Object.freeze({ORDER:i,BITS:s,BYTES:c,MASK:bitMask(s),ZERO:_0n$3,ONE:_1n$3,create:A=>mod(A,i),isValid:A=>{if("bigint"!=typeof A)throw new Error("Invalid field element: expected bigint, got "+typeof A);return _0n$3<=A&&AA===_0n$3,isOdd:A=>(A&_1n$3)===_1n$3,neg:A=>mod(-A,i),eql:(A,I)=>A===I,sqr:A=>mod(A*A,i),add:(A,I)=>mod(A+I,i),sub:(A,I)=>mod(A-I,i),mul:(A,I)=>mod(A*I,i),pow:(A,I)=>FpPow(k,A,I),div:(A,I)=>mod(A*invert(I,i),i),sqrN:A=>A*A,addN:(A,I)=>A+I,subN:(A,I)=>A-I,mulN:(A,I)=>A*I,inv:A=>invert(A,i),sqrt:o.sqrt||(A=>y(k,A)),invertBatch:A=>FpInvertBatch(k,A),cmov:(A,I,M)=>M?I:A,toBytes:A=>r?numberToBytesLE(A,c):numberToBytesBE(A,c),fromBytes:A=>{if(A.length!==c)throw new Error(`Fp.fromBytes: expected ${c}, got ${A.length}`);return r?bytesToNumberLE(A):bytesToNumberBE(A)}});return Object.freeze(k)}function hashToPrivateScalar(i,a,r=!1){const o=(i=ensureBytes$1("privateHash",i)).length,s=nLength(a).nByteLength+8;if(s<24||o1024)throw new Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${o}`);return mod(r?bytesToNumberLE(i):bytesToNumberBE(i),a-_1n$3)+_1n$3}const _0n$2=BigInt(0),_1n$2=BigInt(1);function wNAF(i,a){const r=(s,c)=>{const y=c.negate();return s?y:c},o=s=>({windows:Math.ceil(a/s)+1,windowSize:2**(s-1)});return{constTimeNegate:r,unsafeLadder(s,c){let y=i.ZERO,k=s;for(;c>_0n$2;)c&_1n$2&&(y=y.add(k)),k=k.double(),c>>=_1n$2;return y},precomputeWindow(s,c){const{windows:y,windowSize:k}=o(c),A=[];let I=s,M=I;for(let T=0;T>=L,q>A&&(q-=O,y+=_1n$2);const ct=z,dt=z+Math.abs(q)-1,vt=q<0;0===q?M=M.add(r(Y%2!=0,c[ct])):I=I.add(r(vt,c[dt]))}return{p:I,f:M}},wNAFCached(s,c,y,k){const A=s._WINDOW_SIZE||1;let I=c.get(s);return I||(I=this.precomputeWindow(s,A),1!==A&&c.set(s,k(I))),this.wNAF(A,I,y)}}}function validateBasic(i){return validateField(i.Fp),validateObject(i,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...nLength(i.n,i.nBitLength),...i,p:i.Fp.ORDER})}function validatePointOpts(i){const a=validateBasic(i);validateObject(a,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:r,Fp:o,a:s}=a;if(r){if(!o.eql(s,o.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...a})}const{bytesToNumberBE:b2n,hexToBytes:h2b}=ut,DER={Err:class extends Error{constructor(i=""){super(i)}},_parseInt(i){const{Err:a}=DER;if(i.length<2||2!==i[0])throw new a("Invalid signature integer tag");const r=i[1],o=i.subarray(2,r+2);if(!r||o.length!==r)throw new a("Invalid signature integer: wrong length");if(128&o[0])throw new a("Invalid signature integer: negative");if(0===o[0]&&!(128&o[1]))throw new a("Invalid signature integer: unnecessary leading zero");return{d:b2n(o),l:i.subarray(r+2)}},toSig(i){const{Err:a}=DER,r="string"==typeof i?h2b(i):i;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let o=r.length;if(o<2||48!=r[0])throw new a("Invalid signature tag");if(r[1]!==o-2)throw new a("Invalid signature: incorrect length");const{d:s,l:c}=DER._parseInt(r.subarray(2)),{d:y,l:k}=DER._parseInt(c);if(k.length)throw new a("Invalid signature: left bytes after parsing");return{r:s,s:y}},hexFromSig(i){const a=I=>8&Number.parseInt(I[0],16)?"00"+I:I,r=I=>{const M=I.toString(16);return 1&M.length?`0${M}`:M},o=a(r(i.s)),s=a(r(i.r)),c=o.length/2,y=s.length/2,k=r(c),A=r(y);return`30${r(y+c+4)}02${A}${s}02${k}${o}`}},_0n$1=BigInt(0),_1n$1=BigInt(1);BigInt(2);const _3n=BigInt(3);function weierstrassPoints(i){const a=validatePointOpts(i),{Fp:r}=a,o=a.toBytes||((Y,z,q)=>{const ct=z.toAffine();return concatBytes$2(Uint8Array.from([4]),r.toBytes(ct.x),r.toBytes(ct.y))}),s=a.fromBytes||(Y=>{const z=Y.subarray(1);return{x:r.fromBytes(z.subarray(0,r.BYTES)),y:r.fromBytes(z.subarray(r.BYTES,2*r.BYTES))}});function c(Y){const{a:z,b:q}=a,ct=r.sqr(Y),dt=r.mul(ct,Y);return r.add(r.add(dt,r.mul(Y,z)),q)}if(!r.eql(r.sqr(a.Gy),c(a.Gx)))throw new Error("bad generator point: equation left != right");function y(Y){return"bigint"==typeof Y&&_0n$1r.eql(tt,r.ZERO);return dt(q)&&dt(ct)?T.ZERO:new T(q,ct,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(z){const q=r.invertBatch(z.map(ct=>ct.pz));return z.map((ct,dt)=>ct.toAffine(q[dt])).map(T.fromAffine)}static fromHex(z){const q=T.fromAffine(s(ensureBytes$1("pointHex",z)));return q.assertValidity(),q}static fromPrivateKey(z){return T.BASE.multiply(A(z))}_setWindowSize(z){this._WINDOW_SIZE=z,I.delete(this)}assertValidity(){if(this.is0()){if(a.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:z,y:q}=this.toAffine();if(!r.isValid(z)||!r.isValid(q))throw new Error("bad point: x or y not FE");const ct=r.sqr(q),dt=c(z);if(!r.eql(ct,dt))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:z}=this.toAffine();if(r.isOdd)return!r.isOdd(z);throw new Error("Field doesn't support isOdd")}equals(z){M(z);const{px:q,py:ct,pz:dt}=this,{px:tt,py:vt,pz:Mt}=z,$t=r.eql(r.mul(q,Mt),r.mul(tt,dt)),St=r.eql(r.mul(ct,Mt),r.mul(vt,dt));return $t&&St}negate(){return new T(this.px,r.neg(this.py),this.pz)}double(){const{a:z,b:q}=a,ct=r.mul(q,_3n),{px:dt,py:tt,pz:vt}=this;let Mt=r.ZERO,$t=r.ZERO,St=r.ZERO,kt=r.mul(dt,dt),nt=r.mul(tt,tt),at=r.mul(vt,vt),rt=r.mul(dt,tt);return rt=r.add(rt,rt),St=r.mul(dt,vt),St=r.add(St,St),Mt=r.mul(z,St),$t=r.mul(ct,at),$t=r.add(Mt,$t),Mt=r.sub(nt,$t),$t=r.add(nt,$t),$t=r.mul(Mt,$t),Mt=r.mul(rt,Mt),St=r.mul(ct,St),at=r.mul(z,at),rt=r.sub(kt,at),rt=r.mul(z,rt),rt=r.add(rt,St),St=r.add(kt,kt),kt=r.add(St,kt),kt=r.add(kt,at),kt=r.mul(kt,rt),$t=r.add($t,kt),at=r.mul(tt,vt),at=r.add(at,at),kt=r.mul(at,rt),Mt=r.sub(Mt,kt),St=r.mul(at,nt),St=r.add(St,St),St=r.add(St,St),new T(Mt,$t,St)}add(z){M(z);const{px:q,py:ct,pz:dt}=this,{px:tt,py:vt,pz:Mt}=z;let $t=r.ZERO,St=r.ZERO,kt=r.ZERO;const nt=a.a,at=r.mul(a.b,_3n);let rt=r.mul(q,tt),yt=r.mul(ct,vt),Ct=r.mul(dt,Mt),Vt=r.add(q,ct),Xt=r.add(tt,vt);Vt=r.mul(Vt,Xt),Xt=r.add(rt,yt),Vt=r.sub(Vt,Xt),Xt=r.add(q,dt);let oe=r.add(tt,Mt);return Xt=r.mul(Xt,oe),oe=r.add(rt,Ct),Xt=r.sub(Xt,oe),oe=r.add(ct,dt),$t=r.add(vt,Mt),oe=r.mul(oe,$t),$t=r.add(yt,Ct),oe=r.sub(oe,$t),kt=r.mul(nt,Xt),$t=r.mul(at,Ct),kt=r.add($t,kt),$t=r.sub(yt,kt),kt=r.add(yt,kt),St=r.mul($t,kt),yt=r.add(rt,rt),yt=r.add(yt,rt),Ct=r.mul(nt,Ct),Xt=r.mul(at,Xt),yt=r.add(yt,Ct),Ct=r.sub(rt,Ct),Ct=r.mul(nt,Ct),Xt=r.add(Xt,Ct),rt=r.mul(yt,Xt),St=r.add(St,rt),rt=r.mul(oe,Xt),$t=r.mul(Vt,$t),$t=r.sub($t,rt),rt=r.mul(Vt,yt),kt=r.mul(oe,kt),kt=r.add(kt,rt),new T($t,St,kt)}subtract(z){return this.add(z.negate())}is0(){return this.equals(T.ZERO)}wNAF(z){return L.wNAFCached(this,I,z,q=>{const ct=r.invertBatch(q.map(dt=>dt.pz));return q.map((dt,tt)=>dt.toAffine(ct[tt])).map(T.fromAffine)})}multiplyUnsafe(z){const q=T.ZERO;if(z===_0n$1)return q;if(k(z),z===_1n$1)return this;const{endo:ct}=a;if(!ct)return L.unsafeLadder(this,z);let{k1neg:dt,k1:tt,k2neg:vt,k2:Mt}=ct.splitScalar(z),$t=q,St=q,kt=this;for(;tt>_0n$1||Mt>_0n$1;)tt&_1n$1&&($t=$t.add(kt)),Mt&_1n$1&&(St=St.add(kt)),kt=kt.double(),tt>>=_1n$1,Mt>>=_1n$1;return dt&&($t=$t.negate()),vt&&(St=St.negate()),St=new T(r.mul(St.px,ct.beta),St.py,St.pz),$t.add(St)}multiply(z){k(z);let q,ct,dt=z;const{endo:tt}=a;if(tt){const{k1neg:vt,k1:Mt,k2neg:$t,k2:St}=tt.splitScalar(dt);let{p:kt,f:nt}=this.wNAF(Mt),{p:at,f:rt}=this.wNAF(St);kt=L.constTimeNegate(vt,kt),at=L.constTimeNegate($t,at),at=new T(r.mul(at.px,tt.beta),at.py,at.pz),q=kt.add(at),ct=nt.add(rt)}else{const{p:vt,f:Mt}=this.wNAF(dt);q=vt,ct=Mt}return T.normalizeZ([q,ct])[0]}multiplyAndAddUnsafe(z,q,ct){const dt=T.BASE,tt=(Mt,$t)=>$t!==_0n$1&&$t!==_1n$1&&Mt.equals(dt)?Mt.multiply($t):Mt.multiplyUnsafe($t),vt=tt(this,q).add(tt(z,ct));return vt.is0()?void 0:vt}toAffine(z){const{px:q,py:ct,pz:dt}=this,tt=this.is0();null==z&&(z=tt?r.ONE:r.inv(dt));const vt=r.mul(q,z),Mt=r.mul(ct,z),$t=r.mul(dt,z);if(tt)return{x:r.ZERO,y:r.ZERO};if(!r.eql($t,r.ONE))throw new Error("invZ was invalid");return{x:vt,y:Mt}}isTorsionFree(){const{h:z,isTorsionFree:q}=a;if(z===_1n$1)return!0;if(q)return q(T,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:z,clearCofactor:q}=a;return z===_1n$1?this:q?q(T,this):this.multiplyUnsafe(a.h)}toRawBytes(z=!0){return this.assertValidity(),o(T,this,z)}toHex(z=!0){return bytesToHex$2(this.toRawBytes(z))}}T.BASE=new T(a.Gx,a.Gy,r.ONE),T.ZERO=new T(r.ZERO,r.ONE,r.ZERO);const O=a.nBitLength,L=wNAF(T,a.endo?Math.ceil(O/2):O);return{CURVE:a,ProjectivePoint:T,normPrivateKeyToScalar:A,weierstrassEquation:c,isWithinCurveOrder:y}}function validateOpts(i){const a=validateBasic(i);return validateObject(a,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...a})}function weierstrass(i){const a=validateOpts(i),{Fp:r,n:o}=a,s=r.BYTES+1,c=2*r.BYTES+1;function y(nt){return mod(nt,o)}function k(nt){return invert(nt,o)}const{ProjectivePoint:A,normPrivateKeyToScalar:I,weierstrassEquation:M,isWithinCurveOrder:T}=weierstrassPoints({...a,toBytes(nt,at,rt){const yt=at.toAffine(),Ct=r.toBytes(yt.x),Vt=concatBytes$2;return rt?Vt(Uint8Array.from([at.hasEvenY()?2:3]),Ct):Vt(Uint8Array.from([4]),Ct,r.toBytes(yt.y))},fromBytes(nt){const at=nt.length,rt=nt[0],yt=nt.subarray(1);if(at!==s||2!==rt&&3!==rt){if(at===c&&4===rt)return{x:r.fromBytes(yt.subarray(0,r.BYTES)),y:r.fromBytes(yt.subarray(r.BYTES,2*r.BYTES))};throw new Error(`Point of length ${at} was invalid. Expected ${s} compressed bytes or ${c} uncompressed bytes`)}{const Vt=bytesToNumberBE(yt);if(!(_0n$1<(Ct=Vt)&&CtbytesToHex$2(numberToBytesBE(nt,a.nByteLength));function L(nt){return nt>o>>_1n$1}const Y=(nt,at,rt)=>bytesToNumberBE(nt.slice(at,rt));class z{constructor(at,rt,yt){this.r=at,this.s=rt,this.recovery=yt,this.assertValidity()}static fromCompact(at){const rt=a.nByteLength;return at=ensureBytes$1("compactSignature",at,2*rt),new z(Y(at,0,rt),Y(at,rt,2*rt))}static fromDER(at){const{r:rt,s:yt}=DER.toSig(ensureBytes$1("DER",at));return new z(rt,yt)}assertValidity(){if(!T(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!T(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(at){return new z(this.r,this.s,at)}recoverPublicKey(at){const{r:rt,s:yt,recovery:Ct}=this,Vt=tt(ensureBytes$1("msgHash",at));if(null==Ct||![0,1,2,3].includes(Ct))throw new Error("recovery id invalid");const Xt=2===Ct||3===Ct?rt+a.n:rt;if(Xt>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");const Xe=A.fromHex((1&Ct?"03":"02")+O(Xt)),kr=k(Xt),gr=y(-Vt*kr),wr=y(yt*kr),Wr=A.BASE.multiplyAndAddUnsafe(Xe,gr,wr);if(!Wr)throw new Error("point at infinify");return Wr.assertValidity(),Wr}hasHighS(){return L(this.s)}normalizeS(){return this.hasHighS()?new z(this.r,y(-this.s),this.recovery):this}toDERRawBytes(){return hexToBytes$2(this.toDERHex())}toDERHex(){return DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return hexToBytes$2(this.toCompactHex())}toCompactHex(){return O(this.r)+O(this.s)}}const q={isValidPrivateKey(nt){try{return I(nt),!0}catch{return!1}},normPrivateKeyToScalar:I,randomPrivateKey:()=>numberToBytesBE(hashToPrivateScalar(a.randomBytes(r.BYTES+8),o),a.nByteLength),precompute:(nt=8,at=A.BASE)=>(at._setWindowSize(nt),at.multiply(BigInt(3)),at)};function ct(nt){const at=nt instanceof Uint8Array,rt="string"==typeof nt,yt=(at||rt)&&nt.length;return at?yt===s||yt===c:rt?yt===2*s||yt===2*c:nt instanceof A}const dt=a.bits2int||function(nt){const at=bytesToNumberBE(nt),rt=8*nt.length-a.nBitLength;return rt>0?at>>BigInt(rt):at},tt=a.bits2int_modN||function(nt){return y(dt(nt))},vt=bitMask(a.nBitLength);function Mt(nt){if("bigint"!=typeof nt)throw new Error("bigint expected");if(!(_0n$1<=nt&&ntxe in rt))throw new Error("sign() legacy options not supported");const{hash:yt,randomBytes:Ct}=a;let{lowS:Vt,prehash:Xt,extraEntropy:oe}=rt;null==Vt&&(Vt=!0),nt=ensureBytes$1("msgHash",nt),Xt&&(nt=ensureBytes$1("prehashed msgHash",yt(nt)));const Xe=tt(nt),kr=I(at),gr=[Mt(kr),Mt(Xe)];if(null!=oe){const xe=!0===oe?Ct(r.BYTES):oe;gr.push(ensureBytes$1("extraEntropy",xe,r.BYTES))}const wr=concatBytes$2(...gr),Wr=Xe;return{seed:wr,k2sig:function(xe){const Le=dt(xe);if(!T(Le))return;const gt=k(Le),Nt=A.BASE.multiply(Le).toAffine(),Se=y(Nt.x);if(Se===_0n$1)return;const Rt=y(gt*y(Wr+Se*kr));if(Rt===_0n$1)return;let de=(Nt.x===Se?0:2)|Number(Nt.y&_1n$1),jt=Rt;return Vt&&L(Rt)&&(jt=L(De=Rt)?y(-De):De,de^=1),new z(Se,jt,de);var De}}}(nt,at,rt);return createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(yt,Ct)},verify:function(nt,at,rt,yt=kt){const Ct=nt;if(at=ensureBytes$1("msgHash",at),rt=ensureBytes$1("publicKey",rt),"strict"in yt)throw new Error("options.strict was renamed to lowS");const{lowS:Vt,prehash:Xt}=yt;let oe,Xe;try{if("string"==typeof Ct||Ct instanceof Uint8Array)try{oe=z.fromDER(Ct)}catch(Nt){if(!(Nt instanceof DER.Err))throw Nt;oe=z.fromCompact(Ct)}else{if("object"!=typeof Ct||"bigint"!=typeof Ct.r||"bigint"!=typeof Ct.s)throw new Error("PARSE");{const{r:Nt,s:Se}=Ct;oe=new z(Nt,Se)}}Xe=A.fromHex(rt)}catch(Nt){if("PARSE"===Nt.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Vt&&oe.hasHighS())return!1;Xt&&(at=a.hash(at));const{r:kr,s:gr}=oe,wr=tt(at),Wr=k(gr),xe=y(wr*Wr),Le=y(kr*Wr),gt=A.BASE.multiplyAndAddUnsafe(Xe,xe,Le)?.toAffine();return!!gt&&y(gt.x)===kr},ProjectivePoint:A,Signature:z,utils:q}}BigInt(4);let HMAC$2=class extends Hash$2{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,assert$3.hash(i);const r=toBytes$3(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$2(i,a).update(r).digest();function getHash(i){return{hash:i,hmac:(a,...r)=>hmac$2(i,a,concatBytes$3(...r)),randomBytes:randomBytes$2}}function createCurve(i,a){const r=o=>weierstrass({...i,...getHash(o)});return Object.freeze({...r(a),create:r})}hmac$2.create=(i,a)=>new HMAC$2(i,a);const secp256k1P=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),secp256k1N=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_1n=BigInt(1),_2n=BigInt(2),divNearest=(i,a)=>(i+a/_2n)/a;function sqrtMod(i){const a=secp256k1P,r=BigInt(3),o=BigInt(6),s=BigInt(11),c=BigInt(22),y=BigInt(23),k=BigInt(44),A=BigInt(88),I=i*i*i%a,M=I*I*i%a,T=pow2(M,r,a)*M%a,O=pow2(T,r,a)*M%a,L=pow2(O,_2n,a)*I%a,Y=pow2(L,s,a)*L%a,z=pow2(Y,c,a)*Y%a,q=pow2(z,k,a)*z%a,ct=pow2(q,A,a)*q%a,dt=pow2(ct,k,a)*z%a,tt=pow2(dt,r,a)*M%a,vt=pow2(tt,y,a)*Y%a,Mt=pow2(vt,o,a)*I%a,$t=pow2(Mt,_2n,a);if(!Fp.eql(Fp.sqr($t),i))throw new Error("Cannot find square root");return $t}const Fp=Field(secp256k1P,void 0,void 0,{sqrt:sqrtMod}),secp256k1=createCurve({a:BigInt(0),b:BigInt(7),Fp,n:secp256k1N,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:i=>{const a=secp256k1N,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),o=-_1n*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),c=r,y=BigInt("0x100000000000000000000000000000000"),k=divNearest(c*i,a),A=divNearest(-o*i,a);let I=mod(i-k*r-A*s,a),M=mod(-k*o-A*c,a);const T=I>y,O=M>y;if(T&&(I=a-I),O&&(M=a-M),I>y||M>y)throw new Error("splitScalar: Endomorphism failed, k="+i);return{k1neg:T,k1:I,k2neg:O,k2:M}}}},sha256$2),_0n=BigInt(0),fe=i=>"bigint"==typeof i&&_0n"bigint"==typeof i&&_0ns.charCodeAt(0)));r=concatBytes$2(o,o),TAGGED_HASH_PREFIXES[i]=r}return sha256$2(concatBytes$2(r,...a))}const pointToBytes=i=>i.toRawBytes(!0).slice(1),numTo32b=i=>numberToBytesBE(i,32),modP=i=>mod(i,secp256k1P),modN=i=>mod(i,secp256k1N),Point$1=secp256k1.ProjectivePoint,GmulAdd=(i,a,r)=>Point$1.BASE.multiplyAndAddUnsafe(i,a,r);function schnorrGetExtPubKey(i){let a=secp256k1.utils.normPrivateKeyToScalar(i),r=Point$1.fromPrivateKey(a);return{scalar:r.hasEvenY()?a:modN(-a),bytes:pointToBytes(r)}}function lift_x(i){if(!fe(i))throw new Error("bad x: need 0 < x < p");const a=modP(i*i);let r=sqrtMod(modP(a*i+BigInt(7)));r%_2n!==_0n&&(r=modP(-r));const o=new Point$1(i,r,_1n);return o.assertValidity(),o}function challenge(...i){return modN(bytesToNumberBE(taggedHash("BIP0340/challenge",...i)))}function schnorrGetPublicKey(i){return schnorrGetExtPubKey(i).bytes}function schnorrSign(i,a,r=randomBytes$2(32)){const o=ensureBytes$1("message",i),{bytes:s,scalar:c}=schnorrGetExtPubKey(a),y=ensureBytes$1("auxRand",r,32),k=numTo32b(c^bytesToNumberBE(taggedHash("BIP0340/aux",y))),A=taggedHash("BIP0340/nonce",k,s,o),I=modN(bytesToNumberBE(A));if(I===_0n)throw new Error("sign failed: k is zero");const{bytes:M,scalar:T}=schnorrGetExtPubKey(I),O=challenge(M,s,o),L=new Uint8Array(64);if(L.set(M,0),L.set(numTo32b(modN(T+O*c)),32),!schnorrVerify(L,o,s))throw new Error("sign: Invalid signature produced");return L}function schnorrVerify(i,a,r){const o=ensureBytes$1("signature",i,64),s=ensureBytes$1("message",a),c=ensureBytes$1("publicKey",r,32);try{const y=lift_x(bytesToNumberBE(c)),k=bytesToNumberBE(o.subarray(0,32));if(!fe(k))return!1;const A=bytesToNumberBE(o.subarray(32,64));if(!ge(A))return!1;const I=challenge(numTo32b(k),pointToBytes(y),s),M=GmulAdd(y,A,modN(-I));return!(!M||!M.hasEvenY()||M.toAffine().x!==k)}catch{return!1}}const schnorr={getPublicKey:schnorrGetPublicKey,sign:schnorrSign,verify:schnorrVerify,utils:{randomPrivateKey:secp256k1.utils.randomPrivateKey,lift_x,pointToBytes,numberToBytesBE,bytesToNumberBE,taggedHash,mod}},crypto$2="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,u8a$1=i=>i instanceof Uint8Array,createView$1=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),rotr$1=(i,a)=>i<<32-a|i>>>a,isLE$2=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$2)throw new Error("Non little-endian hardware is not supported");const hexes$1=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex$1(i){if(!u8a$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;ro+s.length,0));let r=0;return i.forEach(o=>{if(!u8a$1(o))throw new Error("Uint8Array expected");a.set(o,r),r+=o.length}),a}let Hash$1=class{clone(){return this._cloneInto()}};function wrapConstructor$1(i){const a=o=>i().update(toBytes$2(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes$1(i=32){if(crypto$2&&"function"==typeof crypto$2.getRandomValues)return crypto$2.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}function number$2(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$2(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function bytes$2(i,...a){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$2(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$2(i.outputLen),number$2(i.blockLen)}function exists$2(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$2(i,a){bytes$2(i);const r=a.outputLen;if(i.length>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}let SHA2$1=class extends Hash$1{constructor(i,a,r,o){super(),this.blockLen=i,this.outputLen=a,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(i),this.view=createView$1(this.buffer)}update(i){assert$2.exists(this);const{view:a,buffer:r,blockLen:o}=this,s=(i=toBytes$2(i)).length;for(let c=0;co-c&&(this.process(r,0),c=0);for(let M=c;MI.length)throw new Error("_sha2: outputLen bigger than state");for(let M=0;Mi&a^~i&r,Maj$1=(i,a,r)=>i&a^i&r^a&r,SHA256_K$1=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV$1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W$1=new Uint32Array(64);let SHA256$1=class extends SHA2$1{constructor(){super(64,32,8,!1),this.A=0|IV$1[0],this.B=0|IV$1[1],this.C=0|IV$1[2],this.D=0|IV$1[3],this.E=0|IV$1[4],this.F=0|IV$1[5],this.G=0|IV$1[6],this.H=0|IV$1[7]}get(){const{A:i,B:a,C:r,D:o,E:s,F:c,G:y,H:k}=this;return[i,a,r,o,s,c,y,k]}set(i,a,r,o,s,c,y,k){this.A=0|i,this.B=0|a,this.C=0|r,this.D=0|o,this.E=0|s,this.F=0|c,this.G=0|y,this.H=0|k}process(i,a){for(let M=0;M<16;M++,a+=4)SHA256_W$1[M]=i.getUint32(a,!1);for(let M=16;M<64;M++){const T=SHA256_W$1[M-15],O=SHA256_W$1[M-2],L=rotr$1(T,7)^rotr$1(T,18)^T>>>3,Y=rotr$1(O,17)^rotr$1(O,19)^O>>>10;SHA256_W$1[M]=Y+SHA256_W$1[M-7]+L+SHA256_W$1[M-16]|0}let{A:r,B:o,C:s,D:c,E:y,F:k,G:A,H:I}=this;for(let M=0;M<64;M++){const T=I+(rotr$1(y,6)^rotr$1(y,11)^rotr$1(y,25))+Chi$1(y,k,A)+SHA256_K$1[M]+SHA256_W$1[M]|0,O=(rotr$1(r,2)^rotr$1(r,13)^rotr$1(r,22))+Maj$1(r,o,s)|0;I=A,A=k,k=y,y=c+T|0,c=s,s=o,o=r,r=T+O|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,y=y+this.E|0,k=k+this.F|0,A=A+this.G|0,I=I+this.H|0,this.set(r,o,s,c,y,k,A,I)}roundClean(){SHA256_W$1.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};class SHA224 extends SHA256$1{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const sha256$1=wrapConstructor$1(()=>new SHA256$1);function assertNumber(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function chain$1(...i){const a=(r,o)=>s=>r(o(s));return{encode:Array.from(i).reverse().reduce((r,o)=>r?a(r,o.encode):o.encode,void 0),decode:i.reduce((r,o)=>r?a(r,o.decode):o.decode,void 0)}}function alphabet$1(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(assertNumber(r),r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join$1(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding$1(i,a="="){if(assertNumber(i),"string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function normalize$1(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:a=>a,decode:a=>i(a)}}function convertRadix$1(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(assertNumber(y),y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let A=o;Anew SHA224);const gcd$1=(i,a)=>a?gcd$1(a,i%a):i,radix2carry$1=(i,a)=>i+(a-gcd$1(i,a));function convertRadix2$1(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry$1(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry$1(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const A of i){if(assertNumber(A),A>=2**a)throw new Error(`convertRadix2: invalid data word=${A} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix$1(i){return assertNumber(i),{encode:a=>{if(!(a instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return convertRadix$1(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(convertRadix$1(a,i,256))}}}function radix2$1(i,a=!1){if(assertNumber(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry$1(8,i)>32||radix2carry$1(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2$1(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(convertRadix2$1(r,i,8,a))}}}function unsafeWrapper$1(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}const base16=chain$1(radix2$1(4),alphabet$1("0123456789ABCDEF"),join$1("")),base32=chain$1(radix2$1(5),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),padding$1(5),join$1(""));chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHIJKLMNOPQRSTUV"),padding$1(5),join$1("")),chain$1(radix2$1(5),alphabet$1("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),join$1(""),normalize$1(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")));const base64$1=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),padding$1(6),join$1("")),base64url=chain$1(radix2$1(6),alphabet$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),padding$1(6),join$1("")),genBase58$1=i=>chain$1(radix$1(58),alphabet$1(i),join$1("")),base58$1=genBase58$1("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");genBase58$1("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),genBase58$1("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const XMR_BLOCK_LEN=[0,2,3,5,6,7,9,10,11],base58xmr={encode(i){let a="";for(let r=0;r>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS$1[o]);return r}function bechChecksum$1(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod$1(s)^y>>5}s=bech32Polymod$1(s);for(let c=0;cA)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${A})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const M=(k=I).lastIndexOf("1");if(0===M||-1===M)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,M),O=k.slice(M+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET$1.decode(O).slice(0,-6),Y=bechChecksum$1(T,L,a);if(!O.endsWith(Y))throw new Error(`Invalid checksum in ${k}: expected "${Y}"`);return{prefix:T,words:L}}return{encode:function(k,A,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof A);const M=k.length+7+A.length;if(!1!==I&&M>I)throw new TypeError(`Length ${M} exceeds limit ${I}`);return`${k=k.toLowerCase()}1${BECH_ALPHABET$1.encode(A)}${bechChecksum$1(k,A,a)}`},decode:y,decodeToBytes:function(k){const{prefix:A,words:I}=y(k,!1);return{prefix:A,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper$1(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32$1=genBech32$1("bech32");genBech32$1("bech32m");const utf8={encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)},hex=chain$1(radix2$1(4),alphabet$1("0123456789abcdef"),join$1(""),normalize$1(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()})),CODERS={utf8,hex,base16,base32,base64:base64$1,base64url,base58:base58$1,base58xmr};Object.keys(CODERS).join(", ");const wordlist="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n");function number$1(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function bool$1(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)}function isBytes$2(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function bytes$1(i,...a){if(!isBytes$2(i))throw new Error("Expected Uint8Array");if(a.length>0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash$1(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");number$1(i.outputLen),number$1(i.blockLen)}function exists$1(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output$1(i,a){bytes$1(i);const r=a.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength),rotr=(i,a)=>i<<32-a|i>>>a,isLE$1=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE$1)throw new Error("Non little-endian hardware is not supported");const hexes=Array.from({length:256},(i,a)=>a.toString(16).padStart(2,"0"));function bytesToHex(i){if(!isBytes$1(i))throw new Error("Uint8Array expected");let a="";for(let r=0;r=asciis._0&&i<=asciis._9?i-asciis._0:i>=asciis._A&&i<=asciis._F?i-(asciis._A-10):i>=asciis._a&&i<=asciis._f?i-(asciis._a-10):void 0}function hexToBytes(i){if("string"!=typeof i)throw new Error("hex string expected, got "+typeof i);const a=i.length,r=a/2;if(a%2)throw new Error("padded hex string expected, got unpadded hex of length "+a);const o=new Uint8Array(r);for(let s=0,c=0;si().update(toBytes$1(o)).digest(),r=i();return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=()=>i(),a}function randomBytes(i=32){if(crypto$1&&"function"==typeof crypto$1.getRandomValues)return crypto$1.getRandomValues(new Uint8Array(i));throw new Error("crypto.getRandomValues must be defined")}let HMAC$1=class extends Hash{constructor(i,a){super(),this.finished=!1,this.destroyed=!1,hash$1(i);const r=toBytes$1(a);if(this.iHash=i.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?i.create().update(r).digest():r);for(let c=0;cnew HMAC$1(i,a).update(r).digest();function pbkdf2Init(i,a,r,o){hash$1(i);const s=checkOpts$1({dkLen:32,asyncTick:10},o),{c,dkLen:y,asyncTick:k}=s;if(number$1(c),number$1(y),number$1(k),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const A=toBytes$1(a),I=toBytes$1(r),M=new Uint8Array(y),T=hmac$1.create(i,A),O=T._cloneInto().update(I);return{c,dkLen:y,asyncTick:k,DK:M,PRF:T,PRFSalt:O}}function pbkdf2Output(i,a,r,o,s){return i.destroy(),a.destroy(),o&&o.destroy(),s.fill(0),r}function pbkdf2(i,a,r,o){const{c:s,dkLen:c,DK:y,PRF:k,PRFSalt:A}=pbkdf2Init(i,a,r,o);let I;const M=new Uint8Array(4),T=createView(M),O=new Uint8Array(k.outputLen);for(let L=1,Y=0;Y>s&c),k=Number(r&c),I=o?0:4;i.setUint32(a+(o?4:0),y,o),i.setUint32(a+I,k,o)}hmac$1.create=(i,a)=>new HMAC$1(i,a);class SHA2 extends Hash{constructor(a,r,o,s){super(),this.blockLen=a,this.outputLen=r,this.padOffset=o,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(a),this.view=createView(this.buffer)}update(a){exists$1(this);const{view:r,buffer:o,blockLen:s}=this,c=(a=toBytes$1(a)).length;for(let y=0;ys-y&&(this.process(o,0),y=0);for(let T=y;TM.length)throw new Error("_sha2: outputLen bigger than state");for(let T=0;Ti&a^~i&r,Maj=(i,a,r)=>i&a^i&r^a&r,SHA256_K=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),IV=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),SHA256_W=new Uint32Array(64);class SHA256 extends SHA2{constructor(){super(64,32,8,!1),this.A=0|IV[0],this.B=0|IV[1],this.C=0|IV[2],this.D=0|IV[3],this.E=0|IV[4],this.F=0|IV[5],this.G=0|IV[6],this.H=0|IV[7]}get(){const{A:a,B:r,C:o,D:s,E:c,F:y,G:k,H:A}=this;return[a,r,o,s,c,y,k,A]}set(a,r,o,s,c,y,k,A){this.A=0|a,this.B=0|r,this.C=0|o,this.D=0|s,this.E=0|c,this.F=0|y,this.G=0|k,this.H=0|A}process(a,r){for(let T=0;T<16;T++,r+=4)SHA256_W[T]=a.getUint32(r,!1);for(let T=16;T<64;T++){const O=SHA256_W[T-15],L=SHA256_W[T-2],Y=rotr(O,7)^rotr(O,18)^O>>>3,z=rotr(L,17)^rotr(L,19)^L>>>10;SHA256_W[T]=z+SHA256_W[T-7]+Y+SHA256_W[T-16]|0}let{A:o,B:s,C:c,D:y,E:k,F:A,G:I,H:M}=this;for(let T=0;T<64;T++){const O=M+(rotr(k,6)^rotr(k,11)^rotr(k,25))+Chi(k,A,I)+SHA256_K[T]+SHA256_W[T]|0,L=(rotr(o,2)^rotr(o,13)^rotr(o,22))+Maj(o,s,c)|0;M=I,I=A,A=k,k=y+O|0,y=c,c=s,s=o,o=O+L|0}o=o+this.A|0,s=s+this.B|0,c=c+this.C|0,y=y+this.D|0,k=k+this.E|0,A=A+this.F|0,I=I+this.G|0,M=M+this.H|0,this.set(o,s,c,y,k,A,I,M)}roundClean(){SHA256_W.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const sha256=wrapConstructor(()=>new SHA256),U32_MASK64=BigInt(2**32-1),_32n=BigInt(32);function fromBig(i,a=!1){return a?{h:Number(i&U32_MASK64),l:Number(i>>_32n&U32_MASK64)}:{h:0|Number(i>>_32n&U32_MASK64),l:0|Number(i&U32_MASK64)}}function split(i,a=!1){let r=new Uint32Array(i.length),o=new Uint32Array(i.length);for(let s=0;sBigInt(i>>>0)<<_32n|BigInt(a>>>0),shrSH=(i,a,r)=>i>>>r,shrSL=(i,a,r)=>i<<32-r|a>>>r,rotrSH=(i,a,r)=>i>>>r|a<<32-r,rotrSL=(i,a,r)=>i<<32-r|a>>>r,rotrBH=(i,a,r)=>i<<64-r|a>>>r-32,rotrBL=(i,a,r)=>i>>>r-32|a<<64-r,rotr32H=(i,a)=>a,rotr32L=(i,a)=>i,rotlSH=(i,a,r)=>i<>>32-r,rotlSL=(i,a,r)=>a<>>32-r,rotlBH=(i,a,r)=>a<>>64-r,rotlBL=(i,a,r)=>i<>>64-r;function add(i,a,r,o){const s=(a>>>0)+(o>>>0);return{h:i+r+(s/2**32|0)|0,l:0|s}}const add3L=(i,a,r)=>(i>>>0)+(a>>>0)+(r>>>0),add3H=(i,a,r,o)=>a+r+o+(i/2**32|0)|0,add4L=(i,a,r,o)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0),add4H=(i,a,r,o,s)=>a+r+o+s+(i/2**32|0)|0,add5L=(i,a,r,o,s)=>(i>>>0)+(a>>>0)+(r>>>0)+(o>>>0)+(s>>>0),add5H=(i,a,r,o,s,c)=>a+r+o+s+c+(i/2**32|0)|0,u64={fromBig,split,toBig,shrSH,shrSL,rotrSH,rotrSL,rotrBH,rotrBL,rotr32H,rotr32L,rotlSH,rotlSL,rotlBH,rotlBL,add,add3L,add3H,add4L,add4H,add5H,add5L},[SHA512_Kh,SHA512_Kl]=u64.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),SHA512_W_H=new Uint32Array(80),SHA512_W_L=new Uint32Array(80);class SHA512 extends SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:a,Al:r,Bh:o,Bl:s,Ch:c,Cl:y,Dh:k,Dl:A,Eh:I,El:M,Fh:T,Fl:O,Gh:L,Gl:Y,Hh:z,Hl:q}=this;return[a,r,o,s,c,y,k,A,I,M,T,O,L,Y,z,q]}set(a,r,o,s,c,y,k,A,I,M,T,O,L,Y,z,q){this.Ah=0|a,this.Al=0|r,this.Bh=0|o,this.Bl=0|s,this.Ch=0|c,this.Cl=0|y,this.Dh=0|k,this.Dl=0|A,this.Eh=0|I,this.El=0|M,this.Fh=0|T,this.Fl=0|O,this.Gh=0|L,this.Gl=0|Y,this.Hh=0|z,this.Hl=0|q}process(a,r){for(let tt=0;tt<16;tt++,r+=4)SHA512_W_H[tt]=a.getUint32(r),SHA512_W_L[tt]=a.getUint32(r+=4);for(let tt=16;tt<80;tt++){const vt=0|SHA512_W_H[tt-15],Mt=0|SHA512_W_L[tt-15],$t=u64.rotrSH(vt,Mt,1)^u64.rotrSH(vt,Mt,8)^u64.shrSH(vt,Mt,7),St=u64.rotrSL(vt,Mt,1)^u64.rotrSL(vt,Mt,8)^u64.shrSL(vt,Mt,7),kt=0|SHA512_W_H[tt-2],nt=0|SHA512_W_L[tt-2],at=u64.rotrSH(kt,nt,19)^u64.rotrBH(kt,nt,61)^u64.shrSH(kt,nt,6),rt=u64.rotrSL(kt,nt,19)^u64.rotrBL(kt,nt,61)^u64.shrSL(kt,nt,6),yt=u64.add4L(St,rt,SHA512_W_L[tt-7],SHA512_W_L[tt-16]),Ct=u64.add4H(yt,$t,at,SHA512_W_H[tt-7],SHA512_W_H[tt-16]);SHA512_W_H[tt]=0|Ct,SHA512_W_L[tt]=0|yt}let{Ah:o,Al:s,Bh:c,Bl:y,Ch:k,Cl:A,Dh:I,Dl:M,Eh:T,El:O,Fh:L,Fl:Y,Gh:z,Gl:q,Hh:ct,Hl:dt}=this;for(let tt=0;tt<80;tt++){const vt=u64.rotrSH(T,O,14)^u64.rotrSH(T,O,18)^u64.rotrBH(T,O,41),Mt=u64.rotrSL(T,O,14)^u64.rotrSL(T,O,18)^u64.rotrBL(T,O,41),$t=T&L^~T&z,kt=u64.add5L(dt,Mt,O&Y^~O&q,SHA512_Kl[tt],SHA512_W_L[tt]),nt=u64.add5H(kt,ct,vt,$t,SHA512_Kh[tt],SHA512_W_H[tt]),at=0|kt,rt=u64.rotrSH(o,s,28)^u64.rotrBH(o,s,34)^u64.rotrBH(o,s,39),yt=u64.rotrSL(o,s,28)^u64.rotrBL(o,s,34)^u64.rotrBL(o,s,39),Ct=o&c^o&k^c&k,Vt=s&y^s&A^y&A;ct=0|z,dt=0|q,z=0|L,q=0|Y,L=0|T,Y=0|O,({h:T,l:O}=u64.add(0|I,0|M,0|nt,0|at)),I=0|k,M=0|A,k=0|c,A=0|y,c=0|o,y=0|s;const Xt=u64.add3L(at,yt,Vt);o=u64.add3H(Xt,nt,rt,Ct),s=0|Xt}({h:o,l:s}=u64.add(0|this.Ah,0|this.Al,0|o,0|s)),({h:c,l:y}=u64.add(0|this.Bh,0|this.Bl,0|c,0|y)),({h:k,l:A}=u64.add(0|this.Ch,0|this.Cl,0|k,0|A)),({h:I,l:M}=u64.add(0|this.Dh,0|this.Dl,0|I,0|M)),({h:T,l:O}=u64.add(0|this.Eh,0|this.El,0|T,0|O)),({h:L,l:Y}=u64.add(0|this.Fh,0|this.Fl,0|L,0|Y)),({h:z,l:q}=u64.add(0|this.Gh,0|this.Gl,0|z,0|q)),({h:ct,l:dt}=u64.add(0|this.Hh,0|this.Hl,0|ct,0|dt)),this.set(o,s,c,y,k,A,I,M,T,O,L,Y,z,q,ct,dt)}roundClean(){SHA512_W_H.fill(0),SHA512_W_L.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const sha512=wrapConstructor(()=>new SHA512);function isBytes(i){return i instanceof Uint8Array||null!=i&&"object"==typeof i&&"Uint8Array"===i.constructor.name}function chain(...i){const a=o=>o,r=(o,s)=>c=>o(s(c));return{encode:i.map(o=>o.encode).reduceRight(r,a),decode:i.map(o=>o.decode).reduce(r,a)}}function alphabet(i){return{encode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("alphabet.encode input should be an array of numbers");return a.map(r=>{if(r<0||r>=i.length)throw new Error(`Digit index outside alphabet: ${r} (alphabet: ${i.length})`);return i[r]})},decode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("alphabet.decode input should be array of strings");return a.map(r=>{if("string"!=typeof r)throw new Error(`alphabet.decode: not string element=${r}`);const o=i.indexOf(r);if(-1===o)throw new Error(`Unknown letter: "${r}". Allowed: ${i}`);return o})}}}function join(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:a=>{if(!Array.isArray(a)||a.length&&"string"!=typeof a[0])throw new Error("join.encode input should be array of strings");for(let r of a)if("string"!=typeof r)throw new Error(`join.encode: non-string input=${r}`);return a.join(i)},decode:a=>{if("string"!=typeof a)throw new Error("join.decode input should be string");return a.split(i)}}}function padding(i,a="="){if("string"!=typeof a)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let o of r)if("string"!=typeof o)throw new Error(`padding.encode: non-string input=${o}`);for(;r.length*i%8;)r.push(a);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let s of r)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let o=r.length;if(o*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;o>0&&r[o-1]===a;o--)if(!((o-1)*i%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,o)}}}function convertRadix(i,a,r){if(a<2)throw new Error(`convertRadix: wrong from=${a}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let o=0;const s=[],c=Array.from(i);for(c.forEach(y=>{if(y<0||y>=a)throw new Error(`Wrong integer: ${y}`)});;){let y=0,k=!0;for(let A=o;Aa?gcd(a,i%a):i,radix2carry=(i,a)=>i+(a-gcd(i,a));function convertRadix2(i,a,r,o){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(a<=0||a>32)throw new Error(`convertRadix2: wrong from=${a}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(radix2carry(a,r)>32)throw new Error(`convertRadix2: carry overflow from=${a} to=${r} carryBits=${radix2carry(a,r)}`);let s=0,c=0;const y=2**r-1,k=[];for(const A of i){if(A>=2**a)throw new Error(`convertRadix2: invalid data word=${A} from=${a}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${c} from=${a}`);for(c+=a;c>=r;c-=r)k.push((s>>c-r&y)>>>0);s&=2**c-1}if(s=s<=a)throw new Error("Excess padding");if(!o&&s)throw new Error(`Non-zero padding: ${s}`);return o&&c>0&&k.push(s>>>0),k}function radix(i){return{encode:a=>{if(!isBytes(a))throw new Error("radix.encode input should be Uint8Array");return convertRadix(Array.from(a),256,i)},decode:a=>{if(!Array.isArray(a)||a.length&&"number"!=typeof a[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(convertRadix(a,i,256))}}}function radix2(i,a=!1){if(i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(radix2carry(8,i)>32||radix2carry(i,8)>32)throw new Error("radix2: carry overflow");return{encode:r=>{if(!isBytes(r))throw new Error("radix2.encode input should be Uint8Array");return convertRadix2(Array.from(r),8,i,!a)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(convertRadix2(r,i,8,a))}}}function unsafeWrapper(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...a){try{return i.apply(null,a)}catch{}}}function checksum(i,a){if("function"!=typeof a)throw new Error("checksum fn should be function");return{encode(r){if(!isBytes(r))throw new Error("checksum.encode: input should be Uint8Array");const o=a(r).slice(0,i),s=new Uint8Array(r.length+i);return s.set(r),s.set(o,r.length),s},decode(r){if(!isBytes(r))throw new Error("checksum.decode: input should be Uint8Array");const o=r.slice(0,-i),s=a(o).slice(0,i),c=r.slice(-i);for(let y=0;ychain(radix(58),alphabet(i),join("")),base58=genBase58("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),createBase58check=i=>chain(checksum(4,a=>i(i(a))),base58),base58check$1=createBase58check,BECH_ALPHABET=chain(alphabet("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),join("")),POLYMOD_GENERATORS=[996825010,642813549,513874426,1027748829,705979059];function bech32Polymod(i){const a=i>>25;let r=(33554431&i)<<5;for(let o=0;o>o&1)&&(r^=POLYMOD_GENERATORS[o]);return r}function bechChecksum(i,a,r=1){const o=i.length;let s=1;for(let c=0;c126)throw new Error(`Invalid prefix (${i})`);s=bech32Polymod(s)^y>>5}s=bech32Polymod(s);for(let c=0;cA)throw new TypeError(`Wrong string length: ${k.length} (${k}). Expected (8..${A})`);const I=k.toLowerCase();if(k!==I&&k!==k.toUpperCase())throw new Error("String must be lowercase or uppercase");const M=(k=I).lastIndexOf("1");if(0===M||-1===M)throw new Error('Letter "1" must be present between prefix and data only');const T=k.slice(0,M),O=k.slice(M+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const L=BECH_ALPHABET.decode(O).slice(0,-6),Y=bechChecksum(T,L,a);if(!O.endsWith(Y))throw new Error(`Invalid checksum in ${k}: expected "${Y}"`);return{prefix:T,words:L}}return{encode:function(k,A,I=90){if("string"!=typeof k)throw new Error("bech32.encode prefix should be string, not "+typeof k);if(!Array.isArray(A)||A.length&&"number"!=typeof A[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof A);const M=k.length+7+A.length;if(!1!==I&&M>I)throw new TypeError(`Length ${M} exceeds limit ${I}`);const T=k.toLowerCase(),O=bechChecksum(T,A,a);return`${T}1${BECH_ALPHABET.encode(A)}${O}`},decode:y,decodeToBytes:function(k){const{prefix:A,words:I}=y(k,!1);return{prefix:A,words:I,bytes:o(I)}},decodeUnsafe:unsafeWrapper(y),fromWords:o,fromWordsUnsafe:c,toWords:s}}const bech32=genBech32("bech32"),isJapanese=i=>"\u3042\u3044\u3053\u304f\u3057\u3093"===i[0];function nfkd(i){if("string"!=typeof i)throw new TypeError("Invalid mnemonic type: "+typeof i);return i.normalize("NFKD")}function normalize(i){const a=nfkd(i),r=a.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:a,words:r}}function assertEntropy(i){assert$1.bytes(i,16,20,24,28,32)}function generateMnemonic(i,a=128){if(assert$1.number(a),a%32!=0||a>256)throw new TypeError("Invalid entropy");return entropyToMnemonic(randomBytes(a/8),i)}const calcChecksum=i=>{const a=8-i.length/4;return new Uint8Array([sha256(i)[0]>>a<{if("string"!=typeof a)throw new Error(`Wordlist: non-string element: ${a}`)}),utils$1.chain(utils$1.checksum(1,calcChecksum),utils$1.radix2(11,!0),utils$1.alphabet(i))}function mnemonicToEntropy(i,a){const{words:r}=normalize(i),o=getCoder(a).decode(r);return assertEntropy(o),o}function entropyToMnemonic(i,a){return assertEntropy(i),getCoder(a).encode(i).join(isJapanese(a)?"\u3000":" ")}function validateMnemonic(i,a){try{mnemonicToEntropy(i,a)}catch{return!1}return!0}const salt=i=>nfkd(`mnemonic${i}`);function mnemonicToSeedSync(i,a=""){return pbkdf2(sha512,normalize(i).nfkd,salt(a),{c:2048,dkLen:64})}const Rho=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Id=Uint8Array.from({length:16},(i,a)=>a),Pi=Id.map(i=>(9*i+5)%16);let idxL=[Id],idxR=[Pi];for(let i=0;i<4;i++)for(let a of[idxL,idxR])a.push(a[i].map(r=>Rho[r]));const shifts=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),shiftsL=idxL.map((i,a)=>i.map(r=>shifts[a][r])),shiftsR=idxR.map((i,a)=>i.map(r=>shifts[a][r])),Kl=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Kr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),rotl$1=(i,a)=>i<>>32-a;function f(i,a,r,o){return 0===i?a^r^o:1===i?a&r|~a&o:2===i?(a|~r)^o:3===i?a&o|r&~o:a^(r|~o)}const BUF=new Uint32Array(16);class RIPEMD160 extends SHA2{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:a,h1:r,h2:o,h3:s,h4:c}=this;return[a,r,o,s,c]}set(a,r,o,s,c){this.h0=0|a,this.h1=0|r,this.h2=0|o,this.h3=0|s,this.h4=0|c}process(a,r){for(let L=0;L<16;L++,r+=4)BUF[L]=a.getUint32(r,!0);let o=0|this.h0,s=o,c=0|this.h1,y=c,k=0|this.h2,A=k,I=0|this.h3,M=I,T=0|this.h4,O=T;for(let L=0;L<5;L++){const Y=4-L,z=Kl[L],q=Kr[L],ct=idxL[L],dt=idxR[L],tt=shiftsL[L],vt=shiftsR[L];for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(o+f(L,c,k,I)+BUF[ct[Mt]]+z,tt[Mt])+T|0;o=T,T=I,I=0|rotl$1(k,10),k=c,c=$t}for(let Mt=0;Mt<16;Mt++){const $t=rotl$1(s+f(Y,y,A,M)+BUF[dt[Mt]]+q,vt[Mt])+O|0;s=O,O=M,M=0|rotl$1(A,10),A=y,y=$t}}this.set(this.h1+k+M|0,this.h2+I+O|0,this.h3+T+s|0,this.h4+o+y|0,this.h0+c+A|0)}roundClean(){BUF.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const ripemd160=wrapConstructor(()=>new RIPEMD160),Point=secp256k1.ProjectivePoint,base58check=base58check$1(sha256);function bytesToNumber(i){return BigInt(`0x${bytesToHex(i)}`)}function numberToBytes(i){return hexToBytes(i.toString(16).padStart(64,"0"))}const MASTER_SECRET=utf8ToBytes$1("Bitcoin seed"),BITCOIN_VERSIONS={private:76066276,public:76067358},HARDENED_OFFSET=2147483648,hash160=i=>ripemd160(sha256(i)),fromU32=i=>createView(i).getUint32(0,!1),toU32=i=>{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const a=new Uint8Array(4);return createView(a).setUint32(0,i,!1),a};class HDKey{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return fromU32(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const a=this.privateKey;if(!a)throw new Error("No private key");return base58check.encode(this.serialize(this.versions.private,concatBytes(new Uint8Array([0]),a)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return base58check.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(a,r=BITCOIN_VERSIONS){if(bytes$1(a),8*a.length<128||8*a.length>512)throw new Error(`HDKey: wrong seed length=${a.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const o=hmac$1(sha512,MASTER_SECRET,a);return new HDKey({versions:r,chainCode:o.slice(32),privateKey:o.slice(0,32)})}static fromExtendedKey(a,r=BITCOIN_VERSIONS){const o=base58check.decode(a),s=createView(o),c=s.getUint32(0,!1),y={versions:r,depth:o[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:o.slice(13,45)},k=o.slice(45),A=0===k[0];if(c!==r[A?"private":"public"])throw new Error("Version mismatch");return new HDKey(A?{...y,privateKey:k.slice(1)}:{...y,publicKey:k})}static fromJSON(a){return HDKey.fromExtendedKey(a.xpriv)}constructor(a){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!a||"object"!=typeof a)throw new Error("HDKey.constructor must not be called directly");if(this.versions=a.versions||BITCOIN_VERSIONS,this.depth=a.depth||0,this.chainCode=a.chainCode,this.index=a.index||0,this.parentFingerprint=a.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(a.publicKey&&a.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(a.privateKey){if(!secp256k1.utils.isValidPrivateKey(a.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof a.privateKey?a.privateKey:bytesToNumber(a.privateKey),this.privKeyBytes=numberToBytes(this.privKey),this.pubKey=secp256k1.getPublicKey(a.privateKey,!0)}else{if(!a.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=Point.fromHex(a.publicKey).toRawBytes(!0)}this.pubHash=hash160(this.pubKey)}derive(a){if(!/^[mM]'?/.test(a))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(a))return this;const r=a.replace(/^[mM]'?\//,"").split("/");let o=this;for(const s of r){const c=/^(\d+)('?)$/.exec(s);if(!c||3!==c.length)throw new Error(`Invalid child index: ${s}`);let y=+c[1];if(!Number.isSafeInteger(y)||y>=HARDENED_OFFSET)throw new Error("Invalid index");"'"===c[2]&&(y+=HARDENED_OFFSET),o=o.deriveChild(y)}return o}deriveChild(a){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=toU32(a);if(a>=HARDENED_OFFSET){const k=this.privateKey;if(!k)throw new Error("Could not derive hardened child key");r=concatBytes(new Uint8Array([0]),k,r)}else r=concatBytes(this.pubKey,r);const o=hmac$1(sha512,this.chainCode,r),s=bytesToNumber(o.slice(0,32)),c=o.slice(32);if(!secp256k1.utils.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const y={versions:this.versions,chainCode:c,depth:this.depth+1,parentFingerprint:this.fingerprint,index:a};try{if(this.privateKey){const k=mod(this.privKey+s,secp256k1.CURVE.n);if(!secp256k1.utils.isValidPrivateKey(k))throw new Error("The tweak was out of range or the resulted private key is invalid");y.privateKey=k}else{const k=Point.fromHex(this.pubKey).add(Point.fromPrivateKey(s));if(k.equals(Point.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");y.publicKey=k.toRawBytes(!0)}return new HDKey(y)}catch{return this.deriveChild(a+1)}}sign(a){if(!this.privateKey)throw new Error("No privateKey set!");return bytes$1(a,32),secp256k1.sign(a,this.privKey).toCompactRawBytes()}verify(a,r){if(bytes$1(a,32),bytes$1(r,64),!this.publicKey)throw new Error("No publicKey set!");let o;try{o=secp256k1.Signature.fromCompact(r)}catch{return!1}return secp256k1.verify(o,a,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(a,r){if(!this.chainCode)throw new Error("No chainCode set");return bytes$1(r,33),concatBytes(toU32(a),new Uint8Array([this.depth]),toU32(this.parentFingerprint),toU32(this.index),this.chainCode,r)}}const u8a=i=>i instanceof Uint8Array,u32=i=>new Uint32Array(i.buffer,i.byteOffset,Math.floor(i.byteLength/4)),isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!isLE)throw new Error("Non little-endian hardware is not supported");function utf8ToBytes(i){if("string"!=typeof i)throw new Error("utf8ToBytes expected string, got "+typeof i);return new Uint8Array((new TextEncoder).encode(i))}function toBytes(i){if("string"==typeof i&&(i=utf8ToBytes(i)),!u8a(i))throw new Error("expected Uint8Array, got "+typeof i);return i}const isPlainObject=i=>"[object Object]"===Object.prototype.toString.call(i)&&i.constructor===Object;function checkOpts(i,a){if(void 0!==a&&("object"!=typeof a||!isPlainObject(a)))throw new Error("options must be object or undefined");return Object.assign(i,a)}function ensureBytes(i,a){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");if("number"==typeof a&&i.length!==a)throw new Error(`Uint8Array length ${a} expected`)}function equalBytes(i,a){if(i.length!==a.length)throw new Error("equalBytes: Different size of Uint8Arrays");let r=!0;for(let o=0;o0&&!a.includes(i.length))throw new Error(`Expected Uint8Array of length ${a}, not of length=${i.length}`)}function hash(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("hash must be wrapped by utils.wrapConstructor");number(i.outputLen),number(i.blockLen)}function exists(i,a=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(a&&i.finished)throw new Error("Hash#digest() has already been called")}function output(i,a){bytes(i);const r=a.outputLen;if(i.length255&i[a++]|(255&i[a++])<<8;class Poly1305{constructor(a){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,ensureBytes(a=toBytes(a),32);const r=u8to16(a,0),o=u8to16(a,2),s=u8to16(a,4),c=u8to16(a,6),y=u8to16(a,8),k=u8to16(a,10),A=u8to16(a,12),I=u8to16(a,14);this.r[0]=8191&r,this.r[1]=8191&(r>>>13|o<<3),this.r[2]=7939&(o>>>10|s<<6),this.r[3]=8191&(s>>>7|c<<9),this.r[4]=255&(c>>>4|y<<12),this.r[5]=y>>>1&8190,this.r[6]=8191&(y>>>14|k<<2),this.r[7]=8065&(k>>>11|A<<5),this.r[8]=8191&(A>>>8|I<<8),this.r[9]=I>>>5&127;for(let M=0;M<8;M++)this.pad[M]=u8to16(a,16+2*M)}process(a,r,o=!1){const s=o?0:2048,{h:c,r:y}=this,k=y[0],A=y[1],I=y[2],M=y[3],T=y[4],O=y[5],L=y[6],Y=y[7],z=y[8],q=y[9],ct=u8to16(a,r+0),dt=u8to16(a,r+2),tt=u8to16(a,r+4),vt=u8to16(a,r+6),Mt=u8to16(a,r+8),$t=u8to16(a,r+10),St=u8to16(a,r+12),kt=u8to16(a,r+14);let nt=c[0]+(8191&ct),at=c[1]+(8191&(ct>>>13|dt<<3)),rt=c[2]+(8191&(dt>>>10|tt<<6)),yt=c[3]+(8191&(tt>>>7|vt<<9)),Ct=c[4]+(8191&(vt>>>4|Mt<<12)),Vt=c[5]+(Mt>>>1&8191),Xt=c[6]+(8191&(Mt>>>14|$t<<2)),oe=c[7]+(8191&($t>>>11|St<<5)),Xe=c[8]+(8191&(St>>>8|kt<<8)),kr=c[9]+(kt>>>5|s),gr=0,wr=gr+nt*k+at*(5*q)+rt*(5*z)+yt*(5*Y)+Ct*(5*L);gr=wr>>>13,wr&=8191,wr+=Vt*(5*O)+Xt*(5*T)+oe*(5*M)+Xe*(5*I)+kr*(5*A),gr+=wr>>>13,wr&=8191;let Wr=gr+nt*A+at*k+rt*(5*q)+yt*(5*z)+Ct*(5*Y);gr=Wr>>>13,Wr&=8191,Wr+=Vt*(5*L)+Xt*(5*O)+oe*(5*T)+Xe*(5*M)+kr*(5*I),gr+=Wr>>>13,Wr&=8191;let xe=gr+nt*I+at*A+rt*k+yt*(5*q)+Ct*(5*z);gr=xe>>>13,xe&=8191,xe+=Vt*(5*Y)+Xt*(5*L)+oe*(5*O)+Xe*(5*T)+kr*(5*M),gr+=xe>>>13,xe&=8191;let Le=gr+nt*M+at*I+rt*A+yt*k+Ct*(5*q);gr=Le>>>13,Le&=8191,Le+=Vt*(5*z)+Xt*(5*Y)+oe*(5*L)+Xe*(5*O)+kr*(5*T),gr+=Le>>>13,Le&=8191;let gt=gr+nt*T+at*M+rt*I+yt*A+Ct*k;gr=gt>>>13,gt&=8191,gt+=Vt*(5*q)+Xt*(5*z)+oe*(5*Y)+Xe*(5*L)+kr*(5*O),gr+=gt>>>13,gt&=8191;let Nt=gr+nt*O+at*T+rt*M+yt*I+Ct*A;gr=Nt>>>13,Nt&=8191,Nt+=Vt*k+Xt*(5*q)+oe*(5*z)+Xe*(5*Y)+kr*(5*L),gr+=Nt>>>13,Nt&=8191;let Se=gr+nt*L+at*O+rt*T+yt*M+Ct*I;gr=Se>>>13,Se&=8191,Se+=Vt*A+Xt*k+oe*(5*q)+Xe*(5*z)+kr*(5*Y),gr+=Se>>>13,Se&=8191;let Rt=gr+nt*Y+at*L+rt*O+yt*T+Ct*M;gr=Rt>>>13,Rt&=8191,Rt+=Vt*I+Xt*A+oe*k+Xe*(5*q)+kr*(5*z),gr+=Rt>>>13,Rt&=8191;let de=gr+nt*z+at*Y+rt*L+yt*O+Ct*T;gr=de>>>13,de&=8191,de+=Vt*M+Xt*I+oe*A+Xe*k+kr*(5*q),gr+=de>>>13,de&=8191;let jt=gr+nt*q+at*z+rt*Y+yt*L+Ct*O;gr=jt>>>13,jt&=8191,jt+=Vt*T+Xt*M+oe*I+Xe*A+kr*k,gr+=jt>>>13,jt&=8191,gr=(gr<<2)+gr|0,gr=gr+wr|0,wr=8191&gr,gr>>>=13,Wr+=gr,c[0]=wr,c[1]=Wr,c[2]=xe,c[3]=Le,c[4]=gt,c[5]=Nt,c[6]=Se,c[7]=Rt,c[8]=de,c[9]=jt}finalize(){const{h:a,pad:r}=this,o=new Uint16Array(10);let s=a[1]>>>13;a[1]&=8191;for(let k=2;k<10;k++)a[k]+=s,s=a[k]>>>13,a[k]&=8191;a[0]+=5*s,s=a[0]>>>13,a[0]&=8191,a[1]+=s,s=a[1]>>>13,a[1]&=8191,a[2]+=s,o[0]=a[0]+5,s=o[0]>>>13,o[0]&=8191;for(let k=1;k<10;k++)o[k]=a[k]+s,s=o[k]>>>13,o[k]&=8191;o[9]-=8192;let c=(1^s)-1;for(let k=0;k<10;k++)o[k]&=c;c=~c;for(let k=0;k<10;k++)a[k]=a[k]&c|o[k];a[0]=65535&(a[0]|a[1]<<13),a[1]=65535&(a[1]>>>3|a[2]<<10),a[2]=65535&(a[2]>>>6|a[3]<<7),a[3]=65535&(a[3]>>>9|a[4]<<4),a[4]=65535&(a[4]>>>12|a[5]<<1|a[6]<<14),a[5]=65535&(a[6]>>>2|a[7]<<11),a[6]=65535&(a[7]>>>5|a[8]<<8),a[7]=65535&(a[8]>>>8|a[9]<<5);let y=a[0]+r[0];a[0]=65535&y;for(let k=1;k<8;k++)y=(a[k]+r[k]|0)+(y>>>16)|0,a[k]=65535&y}update(a){assert.exists(this);const{buffer:r,blockLen:o}=this,s=(a=toBytes(a)).length;for(let c=0;c>>0,a[c++]=o[y]>>>8;return a}digest(){const{buffer:a,outputLen:r}=this;this.digestInto(a);const o=a.slice(0,r);return this.destroy(),o}}function wrapConstructorWithKey(i){const a=(o,s)=>i(s).update(toBytes(o)).digest(),r=i(new Uint8Array(32));return a.outputLen=r.outputLen,a.blockLen=r.blockLen,a.create=o=>i(o),a}wrapConstructorWithKey(i=>new Poly1305(i));const sigma16=utf8ToBytes("expand 16-byte k"),sigma32=utf8ToBytes("expand 32-byte k"),sigma16_32=u32(sigma16),sigma32_32=u32(sigma32),isAligned32=i=>!(i.byteOffset%4),salsaBasic=i=>{const{core:a,rounds:r,counterRight:o,counterLen:s,allow128bitKeys:c,extendNonceFn:y,blockLen:k}=checkOpts({rounds:20,counterRight:!1,counterLen:8,allow128bitKeys:!0,blockLen:64},i);assert.number(s),assert.number(r),assert.number(k),assert.bool(o),assert.bool(c);const A=k/4;if(k%4!=0)throw new Error("Salsa/ChaCha: blockLen must be aligned to 4 bytes");return(I,M,T,O,L=0)=>{if(assert.bytes(I),assert.bytes(M),assert.bytes(T),O||(O=new Uint8Array(T.length)),assert.bytes(O),assert.number(L),L<0||L>=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");if(O.length=2**32-1)throw new Error("Salsa/ChaCha: counter overflow");const rt=Math.min(k,kt-nt);if(rt===k&&St&&$t){const yt=nt/4;if(nt%4!=0)throw new Error("Salsa/ChaCha: invalid block position");for(let Ct=0;Cti<>>32-a;function chachaCore(i,a,r,o,s,c=20){let y=i[0],k=i[1],A=i[2],I=i[3],M=a[0],T=a[1],O=a[2],L=a[3],Y=a[4],z=a[5],q=a[6],ct=a[7],dt=s,tt=r[0],vt=r[1],Mt=r[2],$t=y,St=k,kt=A,nt=I,at=M,rt=T,yt=O,Ct=L,Vt=Y,Xt=z,oe=q,Xe=ct,kr=dt,gr=tt,wr=vt,Wr=Mt;for(let Le=0;Les?a.create().update(o).digest():o);for(let y=0;ynew HMAC(i,a).update(r).digest();function extract$1(i,a,r){return assert$2.hash(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac(i,toBytes$2(r),toBytes$2(a))}hmac.create=(i,a)=>new HMAC(i,a);const HKDF_COUNTER$1=new Uint8Array([0]),EMPTY_BUFFER$1=new Uint8Array;function expand$1(i,a,r,o=32){if(assert$2.hash(i),assert$2.number(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER$1);const c=new Uint8Array(s*i.outputLen),y=hmac.create(i,a),k=y._cloneInto(),A=new Uint8Array(y.outputLen);for(let I=0;Iexpand$1(i,extract$1(i,a,r),o,s);var __defProp=Object.defineProperty,__export=(i,a)=>{for(var r in a)__defProp(i,r,{get:a[r],enumerable:!0})};function generatePrivateKey(){return bytesToHex$1(schnorr.utils.randomPrivateKey())}function getPublicKey(i){return bytesToHex$1(schnorr.getPublicKey(i))}var utils_exports={};__export(utils_exports,{MessageNode:()=>MessageNode,MessageQueue:()=>MessageQueue,insertEventIntoAscendingList:()=>insertEventIntoAscendingList,insertEventIntoDescendingList:()=>insertEventIntoDescendingList,normalizeURL:()=>normalizeURL,utf8Decoder:()=>utf8Decoder,utf8Encoder:()=>utf8Encoder});var utf8Decoder=new TextDecoder("utf-8"),utf8Encoder=new TextEncoder;function normalizeURL(i){let a=new URL(i);return a.pathname=a.pathname.replace(/\/+/g,"/"),a.pathname.endsWith("/")&&(a.pathname=a.pathname.slice(0,-1)),("80"===a.port&&"ws:"===a.protocol||"443"===a.port&&"wss:"===a.protocol)&&(a.port=""),a.searchParams.sort(),a.hash="",a.toString()}function insertEventIntoDescendingList(i,a){let r,o=0,s=i.length-1,c=o;if(s<0)c=0;else if(a.created_at=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_at>a.created_at)o=r;else{if(!(i[r].created_ati[s].created_at)c=s+1;else if(a.created_at<=i[o].created_at)c=o;else for(;;){if(s<=o+1){c=s;break}if(r=Math.floor(o+(s-o)/2),i[r].created_ata.created_at)){c=r;break}s=r}}return i[c]?.id!==a.id?[...i.slice(0,c),a,...i.slice(c)]:i}var MessageNode=class{_value;_next;get value(){return this._value}set value(i){this._value=i}get next(){return this._next}set next(i){this._next=i}constructor(i){this._value=i,this._next=null}},MessageQueue=class{_first;_last;get first(){return this._first}set first(i){this._first=i}get last(){return this._last}set last(i){this._last=i}_size;get size(){return this._size}set size(i){this._size=i}constructor(){this._first=null,this._last=null,this._size=0}enqueue(i){const a=new MessageNode(i);return 0!==this._size&&this._last?(this._last.next=a,this._last=a):(this._first=a,this._last=a),this._size++,!0}dequeue(){if(0===this._size||!this._first)return null;let i=this._first;return this._first=i.next,i.next=null,this._size--,i.value}},verifiedSymbol=Symbol("verified");function getBlankEvent(i=255){return{kind:i,content:"",tags:[],created_at:0}}function finishEvent(i,a){const r=i;return r.pubkey=getPublicKey(a),r.id=getEventHash(r),r.sig=getSignature(r,a),r[verifiedSymbol]=!0,r}function serializeEvent(i){if(!validateEvent(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}function getEventHash(i){return bytesToHex$1(sha256$1(utf8Encoder.encode(serializeEvent(i))))}var isRecord=i=>i instanceof Object;function validateEvent(i){if(!isRecord(i)||"number"!=typeof i.kind||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let a=0;aa.id.startsWith(r))||i.kinds&&-1===i.kinds.indexOf(a.kind)||i.authors&&-1===i.authors.indexOf(a.pubkey)&&!i.authors.some(r=>a.pubkey.startsWith(r)))return!1;for(let r in i)if("#"===r[0]){let o=i[`#${r.slice(1)}`];if(o&&!a.tags.find(([s,c])=>s===r.slice(1)&&-1!==o.indexOf(c)))return!1}return!(i.since&&a.created_ati.until)}function matchFilters(i,a){for(let r=0;rgetHex64,getInt:()=>getInt,getSubscriptionId:()=>getSubscriptionId,matchEventId:()=>matchEventId,matchEventKind:()=>matchEventKind,matchEventPubkey:()=>matchEventPubkey});var newListeners=()=>({connect:[],disconnect:[],error:[],notice:[],auth:[]});function relayInit(i,a={}){let{listTimeout:r=3e3,getTimeout:o=3e3,countTimeout:s=3e3}=a;var c,y,k={},A=newListeners(),I={},M={};function T(){return 1===c?.readyState}function O(q){return L.apply(this,arguments)}function L(){return(L=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct=JSON.stringify(q);if(T()||(yield new Promise(dt=>setTimeout(dt,1e3)),T()))try{c.send(ct)}catch(dt){console.log(dt)}})).apply(this,arguments)}const Y=(q,{verb:ct="REQ",skipVerification:dt=!1,alreadyHaveEvent:tt=null,id:vt=Math.random().toString().slice(2)}={})=>{let Mt=vt;k[Mt]={id:Mt,filters:q,skipVerification:dt,alreadyHaveEvent:tt},O([ct,Mt,...q]);let $t={sub:(St,kt={})=>Y(St||q,{skipVerification:kt.skipVerification||dt,alreadyHaveEvent:kt.alreadyHaveEvent||tt,id:Mt}),unsub:()=>{delete k[Mt],delete I[Mt],O(["CLOSE",Mt])},on:(St,kt)=>{I[Mt]=I[Mt]||{event:[],count:[],eose:[]},I[Mt][St].push(kt)},off:(St,kt)=>{let nt=I[Mt],at=nt[St].indexOf(kt);at>=0&&nt[St].splice(at,1)},get events(){return eventsGenerator($t)}};return $t};function z(q,ct){return new Promise((dt,tt)=>{if(!q.id)return void tt(new Error(`event ${q} has no id`));let vt=q.id;O([ct,q]),M[vt]={resolve:dt,reject:tt}})}return{url:i,sub:Y,on:(q,ct)=>{A[q].push(ct),"connect"===q&&1===c?.readyState&&ct()},off:(q,ct)=>{let dt=A[q].indexOf(ct);-1!==dt&&A[q].splice(dt,1)},list:(q,ct)=>new Promise(dt=>{let tt=Y(q,ct),vt=[],Mt=setTimeout(()=>{tt.unsub(),dt(vt)},r);tt.on("eose",()=>{tt.unsub(),clearTimeout(Mt),dt(vt)}),tt.on("event",$t=>{vt.push($t)})}),get:(q,ct)=>new Promise(dt=>{let tt=Y([q],ct),vt=setTimeout(()=>{tt.unsub(),dt(null)},o);tt.on("event",Mt=>{tt.unsub(),clearTimeout(vt),dt(Mt)})}),count:q=>new Promise(ct=>{let dt=Y(q,{...Y,verb:"COUNT"}),tt=setTimeout(()=>{dt.unsub(),ct(null)},s);dt.on("count",vt=>{dt.unsub(),clearTimeout(tt),ct(vt)})}),publish:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield z(q,"EVENT")})(),auth:q=>(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield z(q,"AUTH")})(),connect:(q=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){T()||(yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return y||(y=new Promise((ct,dt)=>{try{c=new WebSocket(i)}catch($t){dt($t)}c.onopen=()=>{A.connect.forEach($t=>$t()),ct()},c.onerror=()=>{y=void 0,A.error.forEach($t=>$t()),dt()},c.onclose=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){y=void 0,A.disconnect.forEach($t=>$t())});let tt,vt=new MessageQueue;function Mt(){if(0===vt.size)return clearInterval(tt),void(tt=null);var $t=vt.dequeue();if(!$t)return;let St=getSubscriptionId($t);if(St){let kt=k[St];if(kt&&kt.alreadyHaveEvent&&kt.alreadyHaveEvent(getHex64($t,"id"),i))return}try{let kt=JSON.parse($t);switch(kt[0]){case"EVENT":{let yt=kt[1],Ct=kt[2];return void(validateEvent(Ct)&&k[yt]&&(k[yt].skipVerification||verifySignature(Ct))&&matchFilters(k[yt].filters,Ct)&&(I[yt]?.event||[]).forEach(Vt=>Vt(Ct)))}case"COUNT":let nt=kt[1],at=kt[2];return void(k[nt]&&(I[nt]?.count||[]).forEach(yt=>yt(at)));case"EOSE":{let yt=kt[1];return void(yt in I&&(I[yt].eose.forEach(Ct=>Ct()),I[yt].eose=[]))}case"OK":{let yt=kt[1],Ct=kt[2],Vt=kt[3]||"";if(yt in M){let{resolve:Xt,reject:oe}=M[yt];Ct?Xt(null):oe(new Error(Vt))}return}case"NOTICE":let rt=kt[1];return void A.notice.forEach(yt=>yt(rt));case"AUTH":{let yt=kt[1];return void A.auth?.forEach(Ct=>Ct(yt))}}}catch{return}}c.onmessage=$t=>{vt.enqueue($t.data),tt||(tt=setInterval(Mt,0))}}))})())}),function(){return q.apply(this,arguments)}),close(){A=newListeners(),I={},M={},c?.readyState===WebSocket.OPEN&&c.close()},get status(){return c?.readyState??3}};var q}function eventsGenerator(i){return _eventsGenerator.apply(this,arguments)}function _eventsGenerator(){return _eventsGenerator=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_wrapAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(i){let a;const r=[],o=s=>{a?(a(s),a=void 0):r.push(s)};i.on("event",o);try{for(;;)r.length>0?yield r.shift():yield yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_awaitAsyncGenerator_js__WEBPACK_IMPORTED_MODULE_2__.A)(new Promise(c=>{a=c}))}finally{i.off("event",o)}}),_eventsGenerator.apply(this,arguments)}var nip19_exports={};__export(nip19_exports,{BECH32_REGEX:()=>BECH32_REGEX,decode:()=>decode,naddrEncode:()=>naddrEncode,neventEncode:()=>neventEncode,noteEncode:()=>noteEncode,nprofileEncode:()=>nprofileEncode,npubEncode:()=>npubEncode,nrelayEncode:()=>nrelayEncode,nsecEncode:()=>nsecEncode});var Bech32MaxSize=5e3,BECH32_REGEX=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function integerToUint8Array(i){const a=new Uint8Array(4);return a[0]=i>>24&255,a[1]=i>>16&255,a[2]=i>>8&255,a[3]=255&i,a}function decode(i){let{prefix:a,words:r}=bech32$1.decode(i,Bech32MaxSize),o=new Uint8Array(bech32$1.fromWords(r));switch(a){case"nprofile":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nevent":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(s[2]&&32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(s[3]&&4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:bytesToHex$1(s[0][0]),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[],author:s[2]?.[0]?bytesToHex$1(s[2][0]):void 0,kind:s[3]?.[0]?parseInt(bytesToHex$1(s[3][0]),16):void 0}}}case"naddr":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:utf8Decoder.decode(s[0][0]),pubkey:bytesToHex$1(s[2][0]),kind:parseInt(bytesToHex$1(s[3][0]),16),relays:s[1]?s[1].map(c=>utf8Decoder.decode(c)):[]}}}case"nrelay":{let s=parseTLV(o);if(!s[0]?.[0])throw new Error("missing TLV 0 for nrelay");return{type:"nrelay",data:utf8Decoder.decode(s[0][0])}}case"nsec":case"npub":case"note":return{type:a,data:bytesToHex$1(o)};default:throw new Error(`unknown prefix ${a}`)}}function parseTLV(i){let a={},r=i;for(;r.length>0;){let o=r[0],s=r[1];if(!s)throw new Error(`malformed TLV ${o}`);let c=r.slice(2,2+s);if(r=r.slice(2+s),c.lengthutf8Encoder.encode(a))}))}function neventEncode(i){let a;return null!=i.kind&&(a=integerToUint8Array(i.kind)),encodeBech32("nevent",encodeTLV({0:[hexToBytes$1(i.id)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:i.author?[hexToBytes$1(i.author)]:[],3:a?[new Uint8Array(a)]:[]}))}function naddrEncode(i){let a=new ArrayBuffer(4);return new DataView(a).setUint32(0,i.kind,!1),encodeBech32("naddr",encodeTLV({0:[utf8Encoder.encode(i.identifier)],1:(i.relays||[]).map(r=>utf8Encoder.encode(r)),2:[hexToBytes$1(i.pubkey)],3:[new Uint8Array(a)]}))}function nrelayEncode(i){return encodeBech32("nrelay",encodeTLV({0:[utf8Encoder.encode(i)]}))}function encodeTLV(i){let a=[];return Object.entries(i).forEach(([r,o])=>{o.forEach(s=>{let c=new Uint8Array(s.length+2);c.set([parseInt(r)],0),c.set([s.length],1),c.set(s,2),a.push(c)})}),concatBytes$1(...a)}var nip04_exports={};function encrypt$1(i,a,r){return _encrypt$.apply(this,arguments)}function _encrypt$(){return _encrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a));let s=Uint8Array.from(randomBytes$1(16)),c=utf8Encoder.encode(r),y=yield crypto.subtle.importKey("raw",o,{name:"AES-CBC"},!1,["encrypt"]),k=yield crypto.subtle.encrypt({name:"AES-CBC",iv:s},y,c);return`${base64$1.encode(new Uint8Array(k))}?iv=${base64$1.encode(new Uint8Array(s.buffer))}`}),_encrypt$.apply(this,arguments)}function decrypt$1(i,a,r){return _decrypt$.apply(this,arguments)}function _decrypt$(){return _decrypt$=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){let[o,s]=r.split("?iv="),c=getNormalizedX(secp256k1.getSharedSecret(i,"02"+a)),y=yield crypto.subtle.importKey("raw",c,{name:"AES-CBC"},!1,["decrypt"]),k=base64$1.decode(o),A=base64$1.decode(s),I=yield crypto.subtle.decrypt({name:"AES-CBC",iv:A},y,k);return utf8Decoder.decode(I)}),_decrypt$.apply(this,arguments)}function getNormalizedX(i){return i.slice(1,33)}__export(nip04_exports,{decrypt:()=>decrypt$1,encrypt:()=>encrypt$1}),typeof crypto<"u"&&!crypto.subtle&&crypto.webcrypto&&(crypto.subtle=crypto.webcrypto.subtle);var nip05_exports={};__export(nip05_exports,{NIP05_REGEX:()=>NIP05_REGEX$1,queryProfile:()=>queryProfile,searchDomain:()=>searchDomain,useFetchImplementation:()=>useFetchImplementation});var NIP05_REGEX$1=/^(?:([\w.+-]+)@)?([\w.-]+)$/,_fetch;try{_fetch=fetch}catch{}function useFetchImplementation(i){_fetch=i}function searchDomain(i){return _searchDomain.apply(this,arguments)}function _searchDomain(){return _searchDomain=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=""){try{return(yield(yield _fetch(`https://${i}/.well-known/nostr.json?name=${a}`)).json()).names}catch{return{}}}),_searchDomain.apply(this,arguments)}function queryProfile(i){return _queryProfile.apply(this,arguments)}function _queryProfile(){return _queryProfile=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){const a=i.match(NIP05_REGEX$1);if(!a)return null;const[r,o="_",s]=a;try{const c=yield _fetch(`https://${s}/.well-known/nostr.json?name=${o}`),{names:y,relays:k}=parseNIP05Result$1(yield c.json()),A=y[o];return A?{pubkey:A,relays:k?.[A]}:null}catch{return null}}),_queryProfile.apply(this,arguments)}function parseNIP05Result$1(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}return a}var nip06_exports={};function privateKeyFromSeedWords(i,a){let r=HDKey.fromMasterSeed(mnemonicToSeedSync(i,a)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return bytesToHex$1(r)}function generateSeedWords(){return generateMnemonic(wordlist)}function validateWords(i){return validateMnemonic(i,wordlist)}__export(nip06_exports,{generateSeedWords:()=>generateSeedWords,privateKeyFromSeedWords:()=>privateKeyFromSeedWords,validateWords:()=>validateWords});var nip10_exports={};function parse(i){const a={reply:void 0,root:void 0,mentions:[],profiles:[]},r=[];for(const o of i.tags)"e"===o[0]&&o[1]&&r.push(o),"p"===o[0]&&o[1]&&a.profiles.push({pubkey:o[1],relays:o[2]?[o[2]]:[]});for(let o=0;oparse});var nip13_exports={};function getPow(i){let a=0;for(let r=0;r=a)break}return o}__export(nip13_exports,{getPow:()=>getPow,minePow:()=>minePow});var nip18_exports={};function finishRepostEvent(i,a,r,o){return finishEvent({kind:6,tags:[...i.tags??[],["e",a.id,r],["p",a.pubkey]],content:""===i.content?"":JSON.stringify(a),created_at:i.created_at},o)}function getRepostedEventPointer(i){if(6!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a?{id:a[1],relays:[a[2],r?.[2]].filter(o=>"string"==typeof o),author:r?.[1]}:void 0}function getRepostedEvent(i,{skipVerification:a}={}){const r=getRepostedEventPointer(i);if(void 0===r||""===i.content)return;let o;try{o=JSON.parse(i.content)}catch{return}return o.id===r.id&&(a||verifySignature(o))?o:void 0}__export(nip18_exports,{finishRepostEvent:()=>finishRepostEvent,getRepostedEvent:()=>getRepostedEvent,getRepostedEventPointer:()=>getRepostedEventPointer});var nip21_exports={};__export(nip21_exports,{NOSTR_URI_REGEX:()=>NOSTR_URI_REGEX,parse:()=>parse2,test:()=>test});var NOSTR_URI_REGEX=new RegExp(`nostr:(${BECH32_REGEX.source})`);function test(i){return"string"==typeof i&&new RegExp(`^${NOSTR_URI_REGEX.source}$`).test(i)}function parse2(i){const a=i.match(new RegExp(`^${NOSTR_URI_REGEX.source}$`));if(!a)throw new Error(`Invalid Nostr URI: ${i}`);return{uri:a[0],value:a[1],decoded:decode(a[1])}}var nip25_exports={};function finishReactionEvent(i,a,r){const o=a.tags.filter(s=>s.length>=2&&("e"===s[0]||"p"===s[0]));return finishEvent({...i,kind:7,tags:[...i.tags??[],...o,["e",a.id],["p",a.pubkey]],content:i.content??"+"},r)}function getReactedEventPointer(i){if(7!==i.kind)return;let a,r;for(let o=i.tags.length-1;o>=0&&(void 0===a||void 0===r);o--){const s=i.tags[o];s.length>=2&&("e"===s[0]&&void 0===a?a=s:"p"===s[0]&&void 0===r&&(r=s))}return void 0!==a&&void 0!==r?{id:a[1],relays:[a[2],r[2]].filter(o=>void 0!==o),author:r[1]}:void 0}__export(nip25_exports,{finishReactionEvent:()=>finishReactionEvent,getReactedEventPointer:()=>getReactedEventPointer});var nip26_exports={};function createDelegation(i,a){let r=[];(a.kind||-1)>=0&&r.push(`kind=${a.kind}`),a.until&&r.push(`created_at<${a.until}`),a.since&&r.push(`created_at>${a.since}`);let o=r.join("&");if(""===o)throw new Error("refusing to create a delegation without any conditions");let s=sha256$1(utf8Encoder.encode(`nostr:delegation:${a.pubkey}:${o}`)),c=bytesToHex$1(schnorr.sign(s,i));return{from:getPublicKey(i),to:a.pubkey,cond:o,sig:c}}function getDelegator(i){let a=i.tags.find(k=>"delegation"===k[0]&&k.length>=4);if(!a)return null;let r=a[1],o=a[2],s=a[3],c=o.split("&");for(let k=0;k"===I&&i.created_at>parseInt(M)))return null}let y=sha256$1(utf8Encoder.encode(`nostr:delegation:${i.pubkey}:${o}`));return schnorr.verify(s,y,r)?r:null}__export(nip26_exports,{createDelegation:()=>createDelegation,getDelegator:()=>getDelegator});var nip27_exports={};__export(nip27_exports,{matchAll:()=>matchAll,regex:()=>regex,replaceAll:()=>replaceAll});var regex=()=>new RegExp(`\\b${NOSTR_URI_REGEX.source}\\b`,"g");function*matchAll(i){const a=i.matchAll(regex());for(const r of a)try{const[o,s]=r;yield{uri:o,value:s,decoded:decode(s),start:r.index,end:r.index+o.length}}catch{}}function replaceAll(i,a){return i.replaceAll(regex(),(r,o)=>a({uri:r,value:o,decoded:decode(o)}))}var nip28_exports={};__export(nip28_exports,{channelCreateEvent:()=>channelCreateEvent,channelHideMessageEvent:()=>channelHideMessageEvent,channelMessageEvent:()=>channelMessageEvent,channelMetadataEvent:()=>channelMetadataEvent,channelMuteUserEvent:()=>channelMuteUserEvent});var channelCreateEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:40,tags:[...i.tags??[]],content:r,created_at:i.created_at},a)},channelMetadataEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:41,tags:[["e",i.channel_create_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMessageEvent=(i,a)=>{const r=[["e",i.channel_create_event_id,i.relay_url,"root"]];return i.reply_to_channel_message_event_id&&r.push(["e",i.reply_to_channel_message_event_id,i.relay_url,"reply"]),finishEvent({kind:42,tags:[...r,...i.tags??[]],content:i.content,created_at:i.created_at},a)},channelHideMessageEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:43,tags:[["e",i.channel_message_event_id],...i.tags??[]],content:r,created_at:i.created_at},a)},channelMuteUserEvent=(i,a)=>{let r;if("object"==typeof i.content)r=JSON.stringify(i.content);else{if("string"!=typeof i.content)return;r=i.content}return finishEvent({kind:44,tags:[["p",i.pubkey_to_mute],...i.tags??[]],content:r,created_at:i.created_at},a)},nip39_exports={},_fetch2;__export(nip39_exports,{useFetchImplementation:()=>useFetchImplementation2,validateGithub:()=>validateGithub});try{_fetch2=fetch}catch{}function useFetchImplementation2(i){_fetch2=i}function validateGithub(i,a,r){return _validateGithub.apply(this,arguments)}function _validateGithub(){return _validateGithub=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){try{return(yield(yield _fetch2(`https://gist.github.com/${a}/${r}/raw`)).text())===`Verifying that I control the following Nostr public key: ${i}`}catch{return!1}}),_validateGithub.apply(this,arguments)}var nip42_exports={};__export(nip42_exports,{authenticate:()=>authenticate});var authenticate=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({challenge:a,relay:r,sign:o}){const s={kind:22242,created_at:Math.floor(Date.now()/1e3),tags:[["relay",r.url],["challenge",a]],content:""};return r.auth(yield o(s))});return function(r){return i.apply(this,arguments)}}(),nip44_exports={};__export(nip44_exports,{decrypt:()=>decrypt2,encrypt:()=>encrypt2,utils:()=>utils});var utils={v2:{maxPlaintextSize:65408,minCiphertextSize:100,maxCiphertextSize:102400,getConversationKey:(i,a)=>secp256k1.getSharedSecret(i,"02"+a).subarray(1,33),getMessageKeys(i,a){const r=hkdf(sha256$1,i,a,"nip44-v2",76);return{encryption:r.subarray(0,32),nonce:r.subarray(32,44),auth:r.subarray(44,76)}},calcPadding(i){if(!Number.isSafeInteger(i)||i<0)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<=utils.v2.maxPlaintextSize)throw new Error("invalid plaintext length: must be between 1b and 64KB");const o=utils.v2.calcPadding(r),s=new Uint8Array(o-r),c=new Uint8Array(2);return new DataView(c.buffer).setUint16(0,r),concatBytes$1(c,a,s)},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(0===a||r.length!==a||i.length!==2+utils.v2.calcPadding(a))throw new Error("invalid padding");return utf8Decoder.decode(r)}}};function encrypt2(i,a,r={}){const o=r.version??2;if(2!==o)throw new Error("unknown encryption version "+o);const s=r.salt??randomBytes$1(32);ensureBytes(s,32);const c=utils.v2.getMessageKeys(i,s),y=utils.v2.pad(a),k=chacha20(c.encryption,c.nonce,y),A=hmac(sha256$1,c.auth,k);return base64$1.encode(concatBytes$1(new Uint8Array([o]),s,k,A))}function decrypt2(i,a){const r=utils.v2;ensureBytes(i,32);const o=a.length;if(o=r.maxCiphertextSize)throw new Error("invalid ciphertext length: "+o);if("#"===a[0])throw new Error("unknown encryption version");let s;try{s=base64$1.decode(a)}catch(T){throw new Error("invalid base64: "+T.message)}const c=s.subarray(0,1)[0];if(2!==c)throw new Error("unknown encryption version "+c);const y=s.subarray(1,33),k=s.subarray(33,-32),A=s.subarray(-32),I=r.getMessageKeys(i,y);if(!equalBytes(hmac(sha256$1,I.auth,k),A))throw new Error("invalid MAC");const M=chacha20(I.encryption,I.nonce,k);return r.unpad(M)}var nip47_exports={};function parseConnectionString(i){const{pathname:a,searchParams:r}=new URL(i),o=a,s=r.get("relay"),c=r.get("secret");if(!o||!s||!c)throw new Error("invalid connection string");return{pubkey:o,relay:s,secret:c}}function makeNwcRequestEvent(i){return _makeNwcRequestEvent.apply(this,arguments)}function _makeNwcRequestEvent(){return _makeNwcRequestEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*({pubkey:i,secret:a,invoice:r}){const o={method:"pay_invoice",params:{invoice:r}},s=yield encrypt$1(a,i,JSON.stringify(o));return finishEvent({kind:23194,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i]]},a)}),_makeNwcRequestEvent.apply(this,arguments)}__export(nip47_exports,{makeNwcRequestEvent:()=>makeNwcRequestEvent,parseConnectionString:()=>parseConnectionString});var nip57_exports={},_fetch3;__export(nip57_exports,{getZapEndpoint:()=>getZapEndpoint,makeZapReceipt:()=>makeZapReceipt,makeZapRequest:()=>makeZapRequest,useFetchImplementation:()=>useFetchImplementation3,validateZapRequest:()=>validateZapRequest});try{_fetch3=fetch}catch{}function useFetchImplementation3(i){_fetch3=i}function getZapEndpoint(i){return _getZapEndpoint.apply(this,arguments)}function _getZapEndpoint(){return _getZapEndpoint=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){try{let a="",{lud06:r,lud16:o}=JSON.parse(i.content);if(r){let{words:y}=bech32$1.decode(r,1e3),k=bech32$1.fromWords(y);a=utf8Decoder.decode(k)}else{if(!o)return null;{let[y,k]=o.split("@");a=`https://${k}/.well-known/lnurlp/${y}`}}let s=yield _fetch3(a),c=yield s.json();if(c.allowsNostr&&c.nostrPubkey)return c.callback}catch{}return null}),_getZapEndpoint.apply(this,arguments)}function makeZapRequest({profile:i,event:a,amount:r,relays:o,comment:s=""}){if(!r)throw new Error("amount not given");if(!i)throw new Error("profile not given");let c={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",i],["amount",r.toString()],["relays",...o]]};return a&&c.tags.push(["e",a]),c}function validateZapRequest(i){let a;try{a=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!validateEvent(a))return"Zap request is not a valid Nostr event.";if(!verifySignature(a))return"Invalid signature on zap request.";let r=a.tags.find(([s,c])=>"p"===s&&c);if(!r)return"Zap request doesn't have a 'p' tag.";if(!r[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let o=a.tags.find(([s,c])=>"e"===s&&c);return o&&!o[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":a.tags.find(([s,c])=>"relays"===s&&c)?null:"Zap request doesn't have a 'relays' tag."}function makeZapReceipt({zapRequest:i,preimage:a,bolt11:r,paidAt:o}){let s=JSON.parse(i).tags.filter(([y])=>"e"===y||"p"===y||"a"===y),c={kind:9735,created_at:Math.round(o.getTime()/1e3),content:"",tags:[...s,["bolt11",r],["description",i]]};return a&&c.tags.push(["preimage",a]),c}var nip98_exports={};__export(nip98_exports,{getToken:()=>getToken,unpackEventFromToken:()=>unpackEventFromToken,validateEvent:()=>validateEvent2,validateToken:()=>validateToken});var _authorizationScheme="Nostr ";function getToken(i,a,r){return _getToken.apply(this,arguments)}function _getToken(){return _getToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r,o=!1){if(!i||!a)throw new Error("Missing loginUrl or httpMethod");const s=getBlankEvent(27235);s.tags=[["u",i],["method",a]],s.created_at=Math.round((new Date).getTime()/1e3);const c=yield r(s);return(o?_authorizationScheme:"")+base64$1.encode(utf8Encoder.encode(JSON.stringify(c)))}),_getToken.apply(this,arguments)}function validateToken(i,a,r){return _validateToken.apply(this,arguments)}function _validateToken(){return _validateToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){const o=yield unpackEventFromToken(i).catch(s=>{throw s});return yield validateEvent2(o,a,r).catch(s=>{throw s})}),_validateToken.apply(this,arguments)}function unpackEventFromToken(i){return _unpackEventFromToken.apply(this,arguments)}function _unpackEventFromToken(){return _unpackEventFromToken=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){if(!i)throw new Error("Missing token");i=i.replace(_authorizationScheme,"");const a=utf8Decoder.decode(base64$1.decode(i));if(!a||0===a.length||!a.startsWith("{"))throw new Error("Invalid token");return JSON.parse(a)}),_unpackEventFromToken.apply(this,arguments)}function validateEvent2(i,a,r){return _validateEvent.apply(this,arguments)}function _validateEvent(){return _validateEvent=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!i)throw new Error("Invalid nostr event");if(!verifySignature(i))throw new Error("Invalid nostr event, signature invalid");if(27235!==i.kind)throw new Error("Invalid nostr event, kind invalid");if(!i.created_at)throw new Error("Invalid nostr event, created_at invalid");if(Math.round((new Date).getTime()/1e3)-i.created_at>60)throw new Error("Invalid nostr event, expired");const o=i.tags.find(c=>"u"===c[0]);if(1!==o?.length&&o?.[1]!==a)throw new Error("Invalid nostr event, url tag invalid");const s=i.tags.find(c=>"method"===c[0]);if(1!==s?.length&&s?.[1].toLowerCase()!==r.toLowerCase())throw new Error("Invalid nostr event, method tag invalid");return!0}),_validateEvent.apply(this,arguments)}var browser={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var i=1e3,a=60*i,r=60*a,o=24*r,s=7*o;function y(k,A,I,M){var T=A>=1.5*I;return Math.round(k/I)+" "+M+(T?"s":"")}return ms=function(k,A){A=A||{};var M,T,I=typeof k;if("string"===I&&k.length>0)return function(M){if(!((M=String(M)).length>100)){var T=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(M);if(T){var O=parseFloat(T[1]);switch((T[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*O;case"weeks":case"week":case"w":return O*s;case"days":case"day":case"d":return O*o;case"hours":case"hour":case"hrs":case"hr":case"h":return O*r;case"minutes":case"minute":case"mins":case"min":case"m":return O*a;case"seconds":case"second":case"secs":case"sec":case"s":return O*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return O;default:return}}}}(k);if("number"===I&&isFinite(k))return A.long?(M=k,(T=Math.abs(M))>=o?y(M,T,o,"day"):T>=r?y(M,T,r,"hour"):T>=a?y(M,T,a,"minute"):T>=i?y(M,T,i,"second"):M+" ms"):function(M){var T=Math.abs(M);return T>=o?Math.round(M/o)+"d":T>=r?Math.round(M/r)+"h":T>=a?Math.round(M/a)+"m":T>=i?Math.round(M/i)+"s":M+"ms"}(k);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(k))}}function setup(i){function a(s){let c,y,k,A=null;function I(...M){if(!I.enabled)return;const T=I,O=Number(new Date);T.diff=O-(c||O),T.prev=c,T.curr=O,c=O,M[0]=a.coerce(M[0]),"string"!=typeof M[0]&&M.unshift("%O");let Y=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(z,q)=>{if("%%"===z)return"%";Y++;const ct=a.formatters[q];return"function"==typeof ct&&(z=ct.call(T,M[Y]),M.splice(Y,1),Y--),z}),a.formatArgs.call(T,M),(T.log||a.log).apply(T,M)}return I.namespace=s,I.useColors=a.useColors(),I.color=a.selectColor(s),I.extend=r,I.destroy=a.destroy,Object.defineProperty(I,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==A?A:(y!==a.namespaces&&(y=a.namespaces,k=a.enabled(s)),k),set:M=>{A=M}}),"function"==typeof a.init&&a.init(I),I}function r(s,c){const y=a(this.namespace+(void 0===c?":":c)+s);return y.log=this.log,y}function o(s){return s.toString().substring(2,s.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(s){return s instanceof Error?s.stack||s.message:s},a.disable=function(){const s=[...a.names.map(o),...a.skips.map(o).map(c=>"-"+c)].join(",");return a.enable(""),s},a.enable=function(s){let c;a.save(s),a.namespaces=s,a.names=[],a.skips=[];const y=("string"==typeof s?s:"").split(/[\s,]+/),k=y.length;for(c=0;c{a[s]=i[s]}),a.names=[],a.skips=[],a.formatters={},a.selectColor=function(s){let c=0;for(let y=0;y{"%%"!==k&&(c++,"%c"===k&&(y=c))}),o.splice(y,0,s)},a.save=function(o){try{o?a.storage.setItem("debug",o):a.storage.removeItem("debug")}catch{}},a.load=function(){let o;try{o=a.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o=process.env.DEBUG),o},a.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},a.storage=function(){try{return localStorage}catch{}}(),a.destroy=(()=>{let o=!1;return()=>{o||(o=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.log=console.debug||console.log||(()=>{}),i.exports=common(a);const{formatters:r}=i.exports;r.j=function(o){try{return JSON.stringify(o)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}}(browser,browser.exports);var browserExports=browser.exports,debug3=getDefaultExportFromCjs(browserExports),dist={},LRUCache$1={},LRUCacheNode$1={};Object.defineProperty(LRUCacheNode$1,"__esModule",{value:!0}),LRUCacheNode$1.LRUCacheNode=void 0;class LRUCacheNode{constructor(a,r,o){const{entryExpirationTimeInMS:s=null,next:c=null,prev:y=null,onEntryEvicted:k,onEntryMarkedAsMostRecentlyUsed:A,clone:I,cloneFn:M}=o??{};if("number"==typeof s&&(s<=0||Number.isNaN(s)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.clone=null!=I&&I,this.cloneFn=M??this.defaultClone,this.key=a,this.internalValue=this.clone?this.cloneFn(r):r,this.created=Date.now(),this.entryExpirationTimeInMS=s,this.next=c,this.prev=y,this.onEntryEvicted=k,this.onEntryMarkedAsMostRecentlyUsed=A}get value(){return this.clone?this.cloneFn(this.internalValue):this.internalValue}get isExpired(){return"number"==typeof this.entryExpirationTimeInMS&&Date.now()-this.created>this.entryExpirationTimeInMS}invokeOnEvicted(){if(this.onEntryEvicted){const{key:a,value:r,isExpired:o}=this;this.onEntryEvicted({key:a,value:r,isExpired:o})}}invokeOnEntryMarkedAsMostRecentlyUsed(){if(this.onEntryMarkedAsMostRecentlyUsed){const{key:a,value:r}=this;this.onEntryMarkedAsMostRecentlyUsed({key:a,value:r})}}defaultClone(a){return"boolean"==typeof a||"string"==typeof a||"number"==typeof a?a:JSON.parse(JSON.stringify(a))}}LRUCacheNode$1.LRUCacheNode=LRUCacheNode,Object.defineProperty(LRUCache$1,"__esModule",{value:!0}),LRUCache$1.LRUCache=void 0;const LRUCacheNode_1=LRUCacheNode$1;class LRUCache{constructor(a){this.lookupTable=new Map,this.head=null,this.tail=null;const{maxSize:r=25,entryExpirationTimeInMS:o=null,onEntryEvicted:s,onEntryMarkedAsMostRecentlyUsed:c,cloneFn:y,clone:k}=a??{};if(Number.isNaN(r)||r<=0)throw new Error("maxSize must be greater than 0.");if("number"==typeof o&&(o<=0||Number.isNaN(o)))throw new Error("entryExpirationTimeInMS must either be null (no expiry) or greater than 0");this.maxSizeInternal=r,this.entryExpirationTimeInMS=o,this.onEntryEvicted=s,this.onEntryMarkedAsMostRecentlyUsed=c,this.clone=k,this.cloneFn=y}get size(){return this.cleanCache(),this.lookupTable.size}get remainingSize(){return this.maxSizeInternal-this.size}get newest(){return this.head?this.head.isExpired?(this.removeNodeFromListAndLookupTable(this.head),this.newest):this.mapNodeToEntry(this.head):null}get oldest(){return this.tail?this.tail.isExpired?(this.removeNodeFromListAndLookupTable(this.tail),this.oldest):this.mapNodeToEntry(this.tail):null}get maxSize(){return this.maxSizeInternal}set maxSize(a){if(Number.isNaN(a)||a<=0)throw new Error("maxSize must be greater than 0.");this.maxSizeInternal=a,this.enforceSizeLimit()}set(a,r,o){const s=this.lookupTable.get(a);s&&this.removeNodeFromListAndLookupTable(s);const c=new LRUCacheNode_1.LRUCacheNode(a,r,{entryExpirationTimeInMS:this.entryExpirationTimeInMS,onEntryEvicted:this.onEntryEvicted,onEntryMarkedAsMostRecentlyUsed:this.onEntryMarkedAsMostRecentlyUsed,clone:this.clone,cloneFn:this.cloneFn,...o});return this.setNodeAsHead(c),this.lookupTable.set(a,c),this.enforceSizeLimit(),this}get(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):(this.setNodeAsHead(r),r.value):null}peek(a){const r=this.lookupTable.get(a);return r?r.isExpired?(this.removeNodeFromListAndLookupTable(r),null):r.value:null}delete(a){const r=this.lookupTable.get(a);return!!r&&this.removeNodeFromListAndLookupTable(r)}has(a){const r=this.lookupTable.get(a);return!(!r||r.isExpired&&(this.removeNodeFromListAndLookupTable(r),1))}clear(){this.head=null,this.tail=null,this.lookupTable.clear()}find(a){let r=this.head;for(;r;){if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s;continue}const o=this.mapNodeToEntry(r);if(a(o))return this.setNodeAsHead(r),o;r=r.next}return null}forEach(a){let r=this.head,o=0;for(;r;)if(r.isExpired){const s=r.next;this.removeNodeFromListAndLookupTable(r),r=s}else a(r.value,r.key,o),r=r.next,o++}*values(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.value,a=a.next}*keys(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield a.key,a=a.next}*entries(){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}*[Symbol.iterator](){let a=this.head;for(;a;)if(a.isExpired){const r=a.next;this.removeNodeFromListAndLookupTable(a),a=r}else yield this.mapNodeToEntry(a),a=a.next}enforceSizeLimit(){let a=this.tail;for(;null!==a&&this.size>this.maxSizeInternal;){const r=a.prev;this.removeNodeFromListAndLookupTable(a),a=r}}mapNodeToEntry({key:a,value:r}){return{key:a,value:r}}setNodeAsHead(a){this.removeNodeFromList(a),this.head?(a.next=this.head,this.head.prev=a,this.head=a):(this.head=a,this.tail=a),a.invokeOnEntryMarkedAsMostRecentlyUsed()}removeNodeFromList(a){null!==a.prev&&(a.prev.next=a.next),null!==a.next&&(a.next.prev=a.prev),this.head===a&&(this.head=a.next),this.tail===a&&(this.tail=a.prev),a.next=null,a.prev=null}removeNodeFromListAndLookupTable(a){return a.invokeOnEvicted(),this.removeNodeFromList(a),this.lookupTable.delete(a.key)}cleanCache(){if(!this.entryExpirationTimeInMS)return;const a=[];for(const r of this.lookupTable.values())r.isExpired&&a.push(r);a.forEach(r=>this.removeNodeFromListAndLookupTable(r))}}LRUCache$1.LRUCache=LRUCache,function(i){var a=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(o,s,c,y){void 0===y&&(y=c);var k=Object.getOwnPropertyDescriptor(s,c);k&&!("get"in k?!s.__esModule:k.writable||k.configurable)||(k={enumerable:!0,get:function(){return s[c]}}),Object.defineProperty(o,y,k)}:function(o,s,c,y){void 0===y&&(y=c),o[y]=s[c]}),r=commonjsGlobal&&commonjsGlobal.__exportStar||function(o,s){for(var c in o)"default"===c||Object.prototype.hasOwnProperty.call(s,c)||a(s,o,c)};Object.defineProperty(i,"__esModule",{value:!0}),r(LRUCache$1,i)}(dist);var lib={};(function(i){function a(kt){if(!Number.isSafeInteger(kt))throw new Error(`Wrong integer: ${kt}`)}function r(...kt){const nt=(at,rt)=>yt=>at(rt(yt));return{encode:Array.from(kt).reverse().reduce((at,rt)=>at?nt(at,rt.encode):rt.encode,void 0),decode:kt.reduce((at,rt)=>at?nt(at,rt.decode):rt.decode,void 0)}}function o(kt){return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("alphabet.encode input should be an array of numbers");return nt.map(at=>{if(a(at),at<0||at>=kt.length)throw new Error(`Digit index outside alphabet: ${at} (alphabet: ${kt.length})`);return kt[at]})},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("alphabet.decode input should be array of strings");return nt.map(at=>{if("string"!=typeof at)throw new Error(`alphabet.decode: not string element=${at}`);const rt=kt.indexOf(at);if(-1===rt)throw new Error(`Unknown letter: "${at}". Allowed: ${kt}`);return rt})}}}function s(kt=""){if("string"!=typeof kt)throw new Error("join separator should be string");return{encode:nt=>{if(!Array.isArray(nt)||nt.length&&"string"!=typeof nt[0])throw new Error("join.encode input should be array of strings");for(let at of nt)if("string"!=typeof at)throw new Error(`join.encode: non-string input=${at}`);return nt.join(kt)},decode:nt=>{if("string"!=typeof nt)throw new Error("join.decode input should be string");return nt.split(kt)}}}function c(kt,nt="="){if(a(kt),"string"!=typeof nt)throw new Error("padding chr should be string");return{encode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let rt of at)if("string"!=typeof rt)throw new Error(`padding.encode: non-string input=${rt}`);for(;at.length*kt%8;)at.push(nt);return at},decode(at){if(!Array.isArray(at)||at.length&&"string"!=typeof at[0])throw new Error("padding.encode input should be array of strings");for(let yt of at)if("string"!=typeof yt)throw new Error(`padding.decode: non-string input=${yt}`);let rt=at.length;if(rt*kt%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;rt>0&&at[rt-1]===nt;rt--)if(!((rt-1)*kt%8))throw new Error("Invalid padding: string has too much padding");return at.slice(0,rt)}}}function y(kt){if("function"!=typeof kt)throw new Error("normalize fn should be function");return{encode:nt=>nt,decode:nt=>kt(nt)}}function k(kt,nt,at){if(nt<2)throw new Error(`convertRadix: wrong from=${nt}, base cannot be less than 2`);if(at<2)throw new Error(`convertRadix: wrong to=${at}, base cannot be less than 2`);if(!Array.isArray(kt))throw new Error("convertRadix: data should be array");if(!kt.length)return[];let rt=0;const yt=[],Ct=Array.from(kt);for(Ct.forEach(Vt=>{if(a(Vt),Vt<0||Vt>=nt)throw new Error(`Wrong integer: ${Vt}`)});;){let Vt=0,Xt=!0;for(let oe=rt;oent?A(nt,kt%nt):kt,I=(kt,nt)=>kt+(nt-A(kt,nt));function M(kt,nt,at,rt){if(!Array.isArray(kt))throw new Error("convertRadix2: data should be array");if(nt<=0||nt>32)throw new Error(`convertRadix2: wrong from=${nt}`);if(at<=0||at>32)throw new Error(`convertRadix2: wrong to=${at}`);if(I(nt,at)>32)throw new Error(`convertRadix2: carry overflow from=${nt} to=${at} carryBits=${I(nt,at)}`);let yt=0,Ct=0;const Vt=2**at-1,Xt=[];for(const oe of kt){if(a(oe),oe>=2**nt)throw new Error(`convertRadix2: invalid data word=${oe} from=${nt}`);if(yt=yt<32)throw new Error(`convertRadix2: carry overflow pos=${Ct} from=${nt}`);for(Ct+=nt;Ct>=at;Ct-=at)Xt.push((yt>>Ct-at&Vt)>>>0);yt&=2**Ct-1}if(yt=yt<=nt)throw new Error("Excess padding");if(!rt&&yt)throw new Error(`Non-zero padding: ${yt}`);return rt&&Ct>0&&Xt.push(yt>>>0),Xt}function T(kt){return a(kt),{encode:nt=>{if(!(nt instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return k(Array.from(nt),256,kt)},decode:nt=>{if(!Array.isArray(nt)||nt.length&&"number"!=typeof nt[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(k(nt,kt,256))}}}function O(kt,nt=!1){if(a(kt),kt<=0||kt>32)throw new Error("radix2: bits should be in (0..32]");if(I(8,kt)>32||I(kt,8)>32)throw new Error("radix2: carry overflow");return{encode:at=>{if(!(at instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return M(Array.from(at),8,kt,!nt)},decode:at=>{if(!Array.isArray(at)||at.length&&"number"!=typeof at[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(M(at,kt,8,nt))}}}function L(kt){if("function"!=typeof kt)throw new Error("unsafeWrapper fn should be function");return function(...nt){try{return kt.apply(null,nt)}catch{}}}function Y(kt,nt){if(a(kt),"function"!=typeof nt)throw new Error("checksum fn should be function");return{encode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const rt=nt(at).slice(0,kt),yt=new Uint8Array(at.length+kt);return yt.set(at),yt.set(rt,at.length),yt},decode(at){if(!(at instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const rt=at.slice(0,-kt),yt=nt(rt).slice(0,kt),Ct=at.slice(-kt);for(let Vt=0;Vtkt.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),i.base64=r(O(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),c(6),s("")),i.base64url=r(O(6),o("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),c(6),s(""));const z=kt=>r(T(58),o(kt),s(""));i.base58=z("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),i.base58flickr=z("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),i.base58xrp=z("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const q=[0,2,3,5,6,7,9,10,11];i.base58xmr={encode(kt){let nt="";for(let at=0;atr(Y(4,nt=>kt(kt(nt))),i.base58);const ct=r(o("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),s("")),dt=[996825010,642813549,513874426,1027748829,705979059];function tt(kt){const nt=kt>>25;let at=(33554431&kt)<<5;for(let rt=0;rt>rt&1)&&(at^=dt[rt]);return at}function vt(kt,nt,at=1){const rt=kt.length;let yt=1;for(let Ct=0;Ct126)throw new Error(`Invalid prefix (${kt})`);yt=tt(yt)^Vt>>5}yt=tt(yt);for(let Ct=0;Ctoe)throw new TypeError(`Wrong string length: ${Xt.length} (${Xt}). Expected (8..${oe})`);const Xe=Xt.toLowerCase();if(Xt!==Xe&&Xt!==Xt.toUpperCase())throw new Error("String must be lowercase or uppercase");const kr=(Xt=Xe).lastIndexOf("1");if(0===kr||-1===kr)throw new Error('Letter "1" must be present between prefix and data only');const gr=Xt.slice(0,kr),wr=Xt.slice(kr+1);if(wr.length<6)throw new Error("Data must be at least 6 characters long");const Wr=ct.decode(wr).slice(0,-6),xe=vt(gr,Wr,nt);if(!wr.endsWith(xe))throw new Error(`Invalid checksum in ${Xt}: expected "${xe}"`);return{prefix:gr,words:Wr}}return{encode:function(Xt,oe,Xe=90){if("string"!=typeof Xt)throw new Error("bech32.encode prefix should be string, not "+typeof Xt);if(!Array.isArray(oe)||oe.length&&"number"!=typeof oe[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof oe);const kr=Xt.length+7+oe.length;if(!1!==Xe&&kr>Xe)throw new TypeError(`Length ${kr} exceeds limit ${Xe}`);return`${Xt=Xt.toLowerCase()}1${ct.encode(oe)}${vt(Xt,oe,nt)}`},decode:Vt,decodeToBytes:function(Xt){const{prefix:oe,words:Xe}=Vt(Xt,!1);return{prefix:oe,words:Xe,bytes:rt(Xe)}},decodeUnsafe:L(Vt),fromWords:rt,fromWordsUnsafe:Ct,toWords:yt}}i.bech32=Mt("bech32"),i.bech32m=Mt("bech32m"),i.utf8={encode:kt=>(new TextDecoder).decode(kt),decode:kt=>(new TextEncoder).encode(kt)},i.hex=r(O(4),o("0123456789abcdef"),s(""),y(kt=>{if("string"!=typeof kt||kt.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof kt} with length ${kt.length}`);return kt.toLowerCase()}));const $t={utf8:i.utf8,hex:i.hex,base16:i.base16,base32:i.base32,base64:i.base64,base64url:i.base64url,base58:i.base58,base58xmr:i.base58xmr},St=`Invalid encoding type. Available types: ${Object.keys($t).join(", ")}`;i.bytesToString=(kt,nt)=>{if("string"!=typeof kt||!$t.hasOwnProperty(kt))throw new TypeError(St);if(!(nt instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return $t[kt].encode(nt)},i.str=i.bytesToString,i.stringToBytes=(kt,nt)=>{if(!$t.hasOwnProperty(kt))throw new TypeError(St);if("string"!=typeof nt)throw new TypeError("stringToBytes() expects string");return $t[kt].decode(nt)},i.bytes=i.stringToBytes})(lib),BigInt(1e3),BigInt(1e6),BigInt(1e9),BigInt(1e12),BigInt("2100000000000000000"),BigInt(1e11);const TAGCODES={payment_hash:1,payment_secret:16,description:13,payee:19,description_hash:23,expiry:6,min_final_cltv_expiry:24,fallback_address:9,route_hint:3,feature_bits:5,metadata:27};for(let i=0,a=Object.keys(TAGCODES);ithis.handleNotice(a))}initiateAuth(i={limit:1}){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.debug("Initiating authentication");const r=a.relay.sub([i],{id:"auth-test"});r.on("eose",()=>{r.unsub(),a._status=1,a.ndkRelay.emit("ready"),a.debug("Authentication not required"),r.unsub()}),a.debug("Authentication request started")})()}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=()=>{i.updateConnectionStats.connected(),i.ndkRelay.authRequired?(i._status=6,i.ndkRelay.emit("connect"),i.initiateAuth()):(i._status=1,i.ndkRelay.emit("connect"),i.ndkRelay.emit("ready"))},r=()=>{i.updateConnectionStats.disconnected(),1===i._status&&(i._status=3,i.handleReconnection()),i.ndkRelay.emit("disconnect")},o=function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){i.debug("Relay requested authentication",{havePolicy:!!i.ndkRelay.authPolicy}),i.ndkRelay.authPolicy?7!==i._status&&(i._status=7,yield i.ndkRelay.authPolicy(i.ndkRelay,c),7===i._status&&(i.debug("Authentication policy finished"),i._status=1,i.ndkRelay.emit("ready"))):yield i.ndkRelay.emit("auth",c)});return function(y){return s.apply(this,arguments)}}();try{i.updateConnectionStats.attempt(),i._status=0,i.relay.off("connect",a),i.relay.off("disconnect",r),i.relay.on("connect",a),i.relay.on("disconnect",r),i.relay.on("auth",o),yield i.relay.connect()}catch(s){throw i.debug("Failed to connect",s),i._status=3,s}})()}disconnect(){this._status=2,this.relay.close()}get status(){return this._status}isAvailable(){return 1===this._status}isFlapping(){const i=this._connectionStats.durations;if(i.length%3!=0)return!1;const a=i.reduce((o,s)=>o+s,0)/i.length,r=i.map(o=>Math.pow(o-a,2)).reduce((o,s)=>o+s,0)/i.length;return Math.sqrt(r)<1e3}handleNotice(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){(i.includes("oo many")||i.includes("aximum"))&&(a.disconnect(),setTimeout(()=>a.connect(),2e3),a.debug(a.relay.url,"Relay complaining?",i)),a.ndkRelay.emit("notice",a,i)})()}handleReconnection(i=0){if(this.isFlapping())return this.ndkRelay.emit("flapping",this,this._connectionStats),void(this._status=5);const a=this.connectedAt?Math.max(0,6e4-(Date.now()-this.connectedAt)):0;setTimeout(()=>{this._status=4,this.connect().then(()=>{this.debug("Reconnected")}).catch(r=>{this.debug("Reconnect failed",r),i<5?setTimeout(()=>{this.handleReconnection(i+1)},6e4):this.debug("Reconnect failed after 5 attempts")})},a)}updateConnectionStats={connected:()=>{this._connectionStats.success++,this._connectionStats.connectedAt=Date.now()},disconnected:()=>{this._connectionStats.connectedAt&&(this._connectionStats.durations.push(Date.now()-this._connectionStats.connectedAt),this._connectionStats.durations.length>100&&this._connectionStats.durations.shift()),this._connectionStats.connectedAt=void 0},attempt:()=>{this._connectionStats.attempts++}};get connectionStats(){return this._connectionStats}},NDKRelayPublisher=class{ndkRelay;constructor(i){this.ndkRelay=i}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=()=>new Promise((A,I)=>{try{r.publishEvent(i,a).then(M=>A(M)).catch(M=>I(M))}catch(M){I(M)}}),s=new Promise((A,I)=>{setTimeout(()=>I(new Error("Timeout")),a)}),c=()=>{o().then(A=>y(A)).catch(A=>k(A))};let y,k;return 1===r.ndkRelay.status?Promise.race([o(),s]):Promise.race([new Promise((A,I)=>{y=A,k=I,r.ndkRelay.once("connect",c)}),s]).finally(()=>{r.ndkRelay.removeListener("connect",c)})})()}publishEvent(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield i.toNostrEvent(),s=r.ndkRelay.connectivity.relay.publish(o);let c;const y=new Promise((A,I)=>{s.then(()=>{clearTimeout(c),r.ndkRelay.emit("published",i),A(!0)}).catch(M=>{clearTimeout(c),r.ndkRelay.debug("Publish failed",M,i.id),r.ndkRelay.emit("publish:failed",i,M),I(M)})});if(!a||i.isEphemeral())return y;const k=new Promise((A,I)=>{c=setTimeout(()=>{r.ndkRelay.debug("Publish timed out",i.rawEvent()),r.ndkRelay.emit("publish:failed",i,"Timeout"),I(new Error("Publish operation timed out"))},a)});return Promise.race([y,k])})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.ndkRelay.connectivity.relay.auth(i.rawEvent())})()}};function calculateGroupableId(i){const a=[];for(const r of i){if(r.since||r.until)return null;const o=Object.keys(r||{}).sort().join("-");a.push(o)}return a.join("|")}function mergeFilters(i){const a={};return i.forEach(r=>{Object.entries(r).forEach(([o,s])=>{a[o]=Array.isArray(s)?void 0===a[o]?[...s]:Array.from(new Set([...a[o],...s])):s})}),a}var MAX_SUBID_LENGTH=20;function queryFullyFilled(i){return!(!filterIncludesIds(i.filter)||!resultHasAllRequestedIds(i))}function compareFilter(i,a){if(Object.keys(i).length!==Object.keys(a).length)return!1;for(const[r,o]of Object.entries(i)){const s=a[r];if(!s)return!1;if(Array.isArray(o)&&Array.isArray(s)){const c=o;for(const y of s)if(!c.includes(y))return!1}else if(s!==o)return!1}return!0}function filterIncludesIds(i){return!!i.ids}function resultHasAllRequestedIds(i){const a=i.filter.ids;return!!a&&a.length===i.eventFirstSeen.size}function generateSubId(i,a){const r=i.map(k=>k.subId).filter(Boolean),o=[],s=new Set,c=new Set;if(r.length>0)o.push(Array.from(new Set(r)).join(","));else{for(const k of a)for(const A of Object.keys(k))"kinds"===A?k.kinds?.forEach(I=>c.add(I)):s.add(A);c.size>0&&o.push("kinds:"+Array.from(c).join(",")),s.size>0&&o.push(Array.from(s).join(","))}let y=o.join("-");return y.length>MAX_SUBID_LENGTH&&(y=y.substring(0,MAX_SUBID_LENGTH)),1!==r.length&&(y+="-"+Math.floor(999*Math.random()).toString()),y}function filterFromId(i){let a;if(i.match(NIP33_A_REGEX)){const[r,o,s]=i.split(":"),c={authors:[o],kinds:[parseInt(r)]};return s&&(c["#d"]=[s]),c}try{switch(a=nip19_exports.decode(i),a.type){case"nevent":return{ids:[a.data.id]};case"note":return{ids:[a.data]};case"naddr":return{authors:[a.data.pubkey],"#d":[a.data.identifier],kinds:[a.data.kind]}}}catch{}return{ids:[i]}}function isNip33AValue(i){return null!==i.match(NIP33_A_REGEX)}var NIP33_A_REGEX=/^(\d+):([0-9A-Fa-f]+)(?::(.*))?$/;function relaysFromBech32(i){try{const a=nip19_exports.decode(i);if(["naddr","nevent"].includes(a?.type)){const r=a.data;if(r?.relays)return r.relays.map(o=>new NDKRelay(o))}}catch{}return[]}var NDKGroupedSubscriptions=class extends lib$1.EventEmitter{subscriptions;req;debug;constructor(i,a){super(),this.subscriptions=i,this.debug=a||this.subscriptions[0].subscription.debug.extend("grouped");for(const r of i)this.handleSubscriptionClosure(r)}addSubscription(i){this.subscriptions.push(i),this.handleSubscriptionClosure(i)}eventReceived(i){for(const a of this.subscriptions)a.eventReceived(i)}eoseReceived(i){Array.from(this.subscriptions).forEach(function(){var a=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(r){r.subscription.eoseReceived(i)});return function(r){return a.apply(this,arguments)}}())}handleSubscriptionClosure(i){i.subscription.on("close",()=>{const a=this.subscriptions.findIndex(r=>r.subscription===i.subscription);this.subscriptions.splice(a,1),this.subscriptions.length<=0&&this.emit("close")})}map(i){return this.subscriptions.map(i)}[Symbol.iterator](){let i=0;const a=this.subscriptions;return{next:()=>imatchFilter(r,a))}};function findMatchingActiveSubscriptions(i,a){if(i.length!==a.length)return!1;for(let r=0;r{this.delayedItems.get(r)&&this.delayedItems.delete(r)}));let y=this.executionTimeoutsByGroupId.get(r);y&&"at-most"!==i.opts.groupableDelayType||(y=setTimeout(()=>{this.executeGroup(r,i)},i.opts.groupableDelay),this.executionTimeoutsByGroupId.set(r,y)),this.delayedTimers.has(r)?this.delayedTimers.get(r).push(y):this.delayedTimers.set(r,[y])}executeGroup(i,a){const r=this.delayedItems.get(i);this.delayedItems.delete(i);const o=this.delayedTimers.get(i);if(this.delayedTimers.delete(i),o)for(const s of o)clearTimeout(s);if(r){const s=r.subscriptions[0].filters.length,c=[];for(let y=0;yA.filters[y]);c.push(mergeFilters(k))}this.executeSubscriptions(i,r,c)}}executeSubscriptionsWhenConnected(i,a,r){const o=()=>{this.debug("new relay coming online for active subscription",{relay:this.ndkRelay.url,mergeFilters}),this.executeSubscriptionsConnected(i,a,r)};this.ndkRelay.once("ready",o),a.once("close",()=>{this.ndkRelay.removeListener("ready",o)})}executeSubscriptions(i,a,r){this.conn.isAvailable()?this.executeSubscriptionsConnected(i,a,r):this.executeSubscriptionsWhenConnected(i,a,r)}executeSubscriptionsConnected(i,a,r){const o=[];for(const{subscription:k}of a)o.push(k);const s=generateSubId(o,r);a.req=r;const c={id:s};(this.ndkRelay.trusted||o.every(k=>k.opts.skipVerification))&&(c.skipVerification=!0);const y=this.conn.relay.sub(r,c);return this.activeSubscriptions.set(y,a),i&&this.activeSubscriptionsByGroupId.set(i,{filters:r,sub:y}),y.on("event",k=>{const A=new NDKEvent(void 0,k);A.relay=this.ndkRelay,this.activeSubscriptions.get(y)?.eventReceived(A)}),y.on("eose",()=>{this.activeSubscriptions.get(y)?.eoseReceived(this.ndkRelay)}),a.once("close",()=>{y.unsub(),this.activeSubscriptions.delete(y),i&&this.activeSubscriptionsByGroupId.delete(i)}),this.executeSubscriptionsWhenConnected(i,a,r),y}executedFilters(){const i=new Map;for(const[,a]of this.activeSubscriptions)i.set(a.req,a.map(r=>r.subscription));return i}},NDKRelay=class extends lib$1.EventEmitter{url;scores;connectivity;subs;publisher;authPolicy;authRequired=!1;trusted=!1;complaining=!1;debug;constructor(i,a){super(),this.url=i,this.scores=new Map,this.debug=debug3(`ndk:relay:${i}`),this.connectivity=new NDKRelayConnectivity(this),this.subs=new NDKRelaySubscriptions(this),this.publisher=new NDKRelayPublisher(this),this.authPolicy=a}get status(){return this.connectivity.status}get connectionStats(){return this.connectivity.connectionStats}connect(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.connectivity.connect()})()}disconnect(){3!==this.status&&this.connectivity.disconnect()}subscribe(i,a){this.subs.subscribe(i,a)}publish(i,a=2500){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.publisher.publish(i,a)})()}auth(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.publisher.auth(i)})()}scoreSlowerEvent(i){}tagReference(i){const a=["r",this.url];return i&&a.push(i),a}referenceTags(){return[["r",this.url]]}activeSubscriptions(){return this.subs.executedFilters()}},PublishError=class extends Error{errors;constructor(i,a){super(i),this.errors=a}},NDKRelaySet=class xE{relays;debug;ndk;constructor(a,r){this.relays=a,this.ndk=r,this.debug=r.debug.extend("relayset")}addRelay(a){this.relays.add(a)}static fromRelayUrls(a,r){const o=new Set;for(const s of a){const c=r.pool.relays.get(s);if(c)o.add(c);else{const y=new NDKRelay(s);r.pool.useTemporaryRelay(y),o.add(y)}}return new xE(new Set(o),r)}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new Set,c=new Map,y=a.isEphemeral(),k=Array.from(o.relays).map(A=>new Promise(I=>{A.publish(a,r).then(()=>{s.add(A),I()}).catch(M=>{y||(c.set(A,M),o.debug("error publishing to relay",{relay:A.url,err:M})),I()})}));if(yield Promise.all(k),0===s.size&&!y)throw new PublishError("No relay was able to receive the event",c);return s})()}size(){return this.relays.size}};function calculateRelaySetFromEvent(i,a){const r=new Set;return i.pool?.relays.forEach(o=>r.add(o)),new NDKRelaySet(r,i)}function getWriteRelaysFor(i,a){if(i.outboxTracker)return i.outboxTracker.data.get(a)?.writeRelays}function calculateRelaySetsFromFilter(i,a){const r=new Map,o=new Set;if(a.forEach(s=>{s.authors&&s.authors.forEach(c=>o.add(c))}),o.size>0){const s=new Map;for(const c of o){const y=getWriteRelaysFor(i,c);y&&y.size>0?(i.debug(`Adding ${y.size} relays for ${c}`),y.forEach(k=>{const A=s.get(k)||[];A.push(c),s.set(k,A)})):i.explicitRelayUrls?.forEach(k=>{const A=s.get(k)||[];A.push(c),s.set(k,A)})}for(const c of s.keys())r.set(c,[]);for(const c of a)if(c.authors)for(const[y,k]of s.entries()){const A=c.authors.filter(I=>k.includes(I));r.set(y,[...r.get(y),{...c,authors:A}])}else for(const y of s.keys())r.set(y,[...r.get(y),c])}else i.explicitRelayUrls?.forEach(s=>{r.set(s,a)});return r}function calculateRelaySetsFromFilters(i,a){return calculateRelaySetsFromFilter(i,a)}var DEFAULT_RELAYS=["wss://nos.lol","wss://relay.nostr.band","wss://relay.f7z.io","wss://relay.damus.io","wss://nostr.mom","wss://no.str.cr"],Zap=class extends lib$1.EventEmitter{ndk;zappedEvent;zappedUser;constructor(i){super(),this.ndk=i.ndk,this.zappedEvent=i.zappedEvent,this.zappedUser=i.zappedUser||this.ndk.getUser({hexpubkey:this.zappedEvent?.pubkey})}getZapEndpoint(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a,r,o,s;if(i.zappedUser&&(i.zappedUser.profile||(yield i.zappedUser.fetchProfile({groupable:!1})),a=(i.zappedUser.profile||{}).lud06,r=(i.zappedUser.profile||{}).lud16),r&&!r.startsWith("LNURL")){const[c,y]=r.split("@");o=`https://${y}/.well-known/lnurlp/${c}`}else if(a){const{words:c}=bech32.decode(a,1e3),y=bech32.fromWords(c);o=new TextDecoder("utf-8").decode(y)}if(!o)throw new Error("No zap endpoint found");try{const c=i.ndk.httpFetch||fetch,y=yield c(o);if(200!==y.status){const A=yield y.text();throw new Error(`Unable to fetch zap endpoint ${o}: ${A}`)}const k=yield y.json();return k?.allowsNostr&&(k?.nostrPubkey||k?.nostrPubKey)&&(s=k.callback),s}catch(c){throw new Error(`Unable to fetch zap endpoint ${o}: ${c}`)}})()}createZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.generateZapRequest(i,a,r,o);if(!y)return null;const{event:k,zapEndpoint:A}=y;if(!k)throw new Error("No zap request event found");let I;yield k.sign(s);try{I=yield c.getInvoice(k,i,A)}catch(M){throw new Error("Failed to get invoice: "+M)}return I})()}getInvoice(i,a,r){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return(yield(yield fetch(`${r}?`+new URLSearchParams({amount:a.toString(),nostr:JSON.stringify(i.rawEvent())}))).json()).pr})()}generateZapRequest(i,a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=yield c.getZapEndpoint();if(!y)throw new Error("No zap endpoint found");if(!c.zappedEvent&&!c.zappedUser)throw new Error("No zapped event or user found");const k=nip57_exports.makeZapRequest({profile:c.zappedUser.pubkey,event:null,amount:i,comment:a||"",relays:o??c.relays()});if(c.zappedEvent){const I=c.zappedEvent.referenceTags();k.tags.push(...I)}k.tags.push(["lnurl",y]);const A=new NDKEvent(c.ndk,k);return r&&(A.tags=A.tags.concat(r)),{event:A,zapEndpoint:y}})()}relays(){let i=[];return this.ndk?.pool?.relays&&(i=this.ndk.pool.urls()),i.length||(i=DEFAULT_RELAYS),i}};function mergeTags(i,a){const r=new Map,o=(s,c)=>s.every((y,k)=>y===c[k]);return i.concat(a).forEach(s=>{for(let[c,y]of r)if(o(y,s)||o(s,y))return void(s.length>=y.length&&r.set(c,s));r.set(s.join(","),s)}),Array.from(r.values())}function generateContentTags(i){return _generateContentTags.apply(this,arguments)}function _generateContentTags(){return _generateContentTags=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=[]){let r=[];const o=s=>{a.find(c=>c[0]===s[0]&&c[1]===s[1])||a.push(s)};return i=i.replace(/(@|nostr:)(npub|nprofile|note|nevent|naddr)[a-zA-Z0-9]+/g,s=>{try{const c=s.split(/(@|nostr:)/)[2],{type:y,data:k}=nip19_exports.decode(c);let A;switch(y){case"npub":A=["p",k];break;case"nprofile":A=["p",k.pubkey];break;case"note":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){o(["e",k,yield maybeGetEventRelayUrl(c),"mention"]),M()});return function(M){return I.apply(this,arguments)}}()));break;case"nevent":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){let{id:T,relays:O,author:L}=k;O&&0!==O.length||(O=[yield maybeGetEventRelayUrl(c)]),o(["e",T,O[0],"mention"]),L&&o(["p",L]),M()});return function(M){return I.apply(this,arguments)}}()));break;case"naddr":r.push(new Promise(function(){var I=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(M){const T=[k.kind,k.pubkey,k.identifier].join(":");let O=k.relays??[];0===O.length&&(O=[yield maybeGetEventRelayUrl(c)]),o(["a",T,O[0],"mention"]),o(["p",k.pubkey]),M()});return function(M){return I.apply(this,arguments)}}()));break;default:return s}return A&&o(A),`nostr:${c}`}catch{return s}}),yield Promise.all(r),{content:i=i.replace(/#(\w+)/g,(s,c)=>{const y=["t",c];return a.find(k=>k[0]===y[0]&&k[1]===y[1])||a.push(y),s}),tags:a}}),_generateContentTags.apply(this,arguments)}function maybeGetEventRelayUrl(i){return _maybeGetEventRelayUrl.apply(this,arguments)}function _maybeGetEventRelayUrl(){return(_maybeGetEventRelayUrl=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i){return""})).apply(this,arguments)}function isReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=1e4&&this.kind<2e4}function isEphemeral(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=2e4&&this.kind<3e4}function isParamReplaceable(){if(void 0===this.kind)throw new Error("Kind not set");return this.kind>=3e4&&this.kind<4e4}function encrypt(i,a){return _encrypt.apply(this,arguments)}function _encrypt(){return _encrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");if(a||(yield this.ndk.assertSigner(),a=this.ndk.signer),!i){const r=this.getMatchingTags("p");if(1!==r.length)throw new Error("No recipient could be determined and no explicit recipient was provided");i=this.ndk.getUser({hexpubkey:r[0][1]})}this.content=yield a?.encrypt(i,this.content)}),_encrypt.apply(this,arguments)}function decrypt(i,a){return _decrypt.apply(this,arguments)}function _decrypt(){return _decrypt=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a){if(!this.ndk)throw new Error("No NDK instance found!");a||(yield this.ndk.assertSigner(),a=this.ndk.signer),i||(i=this.author),this.content=yield a?.decrypt(i,this.content)}),_decrypt.apply(this,arguments)}function encode(){return this.isParamReplaceable()?nip19_exports.naddrEncode({kind:this.kind,pubkey:this.pubkey,identifier:this.replaceableDTag(),relays:this.relay?[this.relay.url]:[]}):this.relay?nip19_exports.neventEncode({id:this.tagId(),relays:[this.relay.url],author:this.pubkey}):nip19_exports.noteEncode(this.tagId())}function repost(){return _repost.apply(this,arguments)}function _repost(){return _repost=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i=!0,a){if(!a&&i){if(!this.ndk)throw new Error("No NDK instance found");this.ndk.assertSigner(),a=this.ndk.signer}const r=new NDKEvent(this.ndk,{kind:getKind(this),content:""});return r.tag(this),16===r.kind&&r.tags.push(["k",`${this.kind}`]),a&&(yield r.sign(a)),i&&(yield r.publish()),r}),_repost.apply(this,arguments)}function getKind(i){return 1===i.kind?6:16}var NDKEvent=class Uw extends lib$1.EventEmitter{ndk;created_at;content="";tags=[];kind;id="";sig;pubkey="";_author=void 0;relay;constructor(a,r){super(),this.ndk=a,this.created_at=r?.created_at,this.content=r?.content||"",this.tags=r?.tags||[],this.id=r?.id||"",this.sig=r?.sig,this.pubkey=r?.pubkey||"",this.kind=r?.kind}rawEvent(){return{created_at:this.created_at,content:this.content,tags:this.tags,kind:this.kind,pubkey:this.pubkey,id:this.id,sig:this.sig}}set author(a){this.pubkey=a.hexpubkey,this._author=void 0}get author(){if(this._author)return this._author;if(!this.ndk)throw new Error("No NDK instance found");const a=this.ndk.getUser({hexpubkey:this.pubkey});return this._author=a,a}tag(a,r){let o=[];if(a instanceof NDKUser){const s=["p",a.pubkey];r&&s.push(r),o.push(s)}else if(a instanceof Uw){const s=a;o=s.referenceTags(r,s?.pubkey===this.pubkey);for(const y of s.getMatchingTags("p"))y[1]!==this.pubkey&&(this.tags.find(k=>"p"===k[0]&&k[1]===y[1])||this.tags.push(["p",y[1]]))}else o=[a];this.tags=mergeTags(this.tags,o)}toNostrEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a&&""===r.pubkey){const y=yield r.ndk?.signer?.user();r.pubkey=y?.hexpubkey||""}r.created_at||(r.created_at=Math.floor(Date.now()/1e3));const o=r.rawEvent(),{content:s,tags:c}=yield r.generateTags();o.content=s||"",o.tags=c;try{r.id=getEventHash(o)}catch{}return r.id&&(o.id=r.id),r.sig&&(o.sig=r.sig),o})()}isReplaceable=isReplaceable.bind(this);isEphemeral=isEphemeral.bind(this);isParamReplaceable=isParamReplaceable.bind(this);encode=encode.bind(this);encrypt=encrypt.bind(this);decrypt=decrypt.bind(this);getMatchingTags(a){return this.tags.filter(r=>r[0]===a)}tagValue(a){const r=this.getMatchingTags(a);if(0!==r.length)return r[0][1]}get alt(){return this.tagValue("alt")}set alt(a){this.removeTag("alt"),a&&this.tags.push(["alt",a])}removeTag(a){this.tags=this.tags.filter(r=>r[0]!==a)}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a?r.author=yield a.user():(r.ndk?.assertSigner(),a=r.ndk.signer),yield r.generateTags(),r.isReplaceable()&&(r.created_at=Math.floor(Date.now()/1e3));const o=yield r.toNostrEvent();return r.sig=yield a.sign(o),r.sig})()}publish(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(o.sig||(yield o.sign()),!o.ndk)throw new Error("NDKEvent must be associated with an NDK instance to publish");return a||(a=o.ndk.devWriteRelaySet||calculateRelaySetFromEvent(o.ndk)),a.publish(o,r)})()}generateTags(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let r=[];const o=yield generateContentTags(a.content,a.tags),s=o.content;if(r=o.tags,a.kind&&a.isParamReplaceable()&&!a.getMatchingTags("d")[0]){const c=a.tagValue("title");let y=[...Array(c?6:16)].map(()=>Math.random().toString(36)[2]).join("");c&&c.length>0&&(y=c.replace(/[^a-z0-9]+/gi,"-").replace(/^-|-$/g,"")+"-"+y),r.push(["d",y])}if((a.ndk?.clientName||a.ndk?.clientNip89)&&!a.tagValue("client")){const c=["client",a.ndk.clientName??""];a.ndk.clientNip89&&c.push(a.ndk.clientNip89),r.push(c)}return{content:s||"",tags:r}})()}muted(){const a=this.ndk?.mutedIds.get(this.pubkey);if(a&&"p"===a)return"author";const r=this.tagReference(),o=this.ndk?.mutedIds.get(r[1]);return o&&o===r[0]?"event":null}replaceableDTag(){if(this.kind&&this.kind>=3e4&&this.kind<=4e4){const a=this.getMatchingTags("d")[0];return a?a[1]:""}throw new Error("Event is not a parameterized replaceable event")}deduplicationKey(){return 0===this.kind||3===this.kind||this.kind&&this.kind>=1e4&&this.kind<2e4?`${this.kind}:${this.pubkey}`:this.tagId()}tagId(){return this.isParamReplaceable()?this.tagAddress():this.id}tagAddress(){if(!this.isParamReplaceable())throw new Error("This must only be called on replaceable events");const a=this.replaceableDTag();return`${this.kind}:${this.pubkey}:${a}`}tagReference(a){let r;return r=this.isParamReplaceable()?["a",this.tagAddress()]:["e",this.tagId()],r.push(this.relay?this.relay.url:""),a&&r.push(a),r}referenceTags(a,r){let o=[];return o=this.isParamReplaceable()?[["a",this.tagAddress()],["e",this.id]]:[["e",this.id]],this.relay?.url?o=o.map(s=>(s.push(this.relay?.url),s)):a&&(o=o.map(s=>(s.push(""),s))),a&&o.forEach(s=>s.push(a)),r||o.push(...this.author.referenceTags()),o}filter(){return this.isParamReplaceable()?{"#a":[this.tagId()]}:{"#e":[this.tagId()]}}zap(a,r,o,s,c){var y=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!y.ndk)throw new Error("No NDK instance found");c||y.ndk.assertSigner();const k=new Zap({ndk:y.ndk,zappedEvent:y,zappedUser:s}),A=Array.from(y.ndk.pool.relays.keys());return yield k.createZapRequest(a,r,o,A,c)})()}delete(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");r.ndk.assertSigner();const o=new Uw(r.ndk,{kind:5,content:a||""});return o.tag(r),yield o.publish(),o})()}repost=repost.bind(this);react(a,r=!0){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("No NDK instance found");o.ndk.assertSigner();const s=new Uw(o.ndk,{kind:7,content:a});return s.tag(o),r?yield s.publish():yield s.sign(),s})()}get isValid(){return!0}},READ_MARKER="read",WRITE_MARKER="write",NDKRelayList=class _E extends NDKEvent{constructor(a,r){super(a,r),this.kind??=10002}static from(a){return new _E(a.ndk,a.rawEvent())}get readRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===READ_MARKER).map(a=>a[1])}set readRelayUrls(a){for(const r of a)this.tags.push(["r",r,READ_MARKER])}get writeRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]||a[2]&&a[2]===WRITE_MARKER).map(a=>a[1])}set writeRelayUrls(a){for(const r of a)this.tags.push(["r",r,WRITE_MARKER])}get bothRelayUrls(){return this.getMatchingTags("r").filter(a=>!a[2]).map(a=>a[1])}set bothRelayUrls(a){for(const r of a)this.tags.push(["r",r])}get relays(){return this.getMatchingTags("r").map(a=>a[1])}},defaultOpts={closeOnEose:!1,cacheUsage:"CACHE_FIRST",groupable:!0,groupableDelay:100,groupableDelayType:"at-most"},NDKSubscription=class extends lib$1.EventEmitter{subId;filters;opts;pool;skipVerification=!1;skipValidation=!1;relayFilters;relaySet;ndk;debug;eoseDebug;eventFirstSeen=new Map;eosesSeen=new Set;eventsPerRelay=new Map;lastEventReceivedAt;internalId;constructor(i,a,r,o,s){if(super(),this.ndk=i,this.pool=r?.pool||i.pool,this.opts={...defaultOpts,...r||{}},this.filters=a instanceof Array?a:[a],this.subId=s||r?.subId,this.internalId=Math.random().toString(36).substring(7),this.relaySet=o,this.debug=i.debug.extend(`subscription[${r?.subId??this.internalId}]`),this.eoseDebug=this.debug.extend("eose"),this.skipVerification=r?.skipVerification||!1,this.skipValidation=r?.skipValidation||!1,this.opts.closeOnEose||this.debug("Creating a permanent subscription",this.opts,JSON.stringify(this.filters)),"ONLY_CACHE"===this.opts.cacheUsage&&!this.opts.closeOnEose)throw new Error("Cannot use cache-only options with a persistent subscription")}get filter(){return this.filters[0]}isGroupable(){return this.opts?.groupable||!1}shouldQueryCache(){return"ONLY_RELAY"!==this.opts?.cacheUsage}shouldQueryRelays(){return"ONLY_CACHE"!==this.opts?.cacheUsage}shouldWaitForCache(){return this.opts.closeOnEose&&!!this.ndk.cacheAdapter?.locking&&"PARALLEL"!==this.opts.cacheUsage}start(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let a;i.shouldQueryCache()&&(a=i.startWithCache(),i.shouldWaitForCache()&&(yield a,queryFullyFilled(i)))?i.emit("eose",i):i.shouldQueryRelays()?i.startWithRelays():i.emit("eose",i)})()}stop(){this.emit("close",this),this.removeAllListeners()}hasAuthorsFilter(){return this.filters.some(i=>i.authors?.length)}startWithCache(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(i.ndk.cacheAdapter?.query){const a=i.ndk.cacheAdapter.query(i);i.ndk.cacheAdapter.locking&&(yield a)}})()}startWithRelays(){if(this.relaySet){this.relayFilters=new Map;for(const i of this.relaySet.relays)this.relayFilters.set(i.url,this.filters)}else this.relayFilters=calculateRelaySetsFromFilters(this.ndk,this.filters);if(this.relayFilters&&0!==this.relayFilters.size)for(const[i,a]of this.relayFilters)this.pool.getRelay(i).subscribe(this,a);else this.debug("No relays to subscribe to",this.ndk.explicitRelayUrls)}eventReceived(i,a,r=!1){if(a&&(i.relay=a),a||(a=i.relay),this.skipValidation||i.isValid){if(!r&&a){let o=this.eventsPerRelay.get(a);if(o||(o=new Set,this.eventsPerRelay.set(a,o)),o.add(i.id),this.eventFirstSeen.has(i.id)){const s=Date.now()-(this.eventFirstSeen.get(i.id)||0);return a.scoreSlowerEvent(s),void this.emit("event:dup",i,a,s,this)}this.ndk.cacheAdapter&&this.ndk.cacheAdapter.setEvent(i,this.filters,a),this.eventFirstSeen.set(i.id,Date.now())}else this.eventFirstSeen.set(i.id,0);i.ndk||(i.ndk=this.ndk),this.emit("event",i,a,this),this.lastEventReceivedAt=Date.now()}else this.debug("Event failed validation",i)}eoseTimeout;eoseReceived(i){this.eosesSeen.add(i),this.eoseDebug(`received from ${i.url}`);let a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0;const r=this.eosesSeen.size===this.relayFilters?.size;if(queryFullyFilled(this))this.emit("eose"),this.eoseDebug("Query fully filled"),this.opts?.closeOnEose&&this.stop();else if(r)this.emit("eose"),this.eoseDebug("All EOSEs seen"),this.opts?.closeOnEose&&this.stop();else{let o=1e3;const s=this.eosesSeen.size/this.relayFilters.size;if(this.eosesSeen.size>=2&&s>=.5){o*=1-s,this.eoseTimeout&&clearTimeout(this.eoseTimeout);const c=()=>{a=this.lastEventReceivedAt?Date.now()-this.lastEventReceivedAt:void 0,void 0!==a&&a<20?this.eoseTimeout=setTimeout(c,o):(this.emit("eose"),this.opts?.closeOnEose&&this.stop())};this.eoseTimeout=setTimeout(c,o)}}}};function follows(i,a){return _follows.apply(this,arguments)}function _follows(){return _follows=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r=3){if(!this.ndk)throw new Error("NDK not set");const o=Array.from(yield this.ndk.fetchEvents({kinds:[r],authors:[this.pubkey]},i||{groupable:!1}))[0];if(o){const s=new Set;return o.tags.forEach(c=>{if("p"===c[0])try{s.add(c[1]),a&&this.ndk?.outboxTracker?.trackUsers([c[1]])}catch{}}),[...s].reduce((c,y)=>{const k=new NDKUser({pubkey:y});return k.ndk=this.ndk,c.add(k),c},new Set)}return new Set}),_follows.apply(this,arguments)}function profileFromEvent(i){const a={};let r;try{r=JSON.parse(i.content)}catch(o){throw new Error(`Failed to parse profile event: ${o}`)}return Object.keys(r).forEach(o=>{switch(o){case"name":a.name=r.name;break;case"display_name":a.displayName=r.display_name;break;case"image":case"picture":a.image=r.image||r.picture;break;case"banner":a.banner=r.banner;break;case"bio":a.bio=r.bio;break;case"nip05":a.nip05=r.nip05;break;case"lud06":a.lud06=r.lud06;break;case"lud16":a.lud16=r.lud16;break;case"about":a.about=r.about;break;case"zapService":a.zapService=r.zapService;break;case"website":a.website=r.website;break;default:a[o]=r[o]}}),a}function serializeProfile(i){const a={};for(const[r,o]of Object.entries(i))switch(r){case"username":case"name":a.name=o;break;case"displayName":a.display_name=o;break;case"image":case"picture":a.picture=o;break;case"bio":case"about":a.about=o;break;default:a[r]=o}return JSON.stringify(a)}var NDKList=class kE extends NDKEvent{_encryptedTags;encryptedTagsLength;constructor(a,r){super(a,r),this.kind??=30001}static from(a){return new kE(a.ndk,a.rawEvent())}get title(){const a=this.tagValue("title")||this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set title(a){if(this.removeTag("title"),this.removeTag("name"),!a)throw new Error("Title cannot be empty");this.tags.push(["title",a])}get name(){const a=this.tagValue("name");return 3!==this.kind||a?1e4!==this.kind||a?10001!==this.kind||a?10002!==this.kind||a?10003!==this.kind||a?10004!==this.kind||a?10005!==this.kind||a?10006!==this.kind||a?10007!==this.kind||a?10015!==this.kind||a?10030!==this.kind||a?a??this.tagValue("d"):"Emojis":"Interests":"Search Relays":"Blocked Relays":"Public Chats":"Communities":"Bookmarks":"Relay Metadata":"Pinned Notes":"Mute":"Contacts"}set name(a){if(this.removeTag("name"),!a)throw new Error("Name cannot be empty");this.tags.push(["title",a])}get description(){return this.tagValue("description")}set description(a){a?this.tags.push(["description",a]):this.removeTag("description")}isEncryptedTagsCacheValid(){return!(!this._encryptedTags||this.encryptedTagsLength!==this.content.length)}encryptedTags(a=!0){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a&&r.isEncryptedTagsCacheValid())return r._encryptedTags;if(!r.ndk)throw new Error("NDK instance not set");if(!r.ndk.signer)throw new Error("NDK signer not set");const o=yield r.ndk.signer.user();try{if(r.content.length>0)try{const s=yield r.ndk.signer.decrypt(o,r.content),c=JSON.parse(s);return c&&c[0]?(r.encryptedTagsLength=r.content.length,r._encryptedTags=c):(r.encryptedTagsLength=r.content.length,r._encryptedTags=[])}catch{console.log(`error decrypting ${r.content}`)}}catch{}return[]})()}validateTag(a){return!0}get items(){return this.tags.filter(a=>!["d","L","l","title","name","description","summary","image","thumb","alt","expiration","subject"].includes(a[0]))}addItem(a,r=void 0,o=!1){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("NDK instance not set");if(!s.ndk.signer)throw new Error("NDK signer not set");let c;if(a instanceof NDKEvent)c=a.referenceTags();else if(a instanceof NDKUser)c=a.referenceTags();else if(a instanceof NDKRelay)c=a.referenceTags();else{if(!Array.isArray(a))throw new Error("Invalid object type");c=[a]}if(r&&c[0].push(r),o){const y=yield s.ndk.signer.user(),k=yield s.encryptedTags();k.push(...c),s._encryptedTags=k,s.encryptedTagsLength=s.content.length,s.content=JSON.stringify(k),yield s.encrypt(y)}else s.tags.push(...c);s.created_at=Math.floor(Date.now()/1e3),s.emit("change")})()}removeItem(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.ndk)throw new Error("NDK instance not set");if(!o.ndk.signer)throw new Error("NDK signer not set");if(r){const s=yield o.ndk.signer.user(),c=yield o.encryptedTags();c.splice(a,1),o._encryptedTags=c,o.encryptedTagsLength=o.content.length,o.content=JSON.stringify(c),yield o.encrypt(s)}else o.tags.splice(a,1);return o.created_at=Math.floor(Date.now()/1e3),o.emit("change"),o})()}},lists_default=NDKList;function pin(i,a,r){return _pin.apply(this,arguments)}function _pin(){return _pin=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a,r){if(!this.ndk)throw new Error("No NDK instance found");if(this.ndk.assertSigner(),!a){const o=yield this.ndk.fetchEvents({kinds:[10001],authors:[this.pubkey]},{cacheUsage:"ONLY_RELAY"});a=o.size>0?lists_default.from(Array.from(o)[0]):new NDKEvent(this.ndk,{kind:10001})}return a.tag(i),r&&(yield a.publish()),a}),_pin.apply(this,arguments)}var NIP05_REGEX=/^(?:([\w.+-]+)@)?([\w.-]+)$/;function getNip05For(i){return _getNip05For.apply(this,arguments)}function _getNip05For(){return _getNip05For=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(i,a=fetch,r={}){const o=i.match(NIP05_REGEX);if(!o)return null;const[s,c="_",y]=o;try{const k=yield a(`https://${y}/.well-known/nostr.json?name=${c}`,r),{names:A,relays:I,nip46:M}=parseNIP05Result(yield k.json()),T=A[c];return T?{pubkey:T,relays:I?.[T],nip46:M?.[T]}:null}catch{return null}}),_getNip05For.apply(this,arguments)}function parseNIP05Result(i){const a={names:{}};for(const[r,o]of Object.entries(i.names))"string"==typeof r&&"string"==typeof o&&(a.names[r]=o);if(i.relays){a.relays={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.relays[r]=o.filter(s=>"string"==typeof s))}if(i.nip46){a.nip46={};for(const[r,o]of Object.entries(i.relays))"string"==typeof r&&Array.isArray(o)&&(a.nip46[r]=o.filter(s=>"string"==typeof s))}return a}var NDKUser=class Hv{ndk;profile;_npub;_pubkey;relayUrls=[];nip46Urls=[];constructor(a){a.npub&&(this._npub=a.npub),a.hexpubkey&&(this._pubkey=a.hexpubkey),a.pubkey&&(this._pubkey=a.pubkey),a.relayUrls&&(this.relayUrls=a.relayUrls),a.nip46Urls&&(this.nip46Urls=a.nip46Urls)}get npub(){if(!this._npub){if(!this._pubkey)throw new Error("hexpubkey not set");this._npub=nip19_exports.npubEncode(this.pubkey)}return this._npub}set npub(a){this._npub=a}get hexpubkey(){return this.pubkey}set hexpubkey(a){this._pubkey=a}get pubkey(){if(!this._pubkey){if(!this._npub)throw new Error("npub not set");this._pubkey=nip19_exports.decode(this.npub).data}return this._pubkey}set pubkey(a){this._pubkey=a}static fromNip05(a,r,o=!1){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r?.cacheAdapter&&r.cacheAdapter.loadNip05){const y=yield r.cacheAdapter.loadNip05(a);if(y){const k=new Hv({pubkey:y.pubkey,relayUrls:y.relays,nip46Urls:y.nip46});return k.ndk=r,k}}let s={};o&&(s.cache="no-cache");const c=yield getNip05For(a,r?.httpFetch,s);if(c&&r?.cacheAdapter&&r.cacheAdapter.saveNip05&&r?.cacheAdapter.saveNip05(a,c),c){const y=new Hv({pubkey:c.pubkey,relayUrls:c.relays,nip46Urls:c.nip46});return y.ndk=r,y}})()}fetchProfile(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("NDK not set");r.profile||(r.profile={});let o=null;if(r.ndk.cacheAdapter&&r.ndk.cacheAdapter.fetchProfile&&"ONLY_RELAY"!==a?.cacheUsage){const c=yield r.ndk.cacheAdapter.fetchProfile(r.pubkey);if(c)return r.profile=c,c}!a&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.locking&&(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},{cacheUsage:"ONLY_CACHE",closeOnEose:!0,groupable:!1}),a={cacheUsage:"ONLY_RELAY",closeOnEose:!0,groupable:!0,groupableDelay:250}),o&&0!==o.size||(o=yield r.ndk.fetchEvents({kinds:[0],authors:[r.pubkey]},a));const s=Array.from(o).sort((c,y)=>c.created_at-y.created_at);return 0===s.length?null:(r.profile=profileFromEvent(s[0]),r.profile&&r.ndk.cacheAdapter&&r.ndk.cacheAdapter.saveProfile&&r.ndk.cacheAdapter.saveProfile(r.pubkey,r.profile),r.profile)})()}follows=follows.bind(this);pin=pin.bind(this);relayList(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=a.ndk.outboxPool||a.ndk.pool,o=new Set;for(const y of r.relays.values())o.add(y);const s=new NDKRelaySet(o,a.ndk),c=yield a.ndk.fetchEvent({kinds:[10002],authors:[a.pubkey]},{closeOnEose:!0,pool:r,groupable:!0,subId:`relay-list-${a.pubkey.slice(0,6)}`},s);return c?NDKRelayList.from(c):yield a.relayListFromKind3()})()}relayListFromKind3(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("NDK not set");const r=yield a.ndk.fetchEvent({kinds:[3],authors:[a.pubkey]});if(r)try{const o=JSON.parse(r.content),s=new NDKRelayList(a.ndk),c=new Set,y=new Set;for(const[k,A]of Object.entries(o))if(A){const I=A;I.write&&y.add(k),I.read&&c.add(k)}else c.add(k),y.add(k);return s.readRelayUrls=Array.from(c),s.writeRelayUrls=Array.from(y),s}catch{}})()}tagReference(){return["p",this.pubkey]}referenceTags(a){const r=[["p",this.pubkey]];return a&&r[0].push("",a),r}publish(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a.ndk)throw new Error("No NDK instance found");if(!a.profile)throw new Error("No profile available");a.ndk.assertSigner(),yield new NDKEvent(a.ndk,{kind:0,content:serializeProfile(a.profile)}).publish()})()}follow(a,r,o=3){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!s.ndk)throw new Error("No NDK instance found");if(s.ndk.assertSigner(),r||(r=yield s.follows(void 0,void 0,o)),r.has(a))return!1;r.add(a);const c=new NDKEvent(s.ndk,{kind:o});for(const y of r)c.tag(y);return yield c.publish(),!0})()}validateNip05(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.ndk)throw new Error("No NDK instance found");const o=yield getNip05For(a);return null===o?null:o.pubkey===r.pubkey})()}zap(a,r,o,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!c.ndk)throw new Error("No NDK instance found");s||c.ndk.assertSigner();const y=new Zap({ndk:c.ndk,zappedUser:c}),k=Array.from(c.ndk.pool.relays.keys());return yield y.createZapRequest(a,r,o,k,s)})()}},NDKPrivateKeySigner=class EE{_user;privateKey;constructor(a){a&&(this.privateKey=a,this._user=new NDKUser({hexpubkey:getPublicKey(this.privateKey)}))}static generate(){const a=generatePrivateKey();return new EE(a)}blockUntilReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a._user)throw new Error("NDKUser not initialized");return a._user})()}user(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return yield a.blockUntilReady(),a._user})()}sign(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.privateKey)throw Error("Attempted to sign without a private key");return getSignature(a,r.privateKey)})()}encrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to encrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.encrypt(o.privateKey,s,r)})()}decrypt(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!o.privateKey)throw Error("Attempted to decrypt without a private key");const s=a.hexpubkey;return yield nip04_exports.decrypt(o.privateKey,s,r)})()}},NDKNostrRpc=class extends lib$1.EventEmitter{ndk;signer;debug;constructor(i,a,r){super(),this.ndk=i,this.signer=a,this.debug=r.extend("rpc")}subscribe(i){var a=this;const r=this.ndk.subscribe(i,{closeOnEose:!1,groupable:!1});return r.on("event",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){try{const c=yield a.parseEvent(s);a.emit(c.method?"request":`response-${c.id}`,c)}catch(c){a.debug("error parsing event",c,s.rawEvent())}});return function(s){return o.apply(this,arguments)}}()),new Promise((o,s)=>{r.on("eose",()=>o(r))})}parseEvent(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=a.ndk.getUser({hexpubkey:i.pubkey});r.ndk=a.ndk;const o=yield a.signer.decrypt(r,i.content),s=JSON.parse(o),{id:c,method:y,params:k,result:A,error:I}=s;return y?{id:c,pubkey:i.pubkey,method:y,params:k,event:i}:{id:c,result:A,error:I,event:i}})()}sendResponse(i,a,r,o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y={id:i,result:r};s&&(y.error=s);const k=yield c.signer.user(),A=c.ndk.getUser({hexpubkey:a}),I=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(y),tags:[["p",a]],pubkey:k.hexpubkey});I.content=yield c.signer.encrypt(A,I.content),yield I.sign(c.signer),yield I.publish()})()}sendRequest(i,a,r=[],o=24133,s){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const y=Math.random().toString(36).substring(7),k=yield c.signer.user(),A=c.ndk.getUser({hexpubkey:i}),I={id:y,method:a,params:r},M=new Promise(O=>{const L=Y=>{"auth_url"===Y.result?(c.once(`response-${y}`,L),c.emit("authUrl",Y.error)):s&&s(Y)};c.once(`response-${y}`,L)}),T=new NDKEvent(c.ndk,{kind:o,content:JSON.stringify(I),tags:[["p",i]],pubkey:k.pubkey});return T.content=yield c.signer.encrypt(A,T.content),yield T.sign(c.signer),c.debug(`sending ${a} request to`,i),yield T.publish(),M})()}},NDKNip46Signer=class extends lib$1.EventEmitter{ndk;remoteUser;remotePubkey;token;localSigner;nip05;rpc;debug;relayUrls=[];constructor(i,a,r){let o,s;if(super(),a.includes("#")){const c=a.split("#");o=new NDKUser({npub:c[0]}).pubkey,s=c[1]}else a.startsWith("npub")?o=new NDKUser({npub:a}).pubkey:a.match(/\./)?this.nip05=a:o=a;this.ndk=i,o&&(this.remotePubkey=o),this.token=s,this.debug=i.debug.extend("nip46:signer"),this.remoteUser=new NDKUser({pubkey:o}),this.localSigner=r||NDKPrivateKeySigner.generate(),this.rpc=new NDKNostrRpc(i,this.localSigner,this.debug),this.rpc.on("authUrl",(...c)=>{this.emit("authUrl",...c)}),this.localSigner.user().then(c=>{this.rpc.subscribe({kinds:[24133,24134],"#p":[c.pubkey]})})}user(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return i.remoteUser})()}blockUntilReady(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.localSigner.user(),r=i.ndk.getUser({pubkey:i.remotePubkey});if(i.nip05&&!i.remotePubkey&&NDKUser.fromNip05(i.nip05).then(o=>{o&&(i.remoteUser=o,i.remotePubkey=o.pubkey,i.relayUrls=o.nip46Urls)}),!i.remotePubkey)throw new Error("Remote pubkey not set");return new Promise((o,s)=>{setTimeout(()=>{const c=[a.pubkey];i.token&&c.push(i.token),i.rpc.sendRequest(i.remotePubkey,"connect",c,24133,y=>{"ack"===y.result?o(r):s(y.error)})},100)})})()}encrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for encryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_encrypt",[i.pubkey,a],24133,c=>{c.error?s(c.error):o(c.result)})})})()}decrypt(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.debug("asking for decryption"),new Promise((o,s)=>{r.rpc.sendRequest(r.remotePubkey,"nip04_decrypt",[i.pubkey,a],24133,c=>{if(c.error)s(c.error);else{const y=JSON.parse(c.result);o(y[0])}})})})()}sign(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.debug("asking for a signature"),new Promise((r,o)=>{a.rpc.sendRequest(a.remotePubkey,"sign_event",[JSON.stringify(i)],24133,s=>{if(a.debug("got a response",s),s.error)o(s.error);else{const c=JSON.parse(s.result);r(c.sig)}})})})()}createAccount(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.debug("asking to create an account");const s=[];return i&&s.push(i),a&&s.push(a),r&&s.push(r),new Promise((c,y)=>{o.rpc.sendRequest(o.remotePubkey,"create_account",s,24134,k=>{o.debug("got a response",k),k.error?y(k.error):c(k.result)})})})()}};function dedup(i,a){return i.created_at>a.created_at?i:a}var OutboxItem=class{type;relayUrlScores;readRelays;writeRelays;constructor(i){this.type=i,this.relayUrlScores=new Map,this.readRelays=new Set,this.writeRelays=new Set}},OutboxTracker=class extends lib$1.EventEmitter{data;ndk;debug;constructor(i){super(),this.ndk=i,this.debug=i.debug.extend("outbox-tracker"),this.data=new dist.LRUCache({maxSize:1e5,entryExpirationTimeInMS:5e3})}trackUsers(i){for(const a of i){const r=getKeyFromItem(a);if(this.data.has(r))continue;const o=this.track(a,"user"),s=a instanceof NDKUser?a:new NDKUser({hexpubkey:a});s.ndk=this.ndk,s.relayList().then(c=>{if(c){o.readRelays=new Set(c.readRelayUrls),o.writeRelays=new Set(c.writeRelayUrls);for(const y of o.readRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from read relays`),o.readRelays.delete(y));for(const y of o.writeRelays)this.ndk.pool.blacklistRelayUrls.has(y)&&(this.debug(`removing blacklisted relay ${y} from write relays`),o.writeRelays.delete(y));this.data.set(r,o),this.debug(`Adding ${o.readRelays.size} read relays and ${o.writeRelays.size} write relays for ${s.hexpubkey}`)}})}}track(i,a){const r=getKeyFromItem(i);a??=getTypeFromItem(i);let o=this.data.get(r);return o||(o=new OutboxItem(a)),this.data.set(r,o),o}};function getKeyFromItem(i){return i instanceof NDKUser?i.hexpubkey:i}function getTypeFromItem(i){return i instanceof NDKUser?"user":"kind"}var NDKPool=class extends lib$1.EventEmitter{relays=new Map;blacklistRelayUrls;debug;temporaryRelayTimers=new Map;flappingRelays=new Set;backoffTimes=new Map;constructor(i=[],a=[],r,o){super(),this.debug=o??r.debug.extend("pool");for(const s of i){const c=new NDKRelay(s);this.addRelay(c,!1)}this.blacklistRelayUrls=new Set(a)}useTemporaryRelay(i,a=6e5){const r=this.relays.has(i.url);r||this.addRelay(i);const o=this.temporaryRelayTimers.get(i.url);if(o&&clearTimeout(o),!r||o){const s=setTimeout(()=>{this.removeRelay(i.url)},a);this.temporaryRelayTimers.set(i.url,s)}}addRelay(i,a=!0){var r=this;const o=i.url;this.blacklistRelayUrls?.has(o)?this.debug(`Relay ${o} is blacklisted`):(i.on("notice",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c,y){return r.emit("notice",c,y)});return function(c,y){return s.apply(this,arguments)}}()),i.on("connect",()=>this.handleRelayConnect(o)),i.on("ready",()=>this.handleRelayReady(i)),i.on("disconnect",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.emit("relay:disconnect",i)})),i.on("flapping",()=>this.handleFlapping(i)),i.on("auth",function(){var s=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(c){return r.emit("relay:auth",i,c)});return function(c){return s.apply(this,arguments)}}()),this.relays.set(o,i),a&&i.connect().catch(s=>{this.debug(`Failed to connect to relay ${o}`,s)}))}removeRelay(i){const a=this.relays.get(i);if(a)return a.disconnect(),this.relays.delete(i),this.emit("relay:disconnect",a),!0;const r=this.temporaryRelayTimers.get(i);return r&&(clearTimeout(r),this.temporaryRelayTimers.delete(i)),!1}getRelay(i,a=!0){let r=this.relays.get(i);return r||(r=new NDKRelay(i),this.addRelay(r,a)),r}handleRelayConnect(i){this.debug(`Relay ${i} connected`),this.emit("relay:connect",this.relays.get(i)),this.stats().connected===this.relays.size&&this.emit("connect")}handleRelayReady(i){this.debug(`Relay ${i.url} ready`),this.emit("relay:ready",i)}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r=[];a.debug(`Connecting to ${a.relays.size} relays${i?`, timeout ${i}...`:""}`);for(const o of a.relays.values())if(i){const s=new Promise((c,y)=>{setTimeout(()=>y(`Timed out after ${i}ms`),i)});r.push(Promise.race([o.connect(),s]).catch(c=>{a.debug(`Failed to connect to relay ${o.url}: ${c??"No reason specified"}`)}))}else r.push(o.connect());i&&setTimeout(()=>{const o=a.stats().connected===a.relays.size,s=a.stats().connected>0;!o&&s&&a.emit("connect")},i),yield Promise.all(r)})()}checkOnFlappingRelays(){if(this.flappingRelays.size/this.relays.size>=.8)for(const i of this.flappingRelays)this.backoffTimes.set(i,0)}handleFlapping(i){this.debug(`Relay ${i.url} is flapping`);let a=this.backoffTimes.get(i.url)||5e3;a*=2,this.backoffTimes.set(i.url,a),this.debug(`Backoff time for ${i.url} is ${a}ms`),setTimeout(()=>{this.debug(`Attempting to reconnect to ${i.url}`),i.connect(),this.checkOnFlappingRelays()},a),i.disconnect(),this.emit("flapping",i)}size(){return this.relays.size}stats(){const i={total:0,connected:0,disconnected:0,connecting:0};for(const a of this.relays.values())i.total++,1===a.status?i.connected++:3===a.status?i.disconnected++:0===a.status&&i.connecting++;return i}connectedRelays(){return Array.from(this.relays.values()).filter(i=>1===i.status)}urls(){return Array.from(this.relays.keys())}};function correctRelaySet(i,a){const r=a.connectedRelays();if(!Array.from(i.relays).some(o=>r.map(s=>s.url).includes(o.url)))for(const o of r)i.addRelay(o);if(0===r.length)for(const o of a.relays.values())i.addRelay(o);return i}var SPEC_PATH="/.well-known/nostr/nip96.json",Nip96=class{ndk;spec;url;nip98Required=!1;constructor(i,a){this.url=`https://${i}${SPEC_PATH}`,this.ndk=a}prepareUpload(i,a="POST"){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.validateHttpFetch(),r.spec||(yield r.fetchSpec()),!r.spec)throw new Error("Failed to fetch NIP96 spec");let o={};return r.nip98Required&&(o={Authorization:yield r.generateNip98Header(r.spec.api_url,a,i)}),{url:r.spec.api_url,headers:o}})()}xhrUpload(i,a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o="POST",{url:s,headers:c}=yield r.prepareUpload(a,o);i.open(o,s,!0),c.Authorization&&i.setRequestHeader("Authorization",c.Authorization);const y=new FormData;return y.append("file",a),new Promise((k,A)=>{i.onload=function(){i.status>=200&&i.status<300?k(JSON.parse(i.responseText)):A(new Error(i.statusText))},i.onerror=function(){A(new Error("Network Error"))},i.send(y)})})()}upload(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const r="POST",{url:o,headers:s}=yield a.prepareUpload(i,r),c=new FormData;c.append("file",i);const y=yield a.ndk.httpFetch(a.spec.api_url,{method:r,headers:s,body:c});if(200!==y.status)throw new Error(`Failed to upload file to ${o}`);const k=yield y.json();if("success"!==k.status)throw new Error(k.message);return k})()}validateHttpFetch(){if(!this.ndk)throw new Error("NDK is required to fetch NIP96 spec");if(!this.ndk.httpFetch)throw new Error("NDK must have an httpFetch method to fetch NIP96 spec")}fetchSpec(){var i=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){i.validateHttpFetch();const a=yield i.ndk.httpFetch(i.url);if(200!==a.status)throw new Error(`Failed to fetch NIP96 spec from ${i.url}`);const r=yield a.json();if(!r)throw new Error(`Failed to parse NIP96 spec from ${i.url}`);i.spec=r,i.nip98Required=i.spec.plans.free.is_nip98_required})()}generateNip98Header(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s=new NDKEvent(o.ndk,{kind:27235,tags:[["u",i],["method",a]]});if(["POST","PUT","PATCH"].includes(a)){const c=yield o.calculateSha256(r);s.tags.push(["payload",c])}return yield s.sign(),`Nostr ${btoa(JSON.stringify(s.rawEvent()))}`})()}calculateSha256(i){return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const a=yield i.arrayBuffer(),r=yield crypto.subtle.digest("SHA-256",a);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")})()}},DEFAULT_OUTBOX_RELAYS=["wss://purplepag.es","wss://relay.snort.social"],DEFAULT_BLACKLISTED_RELAYS=["wss://brb.io"],NDK=class extends lib$1.EventEmitter{explicitRelayUrls;pool;outboxPool;_signer;_activeUser;cacheAdapter;debug;devWriteRelaySet;outboxTracker;mutedIds;clientName;clientNip89;relayAuthDefaultPolicy;httpFetch;autoConnectUserRelays=!0;autoFetchUserMutelist=!0;constructor(i={}){var a;super(),a=this,this.debug=i.debug||debug3("ndk"),this.explicitRelayUrls=i.explicitRelayUrls||[],this.pool=new NDKPool(i.explicitRelayUrls||[],i.blacklistRelayUrls,this),this.debug(`Starting with explicit relays: ${JSON.stringify(this.explicitRelayUrls)}`),this.pool.on("relay:auth",function(){var r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o,s){a.relayAuthDefaultPolicy&&(yield a.relayAuthDefaultPolicy(o,s))});return function(o,s){return r.apply(this,arguments)}}()),this.autoConnectUserRelays=i.autoConnectUserRelays??!0,this.autoFetchUserMutelist=i.autoFetchUserMutelist??!0,this.clientName=i.clientName,this.clientNip89=i.clientNip89,this.relayAuthDefaultPolicy=i.relayAuthDefaultPolicy,i.enableOutboxModel&&(this.outboxPool=new NDKPool(i.outboxRelayUrls||DEFAULT_OUTBOX_RELAYS,i.blacklistRelayUrls||DEFAULT_BLACKLISTED_RELAYS,this,this.debug.extend("outbox-pool")),this.outboxTracker=new OutboxTracker(this)),this.signer=i.signer,this.cacheAdapter=i.cacheAdapter,this.mutedIds=i.mutedIds||new Map,i.devWriteRelayUrls&&(this.devWriteRelaySet=NDKRelaySet.fromRelayUrls(i.devWriteRelayUrls,this));try{this.httpFetch=fetch}catch{}}addExplicitRelay(i,a,r=!0){let o;return o="string"==typeof i?new NDKRelay(i,a):i,this.pool.addRelay(o,r),this.explicitRelayUrls.push(o.url),o}toJSON(){return{relayCount:this.pool.relays.size}.toString()}get activeUser(){return this._activeUser}set activeUser(i){var a=this;const r=this._activeUser?.pubkey!==i?.pubkey;if(this._activeUser=i,i&&r){const o=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const M=yield I.relayList();if(M){a.debug("Connecting to user relays",{npub:I.npub,relays:M.relays});for(const T of M.relays){let O=a.pool.relays.get(T);O||(O=new NDKRelay(T),a.pool.addRelay(O))}}else a.debug("No relay list found for user",{npub:I.npub})});return function(M){return A.apply(this,arguments)}}(),s=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){const M=yield a.fetchEvents([{kinds:[1e4],authors:[I.pubkey]},{kinds:[3e4],authors:[I.pubkey],"#d":["mute"],limit:1}]);if(M)for(const T of M){const O=lists_default.from(T);for(const L of O.items)a.mutedIds.set(L[1],L[0])}else a.debug("No mute list found for user",{npub:I.npub})});return function(M){return A.apply(this,arguments)}}(),c=[];this.autoConnectUserRelays&&c.push(o),this.autoFetchUserMutelist&&c.push(s);const y=function(){var A=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(I){for(const M of c)yield M(I)});return function(M){return A.apply(this,arguments)}}(),k=this.outboxPool||this.pool;k.connectedRelays.length>0?y(i):(this.debug("Waiting for connection to main relays"),k.once("relay:ready",A=>{this.debug("New relay ready",A?.url),y(i)}))}else i||(this.mutedIds=new Map)}get signer(){return this._signer}set signer(i){this._signer=i,this.emit("signer:ready",i),i?.user().then(a=>{a.ndk=this,this.activeUser=a})}connect(i){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a._signer&&a.autoConnectUserRelays&&(a.debug("Attempting to connect to user relays specified by signer"),a._signer.relays)&&(yield a._signer.relays()).forEach(o=>a.pool.addRelay(o));const r=[a.pool.connect(i)];return a.outboxPool&&r.push(a.outboxPool.connect(i)),a.debug("Connecting to relays",{timeoutMs:i}),Promise.allSettled(r).then(()=>{})})()}getUser(i){const a=new NDKUser(i);return a.ndk=this,a}getUserFromNip05(i,a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return NDKUser.fromNip05(i,r,a)})()}subscribe(i,a,r,o=!0){const s=new NDKSubscription(this,i,a,r);if(r)for(const c of r.relays)this.pool.useTemporaryRelay(c);if(this.outboxPool&&s.hasAuthorsFilter()){const c=s.filters.filter(y=>y.authors&&y.authors?.length>0).map(y=>y.authors).flat();this.outboxTracker?.trackUsers(c)}return o&&s.start(),s}publish(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.debug("Deprecated: Use `event.publish()` instead"),i.publish(a,r)})()}fetchEvent(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let s,c;if(r instanceof NDKRelay?c=new NDKRelaySet(new Set([r]),o):r instanceof NDKRelaySet&&(c=r),!r&&"string"==typeof i&&!isNip33AValue(i)){const y=relaysFromBech32(i);y.length>0&&(c=new NDKRelaySet(new Set(y),o),c=correctRelaySet(c,o.pool))}if(s="string"==typeof i?filterFromId(i):i,!s)throw new Error(`Invalid filter: ${JSON.stringify(i)}`);return new Promise(y=>{const k=o.subscribe(s,{...a||{},closeOnEose:!0},c,!1);k.on("event",A=>{A.ndk=o,y(A)}),k.on("eose",()=>{y(null)}),k.start()})})()}fetchEvents(i,a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise(s=>{const c=new Map,y=o.subscribe(i,{...a||{},closeOnEose:!0},r,!1),k=A=>{const I=A.deduplicationKey(),M=c.get(I);M&&(A=dedup(M,A)),A.ndk=o,c.set(I,A)};y.on("event",k),y.on("event:dup",k),y.on("eose",()=>{s(new Set(c.values()))}),y.start()})})()}assertSigner(){if(!this.signer)throw this.emit("signerRequired"),new Error("Signer required")}getNip96(i){return new Nip96(i,this)}};const LOCAL_STORE_KEY="__nostrlogin_nip46",LOGGED_IN_ACCOUNTS="__nostrlogin_accounts",RECENT_ACCOUNTS="__nostrlogin_recent",OUTBOX_RELAYS$1=["wss://purplepag.es","wss://relay.nos.social","wss://user.kindpag.es","wss://relay.damus.io","wss://nos.lol"],DEFAULT_SIGNUP_RELAYS=["wss://relay.damus.io/","wss://nos.lol/","wss://relay.primal.net/"],localStorageSetItem=(i,a)=>{localStorage.setItem(i,a)},localStorageGetItem=i=>{const a=window.localStorage.getItem(i);if(a)try{return JSON.parse(a)}catch{}return null},localStorageRemoveItem=i=>{localStorage.removeItem(i)},fetchProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){const o=new NDKUser({pubkey:a.pubkey});return o.ndk=r,yield o.fetchProfile()});return function(r,o){return i.apply(this,arguments)}}(),createProfile=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r,o,s){const c={name:a.name},y=new NDKEvent(r,{kind:0,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:JSON.stringify(c),tags:[]});window.location.hostname&&y.tags.push(["client",window.location.hostname]);const k=new NDKEvent(r,{kind:10002,created_at:Math.floor(Date.now()/1e3),pubkey:a.pubkey,content:"",tags:[]}),A=(s||"").split(",").map(I=>I.trim()).filter(I=>I.startsWith("ws"));A.length||A.push(...DEFAULT_SIGNUP_RELAYS);for(const I of A)k.tags.push(["r",I]);yield y.sign(o),console.log("signed profile",y),yield k.sign(o),console.log("signed relays",k),yield y.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published profile",y),yield k.publish(NDKRelaySet.fromRelayUrls(OUTBOX_RELAYS$1,r)),console.log("published relays",k)});return function(r,o,s,c){return i.apply(this,arguments)}}(),bunkerUrlToInfo=(i,a="")=>{const r=new URL(i);return{pubkey:r.hostname||r.pathname.split("//")[1],sk:a||generatePrivateKey(),relays:r.searchParams.getAll("relay"),token:r.searchParams.get("secret")||"",authMethod:"connect"}},isBunkerUrl=i=>i.startsWith("bunker://"),getBunkerUrl=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a,r){if(!a)return"";if(isBunkerUrl(a))return a;if(a.includes("@")){const[o,s]=a.toLocaleLowerCase().split("@"),c=r.devOverrideBunkerOrigin||`https://${s}`,y=`${c}/.well-known/nostr.json?name=_`,k=`${c}/.well-known/nostr.json?name=${o}`,A=yield fetch(y),I=yield A.json(),T=I.nip46[I.names._],O=yield fetch(k),L=(yield O.json()).names[o];if(!T.length)throw new Error("Bunker relay not provided");return`bunker://${L}?relay=${T[0]}`}throw new Error("Invalid user name or bunker url")});return function(r,o){return i.apply(this,arguments)}}(),checkNip05=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(a){let r=!1,o="",s="";return yield(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!a||!a.includes("@"))return;const[c,y]=a.toLocaleLowerCase().split("@");if(!c)return;if(!new RegExp(/^[\w-.]+@([\w-]+\.)+[\w-]{2,8}$/g).test(a))return void(o="Invalid name");if(!y)return void(o="Select service");const k=`https://${y}/.well-known/nostr.json?name=${c.toLowerCase()}`;try{const A=yield fetch(k),I=yield A.json();if(I.names[c])return void(s=I.names[c])}catch{}r=!0})(),{available:r,taken:""!=s,error:o,pubkey:s}});return function(r){return i.apply(this,arguments)}}(),upgradeInfo=i=>{"typeAuthMethod"in i&&delete i.typeAuthMethod,i.authMethod||(i.authMethod="extension"in i&&i.extension?"extension":"readOnly"in i&&i.readOnly?"readOnly":"connect"),i.nip05&&isBunkerUrl(i.nip05)&&(i.bunkerUrl=i.nip05,i.nip05="")},localStorageAddAccount=i=>{localStorageSetItem(LOCAL_STORE_KEY,JSON.stringify(i));const a=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],r=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(y=>upgradeInfo(y)),r.forEach(y=>upgradeInfo(y));const o=a,s=a.findIndex(y=>y.pubkey===i.pubkey&&y.authMethod===i.authMethod);-1!==s?o[s]=i:o.push(i);const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(c)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(o))},localStorageRemoveCurrentAccount=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);if(!i)return;upgradeInfo(i);const a={...i};delete a.sk,delete a.otpData;const r=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[],o=localStorageGetItem(RECENT_ACCOUNTS)||[];r.forEach(y=>upgradeInfo(y)),o.forEach(y=>upgradeInfo(y));const s=o;if("connect"===a.authMethod&&a.bunkerUrl&&a.bunkerUrl.includes("secret="))console.log("nostr login bunker conn with a secret not saved to recent");else if("local"===a.authMethod)console.log("nostr login temporary local keys not save to recent");else{const y=o.findIndex(k=>k.pubkey===a.pubkey&&k.authMethod===a.authMethod);-1!==y?s[y]=a:s.push(a)}const c=r.filter(y=>y.pubkey!==i.pubkey||y.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(s)),localStorageSetItem(LOGGED_IN_ACCOUNTS,JSON.stringify(c)),localStorageRemoveItem(LOCAL_STORE_KEY)},localStorageRemoveRecent=i=>{const a=localStorageGetItem(RECENT_ACCOUNTS)||[];a.forEach(o=>upgradeInfo(o));const r=a.filter(o=>o.pubkey!==i.pubkey||o.authMethod!==i.authMethod);localStorageSetItem(RECENT_ACCOUNTS,JSON.stringify(r))},localStorageGetRecents=()=>{const i=localStorageGetItem(RECENT_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetAccounts=()=>{const i=localStorageGetItem(LOGGED_IN_ACCOUNTS)||[];return i.forEach(a=>upgradeInfo(a)),i},localStorageGetCurrent=()=>{const i=localStorageGetItem(LOCAL_STORE_KEY);return i&&upgradeInfo(i),i},getDarkMode=i=>{const a=localStorage.getItem("nl-dark-mode");return a?!!JSON.parse(a):void 0!==i.darkMode?i.darkMode:!(!window.matchMedia||!window.matchMedia("(prefers-color-scheme: dark)").matches)},getIcon=function(){var i=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return document.location.origin+"/favicon.ico"});return function(){return i.apply(this,arguments)}}();class BannerManager extends lib$1.EventEmitter{banner=null;listNotifies=[];params;constructor(a){super(),this.params=a}onAuthUrl(a){this.banner&&(this.banner.notify={confirm:Date.now(),url:a})}onUserInfo(a){this.banner&&(this.banner.userInfo=a)}onCallTimeout(){this.banner&&(this.banner.notify={confirm:Date.now(),timeOut:{domain:this.params.userInfo?.nip05?.split("@")[1]}})}onCallStart(){this.banner&&(this.banner.isLoading=!0)}onCallEnd(){this.banner&&(this.banner.isLoading=!1)}onUpdateAccounts(a){this.banner&&(this.banner.accounts=a)}onDarkMode(a){this.banner&&(this.banner.darkMode=a)}launchAuthBanner(a){var r=this;this.banner=document.createElement("nl-banner"),this.banner.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&this.banner.setAttribute("theme",a.theme),a.noBanner&&this.banner.setAttribute("hidden-mode","true"),this.banner.addEventListener("handleLoginBanner",o=>{this.emit("launch",o.detail)}),this.banner.addEventListener("handleConfirmLogout",()=>{this.emit("onConfirmLogout")}),this.banner.addEventListener("handleLogoutBanner",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.emit("logout")})),this.banner.addEventListener("handleImportModal",o=>{this.emit("import")}),this.banner.addEventListener("handleNotifyConfirmBanner",o=>{this.emit("onAuthUrlClick",o.detail)}),this.banner.addEventListener("handleSetConfirmBanner",o=>{this.listNotifies.push(o.detail),this.banner&&(this.banner.listNotifies=this.listNotifies)}),this.banner.addEventListener("handleSwitchAccount",o=>{this.emit("onSwitchAccount",o.detail)}),this.banner.addEventListener("handleOpenWelcomeModal",()=>{this.emit("launch",this.params.optionsModal.startScreen),this.banner&&(this.banner.isOpen=!1)}),this.banner.addEventListener("handleRetryConfirmBanner",()=>{const o=this.listNotifies.pop();o&&(this.banner&&(this.banner.listNotifies=this.listNotifies),this.emit("onAuthUrlClick",o))}),document.body.appendChild(this.banner)}}function extract(i,a,r){return hash$1(i),void 0===r&&(r=new Uint8Array(i.outputLen)),hmac$1(i,toBytes$1(r),toBytes$1(a))}const HKDF_COUNTER=new Uint8Array([0]),EMPTY_BUFFER=new Uint8Array;function expand(i,a,r,o=32){if(hash$1(i),number$1(o),o>255*i.outputLen)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(o/i.outputLen);void 0===r&&(r=EMPTY_BUFFER);const c=new Uint8Array(s*i.outputLen),y=hmac$1.create(i,a),k=y._cloneInto(),A=new Uint8Array(y.outputLen);for(let I=0;Idecoder.decode(i),getConversationKey(i,a){const r=secp256k1.getSharedSecret(i,"02"+a).subarray(1,33);return extract(sha256,r,"nip44-v2")},getMessageKeys(i,a){const r=expand(sha256,i,a,76);return{chacha_key:r.subarray(0,32),chacha_nonce:r.subarray(32,44),hmac_key:r.subarray(44,76)}},calcPaddedLen(i){if(!Number.isSafeInteger(i)||i<1)throw new Error("expected positive integer");if(i<=32)return 32;const a=1<u.maxPlaintextSize)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const a=new Uint8Array(2);return new DataView(a.buffer).setUint16(0,i,!1),a},pad(i){const a=u.utf8Encode(i),r=a.length;return concatBytes(u.writeU16BE(r),a,new Uint8Array(u.calcPaddedLen(r)-r))},unpad(i){const a=new DataView(i.buffer).getUint16(0),r=i.subarray(2,2+a);if(au.maxPlaintextSize||r.length!==a||i.length!==2+u.calcPaddedLen(a))throw new Error("invalid padding");return u.utf8Decode(r)},hmacAad(i,a,r){if(32!==r.length)throw new Error("AAD associated data must be 32 bytes");const o=concatBytes(r,a);return hmac$1(sha256,i,o)},decodePayload(i){if("string"!=typeof i)throw new Error("payload must be a valid string");const a=i.length;if(a<132||a>87472)throw new Error("invalid payload length: "+a);if("#"===i[0])throw new Error("unknown encryption version");let r;try{r=base64.decode(i)}catch(c){throw new Error("invalid base64: "+c.message)}const o=r.length;if(o<99||o>65603)throw new Error("invalid data length: "+o);const s=r[0];if(2!==s)throw new Error("unknown encryption version "+s);return{nonce:r.subarray(1,33),ciphertext:r.subarray(33,-32),mac:r.subarray(-32)}}};function encryptNip44(i,a,r=randomBytes(32)){const{chacha_key:o,chacha_nonce:s,hmac_key:c}=u.getMessageKeys(a,r),y=u.pad(i),k=chacha20(o,s,y),A=u.hmacAad(c,k,r);return base64.encode(concatBytes(new Uint8Array([2]),r,k,A))}function decryptNip44(i,a){const{nonce:r,ciphertext:o,mac:s}=u.decodePayload(i),{chacha_key:c,chacha_nonce:y,hmac_key:k}=u.getMessageKeys(a,r);if(!equalBytes(u.hmacAad(k,o,r),s))throw new Error("invalid MAC");const A=chacha20(c,y,o);return u.unpad(A)}class Nip44{cache=new Map;createKey(a,r){return u.getConversationKey(a,r)}getKey(a,r,o){const s=getPublicKey(a)+r;let c=this.cache.get(s);if(c)return c;const y=this.createKey(a,r);return this.cache.set(s,y),y}encrypt(a,r,o){return encryptNip44(o,this.getKey(a,r))}decrypt(a,r,o){return decryptNip44(o,this.getKey(a,r))}}const OUTBOX_RELAYS=["wss://user.kindpag.es","wss://purplepag.es","wss://relay.nos.social"],DEFAULT_NOSTRCONNECT_RELAY="wss://relay.nsec.app/",NOSTRCONNECT_APPS=[{name:"Nsec.app",domain:"nsec.app",canImport:!0,img:"https://nsec.app/assets/favicon.ico",link:"https://use.nsec.app/",relay:"wss://relay.nsec.app/"},{name:"Amber",img:"https://raw.githubusercontent.com/greenart7c3/Amber/master/app/src/main/res/mipmap-hdpi/ic_launcher.webp",link:"",relay:"wss://relay.nsec.app/"},{name:"Other key stores",img:"",link:"",relay:"wss://relay.nsec.app/"}];class AuthNostrService extends lib$1.EventEmitter{ndk;profileNdk;signer=null;localSigner=null;params;signerPromise;launcherPromise;nip44Codec=new Nip44;nostrConnectKey="";nostrConnectSecret="";nip04;nip44;constructor(a){super(),this.params=a,this.ndk=new NDK({enableOutboxModel:!1}),this.profileNdk=new NDK({enableOutboxModel:!0,explicitRelayUrls:OUTBOX_RELAYS}),this.profileNdk.connect(),this.nip04={encrypt:this.encrypt04.bind(this),decrypt:this.decrypt04.bind(this)},this.nip44={encrypt:this.encrypt44.bind(this),decrypt:this.decrypt44.bind(this)}}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.signerPromise)try{yield a.signerPromise}catch{}if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}nostrConnect(a,r=!1){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const s={authMethod:"connect",pubkey:"",sk:o.nostrConnectKey,relays:[a=a||DEFAULT_NOSTRCONNECT_RELAY]},c=yield o.initSigner(s,{listen:!0});if(!c)throw new Error("Bad remote pubkey");return s.pubkey=c,s.bunkerUrl=`bunker://${c}?relay=${a}`,r||o.onAuth("login",s),s})()}getNostrConnectServices(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.nostrConnectKey=generatePrivateKey(),a.nostrConnectSecret=Math.random().toString(36).substring(7);const r=getPublicKey(a.nostrConnectKey),o={name:document.location.host,url:document.location.href,icon:yield getIcon(),perms:a.params.optionsModal.perms},s=`nostrconnect://${r}?metadata=${encodeURIComponent(JSON.stringify(o))}&secret=${a.nostrConnectSecret}`,c=a.localSigner?"#import="+nip19_exports.nsecEncode(a.localSigner.privateKey):"",y=NOSTRCONNECT_APPS.map(k=>({...k}));for(const k of y){let A=DEFAULT_NOSTRCONNECT_RELAY;if(k.link.startsWith("https://")){const M=new URL(k.link);try{const T=yield(yield fetch(`${M.origin}/.well-known/nostr.json`)).json(),L=T.nip46[T.names._];L&&L.length&&(A=L[0])}catch(T){console.log("Bad app info",T,M)}}k.link=k.link.replace("",s+"&relay="+A+c)}return[s+c,y]})()}localSignup(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=generatePrivateKey(),s={pubkey:getPublicKey(o),sk:o,name:a,authMethod:"local"};console.log(`localSignup name: ${a}`),yield r.setLocal(s,!0)})()}setLocal(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.releaseSigner(),o.localSigner=new NDKPrivateKeySigner(a.sk),r&&(yield createProfile(a,o.profileNdk,o.localSigner,o.params.optionsModal.signupRelays)),o.onAuth("login",a)})()}importAndConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const o=yield r.nostrConnect(a,!0);yield r.logout(!0),r.localSigner=null,r.onAuth("login",o)})()}setReadOnly(a){this.onAuth("login",{pubkey:a,authMethod:"readOnly"})}setExtension(a){this.onAuth("login",{pubkey:a,authMethod:"extension"})}setOTP(a,r){this.onAuth("login",{pubkey:a,authMethod:"otp",otpData:r})}setConnect(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){r.releaseSigner(),yield r.initSigner(a),r.onAuth("login",a)})()}createAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){const[o,s]=a.split("@"),c=yield getBunkerUrl(`_@${s}`,r.params.optionsModal);console.log("create account bunker's url",c);const y=bunkerUrlToInfo(c),k=!!r.params.userInfo;yield r.initSigner(y,{eventToAddAccount:k});const A=[o,s,"",r.params.optionsModal.perms||""];console.log("signer",r.signer);const I=yield new Promise(M=>{r.signer.rpc.sendRequest(y.pubkey,"create_account",A,void 0,M)});if(console.log("create_account pubkey",I),"error"===I.result)throw new Error(I.error);return{bunkerUrl:`bunker://${I.result}?relay=${y.relays?.[0]}`,sk:y.sk}})()}releaseSigner(){this.signer=null,this.localSigner=null;for(const a of this.ndk.pool.relays.keys())this.ndk.pool.removeRelay(a)}logout(a=!1){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a||r.releaseSigner(),localStorageRemoveCurrentAccount(),r.onAuth("logout"),r.emit("updateAccounts")})()}setUserInfo(a){this.params.userInfo=a,this.emit("onUserInfo",a),a&&(localStorageAddAccount(a),this.emit("updateAccounts"))}exportKeys(){return this.params.userInfo?"local"!==this.params.userInfo.authMethod?"":nip19_exports.nsecEncode(this.params.userInfo.sk):""}onAuth(a,r=null){if("logout"!==a&&!r)throw new Error("No user info in onAuth");if(r&&this.params.userInfo&&(r.pubkey!==this.params.userInfo.pubkey||r.authMethod!==this.params.userInfo.authMethod)){const o=new CustomEvent("nlAuth",{detail:{type:"logout"}});console.log("nostr-login auth",o.detail),document.dispatchEvent(o)}this.setUserInfo(r),r&&fetchProfile(r,this.profileNdk).then(o=>{if(this.params.userInfo!==r)return;const s={...this.params.userInfo,picture:o?.image||o?.picture,name:o?.name||o?.displayName||o?.nip05||nip19_exports.npubEncode(r.pubkey)};this.setUserInfo(s)});try{const o=r?nip19_exports.npubEncode(r.pubkey):"",s={type:a};"logout"!==a&&(s.pubkey=r.pubkey,r.sk&&(s.localNsec=nip19_exports.nsecEncode(r.sk)),r.relays&&(s.relays=r.relays),r.otpData&&(s.otpData=r.otpData),s.method=r.authMethod||"connect");const c=new CustomEvent("nlAuth",{detail:s});console.log("nostr-login auth",s),document.dispatchEvent(c),this.params.optionsModal.onAuth&&this.params.optionsModal.onAuth(o,s)}catch(o){console.log("onAuth error",o)}}initSigner(a,{listen:r=!1,connect:o=!1,eventToAddAccount:s=!1}={}){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(c.signerPromise)try{yield c.signerPromise}catch{}return c.signerPromise=new Promise(function(){var y=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(k,A){try{if(a.relays)for(const I of a.relays)c.ndk.addExplicitRelay(I,void 0);if(yield c.ndk.connect(),c.signer=new NDKNip46Signer(c.ndk,a.pubkey,new NDKPrivateKeySigner(a.sk)),r||c.signer.on("authUrl",I=>{console.log("nostr login auth url",I),c.emit("onAuthUrl",{url:I,eventToAddAccount:s})}),r){const I=getPublicKey(a.sk);console.log("nostr-login listening for conn to",I);const M=yield c.signer.rpc.subscribe({kinds:[24133],"#p":[I]});M.on("event",function(){var T=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(O){try{const L=yield c.signer.rpc.parseEvent(O);if(!L.method){const Y=L;if("auth_url"===Y.result)return;"ack"===Y.result||Y.result===c.nostrConnectSecret?(c.signer.remotePubkey=O.pubkey,c.signer.remoteUser=new NDKUser({pubkey:O.pubkey}),a.pubkey=O.pubkey,k(O.pubkey)):A(Y.error)}}catch(L){console.log("error parsing event",L,O.rawEvent())}M.stop()});return function(O){return T.apply(this,arguments)}}())}else o&&(yield new Promise((I,M)=>{c.signer&&a.sk&&c.signer.rpc.sendRequest(a.pubkey,"connect",[a.pubkey,a.token||"",c.params.optionsModal.perms||""],24133,O=>{"ack"===O.result?I():M(O.error)})})),k(void 0)}catch(I){console.log("initSigner failure",I),c.signer=null,A(I)}});return function(k,A){return y.apply(this,arguments)}}()),c.signerPromise})()}authNip46(a,r,o,s=""){var c=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{const y=bunkerUrlToInfo(o,s);if(isBunkerUrl(r)?y.bunkerUrl=r:y.nip05=r,!y.pubkey||!y.sk||!y.relays?.[0])throw new Error(`Bad bunker url ${o}`);const k=!!c.params.userInfo;yield c.initSigner(y,{connect:!0,eventToAddAccount:k}),c.onAuth(a,y)}catch(y){throw console.log("nostr login auth failed",y),y}})()}signEvent(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return r.localSigner?(a.pubkey=getPublicKey(r.localSigner.privateKey),a.id=getEventHash(a),a.sig=yield r.localSigner.sign(a)):(a.pubkey=r.signer?.remotePubkey,a.id=getEventHash(a),a.sig=yield r.signer?.sign(a)),console.log("signed",{event:a}),a})()}codec_call(a,r,o){var s=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return new Promise((c,y)=>{s.signer.rpc.sendRequest(s.signer.remotePubkey,a,[r,o],24133,k=>{k.error?y(k.error):c(k.result)})})})()}encrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.encrypt(new NDKUser({pubkey:a}),r):o.signer.encrypt(new NDKUser({pubkey:a}),r)})()}decrypt04(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.localSigner.decrypt(new NDKUser({pubkey:a}),r):o.codec_call("nip04_decrypt",a,r)})()}encrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.encrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_encrypt",a,r)})()}decrypt44(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return o.localSigner?o.nip44Codec.decrypt(o.localSigner.privateKey,a,r):o.codec_call("nip44_decrypt",a,r)})()}}class ModalManager extends lib$1.EventEmitter{modal=null;params;extensionService;authNostrService;launcherPromise;accounts=[];recents=[];opt;constructor(a,r,o){super(),this.params=a,this.extensionService=o,this.authNostrService=r}waitReady(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(a.launcherPromise)try{yield a.launcherPromise}catch{}})()}launch(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.launcherPromise)try{yield r.launcherPromise}catch{}r.opt=a;const o=document.createElement("dialog");r.modal=document.createElement("nl-auth"),r.modal.accounts=r.accounts,r.modal.recents=r.recents,r.modal.setAttribute("dark-mode",String(getDarkMode(a))),a.theme&&r.modal.setAttribute("theme",a.theme),a.startScreen&&r.modal.setAttribute("start-screen",a.startScreen),r.modal.setAttribute("bunkers",a.bunkers?a.bunkers:"nsec.app,highlighter.com"),void 0!==a.methods&&(r.modal.authMethods=a.methods),void 0!==a.localSignup&&(r.modal.localSignup=a.localSignup),a.title&&(r.modal.welcomeTitle=a.title),a.description&&(r.modal.welcomeDescription=a.description),r.modal.hasExtension=r.extensionService.hasExtension(),r.modal.hasOTP=!!a.otpRequestUrl&&!!a.otpReplyUrl,r.modal.isLoadingExtension=!1,r.modal.isLoading=!1,[r.modal.connectionString,r.modal.connectionStringServices]=yield r.authNostrService.getNostrConnectServices(),o.appendChild(r.modal),document.body.appendChild(o);let s="";return r.launcherPromise=new Promise((c,y)=>{o.addEventListener("close",()=>{y(new Error("Closed")),r.modal&&(r.modal.isLoading=!1,r.modal.authUrl="",r.modal.error="",r.modal.isLoadingExtension=!1,document.body.removeChild(r.modal.parentNode),r.modal=null)});const k=z=>{r.modal&&(r.modal.isLoading=!0),getBunkerUrl(z,r.params.optionsModal).then(q=>r.authNostrService.authNip46("login",z,q)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})},I=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){try{yield navigator.clipboard.writeText(r.authNostrService.exportKeys()),localStorageSetItem("backupKey","true")}catch(q){console.error("Failed to copy to clipboard: ",q)}});return function(){return z.apply(this,arguments)}}(),M=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.importAndConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}(),T=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){q&&r.modal&&(r.modal.isLoading=!0);try{yield r.authNostrService.nostrConnect(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}(),O=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){r.modal&&(r.modal.isLoading=!0);try{if(!q)throw new Error("Please enter some nickname");yield r.authNostrService.localSignup(q),r.modal&&(r.modal.isLoading=!1),o.close(),c()}catch(ct){console.log("error",ct),r.modal&&(r.modal.isLoading=!1,r.modal.error=ct.toString())}});return function(ct){return z.apply(this,arguments)}}();if(!r.modal)throw new Error("WTH?");r.modal.addEventListener("handleContinue",()=>{r.modal&&(r.modal.isLoading=!0,r.emit("onAuthUrlClick",r.modal.authUrl))}),r.modal.addEventListener("nlLogin",z=>{k(z.detail)}),r.modal.addEventListener("nlSignup",z=>{(z=>{r.modal&&(r.modal.isLoading=!0),r.authNostrService.createAccount(z).then(({bunkerUrl:q,sk:ct})=>r.authNostrService.authNip46("signup",z,q,ct)).then(()=>{r.modal&&(r.modal.isLoading=!1),o.close(),c()}).catch(q=>{console.log("error",q),r.modal&&(r.modal.isLoading=!1,r.modal.error=q.toString())})})(z.detail)}),r.modal.addEventListener("nlLocalSignup",z=>{O(z.detail)}),r.modal.addEventListener("nlImportAccount",z=>{M(z.detail)}),r.modal.addEventListener("nlExportKeys",z=>{I()}),r.modal.addEventListener("handleLogoutBanner",()=>{r.emit("onLogoutBanner")}),r.modal.addEventListener("nlNostrConnect",z=>{T(z.detail)}),r.modal.addEventListener("nlNostrConnectDefault",()=>{T()}),r.modal.addEventListener("nlSwitchAccount",z=>{r.emit("onSwitchAccount",z.detail),setTimeout(()=>o.close(),300)}),r.modal.addEventListener("nlLoginRecentAccount",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const ct=q.detail;if("readOnly"===ct.authMethod)r.authNostrService.setReadOnly(ct.pubkey),o.close();else if("otp"===ct.authMethod){console.log("recent otp login",ct);try{r.modal.dispatchEvent(new CustomEvent("nlLoginOTPUser",{detail:ct.nip05||ct.pubkey}))}catch(dt){console.error(dt)}}else if("extension"===ct.authMethod)yield r.extensionService.trySetExtensionForPubkey(ct.pubkey),o.close();else{const dt=ct.bunkerUrl||ct.nip05;if(!dt)throw new Error("Bad connect info");k(dt)}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlRemoveRecent",z=>{localStorageRemoveRecent(z.detail),r.emit("updateAccounts")});const L=function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){let ct="";if(q.includes("@")){const{error:dt,pubkey:tt}=yield checkNip05(q);if(!tt)throw new Error(dt);ct=tt}else if(q.startsWith("npub")){const{type:dt,data:tt}=nip19_exports.decode(q);if("npub"!==dt)throw new Error("Bad npub");ct=tt}else 64===q.trim().length&&(ct=q.trim(),nip19_exports.npubEncode(ct));return ct});return function(ct){return z.apply(this,arguments)}}();r.modal.addEventListener("nlLoginReadOnly",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=yield L(ct);r.authNostrService.setReadOnly(dt),r.modal.isLoading=!1,o.close(),c()}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginExtension",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(!r.extensionService.hasExtension())throw new Error("No extension");if(r.modal)try{r.modal.isLoadingExtension=!0,yield r.extensionService.setExtension(),r.modal.isLoadingExtension=!1,o.close(),c()}catch(z){console.log("extension error",z),r.modal.error=z.toString()}})),r.modal.addEventListener("nlLoginOTPUser",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=yield L(ct),tt=r.opt.otpRequestUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+dt,vt=yield fetch(tt);if(200!==vt.status)throw console.warn("nostr-login: bad otp reply",vt),new Error("Failed to send DM");r.modal.isOTP=!0,s=dt,r.modal.isLoading=!1}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlLoginOTPCode",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){if(!r.modal)return;r.modal.isLoading=!0;const ct=q.detail;try{const dt=r.opt.otpReplyUrl+(r.opt.otpRequestUrl.includes("?")?"&":"?")+"pubkey="+s+"&code="+ct,tt=yield fetch(dt);if(200!==tt.status)throw console.warn("nostr-login: bad otp reply",tt),new Error("Invalid code");const vt=yield tt.text();r.authNostrService.setOTP(s,vt),r.modal.isOTP=!1,r.modal.isLoading=!1,o.close(),c()}catch(dt){console.log("error",dt),r.modal.isLoading=!1,r.modal.error=dt.toString()||dt}});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckSignup",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:dt,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),!tt&&dt&&(r.modal.error="Already taken"),r.modal.signupNameIsAvailable=ct)});return function(q){return z.apply(this,arguments)}}()),r.modal.addEventListener("nlCheckLogin",function(){var z=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(q){const{available:ct,taken:dt,error:tt}=yield checkNip05(q.detail);r.modal&&(r.modal.error=String(tt),ct&&(r.modal.error="Name not found"),r.modal.loginIsGood=dt)});return function(q){return z.apply(this,arguments)}}());const Y=()=>{r.modal&&(r.modal.isLoading=!1),o.close(),y(new Error("Cancelled"))};r.modal.addEventListener("stopFetchHandler",Y),r.modal.addEventListener("nlCloseModal",Y),r.modal.addEventListener("nlChangeDarkMode",z=>{setDarkMode(z.detail),document.dispatchEvent(new CustomEvent("nlDarkMode",{detail:z.detail}))}),o.showModal()}),r.launcherPromise})()}connectModals(a){var r=this;const o=function(){var c=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(y){yield r.launch(y)});return function(k){return c.apply(this,arguments)}}(),s=document.getElementsByTagName("nl-button");for(let c=0;c{this.checkExtension(a)&&clearTimeout(r)},100)}checkExtension(a){return!(this.nostrExtension||!window.nostr||window.nostr===a||(this.initExtension(a),0))}initExtension(a,r){var o=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){o.nostrExtension=window.nostr,window.nostr=a,"extension"===o.params.userInfo?.authMethod&&(yield o.trySetExtensionForPubkey(o.params.userInfo.pubkey)),r||setTimeout(()=>{window.nostr!==a&&o.nostrExtension!==window.nostr&&o.initExtension(a,!0)},300)})()}setExtensionReadPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){window.nostr=r.nostrExtension;const o=yield window.nostr.getPublicKey();a&&a!==o?r.emit("extensionLogout"):r.emit("extensionLogin",o)})()}trySetExtensionForPubkey(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(r.nostrExtension)return r.setExtensionReadPubkey(a)})()}setExtension(){var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){return a.setExtensionReadPubkey()})()}unsetExtension(a){window.nostr===this.nostrExtension&&(window.nostr=a)}getExtension(){return this.nostrExtension}hasExtension(){return!!this.nostrExtension}}class NostrParams{userInfo;optionsModal;constructor(){this.userInfo=null,this.optionsModal={theme:"default",startScreen:"welcome",devOverrideBunkerOrigin:""}}}class Popup{popup=null;constructor(){}ensurePopup(a){if(!this.popup||this.popup.closed){if(this.popup=window.open(a,"_blank","width=400,height=700"),console.log("popup",this.popup),!this.popup)throw new Error("Popup blocked. Try again, please!");this.popup.opener=null}}closePopup(){try{this.popup?.close(),this.popup=null}catch{}}}const CALL_TIMEOUT=5e3;class ProcessManager extends lib$1.EventEmitter{callCount=0;callTimer;constructor(){super()}onAuthUrl(){this.callTimer&&clearTimeout(this.callTimer)}wait(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){let o,s;r.callTimer||(r.callTimer=setTimeout(()=>r.emit("onCallTimeout"),CALL_TIMEOUT)),r.callCount||(yield r.emit("onCallStart")),r.callCount++;try{s=yield a()}catch(c){o=c}if(r.callCount--,yield r.emit("onCallEnd"),r.callTimer&&clearTimeout(r.callTimer),r.callTimer=void 0,o)throw o;return s})()}}class NostrLoginInitializer{extensionService;params;authNostrService;nostr;processManager;popupManager;bannerManager;modalManager;constructor(){var a=this;this.params=new NostrParams,this.processManager=new ProcessManager,this.popupManager=new Popup,this.bannerManager=new BannerManager(this.params),this.authNostrService=new AuthNostrService(this.params),this.extensionService=new NostrExtensionService(this.params),this.modalManager=new ModalManager(this.params,this.authNostrService,this.extensionService);const r={waitReady:(o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){yield a.authNostrService.waitReady(),yield a.modalManager.waitReady()}),function(){return o.apply(this,arguments)}),getUserInfo:()=>this.params.userInfo,getSigner:()=>{if("readOnly"===this.params.userInfo.authMethod)throw new Error("Read only");return"extension"===this.params.userInfo.authMethod?this.extensionService.getExtension():this.authNostrService},launch:()=>this.launch(),wait:o=>this.processManager.wait(o)};var o;this.nostr=new Nostr(r),this.processManager.on("onCallTimeout",()=>{this.bannerManager.onCallTimeout()}),this.processManager.on("onCallEnd",()=>{this.bannerManager.onCallEnd()}),this.processManager.on("onCallStart",()=>{this.bannerManager.onCallStart()}),this.authNostrService.on("onAuthUrl",({url:o,eventToAddAccount:s})=>{this.processManager.onAuthUrl(),s?this.modalManager.onAuthUrl(o):this.params.userInfo?this.bannerManager.onAuthUrl(o):this.modalManager.onAuthUrl(o)}),this.authNostrService.on("updateAccounts",()=>{this.updateAccounts()}),this.authNostrService.on("onUserInfo",o=>{this.bannerManager.onUserInfo(o)}),this.modalManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.modalManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.modalManager.on("onLogoutBanner",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){logout()});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("onConfirmLogout",(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){console.log(4),a.launch("confirm-logout")})),this.modalManager.on("updateAccounts",()=>{this.updateAccounts()}),this.bannerManager.on("logout",()=>{logout()}),this.bannerManager.on("onAuthUrlClick",o=>{this.popupManager.ensurePopup(o)}),this.bannerManager.on("onSwitchAccount",function(){var o=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(s){a.switchAccount(s)});return function(s){return o.apply(this,arguments)}}()),this.bannerManager.on("import",()=>{this.launch("import")}),this.extensionService.on("extensionLogin",o=>{this.authNostrService.setExtension(o)}),this.extensionService.on("extensionLogout",()=>{logout()}),this.bannerManager.on("launch",o=>{this.launch(o)})}switchAccount(a){var r=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){if(console.log("nostr login switch to info",a),r.extensionService.unsetExtension(r.nostr),"readOnly"===a.authMethod)r.authNostrService.setReadOnly(a.pubkey);else if("otp"===a.authMethod)r.authNostrService.setOTP(a.pubkey,a.otpData||"");else if("local"===a.authMethod&&a.sk)r.authNostrService.setLocal(a);else if("extension"===a.authMethod)yield r.extensionService.trySetExtensionForPubkey(a.pubkey);else{if(!("connect"===a.authMethod&&a.sk&&a.relays&&a.relays[0]))throw new Error("Bad auth info");r.authNostrService.setConnect(a)}})()}updateAccounts(){const a=localStorageGetAccounts(),r=localStorageGetRecents();this.bannerManager.onUpdateAccounts(a),this.modalManager.onUpdateAccounts(a,r)}launch=a=>{const r=localStorageGetRecents(),o=localStorageGetAccounts(),s=a?{startScreen:a}:this.params.optionsModal;return a||!r?.length&&!o?.length||(s.startScreen="switch-account"),this.modalManager.launch(s).catch(()=>{})};init=(()=>{var r,a=this;return r=(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(o){a.extensionService.startCheckingExtension(a.nostr),window.nostr=a.nostr,a.modalManager.connectModals(o),a.bannerManager.launchAuthBanner(o),o&&(a.params.optionsModal={...o});try{const s=localStorageGetCurrent();if(s){if(!s.pubkey)throw new Error("Bad stored info");yield a.switchAccount(s)}}catch(s){console.log("nostr login init error",s),yield logout()}a.updateAccounts()}),function(o){return r.apply(this,arguments)}})();logout=(()=>{var a=this;return(0,_home_runner_work_angor_hub_angor_hub_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.A)(function*(){a.extensionService.unsetExtension(a.nostr),yield a.authNostrService.logout()})})();setDarkMode=a=>{localStorageSetItem("nl-dark-mode",`${a}`),this.bannerManager.onDarkMode(a),this.modalManager.onDarkMode(a)}}const initializer=new NostrLoginInitializer,{init,launch,logout,setDarkMode}=initializer;document.addEventListener("nlLogout",logout),document.addEventListener("nlLaunch",i=>{launch(i.detail||"")}),document.addEventListener("nlDarkMode",i=>{setDarkMode(!!i.detail)})},5766:(i,a,r)=>{"use strict";r.d(a,{My:()=>St,aT:()=>at}),new Uint8Array(new Uint32Array([287454020]).buffer);const $t=Array.from({length:256},(gt,Nt)=>Nt.toString(16).padStart(2,"0"));function St(gt){!function y(gt,...Nt){if(!function c(gt){return gt instanceof Uint8Array||null!=gt&&"object"==typeof gt&&"Uint8Array"===gt.constructor.name}(gt))throw new Error("Uint8Array expected");if(Nt.length>0&&!Nt.includes(gt.length))throw new Error(`Uint8Array expected of length ${Nt}, not of length=${gt.length}`)}(gt);let Nt="";for(let Se=0;Se=kt._0&><=kt._9?gt-kt._0:gt>=kt._A&><=kt._F?gt-(kt._A-10):gt>=kt._a&><=kt._f?gt-(kt._a-10):void 0}function at(gt){if("string"!=typeof gt)throw new Error("hex string expected, got "+typeof gt);const Nt=gt.length,Se=Nt/2;if(Nt%2)throw new Error("padded hex string expected, got unpadded hex of length "+Nt);const Rt=new Uint8Array(Se);for(let de=0,jt=0;de{"use strict";function s(ie){return ie instanceof Uint8Array||null!=ie&&"object"==typeof ie&&"Uint8Array"===ie.constructor.name}function c(...ie){const He=We=>We,Ht=(We,Or)=>ko=>We(Or(ko));return{encode:ie.map(We=>We.encode).reduceRight(Ht,He),decode:ie.map(We=>We.decode).reduce(Ht,He)}}function y(ie){return{encode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("alphabet.encode input should be an array of numbers");return He.map(Ht=>{if(Ht<0||Ht>=ie.length)throw new Error(`Digit index outside alphabet: ${Ht} (alphabet: ${ie.length})`);return ie[Ht]})},decode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("alphabet.decode input should be array of strings");return He.map(Ht=>{if("string"!=typeof Ht)throw new Error(`alphabet.decode: not string element=${Ht}`);const Me=ie.indexOf(Ht);if(-1===Me)throw new Error(`Unknown letter: "${Ht}". Allowed: ${ie}`);return Me})}}}function k(ie=""){if("string"!=typeof ie)throw new Error("join separator should be string");return{encode:He=>{if(!Array.isArray(He)||He.length&&"string"!=typeof He[0])throw new Error("join.encode input should be array of strings");for(let Ht of He)if("string"!=typeof Ht)throw new Error(`join.encode: non-string input=${Ht}`);return He.join(ie)},decode:He=>{if("string"!=typeof He)throw new Error("join.decode input should be string");return He.split(ie)}}}function A(ie,He="="){if("string"!=typeof He)throw new Error("padding chr should be string");return{encode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Me of Ht)if("string"!=typeof Me)throw new Error(`padding.encode: non-string input=${Me}`);for(;Ht.length*ie%8;)Ht.push(He);return Ht},decode(Ht){if(!Array.isArray(Ht)||Ht.length&&"string"!=typeof Ht[0])throw new Error("padding.encode input should be array of strings");for(let Pe of Ht)if("string"!=typeof Pe)throw new Error(`padding.decode: non-string input=${Pe}`);let Me=Ht.length;if(Me*ie%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;Me>0&&Ht[Me-1]===He;Me--)if(!((Me-1)*ie%8))throw new Error("Invalid padding: string has too much padding");return Ht.slice(0,Me)}}}function M(ie,He,Ht){if(He<2)throw new Error(`convertRadix: wrong from=${He}, base cannot be less than 2`);if(Ht<2)throw new Error(`convertRadix: wrong to=${Ht}, base cannot be less than 2`);if(!Array.isArray(ie))throw new Error("convertRadix: data should be array");if(!ie.length)return[];let Me=0;const Pe=[],We=Array.from(ie);for(We.forEach(Or=>{if(Or<0||Or>=He)throw new Error(`Wrong integer: ${Or}`)});;){let Or=0,ko=!0;for(let lr=Me;lrSe,K3:()=>nt,Tq:()=>wr,Wp:()=>dt});const T=(ie,He)=>He?T(He,ie%He):ie,O=(ie,He)=>ie+(He-T(ie,He));function L(ie,He,Ht,Me){if(!Array.isArray(ie))throw new Error("convertRadix2: data should be array");if(He<=0||He>32)throw new Error(`convertRadix2: wrong from=${He}`);if(Ht<=0||Ht>32)throw new Error(`convertRadix2: wrong to=${Ht}`);if(O(He,Ht)>32)throw new Error(`convertRadix2: carry overflow from=${He} to=${Ht} carryBits=${O(He,Ht)}`);let Pe=0,We=0;const Or=2**Ht-1,ko=[];for(const lr of ie){if(lr>=2**He)throw new Error(`convertRadix2: invalid data word=${lr} from=${He}`);if(Pe=Pe<32)throw new Error(`convertRadix2: carry overflow pos=${We} from=${He}`);for(We+=He;We>=Ht;We-=Ht)ko.push((Pe>>We-Ht&Or)>>>0);Pe&=2**We-1}if(Pe=Pe<=He)throw new Error("Excess padding");if(!Me&&Pe)throw new Error(`Non-zero padding: ${Pe}`);return Me&&We>0&&ko.push(Pe>>>0),ko}function Y(ie){return{encode:He=>{if(!s(He))throw new Error("radix.encode input should be Uint8Array");return M(Array.from(He),256,ie)},decode:He=>{if(!Array.isArray(He)||He.length&&"number"!=typeof He[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(M(He,ie,256))}}}function z(ie,He=!1){if(ie<=0||ie>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,ie)>32||O(ie,8)>32)throw new Error("radix2: carry overflow");return{encode:Ht=>{if(!s(Ht))throw new Error("radix2.encode input should be Uint8Array");return L(Array.from(Ht),8,ie,!He)},decode:Ht=>{if(!Array.isArray(Ht)||Ht.length&&"number"!=typeof Ht[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(L(Ht,ie,8,He))}}}function q(ie){if("function"!=typeof ie)throw new Error("unsafeWrapper fn should be function");return function(...He){try{return ie.apply(null,He)}catch{}}}function ct(ie,He){if("function"!=typeof He)throw new Error("checksum fn should be function");return{encode(Ht){if(!s(Ht))throw new Error("checksum.encode: input should be Uint8Array");const Me=He(Ht).slice(0,ie),Pe=new Uint8Array(Ht.length+ie);return Pe.set(Ht),Pe.set(Me,Ht.length),Pe},decode(Ht){if(!s(Ht))throw new Error("checksum.decode: input should be Uint8Array");const Me=Ht.slice(0,-ie),Pe=He(Me).slice(0,ie),We=Ht.slice(-ie);for(let Or=0;Orc(Y(58),y("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),k("")))(),wr=ie=>c(ct(4,He=>ie(ie(He))),Vt),Wr=c(y("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),k("")),xe=[996825010,642813549,513874426,1027748829,705979059];function Le(ie){const He=ie>>25;let Ht=(33554431&ie)<<5;for(let Me=0;Me>Me&1)&&(Ht^=xe[Me]);return Ht}function gt(ie,He,Ht=1){const Me=ie.length;let Pe=1;for(let We=0;We126)throw new Error(`Invalid prefix (${ie})`);Pe=Le(Pe)^Or>>5}Pe=Le(Pe);for(let We=0;Webr)throw new TypeError(`Length ${mt} exceeds limit ${br}`);const $=se.toLowerCase(),Z=gt($,Ie,He);return`${$}1${Wr.encode(Ie)}${Z}`}function ko(se,Ie=90){if("string"!=typeof se)throw new Error("bech32.decode input should be string, not "+typeof se);if(se.length<8||!1!==Ie&&se.length>Ie)throw new TypeError(`Wrong string length: ${se.length} (${se}). Expected (8..${Ie})`);const br=se.toLowerCase();if(se!==br&&se!==se.toUpperCase())throw new Error("String must be lowercase or uppercase");const mt=br.lastIndexOf("1");if(0===mt||-1===mt)throw new Error('Letter "1" must be present between prefix and data only');const $=br.slice(0,mt),Z=br.slice(mt+1);if(Z.length<6)throw new Error("Data must be at least 6 characters long");const it=Wr.decode(Z).slice(0,-6),Tt=gt($,it,He);if(!Z.endsWith(Tt))throw new Error(`Invalid checksum in ${se}: expected "${Tt}"`);return{prefix:$,words:it}}return{encode:Or,decode:ko,encodeFromBytes:function be(se,Ie){return Or(se,Pe(Ie))},decodeToBytes:function Lt(se){const{prefix:Ie,words:br}=ko(se,!1);return{prefix:Ie,words:br,bytes:Me(br)}},decodeUnsafe:q(ko),fromWords:Me,fromWordsUnsafe:We,toWords:Pe}}const Se=Nt("bech32")},9608:(i,a,r)=>{"use strict";r.d(a,{c:()=>Et});var o={};function s(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function k(x,...C){if(!function y(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}(x))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}function I(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")}function z(x){return x instanceof Uint8Array||null!=x&&"object"==typeof x&&"Uint8Array"===x.constructor.name}r.r(o),r.d(o,{OG:()=>mi,My:()=>Ai,Ph:()=>Mn,lX:()=>na,Id:()=>qn,fg:()=>ba,qj:()=>Qn,aT:()=>ua,lq:()=>fi,z:()=>Ko,Q5:()=>hi});const q=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ct=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const tt=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0")),Mt={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function $t(x){return x>=Mt._0&&x<=Mt._9?x-Mt._0:x>=Mt._A&&x<=Mt._F?x-(Mt._A-10):x>=Mt._a&&x<=Mt._f?x-(Mt._a-10):void 0}function rt(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}function yt(x){if("string"==typeof x&&(x=rt(x)),!z(x))throw new Error("expected Uint8Array, got "+typeof x);return x}function Ct(...x){let C=0;for(let ht=0;htx().update(yt(ht)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}class Wr extends Vt{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,function A(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");s(x.outputLen),s(x.blockLen)}(C);const ht=yt(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(ht.length>Ot?C.create().update(ht).digest():ht);for(let Ue=0;Uenew Wr(x,C).update(F).digest();xe.create=(x,C)=>new Wr(x,C);class gt extends Vt{constructor(C,F,ht,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=ht,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=q(this.buffer)}update(C){I(this);const{view:F,buffer:ht,blockLen:Ot}=this,ae=(C=yt(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(ht,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=ht?0:4;x.setUint32(C+(ht?4:0),Ue,ht),x.setUint32(C+sr,Ve,ht)})(ht,Ot-8,BigInt(8*this.length),ae),this.process(ht,0);const Ve=q(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zeC);let de=[Se],jt=[Se.map(x=>(9*x+5)%16)];for(let x=0;x<4;x++)for(let C of[de,jt])C.push(C[x].map(F=>Nt[F]));const De=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(x=>new Uint8Array(x)),Ye=de.map((x,C)=>x.map(F=>De[C][F])),ft=jt.map((x,C)=>x.map(F=>De[C][F])),pe=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Ut=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Ee=(x,C)=>x<>>32-C;function ie(x,C,F,ht){return 0===x?C^F^ht:1===x?C&F|~C&ht:2===x?(C|~F)^ht:3===x?C&ht|F&~ht:C^(F|~ht)}const He=new Uint32Array(16);class Ht extends gt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:C,h1:F,h2:ht,h3:Ot,h4:ae}=this;return[C,F,ht,Ot,ae]}set(C,F,ht,Ot,ae){this.h0=0|C,this.h1=0|F,this.h2=0|ht,this.h3=0|Ot,this.h4=0|ae}process(C,F){for(let _r=0;_r<16;_r++,F+=4)He[_r]=C.getUint32(F,!0);let ht=0|this.h0,Ot=ht,ae=0|this.h1,Ue=ae,Ve=0|this.h2,Ze=Ve,sr=0|this.h3,Ir=sr,ze=0|this.h4,nr=ze;for(let _r=0;_r<5;_r++){const Yr=4-_r,Mr=pe[_r],Gr=Ut[_r],Jr=de[_r],go=jt[_r],Vr=Ye[_r],Do=ft[_r];for(let Io=0;Io<16;Io++){const Xr=Ee(ht+ie(_r,ae,Ve,sr)+He[Jr[Io]]+Mr,Vr[Io])+ze|0;ht=ze,ze=sr,sr=0|Ee(Ve,10),Ve=ae,ae=Xr}for(let Io=0;Io<16;Io++){const Xr=Ee(Ot+ie(Yr,Ue,Ze,Ir)+He[go[Io]]+Gr,Do[Io])+nr|0;Ot=nr,nr=Ir,Ir=0|Ee(Ze,10),Ze=Ue,Ue=Xr}}this.set(this.h1+Ve+Ir|0,this.h2+sr+nr|0,this.h3+ze+Ot|0,this.h4+ht+Ue|0,this.h0+ae+Ze|0)}roundClean(){He.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Me=Xe(()=>new Ht),Pe=(x,C,F)=>x&C^~x&F,We=(x,C,F)=>x&C^x&F^C&F,Or=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ko=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),lr=new Uint32Array(64);class Lt extends gt{constructor(){super(64,32,8,!1),this.A=0|ko[0],this.B=0|ko[1],this.C=0|ko[2],this.D=0|ko[3],this.E=0|ko[4],this.F=0|ko[5],this.G=0|ko[6],this.H=0|ko[7]}get(){const{A:C,B:F,C:ht,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze]}set(C,F,ht,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|ht,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)lr[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=lr[ze-15],_r=lr[ze-2],Yr=ct(nr,7)^ct(nr,18)^nr>>>3,Mr=ct(_r,17)^ct(_r,19)^_r>>>10;lr[ze]=Mr+lr[ze-7]+Yr+lr[ze-16]|0}let{A:ht,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ct(Ve,6)^ct(Ve,11)^ct(Ve,25))+Pe(Ve,Ze,sr)+Or[ze]+lr[ze]|0,Mr=(ct(ht,2)^ct(ht,13)^ct(ht,22))+We(ht,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=ht,ht=_r+Mr|0}ht=ht+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){lr.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const se=Xe(()=>new Lt),br=BigInt(2**32-1),mt=BigInt(32);function $(x,C=!1){return C?{h:Number(x&br),l:Number(x>>mt&br)}:{h:0|Number(x>>mt&br),l:0|Number(x&br)}}const $e_split=function Z(x,C=!1){let F=new Uint32Array(x.length),ht=new Uint32Array(x.length);for(let Ot=0;Otx>>>F,$e_shrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrSH=(x,C,F)=>x>>>F|C<<32-F,$e_rotrSL=(x,C,F)=>x<<32-F|C>>>F,$e_rotrBH=(x,C,F)=>x<<64-F|C>>>F-32,$e_rotrBL=(x,C,F)=>x>>>F-32|C<<64-F,$e_add=function qt(x,C,F,ht){const Ot=(C>>>0)+(ht>>>0);return{h:x+F+(Ot/2**32|0)|0,l:0|Ot}},$e_add3L=(x,C,F)=>(x>>>0)+(C>>>0)+(F>>>0),$e_add3H=(x,C,F,ht)=>C+F+ht+(x/2**32|0)|0,$e_add4L=(x,C,F,ht)=>(x>>>0)+(C>>>0)+(F>>>0)+(ht>>>0),$e_add4H=(x,C,F,ht,Ot)=>C+F+ht+Ot+(x/2**32|0)|0,$e_add5H=(x,C,F,ht,Ot,ae)=>C+F+ht+Ot+ae+(x/2**32|0)|0,$e_add5L=(x,C,F,ht,Ot)=>(x>>>0)+(C>>>0)+(F>>>0)+(ht>>>0)+(Ot>>>0),[_e,qe]=$e_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(x=>BigInt(x))),ke=new Uint32Array(80),me=new Uint32Array(80);class Yt extends gt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:C,Al:F,Bh:ht,Bl:Ot,Ch:ae,Cl:Ue,Dh:Ve,Dl:Ze,Eh:sr,El:Ir,Fh:ze,Fl:nr,Gh:_r,Gl:Yr,Hh:Mr,Hl:Gr}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr]}set(C,F,ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr){this.Ah=0|C,this.Al=0|F,this.Bh=0|ht,this.Bl=0|Ot,this.Ch=0|ae,this.Cl=0|Ue,this.Dh=0|Ve,this.Dl=0|Ze,this.Eh=0|sr,this.El=0|Ir,this.Fh=0|ze,this.Fl=0|nr,this.Gh=0|_r,this.Gl=0|Yr,this.Hh=0|Mr,this.Hl=0|Gr}process(C,F){for(let Vr=0;Vr<16;Vr++,F+=4)ke[Vr]=C.getUint32(F),me[Vr]=C.getUint32(F+=4);for(let Vr=16;Vr<80;Vr++){const Do=0|ke[Vr-15],Io=0|me[Vr-15],Xr=$e_rotrSH(Do,Io,1)^$e_rotrSH(Do,Io,8)^$e_shrSH(Do,Io,7),tn=$e_rotrSL(Do,Io,1)^$e_rotrSL(Do,Io,8)^$e_shrSL(Do,Io,7),Xo=0|ke[Vr-2],En=0|me[Vr-2],Qo=$e_rotrSH(Xo,En,19)^$e_rotrBH(Xo,En,61)^$e_shrSH(Xo,En,6),xn=$e_rotrSL(Xo,En,19)^$e_rotrBL(Xo,En,61)^$e_shrSL(Xo,En,6),Ei=$e_add4L(tn,xn,me[Vr-7],me[Vr-16]),oi=$e_add4H(Ei,Xr,Qo,ke[Vr-7],ke[Vr-16]);ke[Vr]=0|oi,me[Vr]=0|Ei}let{Ah:ht,Al:Ot,Bh:ae,Bl:Ue,Ch:Ve,Cl:Ze,Dh:sr,Dl:Ir,Eh:ze,El:nr,Fh:_r,Fl:Yr,Gh:Mr,Gl:Gr,Hh:Jr,Hl:go}=this;for(let Vr=0;Vr<80;Vr++){const Do=$e_rotrSH(ze,nr,14)^$e_rotrSH(ze,nr,18)^$e_rotrBH(ze,nr,41),Io=$e_rotrSL(ze,nr,14)^$e_rotrSL(ze,nr,18)^$e_rotrBL(ze,nr,41),Xr=ze&_r^~ze&Mr,Xo=$e_add5L(go,Io,nr&Yr^~nr&Gr,qe[Vr],me[Vr]),En=$e_add5H(Xo,Jr,Do,Xr,_e[Vr],ke[Vr]),Qo=0|Xo,xn=$e_rotrSH(ht,Ot,28)^$e_rotrBH(ht,Ot,34)^$e_rotrBH(ht,Ot,39),Ei=$e_rotrSL(ht,Ot,28)^$e_rotrBL(ht,Ot,34)^$e_rotrBL(ht,Ot,39),oi=ht&ae^ht&Ve^ae&Ve,Hi=Ot&Ue^Ot&Ze^Ue&Ze;Jr=0|Mr,go=0|Gr,Mr=0|_r,Gr=0|Yr,_r=0|ze,Yr=0|nr,({h:ze,l:nr}=$e_add(0|sr,0|Ir,0|En,0|Qo)),sr=0|Ve,Ir=0|Ze,Ve=0|ae,Ze=0|Ue,ae=0|ht,Ue=0|Ot;const To=$e_add3L(Qo,Ei,Hi);ht=$e_add3H(To,En,xn,oi),Ot=0|To}({h:ht,l:Ot}=$e_add(0|this.Ah,0|this.Al,0|ht,0|Ot)),({h:ae,l:Ue}=$e_add(0|this.Bh,0|this.Bl,0|ae,0|Ue)),({h:Ve,l:Ze}=$e_add(0|this.Ch,0|this.Cl,0|Ve,0|Ze)),({h:sr,l:Ir}=$e_add(0|this.Dh,0|this.Dl,0|sr,0|Ir)),({h:ze,l:nr}=$e_add(0|this.Eh,0|this.El,0|ze,0|nr)),({h:_r,l:Yr}=$e_add(0|this.Fh,0|this.Fl,0|_r,0|Yr)),({h:Mr,l:Gr}=$e_add(0|this.Gh,0|this.Gl,0|Mr,0|Gr)),({h:Jr,l:go}=$e_add(0|this.Hh,0|this.Hl,0|Jr,0|go)),this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir,ze,nr,_r,Yr,Mr,Gr,Jr,go)}roundClean(){ke.fill(0),me.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Eo=Xe(()=>new Yt);function ni(x){if(!Number.isSafeInteger(x)||x<0)throw new Error(`Wrong positive integer: ${x}`)}function pi(x,...C){if(!(x instanceof Uint8Array))throw new Error("Expected Uint8Array");if(C.length>0&&!C.includes(x.length))throw new Error(`Expected Uint8Array of length ${C}, not of length=${x.length}`)}const Lr={number:ni,bool:function Fo(x){if("boolean"!=typeof x)throw new Error(`Expected boolean, not ${x}`)},bytes:pi,hash:function ei(x){if("function"!=typeof x||"function"!=typeof x.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");ni(x.outputLen),ni(x.blockLen)},exists:function Oe(x,C=!0){if(x.destroyed)throw new Error("Hash instance has been destroyed");if(C&&x.finished)throw new Error("Hash#digest() has already been called")},output:function Ke(x,C){pi(x);const F=C.outputLen;if(x.lengthx instanceof Uint8Array,Co=x=>new DataView(x.buffer,x.byteOffset,x.byteLength),ro=(x,C)=>x<<32-C|x>>>C;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Ce(x){if("string"==typeof x&&(x=function Re(x){if("string"!=typeof x)throw new Error("utf8ToBytes expected string, got "+typeof x);return new Uint8Array((new TextEncoder).encode(x))}(x)),!ao(x))throw new Error("expected Uint8Array, got "+typeof x);return x}Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));class Cr{clone(){return this._cloneInto()}}function Fr(x){const C=ht=>x().update(Ce(ht)).digest(),F=x();return C.outputLen=F.outputLen,C.blockLen=F.blockLen,C.create=()=>x(),C}function xo(x=32){if(Ur&&"function"==typeof Ur.getRandomValues)return Ur.getRandomValues(new Uint8Array(x));throw new Error("crypto.getRandomValues must be defined")}class po extends Cr{constructor(C,F,ht,Ot){super(),this.blockLen=C,this.outputLen=F,this.padOffset=ht,this.isLE=Ot,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=Co(this.buffer)}update(C){Lr.exists(this);const{view:F,buffer:ht,blockLen:Ot}=this,ae=(C=Ce(C)).length;for(let Ue=0;UeOt-Ue&&(this.process(ht,0),Ue=0);for(let ze=Ue;ze>Ot&ae),Ve=Number(F&ae),sr=ht?0:4;x.setUint32(C+(ht?4:0),Ue,ht),x.setUint32(C+sr,Ve,ht)})(ht,Ot-8,BigInt(8*this.length),ae),this.process(ht,0);const Ve=Co(C),Ze=this.outputLen;if(Ze%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const sr=Ze/4,Ir=this.get();if(sr>Ir.length)throw new Error("_sha2: outputLen bigger than state");for(let ze=0;zex&C^~x&F,Yn=(x,C,F)=>x&C^x&F^C&F,Di=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),jn=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Uo=new Uint32Array(64);class Fn extends po{constructor(){super(64,32,8,!1),this.A=0|jn[0],this.B=0|jn[1],this.C=0|jn[2],this.D=0|jn[3],this.E=0|jn[4],this.F=0|jn[5],this.G=0|jn[6],this.H=0|jn[7]}get(){const{A:C,B:F,C:ht,D:Ot,E:ae,F:Ue,G:Ve,H:Ze}=this;return[C,F,ht,Ot,ae,Ue,Ve,Ze]}set(C,F,ht,Ot,ae,Ue,Ve,Ze){this.A=0|C,this.B=0|F,this.C=0|ht,this.D=0|Ot,this.E=0|ae,this.F=0|Ue,this.G=0|Ve,this.H=0|Ze}process(C,F){for(let ze=0;ze<16;ze++,F+=4)Uo[ze]=C.getUint32(F,!1);for(let ze=16;ze<64;ze++){const nr=Uo[ze-15],_r=Uo[ze-2],Yr=ro(nr,7)^ro(nr,18)^nr>>>3,Mr=ro(_r,17)^ro(_r,19)^_r>>>10;Uo[ze]=Mr+Uo[ze-7]+Yr+Uo[ze-16]|0}let{A:ht,B:Ot,C:ae,D:Ue,E:Ve,F:Ze,G:sr,H:Ir}=this;for(let ze=0;ze<64;ze++){const _r=Ir+(ro(Ve,6)^ro(Ve,11)^ro(Ve,25))+io(Ve,Ze,sr)+Di[ze]+Uo[ze]|0,Mr=(ro(ht,2)^ro(ht,13)^ro(ht,22))+Yn(ht,Ot,ae)|0;Ir=sr,sr=Ze,Ze=Ve,Ve=Ue+_r|0,Ue=ae,ae=Ot,Ot=ht,ht=_r+Mr|0}ht=ht+this.A|0,Ot=Ot+this.B|0,ae=ae+this.C|0,Ue=Ue+this.D|0,Ve=Ve+this.E|0,Ze=Ze+this.F|0,sr=sr+this.G|0,Ir=Ir+this.H|0,this.set(ht,Ot,ae,Ue,Ve,Ze,sr,Ir)}roundClean(){Uo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class zi extends Fn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const nn=Fr(()=>new Fn),vi=(Fr(()=>new zi),BigInt(0),BigInt(1)),us=BigInt(2),da=x=>x instanceof Uint8Array,ka=Array.from({length:256},(x,C)=>C.toString(16).padStart(2,"0"));function Ai(x){if(!da(x))throw new Error("Uint8Array expected");let C="";for(let F=0;Fht+Ot.length,0));let F=0;return x.forEach(ht=>{if(!da(ht))throw new Error("Uint8Array expected");C.set(ht,F),F+=ht.length}),C}const mi=x=>(us<new Uint8Array(x),ps=x=>Uint8Array.from(x);function ba(x,C,F){if("number"!=typeof x||x<2)throw new Error("hashLen must be a number");if("number"!=typeof C||C<2)throw new Error("qByteLen must be a number");if("function"!=typeof F)throw new Error("hmacFn must be a function");let ht=Qi(x),Ot=Qi(x),ae=0;const Ue=()=>{ht.fill(1),Ot.fill(0),ae=0},Ve=(...ze)=>F(Ot,ht,...ze),Ze=(ze=Qi())=>{Ot=Ve(ps([0]),ze),ht=Ve(),0!==ze.length&&(Ot=Ve(ps([1]),ze),ht=Ve())},sr=()=>{if(ae++>=1e3)throw new Error("drbg: tried 1000 values");let ze=0;const nr=[];for(;ze{let _r;for(Ue(),Ze(ze);!(_r=nr(sr()));)Ze();return Ue(),_r}}const za={bigint:x=>"bigint"==typeof x,function:x=>"function"==typeof x,boolean:x=>"boolean"==typeof x,string:x=>"string"==typeof x,isSafeInteger:x=>Number.isSafeInteger(x),array:x=>Array.isArray(x),field:(x,C)=>C.Fp.isValid(x),hash:x=>"function"==typeof x&&Number.isSafeInteger(x.outputLen)};function hi(x,C,F={}){const ht=(Ot,ae,Ue)=>{const Ve=za[ae];if("function"!=typeof Ve)throw new Error(`Invalid validator "${ae}", expected function`);const Ze=x[Ot];if(!(Ue&&void 0===Ze||Ve(Ze,x)))throw new Error(`Invalid param ${String(Ot)}=${Ze} (${typeof Ze}), expected ${ae}`)};for(const[Ot,ae]of Object.entries(C))ht(Ot,ae,!1);for(const[Ot,ae]of Object.entries(F))ht(Ot,ae,!0);return x}const Jo=BigInt(0),On=BigInt(1),ia=BigInt(2),bi=BigInt(3),es=BigInt(4),Vn=BigInt(5),xi=BigInt(8);function Jn(x,C){const F=x%C;return F>=Jo?F:C+F}function aa(x,C,F){if(F<=Jo||C 0");if(F===On)return Jo;let ht=On;for(;C>Jo;)C&On&&(ht=ht*x%F),x=x*x%F,C>>=On;return ht}function Ni(x,C,F){let ht=x;for(;C-- >Jo;)ht*=ht,ht%=F;return ht}function wa(x,C){if(x===Jo||C<=Jo)throw new Error(`invert: expected positive integers, got n=${x} mod=${C}`);let F=Jn(x,C),ht=C,Ot=Jo,ae=On,Ue=On,Ve=Jo;for(;F!==Jo;){const sr=ht/F,Ir=ht%F,ze=Ot-Ue*sr,nr=ae-Ve*sr;ht=F,F=Ir,Ot=Ue,ae=Ve,Ue=ze,Ve=nr}if(ht!==On)throw new Error("invert: does not exist");return Jn(Ot,C)}BigInt(9),BigInt(16);const G=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function jr(x,C){const F=void 0!==C?C:x.toString(2).length;return{nBitLength:F,nByteLength:Math.ceil(F/8)}}const Lo=BigInt(0),In=BigInt(1);function Bn(x){return function Qt(x){hi(x,G.reduce((ht,Ot)=>(ht[Ot]="function",ht),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(x.Fp),hi(x,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...jr(x.n,x.nBitLength),...x,p:x.Fp.ORDER})}const{Ph:wi,aT:qi}=o,ri={Err:class extends Error{constructor(C=""){super(C)}},_parseInt(x){const{Err:C}=ri;if(x.length<2||2!==x[0])throw new C("Invalid signature integer tag");const F=x[1],ht=x.subarray(2,F+2);if(!F||ht.length!==F)throw new C("Invalid signature integer: wrong length");if(128&ht[0])throw new C("Invalid signature integer: negative");if(0===ht[0]&&!(128&ht[1]))throw new C("Invalid signature integer: unnecessary leading zero");return{d:wi(ht),l:x.subarray(F+2)}},toSig(x){const{Err:C}=ri,F="string"==typeof x?qi(x):x;if(!(F instanceof Uint8Array))throw new Error("ui8a expected");let ht=F.length;if(ht<2||48!=F[0])throw new C("Invalid signature tag");if(F[1]!==ht-2)throw new C("Invalid signature: incorrect length");const{d:Ot,l:ae}=ri._parseInt(F.subarray(2)),{d:Ue,l:Ve}=ri._parseInt(ae);if(Ve.length)throw new C("Invalid signature: left bytes after parsing");return{r:Ot,s:Ue}},hexFromSig(x){const C=sr=>8&Number.parseInt(sr[0],16)?"00"+sr:sr,F=sr=>{const Ir=sr.toString(16);return 1&Ir.length?`0${Ir}`:Ir},ht=C(F(x.s)),Ot=C(F(x.r)),ae=ht.length/2,Ue=Ot.length/2,Ve=F(ae),Ze=F(Ue);return`30${F(Ue+ae+4)}02${Ze}${Ot}02${Ve}${ht}`}},Ki=BigInt(0),zn=BigInt(1),st=(BigInt(2),BigInt(3));function je(x){const C=function Ft(x){const C=Bn(x);return hi(C,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...C})}(x),{Fp:F,n:ht}=C,Ot=F.BYTES+1,ae=2*F.BYTES+1;function Ve(To){return Jn(To,ht)}function Ze(To){return wa(To,ht)}const{ProjectivePoint:sr,normPrivateKeyToScalar:Ir,weierstrassEquation:ze,isWithinCurveOrder:nr}=function X(x){const C=function Ti(x){const C=Bn(x);hi(C,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:F,Fp:ht,a:Ot}=C;if(F){if(!ht.eql(Ot,ht.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof F||"bigint"!=typeof F.beta||"function"!=typeof F.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...C})}(x),{Fp:F}=C,ht=C.toBytes||((Yr,Mr,Gr)=>{const Jr=Mr.toAffine();return qn(Uint8Array.from([4]),F.toBytes(Jr.x),F.toBytes(Jr.y))}),Ot=C.fromBytes||(Yr=>{const Mr=Yr.subarray(1);return{x:F.fromBytes(Mr.subarray(0,F.BYTES)),y:F.fromBytes(Mr.subarray(F.BYTES,2*F.BYTES))}});function ae(Yr){const{a:Mr,b:Gr}=C,Jr=F.sqr(Yr),go=F.mul(Jr,Yr);return F.add(F.add(go,F.mul(Yr,Mr)),Gr)}if(!F.eql(F.sqr(C.Gy),ae(C.Gx)))throw new Error("bad generator point: equation left != right");function Ue(Yr){return"bigint"==typeof Yr&&KiF.eql(Vr,F.ZERO);return go(Gr)&&go(Jr)?ze.ZERO:new ze(Gr,Jr,F.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Mr){const Gr=F.invertBatch(Mr.map(Jr=>Jr.pz));return Mr.map((Jr,go)=>Jr.toAffine(Gr[go])).map(ze.fromAffine)}static fromHex(Mr){const Gr=ze.fromAffine(Ot(Qn("pointHex",Mr)));return Gr.assertValidity(),Gr}static fromPrivateKey(Mr){return ze.BASE.multiply(Ze(Mr))}_setWindowSize(Mr){this._WINDOW_SIZE=Mr,sr.delete(this)}assertValidity(){if(this.is0()){if(C.allowInfinityPoint)return;throw new Error("bad point: ZERO")}const{x:Mr,y:Gr}=this.toAffine();if(!F.isValid(Mr)||!F.isValid(Gr))throw new Error("bad point: x or y not FE");const Jr=F.sqr(Gr),go=ae(Mr);if(!F.eql(Jr,go))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Mr}=this.toAffine();if(F.isOdd)return!F.isOdd(Mr);throw new Error("Field doesn't support isOdd")}equals(Mr){Ir(Mr);const{px:Gr,py:Jr,pz:go}=this,{px:Vr,py:Do,pz:Io}=Mr,Xr=F.eql(F.mul(Gr,Io),F.mul(Vr,go)),tn=F.eql(F.mul(Jr,Io),F.mul(Do,go));return Xr&&tn}negate(){return new ze(this.px,F.neg(this.py),this.pz)}double(){const{a:Mr,b:Gr}=C,Jr=F.mul(Gr,st),{px:go,py:Vr,pz:Do}=this;let Io=F.ZERO,Xr=F.ZERO,tn=F.ZERO,Xo=F.mul(go,go),En=F.mul(Vr,Vr),Qo=F.mul(Do,Do),xn=F.mul(go,Vr);return xn=F.add(xn,xn),tn=F.mul(go,Do),tn=F.add(tn,tn),Io=F.mul(Mr,tn),Xr=F.mul(Jr,Qo),Xr=F.add(Io,Xr),Io=F.sub(En,Xr),Xr=F.add(En,Xr),Xr=F.mul(Io,Xr),Io=F.mul(xn,Io),tn=F.mul(Jr,tn),Qo=F.mul(Mr,Qo),xn=F.sub(Xo,Qo),xn=F.mul(Mr,xn),xn=F.add(xn,tn),tn=F.add(Xo,Xo),Xo=F.add(tn,Xo),Xo=F.add(Xo,Qo),Xo=F.mul(Xo,xn),Xr=F.add(Xr,Xo),Qo=F.mul(Vr,Do),Qo=F.add(Qo,Qo),Xo=F.mul(Qo,xn),Io=F.sub(Io,Xo),tn=F.mul(Qo,En),tn=F.add(tn,tn),tn=F.add(tn,tn),new ze(Io,Xr,tn)}add(Mr){Ir(Mr);const{px:Gr,py:Jr,pz:go}=this,{px:Vr,py:Do,pz:Io}=Mr;let Xr=F.ZERO,tn=F.ZERO,Xo=F.ZERO;const En=C.a,Qo=F.mul(C.b,st);let xn=F.mul(Gr,Vr),Ei=F.mul(Jr,Do),oi=F.mul(go,Io),Hi=F.add(Gr,Jr),To=F.add(Vr,Do);Hi=F.mul(Hi,To),To=F.add(xn,Ei),Hi=F.sub(Hi,To),To=F.add(Gr,go);let uo=F.add(Vr,Io);return To=F.mul(To,uo),uo=F.add(xn,oi),To=F.sub(To,uo),uo=F.add(Jr,go),Xr=F.add(Do,Io),uo=F.mul(uo,Xr),Xr=F.add(Ei,oi),uo=F.sub(uo,Xr),Xo=F.mul(En,To),Xr=F.mul(Qo,oi),Xo=F.add(Xr,Xo),Xr=F.sub(Ei,Xo),Xo=F.add(Ei,Xo),tn=F.mul(Xr,Xo),Ei=F.add(xn,xn),Ei=F.add(Ei,xn),oi=F.mul(En,oi),To=F.mul(Qo,To),Ei=F.add(Ei,oi),oi=F.sub(xn,oi),oi=F.mul(En,oi),To=F.add(To,oi),xn=F.mul(Ei,To),tn=F.add(tn,xn),xn=F.mul(uo,To),Xr=F.mul(Hi,Xr),Xr=F.sub(Xr,xn),xn=F.mul(Hi,Ei),Xo=F.mul(uo,Xo),Xo=F.add(Xo,xn),new ze(Xr,tn,Xo)}subtract(Mr){return this.add(Mr.negate())}is0(){return this.equals(ze.ZERO)}wNAF(Mr){return _r.wNAFCached(this,sr,Mr,Gr=>{const Jr=F.invertBatch(Gr.map(go=>go.pz));return Gr.map((go,Vr)=>go.toAffine(Jr[Vr])).map(ze.fromAffine)})}multiplyUnsafe(Mr){const Gr=ze.ZERO;if(Mr===Ki)return Gr;if(Ve(Mr),Mr===zn)return this;const{endo:Jr}=C;if(!Jr)return _r.unsafeLadder(this,Mr);let{k1neg:go,k1:Vr,k2neg:Do,k2:Io}=Jr.splitScalar(Mr),Xr=Gr,tn=Gr,Xo=this;for(;Vr>Ki||Io>Ki;)Vr&zn&&(Xr=Xr.add(Xo)),Io&zn&&(tn=tn.add(Xo)),Xo=Xo.double(),Vr>>=zn,Io>>=zn;return go&&(Xr=Xr.negate()),Do&&(tn=tn.negate()),tn=new ze(F.mul(tn.px,Jr.beta),tn.py,tn.pz),Xr.add(tn)}multiply(Mr){Ve(Mr);let Jr,go,Gr=Mr;const{endo:Vr}=C;if(Vr){const{k1neg:Do,k1:Io,k2neg:Xr,k2:tn}=Vr.splitScalar(Gr);let{p:Xo,f:En}=this.wNAF(Io),{p:Qo,f:xn}=this.wNAF(tn);Xo=_r.constTimeNegate(Do,Xo),Qo=_r.constTimeNegate(Xr,Qo),Qo=new ze(F.mul(Qo.px,Vr.beta),Qo.py,Qo.pz),Jr=Xo.add(Qo),go=En.add(xn)}else{const{p:Do,f:Io}=this.wNAF(Gr);Jr=Do,go=Io}return ze.normalizeZ([Jr,go])[0]}multiplyAndAddUnsafe(Mr,Gr,Jr){const go=ze.BASE,Vr=(Io,Xr)=>Xr!==Ki&&Xr!==zn&&Io.equals(go)?Io.multiply(Xr):Io.multiplyUnsafe(Xr),Do=Vr(this,Gr).add(Vr(Mr,Jr));return Do.is0()?void 0:Do}toAffine(Mr){const{px:Gr,py:Jr,pz:go}=this,Vr=this.is0();null==Mr&&(Mr=Vr?F.ONE:F.inv(go));const Do=F.mul(Gr,Mr),Io=F.mul(Jr,Mr),Xr=F.mul(go,Mr);if(Vr)return{x:F.ZERO,y:F.ZERO};if(!F.eql(Xr,F.ONE))throw new Error("invZ was invalid");return{x:Do,y:Io}}isTorsionFree(){const{h:Mr,isTorsionFree:Gr}=C;if(Mr===zn)return!0;if(Gr)return Gr(ze,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Mr,clearCofactor:Gr}=C;return Mr===zn?this:Gr?Gr(ze,this):this.multiplyUnsafe(C.h)}toRawBytes(Mr=!0){return this.assertValidity(),ht(ze,this,Mr)}toHex(Mr=!0){return Ai(this.toRawBytes(Mr))}}ze.BASE=new ze(C.Gx,C.Gy,F.ONE),ze.ZERO=new ze(F.ZERO,F.ONE,F.ZERO);const nr=C.nBitLength,_r=function Si(x,C){const F=(Ot,ae)=>{const Ue=ae.negate();return Ot?Ue:ae},ht=Ot=>({windows:Math.ceil(C/Ot)+1,windowSize:2**(Ot-1)});return{constTimeNegate:F,unsafeLadder(Ot,ae){let Ue=x.ZERO,Ve=Ot;for(;ae>Lo;)ae&In&&(Ue=Ue.add(Ve)),Ve=Ve.double(),ae>>=In;return Ue},precomputeWindow(Ot,ae){const{windows:Ue,windowSize:Ve}=ht(ae),Ze=[];let sr=Ot,Ir=sr;for(let ze=0;ze>=_r,Gr>Ze&&(Gr-=nr,Ue+=In);const Jr=Mr,go=Mr+Math.abs(Gr)-1,Do=Gr<0;0===Gr?Ir=Ir.add(F(Yr%2!=0,ae[Jr])):sr=sr.add(F(Do,ae[go]))}return{p:sr,f:Ir}},wNAFCached(Ot,ae,Ue,Ve){const Ze=Ot._WINDOW_SIZE||1;let sr=ae.get(Ot);return sr||(sr=this.precomputeWindow(Ot,Ze),1!==Ze&&ae.set(Ot,Ve(sr))),this.wNAF(Ze,sr,Ue)}}}(ze,C.endo?Math.ceil(nr/2):nr);return{CURVE:C,ProjectivePoint:ze,normPrivateKeyToScalar:Ze,weierstrassEquation:ae,isWithinCurveOrder:Ue}}({...C,toBytes(To,uo,vn){const Rn=uo.toAffine(),fo=F.toBytes(Rn.x),Mi=qn;return vn?Mi(Uint8Array.from([uo.hasEvenY()?2:3]),fo):Mi(Uint8Array.from([4]),fo,F.toBytes(Rn.y))},fromBytes(To){const uo=To.length,vn=To[0],Rn=To.subarray(1);if(uo!==Ot||2!==vn&&3!==vn){if(uo===ae&&4===vn)return{x:F.fromBytes(Rn.subarray(0,F.BYTES)),y:F.fromBytes(Rn.subarray(F.BYTES,2*F.BYTES))};throw new Error(`Point of length ${uo} was invalid. Expected ${Ot} compressed bytes or ${ae} uncompressed bytes`)}{const fo=Mn(Rn);if(!function Ue(To){return KiAi(fi(To,C.nByteLength));function Yr(To){return To>ht>>zn}const Gr=(To,uo,vn)=>Mn(To.slice(uo,vn));class Jr{constructor(uo,vn,Rn){this.r=uo,this.s=vn,this.recovery=Rn,this.assertValidity()}static fromCompact(uo){const vn=C.nByteLength;return uo=Qn("compactSignature",uo,2*vn),new Jr(Gr(uo,0,vn),Gr(uo,vn,2*vn))}static fromDER(uo){const{r:vn,s:Rn}=ri.toSig(Qn("DER",uo));return new Jr(vn,Rn)}assertValidity(){if(!nr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!nr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(uo){return new Jr(this.r,this.s,uo)}recoverPublicKey(uo){const{r:vn,s:Rn,recovery:fo}=this,Mi=tn(Qn("msgHash",uo));if(null==fo||![0,1,2,3].includes(fo))throw new Error("recovery id invalid");const ea=2===fo||3===fo?vn+C.n:vn;if(ea>=F.ORDER)throw new Error("recovery id 2 or 3 invalid");const ws=sr.fromHex((1&fo?"03":"02")+_r(ea)),ya=Ze(ea),yi=Ve(-Mi*ya),Po=Ve(Rn*ya),li=sr.BASE.multiplyAndAddUnsafe(ws,yi,Po);if(!li)throw new Error("point at infinify");return li.assertValidity(),li}hasHighS(){return Yr(this.s)}normalizeS(){return this.hasHighS()?new Jr(this.r,Ve(-this.s),this.recovery):this}toDERRawBytes(){return ua(this.toDERHex())}toDERHex(){return ri.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return ua(this.toCompactHex())}toCompactHex(){return _r(this.r)+_r(this.s)}}const go={isValidPrivateKey(To){try{return Ir(To),!0}catch{return!1}},normPrivateKeyToScalar:Ir,randomPrivateKey:()=>{const uo=function bn(x,C,F=!1){const ht=(x=Qn("privateHash",x)).length,Ot=jr(C).nByteLength+8;if(Ot<24||ht1024)throw new Error(`hashToPrivateScalar: expected ${Ot}-1024 bytes of input, got ${ht}`);return Jn(F?na(x):Mn(x),C-On)+On}(C.randomBytes(F.BYTES+8),ht);return fi(uo,C.nByteLength)},precompute:(To=8,uo=sr.BASE)=>(uo._setWindowSize(To),uo.multiply(BigInt(3)),uo)};function Do(To){const uo=To instanceof Uint8Array,vn="string"==typeof To,Rn=(uo||vn)&&To.length;return uo?Rn===Ot||Rn===ae:vn?Rn===2*Ot||Rn===2*ae:To instanceof sr}const Xr=C.bits2int||function(To){const uo=Mn(To),vn=8*To.length-C.nBitLength;return vn>0?uo>>BigInt(vn):uo},tn=C.bits2int_modN||function(To){return Ve(Xr(To))},Xo=mi(C.nBitLength);function En(To){if("bigint"!=typeof To)throw new Error("bigint expected");if(!(Ki<=To&&ToXa in vn))throw new Error("sign() legacy options not supported");const{hash:Rn,randomBytes:fo}=C;let{lowS:Mi,prehash:ea,extraEntropy:Fi}=vn;null==Mi&&(Mi=!0),To=Qn("msgHash",To),ea&&(To=Qn("prehashed msgHash",Rn(To)));const ws=tn(To),ya=Ir(uo),yi=[En(ya),En(ws)];if(null!=Fi){const Xa=!0===Fi?fo(F.BYTES):Fi;yi.push(Qn("extraEntropy",Xa,F.BYTES))}const Po=qn(...yi),li=ws;return{seed:Po,k2sig:function Ii(Xa){const la=Xr(Xa);if(!nr(la))return;const $o=Ze(la),Ci=sr.BASE.multiply(la).toAffine(),Aa=Ve(Ci.x);if(Aa===Ki)return;const ys=Ve($o*Ve(li+Aa*ya));if(ys===Ki)return;let yl=(Ci.x===Aa?0:2)|Number(Ci.y&zn),Pc=ys;return Mi&&Yr(ys)&&(Pc=function Mr(To){return Yr(To)?Ve(-To):To}(ys),yl^=1),new Jr(Aa,Pc,yl)}}}(To,uo,vn);return ba(C.hash.outputLen,C.nByteLength,C.hmac)(Rn,fo)},verify:function Hi(To,uo,vn,Rn=Ei){const fo=To;if(uo=Qn("msgHash",uo),vn=Qn("publicKey",vn),"strict"in Rn)throw new Error("options.strict was renamed to lowS");const{lowS:Mi,prehash:ea}=Rn;let Fi,ws;try{if("string"==typeof fo||fo instanceof Uint8Array)try{Fi=Jr.fromDER(fo)}catch(Ci){if(!(Ci instanceof ri.Err))throw Ci;Fi=Jr.fromCompact(fo)}else{if("object"!=typeof fo||"bigint"!=typeof fo.r||"bigint"!=typeof fo.s)throw new Error("PARSE");{const{r:Ci,s:Aa}=fo;Fi=new Jr(Ci,Aa)}}ws=sr.fromHex(vn)}catch(Ci){if("PARSE"===Ci.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Mi&&Fi.hasHighS())return!1;ea&&(uo=C.hash(uo));const{r:ya,s:yi}=Fi,Po=tn(uo),li=Ze(yi),Ii=Ve(Po*li),Xa=Ve(ya*li),la=sr.BASE.multiplyAndAddUnsafe(ws,Ii,Xa)?.toAffine();return!!la&&Ve(la.x)===ya},ProjectivePoint:sr,Signature:Jr,utils:go}}BigInt(4);class Jc extends Cr{constructor(C,F){super(),this.finished=!1,this.destroyed=!1,Lr.hash(C);const ht=Ce(F);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ot=this.blockLen,ae=new Uint8Array(Ot);ae.set(ht.length>Ot?C.create().update(ht).digest():ht);for(let Ue=0;Uenew Jc(x,C).update(F).digest();function Li(x){return{hash:x,hmac:(C,...F)=>ln(x,C,function or(...x){const C=new Uint8Array(x.reduce((ht,Ot)=>ht+Ot.length,0));let F=0;return x.forEach(ht=>{if(!ao(ht))throw new Error("Uint8Array expected");C.set(ht,F),F+=ht.length}),C}(...F)),randomBytes:xo}}ln.create=(x,C)=>new Jc(x,C);const Ji=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),$i=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),zs=BigInt(1),As=BigInt(2),sa=(x,C)=>(x+C/As)/C;const Ss=function Oo(x,C,F=!1,ht={}){if(x<=Jo)throw new Error(`Expected Fp ORDER > 0, got ${x}`);const{nBitLength:Ot,nByteLength:ae}=jr(x,C);if(ae>2048)throw new Error("Field lengths over 2048 bytes are not supported");const Ue=function _i(x){if(x%es===bi){const C=(x+On)/es;return function(ht,Ot){const ae=ht.pow(Ot,C);if(!ht.eql(ht.sqr(ae),Ot))throw new Error("Cannot find square root");return ae}}if(x%xi===Vn){const C=(x-Vn)/xi;return function(ht,Ot){const ae=ht.mul(Ot,ia),Ue=ht.pow(ae,C),Ve=ht.mul(Ot,Ue),Ze=ht.mul(ht.mul(Ve,ia),Ue),sr=ht.mul(Ve,ht.sub(Ze,ht.ONE));if(!ht.eql(ht.sqr(sr),Ot))throw new Error("Cannot find square root");return sr}}return function rs(x){const C=(x-On)/ia;let F,ht,Ot;for(F=x-On,ht=0;F%ia===Jo;F/=ia,ht++);for(Ot=ia;OtJn(Ze,x),isValid:Ze=>{if("bigint"!=typeof Ze)throw new Error("Invalid field element: expected bigint, got "+typeof Ze);return Jo<=Ze&&ZeZe===Jo,isOdd:Ze=>(Ze&On)===On,neg:Ze=>Jn(-Ze,x),eql:(Ze,sr)=>Ze===sr,sqr:Ze=>Jn(Ze*Ze,x),add:(Ze,sr)=>Jn(Ze+sr,x),sub:(Ze,sr)=>Jn(Ze-sr,x),mul:(Ze,sr)=>Jn(Ze*sr,x),pow:(Ze,sr)=>function et(x,C,F){if(F 0");if(F===Jo)return x.ONE;if(F===On)return C;let ht=x.ONE,Ot=C;for(;F>Jo;)F&On&&(ht=x.mul(ht,Ot)),Ot=x.sqr(Ot),F>>=On;return ht}(Ve,Ze,sr),div:(Ze,sr)=>Jn(Ze*wa(sr,x),x),sqrN:Ze=>Ze*Ze,addN:(Ze,sr)=>Ze+sr,subN:(Ze,sr)=>Ze-sr,mulN:(Ze,sr)=>Ze*sr,inv:Ze=>wa(Ze,x),sqrt:ht.sqrt||(Ze=>Ue(Ve,Ze)),invertBatch:Ze=>function te(x,C){const F=new Array(C.length),ht=C.reduce((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=ae,x.mul(ae,Ue)),x.ONE),Ot=x.inv(ht);return C.reduceRight((ae,Ue,Ve)=>x.is0(Ue)?ae:(F[Ve]=x.mul(ae,F[Ve]),x.mul(ae,Ue)),Ot),F}(Ve,Ze),cmov:(Ze,sr,Ir)=>Ir?sr:Ze,toBytes:Ze=>F?Ko(Ze,ae):fi(Ze,ae),fromBytes:Ze=>{if(Ze.length!==ae)throw new Error(`Fp.fromBytes: expected ${ae}, got ${Ze.length}`);return F?na(Ze):Mn(Ze)}});return Object.freeze(Ve)}(Ji,void 0,void 0,{sqrt:function yc(x){const C=Ji,F=BigInt(3),ht=BigInt(6),Ot=BigInt(11),ae=BigInt(22),Ue=BigInt(23),Ve=BigInt(44),Ze=BigInt(88),sr=x*x*x%C,Ir=sr*sr*x%C,ze=Ni(Ir,F,C)*Ir%C,nr=Ni(ze,F,C)*Ir%C,_r=Ni(nr,As,C)*sr%C,Yr=Ni(_r,Ot,C)*_r%C,Mr=Ni(Yr,ae,C)*Yr%C,Gr=Ni(Mr,Ve,C)*Mr%C,Jr=Ni(Gr,Ze,C)*Gr%C,go=Ni(Jr,Ve,C)*Mr%C,Vr=Ni(go,F,C)*Ir%C,Do=Ni(Vr,Ue,C)*Yr%C,Io=Ni(Do,ht,C)*sr%C,Xr=Ni(Io,As,C);if(!Ss.eql(Ss.sqr(Xr),x))throw new Error("Cannot find square root");return Xr}}),Oi=function on(x,C){const F=ht=>je({...x,...Li(ht)});return Object.freeze({...F(C),create:F})}({a:BigInt(0),b:BigInt(7),Fp:Ss,n:$i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:x=>{const C=$i,F=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),ht=-zs*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Ot=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),ae=F,Ue=BigInt("0x100000000000000000000000000000000"),Ve=sa(ae*x,C),Ze=sa(-ht*x,C);let sr=Jn(x-Ve*F-Ze*Ot,C),Ir=Jn(-Ve*ht-Ze*ae,C);const ze=sr>Ue,nr=Ir>Ue;if(ze&&(sr=C-sr),nr&&(Ir=C-Ir),sr>Ue||Ir>Ue)throw new Error("splitScalar: Endomorphism failed, k="+x);return{k1neg:ze,k1:sr,k2neg:nr,k2:Ir}}}},nn);BigInt(0);var gs=r(3813);const gi=Oi.ProjectivePoint,fs=(0,gs.Tq)(se);function ic(x){return BigInt(`0x${function vt(x){if(!z(x))throw new Error("Uint8Array expected");let C="";for(let F=0;F{if(!Number.isSafeInteger(x)||x<0||x>2**32-1)throw new Error(`Invalid number=${x}. Should be from 0 to 2 ** 32 - 1`);const C=new Uint8Array(4);return q(C).setUint32(0,x,!1),C};class Et{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return q(this.pubHash).getUint32(0,!1)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const C=this.privateKey;if(!C)throw new Error("No private key");return fs.encode(this.serialize(this.versions.private,Ct(new Uint8Array([0]),C)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return fs.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(C,F=bs){if(k(C),8*C.length<128||8*C.length>512)throw new Error(`HDKey: wrong seed length=${C.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const ht=xe(Eo,ca,C);return new Et({versions:F,chainCode:ht.slice(32),privateKey:ht.slice(0,32)})}static fromExtendedKey(C,F=bs){const ht=fs.decode(C),Ot=q(ht),ae=Ot.getUint32(0,!1),Ue={versions:F,depth:ht[4],parentFingerprint:Ot.getUint32(5,!1),index:Ot.getUint32(9,!1),chainCode:ht.slice(13,45)},Ve=ht.slice(45),Ze=0===Ve[0];if(ae!==F[Ze?"private":"public"])throw new Error("Version mismatch");return new Et(Ze?{...Ue,privateKey:Ve.slice(1)}:{...Ue,publicKey:Ve})}static fromJSON(C){return Et.fromExtendedKey(C.xpriv)}constructor(C){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!C||"object"!=typeof C)throw new Error("HDKey.constructor must not be called directly");if(this.versions=C.versions||bs,this.depth=C.depth||0,this.chainCode=C.chainCode,this.index=C.index||0,this.parentFingerprint=C.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(C.publicKey&&C.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(C.privateKey){if(!Oi.utils.isValidPrivateKey(C.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof C.privateKey?C.privateKey:ic(C.privateKey),this.privKeyBytes=function Is(x){return function St(x){if("string"!=typeof x)throw new Error("hex string expected, got "+typeof x);const C=x.length,F=C/2;if(C%2)throw new Error("padded hex string expected, got unpadded hex of length "+C);const ht=new Uint8Array(F);for(let Ot=0,ae=0;Ot=fn)throw new Error("Invalid index");"'"===ae[2]&&(Ue+=fn),ht=ht.deriveChild(Ue)}return ht}deriveChild(C){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let F=B(C);if(C>=fn){const Ve=this.privateKey;if(!Ve)throw new Error("Could not derive hardened child key");F=Ct(new Uint8Array([0]),Ve,F)}else F=Ct(this.pubKey,F);const ht=xe(Eo,this.chainCode,F),Ot=ic(ht.slice(0,32)),ae=ht.slice(32);if(!Oi.utils.isValidPrivateKey(Ot))throw new Error("Tweak bigger than curve order");const Ue={versions:this.versions,chainCode:ae,depth:this.depth+1,parentFingerprint:this.fingerprint,index:C};try{if(this.privateKey){const Ve=Jn(this.privKey+Ot,Oi.CURVE.n);if(!Oi.utils.isValidPrivateKey(Ve))throw new Error("The tweak was out of range or the resulted private key is invalid");Ue.privateKey=Ve}else{const Ve=gi.fromHex(this.pubKey).add(gi.fromPrivateKey(Ot));if(Ve.equals(gi.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");Ue.publicKey=Ve.toRawBytes(!0)}return new Et(Ue)}catch{return this.deriveChild(C+1)}}sign(C){if(!this.privateKey)throw new Error("No privateKey set!");return k(C,32),Oi.sign(C,this.privKey).toCompactRawBytes()}verify(C,F){if(k(C,32),k(F,64),!this.publicKey)throw new Error("No publicKey set!");let ht;try{ht=Oi.Signature.fromCompact(F)}catch{return!1}return Oi.verify(ht,C,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(C,F){if(!this.chainCode)throw new Error("No chainCode set");return k(F,33),Ct(B(C),new Uint8Array([this.depth]),B(this.parentFingerprint),B(this.index),this.chainCode,F)}}},9673:(i,a,r)=>{"use strict";function o(Oe){if(!Number.isSafeInteger(Oe)||Oe<0)throw new Error(`Wrong positive integer: ${Oe}`)}function y(Oe,...Ke){if(!function c(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("Expected Uint8Array");if(Ke.length>0&&!Ke.includes(Oe.length))throw new Error(`Expected Uint8Array of length ${Ke}, not of length=${Oe.length}`)}function k(Oe){if("function"!=typeof Oe||"function"!=typeof Oe.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");o(Oe.outputLen),o(Oe.blockLen)}function A(Oe,Ke=!0){if(Oe.destroyed)throw new Error("Hash instance has been destroyed");if(Ke&&Oe.finished)throw new Error("Hash#digest() has already been called")}function I(Oe,Ke){y(Oe);const Dr=Ke.outputLen;if(Oe.lengthyr,kw:()=>ei,JB:()=>ni});const T={number:o,bool:function s(Oe){if("boolean"!=typeof Oe)throw new Error(`Expected boolean, not ${Oe}`)},bytes:y,hash:k,exists:A,output:I},O="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;const q=Oe=>new DataView(Oe.buffer,Oe.byteOffset,Oe.byteLength),ct=(Oe,Ke)=>Oe<<32-Ke|Oe>>>Ke;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function yt(Oe){if("string"==typeof Oe&&(Oe=function rt(Oe){if("string"!=typeof Oe)throw new Error("utf8ToBytes expected string, got "+typeof Oe);return new Uint8Array((new TextEncoder).encode(Oe))}(Oe)),!function z(Oe){return Oe instanceof Uint8Array||null!=Oe&&"object"==typeof Oe&&"Uint8Array"===Oe.constructor.name}(Oe))throw new Error("expected Uint8Array, got "+typeof Oe);return Oe}class Vt{clone(){return this._cloneInto()}}const Xt={}.toString;function Xe(Oe){const Ke=Lr=>Oe().update(yt(Lr)).digest(),Dr=Oe();return Ke.outputLen=Dr.outputLen,Ke.blockLen=Dr.blockLen,Ke.create=()=>Oe(),Ke}class Wr extends Vt{constructor(Ke,Dr){super(),this.finished=!1,this.destroyed=!1,k(Ke);const Lr=yt(Dr);if(this.iHash=Ke.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Ur=this.blockLen,ao=new Uint8Array(Ur);ao.set(Lr.length>Ur?Ke.create().update(Lr).digest():Lr);for(let no=0;nonew Wr(Oe,Ke).update(Dr).digest();xe.create=(Oe,Ke)=>new Wr(Oe,Ke);class jt extends Vt{constructor(Ke,Dr,Lr,Ur){super(),this.blockLen=Ke,this.outputLen=Dr,this.padOffset=Lr,this.isLE=Ur,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(Ke),this.view=q(this.buffer)}update(Ke){A(this);const{view:Dr,buffer:Lr,blockLen:Ur}=this,ao=(Ke=yt(Ke)).length;for(let no=0;noUr-no&&(this.process(Lr,0),no=0);for(let he=no;he>Ur&ao),vo=Number(Dr&ao),ro=Lr?0:4;Oe.setUint32(Ke+(Lr?4:0),no,Lr),Oe.setUint32(Ke+ro,vo,Lr)})(Lr,Ur-8,BigInt(8*this.length),ao),this.process(Lr,0);const vo=q(Ke),Co=this.outputLen;if(Co%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ro=Co/4,zt=this.get();if(ro>zt.length)throw new Error("_sha2: outputLen bigger than state");for(let he=0;heOe&Ke^~Oe&Dr,Ye=(Oe,Ke,Dr)=>Oe&Ke^Oe&Dr^Ke&Dr,ft=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),pe=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ut=new Uint32Array(64);class Ee extends jt{constructor(){super(64,32,8,!1),this.A=0|pe[0],this.B=0|pe[1],this.C=0|pe[2],this.D=0|pe[3],this.E=0|pe[4],this.F=0|pe[5],this.G=0|pe[6],this.H=0|pe[7]}get(){const{A:Ke,B:Dr,C:Lr,D:Ur,E:ao,F:no,G:vo,H:Co}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co){this.A=0|Ke,this.B=0|Dr,this.C=0|Lr,this.D=0|Ur,this.E=0|ao,this.F=0|no,this.G=0|vo,this.H=0|Co}process(Ke,Dr){for(let he=0;he<16;he++,Dr+=4)Ut[he]=Ke.getUint32(Dr,!1);for(let he=16;he<64;he++){const ce=Ut[he-15],pt=Ut[he-2],Gt=ct(ce,7)^ct(ce,18)^ce>>>3,Dt=ct(pt,17)^ct(pt,19)^pt>>>10;Ut[he]=Dt+Ut[he-7]+Gt+Ut[he-16]|0}let{A:Lr,B:Ur,C:ao,D:no,E:vo,F:Co,G:ro,H:zt}=this;for(let he=0;he<64;he++){const pt=zt+(ct(vo,6)^ct(vo,11)^ct(vo,25))+De(vo,Co,ro)+ft[he]+Ut[he]|0,Dt=(ct(Lr,2)^ct(Lr,13)^ct(Lr,22))+Ye(Lr,Ur,ao)|0;zt=ro,ro=Co,Co=vo,vo=no+pt|0,no=ao,ao=Ur,Ur=Lr,Lr=pt+Dt|0}Lr=Lr+this.A|0,Ur=Ur+this.B|0,ao=ao+this.C|0,no=no+this.D|0,vo=vo+this.E|0,Co=Co+this.F|0,ro=ro+this.G|0,zt=zt+this.H|0,this.set(Lr,Ur,ao,no,vo,Co,ro,zt)}roundClean(){Ut.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const He=Xe(()=>new Ee),Me=BigInt(2**32-1),Pe=BigInt(32);function We(Oe,Ke=!1){return Ke?{h:Number(Oe&Me),l:Number(Oe>>Pe&Me)}:{h:0|Number(Oe>>Pe&Me),l:0|Number(Oe&Me)}}const Pr_split=function Or(Oe,Ke=!1){let Dr=new Uint32Array(Oe.length),Lr=new Uint32Array(Oe.length);for(let Ur=0;UrOe>>>Dr,Pr_shrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrSH=(Oe,Ke,Dr)=>Oe>>>Dr|Ke<<32-Dr,Pr_rotrSL=(Oe,Ke,Dr)=>Oe<<32-Dr|Ke>>>Dr,Pr_rotrBH=(Oe,Ke,Dr)=>Oe<<64-Dr|Ke>>>Dr-32,Pr_rotrBL=(Oe,Ke,Dr)=>Oe>>>Dr-32|Ke<<64-Dr,Pr_add=function ye(Oe,Ke,Dr,Lr){const Ur=(Ke>>>0)+(Lr>>>0);return{h:Oe+Dr+(Ur/2**32|0)|0,l:0|Ur}},Pr_add3L=(Oe,Ke,Dr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0),Pr_add3H=(Oe,Ke,Dr,Lr)=>Ke+Dr+Lr+(Oe/2**32|0)|0,Pr_add4L=(Oe,Ke,Dr,Lr)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0),Pr_add4H=(Oe,Ke,Dr,Lr,Ur)=>Ke+Dr+Lr+Ur+(Oe/2**32|0)|0,Pr_add5H=(Oe,Ke,Dr,Lr,Ur,ao)=>Ke+Dr+Lr+Ur+ao+(Oe/2**32|0)|0,Pr_add5L=(Oe,Ke,Dr,Lr,Ur)=>(Oe>>>0)+(Ke>>>0)+(Dr>>>0)+(Lr>>>0)+(Ur>>>0),[re,qt]=Pr_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(Oe=>BigInt(Oe))),Pt=new Uint32Array(80),ue=new Uint32Array(80);class mr extends jt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:Ke,Al:Dr,Bh:Lr,Bl:Ur,Ch:ao,Cl:no,Dh:vo,Dl:Co,Eh:ro,El:zt,Fh:he,Fl:ce,Gh:pt,Gl:Gt,Hh:Dt,Hl:ne}=this;return[Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne]}set(Ke,Dr,Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne){this.Ah=0|Ke,this.Al=0|Dr,this.Bh=0|Lr,this.Bl=0|Ur,this.Ch=0|ao,this.Cl=0|no,this.Dh=0|vo,this.Dl=0|Co,this.Eh=0|ro,this.El=0|zt,this.Fh=0|he,this.Fl=0|ce,this.Gh=0|pt,this.Gl=0|Gt,this.Hh=0|Dt,this.Hl=0|ne}process(Ke,Dr){for(let or=0;or<16;or++,Dr+=4)Pt[or]=Ke.getUint32(Dr),ue[or]=Ke.getUint32(Dr+=4);for(let or=16;or<80;or++){const Cr=0|Pt[or-15],Er=0|ue[or-15],Nr=Pr_rotrSH(Cr,Er,1)^Pr_rotrSH(Cr,Er,8)^Pr_shrSH(Cr,Er,7),Fr=Pr_rotrSL(Cr,Er,1)^Pr_rotrSL(Cr,Er,8)^Pr_shrSL(Cr,Er,7),qr=0|Pt[or-2],to=0|ue[or-2],xo=Pr_rotrSH(qr,to,19)^Pr_rotrBH(qr,to,61)^Pr_shrSH(qr,to,6),So=Pr_rotrSL(qr,to,19)^Pr_rotrBL(qr,to,61)^Pr_shrSL(qr,to,6),po=Pr_add4L(Fr,So,ue[or-7],ue[or-16]),io=Pr_add4H(po,Nr,xo,Pt[or-7],Pt[or-16]);Pt[or]=0|io,ue[or]=0|po}let{Ah:Lr,Al:Ur,Bh:ao,Bl:no,Ch:vo,Cl:Co,Dh:ro,Dl:zt,Eh:he,El:ce,Fh:pt,Fl:Gt,Gh:Dt,Gl:ne,Hh:Re,Hl:Ce}=this;for(let or=0;or<80;or++){const Cr=Pr_rotrSH(he,ce,14)^Pr_rotrSH(he,ce,18)^Pr_rotrBH(he,ce,41),Er=Pr_rotrSL(he,ce,14)^Pr_rotrSL(he,ce,18)^Pr_rotrBL(he,ce,41),Nr=he&pt^~he&Dt,qr=Pr_add5L(Ce,Er,ce&Gt^~ce&ne,qt[or],ue[or]),to=Pr_add5H(qr,Re,Cr,Nr,re[or],Pt[or]),xo=0|qr,So=Pr_rotrSH(Lr,Ur,28)^Pr_rotrBH(Lr,Ur,34)^Pr_rotrBH(Lr,Ur,39),po=Pr_rotrSL(Lr,Ur,28)^Pr_rotrBL(Lr,Ur,34)^Pr_rotrBL(Lr,Ur,39),io=Lr&ao^Lr&vo^ao&vo,Yn=Ur&no^Ur&Co^no&Co;Re=0|Dt,Ce=0|ne,Dt=0|pt,ne=0|Gt,pt=0|he,Gt=0|ce,({h:he,l:ce}=Pr_add(0|ro,0|zt,0|to,0|xo)),ro=0|vo,zt=0|Co,vo=0|ao,Co=0|no,ao=0|Lr,no=0|Ur;const Di=Pr_add3L(xo,po,Yn);Lr=Pr_add3H(Di,to,So,io),Ur=0|Di}({h:Lr,l:Ur}=Pr_add(0|this.Ah,0|this.Al,0|Lr,0|Ur)),({h:ao,l:no}=Pr_add(0|this.Bh,0|this.Bl,0|ao,0|no)),({h:vo,l:Co}=Pr_add(0|this.Ch,0|this.Cl,0|vo,0|Co)),({h:ro,l:zt}=Pr_add(0|this.Dh,0|this.Dl,0|ro,0|zt)),({h:he,l:ce}=Pr_add(0|this.Eh,0|this.El,0|he,0|ce)),({h:pt,l:Gt}=Pr_add(0|this.Fh,0|this.Fl,0|pt,0|Gt)),({h:Dt,l:ne}=Pr_add(0|this.Gh,0|this.Gl,0|Dt,0|ne)),({h:Re,l:Ce}=Pr_add(0|this.Hh,0|this.Hl,0|Re,0|Ce)),this.set(Lr,Ur,ao,no,vo,Co,ro,zt,he,ce,pt,Gt,Dt,ne,Re,Ce)}roundClean(){Pt.fill(0),ue.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const tr=Xe(()=>new mr);var ke=r(3813);const me=Oe=>"\u3042\u3044\u3053\u304f\u3057\u3093"===Oe[0];function Yt(Oe){if("string"!=typeof Oe)throw new TypeError("Invalid mnemonic type: "+typeof Oe);return Oe.normalize("NFKD")}function Ae(Oe){const Ke=Yt(Oe),Dr=Ke.split(" ");if(![12,15,18,21,24].includes(Dr.length))throw new Error("Invalid mnemonic");return{nfkd:Ke,words:Dr}}function ar(Oe){T.bytes(Oe,16,20,24,28,32)}function yr(Oe,Ke=128){if(T.number(Ke),Ke%32!=0||Ke>256)throw new TypeError("Invalid entropy");return function Yo(Oe,Ke){return ar(Oe),$n(Ke).encode(Oe).join(me(Ke)?"\u3000":" ")}(function wr(Oe=32){if(O&&"function"==typeof O.getRandomValues)return O.getRandomValues(new Uint8Array(Oe));throw new Error("crypto.getRandomValues must be defined")}(Ke/8),Oe)}const Eo=Oe=>{const Ke=8-Oe.length/4;return new Uint8Array([He(Oe)[0]>>Ke<{if("string"!=typeof Ke)throw new Error(`Wordlist: non-string element: ${Ke}`)}),ke.Wp.chain(ke.Wp.checksum(1,Eo),ke.Wp.radix2(11,!0),ke.Wp.alphabet(Oe))}function ni(Oe,Ke){try{!function Xn(Oe,Ke){const{words:Dr}=Ae(Oe),Lr=$n(Ke).decode(Dr);ar(Lr)}(Oe,Ke)}catch{return!1}return!0}const Fo=Oe=>Yt(`mnemonic${Oe}`);function ei(Oe,Ke=""){return function Nt(Oe,Ke,Dr,Lr){const{c:Ur,dkLen:ao,DK:no,PRF:vo,PRFSalt:Co}=function Le(Oe,Ke,Dr,Lr){k(Oe);const Ur=function oe(Oe,Ke){if(void 0!==Ke&&"[object Object]"!==Xt.call(Ke))throw new Error("Options should be object or undefined");return Object.assign(Oe,Ke)}({dkLen:32,asyncTick:10},Lr),{c:ao,dkLen:no,asyncTick:vo}=Ur;if(o(ao),o(no),o(vo),ao<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Co=yt(Ke),ro=yt(Dr),zt=new Uint8Array(no),he=xe.create(Oe,Co),ce=he._cloneInto().update(ro);return{c:ao,dkLen:no,asyncTick:vo,DK:zt,PRF:he,PRFSalt:ce}}(Oe,Ke,Dr,Lr);let ro;const zt=new Uint8Array(4),he=q(zt),ce=new Uint8Array(vo.outputLen);for(let pt=1,Gt=0;Gt{"use strict";r.d(a,{p:()=>o});const o="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},6568:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(4713),s=r(1860);const y=(0,o.A)(s.A,"Map")},7730:(i,a,r)=>{"use strict";r.d(a,{A:()=>Tt});var c=r(1319);const k=function y(It,ye){for(var ir=It.length;ir--;)if((0,c.A)(It[ir][0],ye))return ir;return-1};var I=Array.prototype.splice;function dt(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye-1},dt.prototype.set=function q(It,ye){var ir=this.__data__,Je=k(ir,It);return Je<0?(++this.size,ir.push([It,ye])):ir[Je][1]=ye,this};const tt=dt;var yt=r(6568);const Xt=(0,r(4713).A)(Object,"create");var xe=Object.prototype.hasOwnProperty;var Se=Object.prototype.hasOwnProperty;function ft(It){var ye=-1,ir=null==It?0:It.length;for(this.clear();++ye{"use strict";r.d(a,{A:()=>c});const c=r(1860).A.Symbol},6726:(i,a,r)=>{"use strict";r.d(a,{A:()=>L});var c=r(6513),y=r(3744),k=r(9377),A=r(8606),I=r(8885),T=Object.prototype.hasOwnProperty;const L=function O(Y,z){var q=(0,y.A)(Y),ct=!q&&(0,c.A)(Y),dt=!q&&!ct&&(0,k.A)(Y),tt=!q&&!ct&&!dt&&(0,I.A)(Y),vt=q||ct||dt||tt,Mt=vt?function o(Y,z){for(var q=-1,ct=Array(Y);++q{"use strict";r.d(a,{A:()=>A});var o=r(1827),s=r(1319),y=Object.prototype.hasOwnProperty;const A=function k(I,M,T){var O=I[M];(!y.call(I,M)||!(0,s.A)(O,T)||void 0===T&&!(M in I))&&(0,o.A)(I,M,T)}},1827:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(4746);const c=function s(y,k,A){"__proto__"==k&&o.A?(0,o.A)(y,k,{configurable:!0,enumerable:!0,value:A,writable:!0}):y[k]=A}},5281:(i,a,r)=>{"use strict";r.d(a,{A:()=>dt});var o=r(6944),s=Object.prototype,c=s.hasOwnProperty,y=s.toString,k=o.A?o.A.toStringTag:void 0;var T=Object.prototype.toString;var q=o.A?o.A.toStringTag:void 0;const dt=function ct(tt){return null==tt?void 0===tt?"[object Undefined]":"[object Null]":q&&q in Object(tt)?function A(tt){var vt=c.call(tt,k),Mt=tt[k];try{tt[k]=void 0;var $t=!0}catch{}var St=y.call(tt);return $t&&(vt?tt[k]=Mt:delete tt[k]),St}(tt):function O(tt){return T.call(tt)}(tt)}},778:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return function(y){return c(y)}}},9750:(i,a,r)=>{"use strict";r.d(a,{A:()=>k});const c=r(1860).A.Uint8Array,k=function y(A){var I=new A.constructor(A.byteLength);return new c(I).set(new c(A)),I}},9933:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(1860),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s?o.A.Buffer:void 0,A=k?k.allocUnsafe:void 0;const M=function I(T,O){if(O)return T.slice();var L=T.length,Y=A?A(L):new T.constructor(L);return T.copy(Y),Y}},4314:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});var o=r(9750);const c=function s(y,k){var A=k?(0,o.A)(y.buffer):y.buffer;return new y.constructor(A,y.byteOffset,y.length)}},4528:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){var k=-1,A=c.length;for(y||(y=Array(A));++k{"use strict";r.d(a,{A:()=>y});var o=r(1984),s=r(1827);const y=function c(k,A,I,M){var T=!I;I||(I={});for(var O=-1,L=A.length;++O{"use strict";r.d(a,{A:()=>c});var o=r(4713);const c=function(){try{var y=(0,o.A)(Object,"defineProperty");return y({},"",{}),y}catch{}}()},7133:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s="object"==typeof global&&global&&global.Object===Object&&global},4713:(i,a,r)=>{"use strict";r.d(a,{A:()=>kt});var nt,o=r(129),c=r(1860).A["__core-js_shared__"],k=(nt=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+nt:"";var M=r(554),T=r(8736),L=/^\[object .+?Constructor\]$/,dt=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const vt=function tt(nt){return!(!(0,M.A)(nt)||function A(nt){return!!k&&k in nt}(nt))&&((0,o.A)(nt)?dt:L).test((0,T.A)(nt))},kt=function St(nt,at){var rt=function Mt(nt,at){return nt?.[at]}(nt,at);return vt(rt)?rt:void 0}},8010:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=(0,r(8992).A)(Object.getPrototypeOf,Object)},923:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(554),s=Object.create;const y=function(){function T(){}return function(O){if(!(0,o.A)(O))return{};if(s)return s(O);T.prototype=O;var L=new T;return T.prototype=void 0,L}}();var k=r(8010),A=r(5776);const M=function I(T){return"function"!=typeof T.constructor||(0,A.A)(T)?{}:y((0,k.A)(T))}},8606:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=/^(?:0|[1-9]\d*)$/;const y=function c(k,A){var I=typeof k;return!!(A=A??9007199254740991)&&("number"==I||"symbol"!=I&&s.test(k))&&k>-1&&k%1==0&&k{"use strict";r.d(a,{A:()=>c});var o=Object.prototype;const c=function s(y){var k=y&&y.constructor;return y===("function"==typeof k&&k.prototype||o)}},3340:(i,a,r)=>{"use strict";r.d(a,{A:()=>I});var o=r(7133),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=s&&"object"==typeof module&&module&&!module.nodeType&&module,k=c&&c.exports===s&&o.A.process;const I=function(){try{return c&&c.require&&c.require("util").types||k&&k.binding&&k.binding("util")}catch{}}()},8992:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return function(k){return c(y(k))}}},1860:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(7133),s="object"==typeof self&&self&&self.Object===Object&&self;const y=o.A||s||Function("return this")()},8736:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var s=Function.prototype.toString;const y=function c(k){if(null!=k){try{return s.call(k)}catch{}try{return k+""}catch{}}return""}},1319:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c,y){return c===y||c!=c&&y!=y}},7680:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){for(var y=-1,k=null==c?0:c.length,A={};++y{"use strict";r.d(a,{A:()=>O});var o=r(5281),s=r(2661);const k=function y(L){return(0,s.A)(L)&&"[object Arguments]"==(0,o.A)(L)};var A=Object.prototype,I=A.hasOwnProperty,M=A.propertyIsEnumerable;const O=k(function(){return arguments}())?k:function(L){return(0,s.A)(L)&&I.call(L,"callee")&&!M.call(L,"callee")}},3744:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=Array.isArray},1287:(i,a,r)=>{"use strict";r.d(a,{A:()=>y});var o=r(129),s=r(5481);const y=function c(k){return null!=k&&(0,s.A)(k.length)&&!(0,o.A)(k)}},9377:(i,a,r)=>{"use strict";r.d(a,{A:()=>O});var o=r(1860),y="object"==typeof exports&&exports&&!exports.nodeType&&exports,k=y&&"object"==typeof module&&module&&!module.nodeType&&module,I=k&&k.exports===y?o.A.Buffer:void 0;const O=(I?I.isBuffer:void 0)||function s(){return!1}},129:(i,a,r)=>{"use strict";r.d(a,{A:()=>M});var o=r(5281),s=r(554);const M=function I(T){if(!(0,s.A)(T))return!1;var O=(0,o.A)(T);return"[object Function]"==O||"[object GeneratorFunction]"==O||"[object AsyncFunction]"==O||"[object Proxy]"==O}},5481:(i,a,r)=>{"use strict";r.d(a,{A:()=>c});const c=function s(y){return"number"==typeof y&&y>-1&&y%1==0&&y<=9007199254740991}},554:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){var y=typeof c;return null!=c&&("object"==y||"function"==y)}},2661:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});const s=function o(c){return null!=c&&"object"==typeof c}},8885:(i,a,r)=>{"use strict";r.d(a,{A:()=>Wr});var o=r(5281),s=r(5481),c=r(2661),Vt={};Vt["[object Float32Array]"]=Vt["[object Float64Array]"]=Vt["[object Int8Array]"]=Vt["[object Int16Array]"]=Vt["[object Int32Array]"]=Vt["[object Uint8Array]"]=Vt["[object Uint8ClampedArray]"]=Vt["[object Uint16Array]"]=Vt["[object Uint32Array]"]=!0,Vt["[object Arguments]"]=Vt["[object Array]"]=Vt["[object ArrayBuffer]"]=Vt["[object Boolean]"]=Vt["[object DataView]"]=Vt["[object Date]"]=Vt["[object Error]"]=Vt["[object Function]"]=Vt["[object Map]"]=Vt["[object Number]"]=Vt["[object Object]"]=Vt["[object RegExp]"]=Vt["[object Set]"]=Vt["[object String]"]=Vt["[object WeakMap]"]=!1;var Xe=r(778),kr=r(3340),gr=kr.A&&kr.A.isTypedArray;const Wr=gr?(0,Xe.A)(gr):function Xt(xe){return(0,c.A)(xe)&&(0,s.A)(xe.length)&&!!Vt[(0,o.A)(xe)]}},133:(i,a,r)=>{"use strict";r.d(a,{A:()=>Y});var o=r(6726),s=r(554),c=r(5776);var I=Object.prototype.hasOwnProperty;const T=function M(z){if(!(0,s.A)(z))return function y(z){var q=[];if(null!=z)for(var ct in Object(z))q.push(ct);return q}(z);var q=(0,c.A)(z),ct=[];for(var dt in z)"constructor"==dt&&(q||!I.call(z,dt))||ct.push(dt);return ct};var O=r(1287);const Y=function L(z){return(0,O.A)(z)?(0,o.A)(z,!0):T(z)}},2401:(i,a,r)=>{"use strict";r.d(a,{A:()=>ir});var o=r(7730),s=r(1827),c=r(1319);const k=function y(Je,er,Hr){(void 0!==Hr&&!(0,c.A)(Je[er],Hr)||void 0===Hr&&!(er in Je))&&(0,s.A)(Je,er,Hr)},T=function A(Je){return function(er,Hr,eo){for(var Bo=-1,fr=Object(er),Pr=eo(er),re=Pr.length;re--;){var qt=Pr[Je?re:++Bo];if(!1===Hr(fr[qt],qt,fr))break}return er}}();var O=r(9933),L=r(4314),Y=r(4528),z=r(923),q=r(6513),ct=r(3744),dt=r(1287),tt=r(2661);var $t=r(9377),St=r(129),kt=r(554),nt=r(5281),at=r(8010),Vt=Function.prototype.toString,Xt=Object.prototype.hasOwnProperty,oe=Vt.call(Object);var gr=r(8885);const Wr=function wr(Je,er){if(("constructor"!==er||"function"!=typeof Je[er])&&"__proto__"!=er)return Je[er]};var xe=r(7517),Le=r(133);const Rt=function Se(Je,er,Hr,eo,Bo,fr,Pr){var re=Wr(Je,Hr),qt=Wr(er,Hr),Pt=Pr.get(qt);if(Pt)k(Je,Hr,Pt);else{var ue=fr?fr(re,qt,Hr+"",Je,er,Pr):void 0,mr=void 0===ue;if(mr){var Qr=(0,ct.A)(qt),Ro=!Qr&&(0,$t.A)(qt),Wo=!Qr&&!Ro&&(0,gr.A)(qt);ue=qt,Qr||Ro||Wo?(0,ct.A)(re)?ue=re:function vt(Je){return(0,tt.A)(Je)&&(0,dt.A)(Je)}(re)?ue=(0,Y.A)(re):Ro?(mr=!1,ue=(0,O.A)(qt,!0)):Wo?(mr=!1,ue=(0,L.A)(qt,!0)):ue=[]:function Xe(Je){if(!(0,tt.A)(Je)||"[object Object]"!=(0,nt.A)(Je))return!1;var er=(0,at.A)(Je);if(null===er)return!0;var Hr=Xt.call(er,"constructor")&&er.constructor;return"function"==typeof Hr&&Hr instanceof Hr&&Vt.call(Hr)==oe}(qt)||(0,q.A)(qt)?(ue=re,(0,q.A)(re)?ue=function gt(Je){return(0,xe.A)(Je,(0,Le.A)(Je))}(re):(!(0,kt.A)(re)||(0,St.A)(re))&&(ue=(0,z.A)(qt))):mr=!1}mr&&(Pr.set(qt,ue),Bo(ue,qt,eo,fr,Pr),Pr.delete(qt)),k(Je,Hr,ue)}},jt=function de(Je,er,Hr,eo,Bo){Je!==er&&T(er,function(fr,Pr){if(Bo||(Bo=new o.A),(0,kt.A)(fr))Rt(Je,er,Pr,Hr,de,eo,Bo);else{var re=eo?eo(Wr(Je,Pr),fr,Pr+"",Je,er,Bo):void 0;void 0===re&&(re=fr),k(Je,Pr,re)}},Le.A)},Ye=function De(Je){return Je};var Ut=Math.max;const Ht=function He(Je){return function(){return Je}};var Me=r(4746),lr=Date.now;const Ie=function Lt(Je){var er=0,Hr=0;return function(){var eo=lr(),Bo=16-(eo-Hr);if(Hr=eo,Bo>0){if(++er>=800)return arguments[0]}else er=0;return Je.apply(void 0,arguments)}}(Me.A?function(Je,er){return(0,Me.A)(Je,"toString",{configurable:!0,enumerable:!1,value:Ht(er),writable:!0})}:Ye),mt=function br(Je,er){return Ie(function Ee(Je,er,Hr){return er=Ut(void 0===er?Je.length-1:er,0),function(){for(var eo=arguments,Bo=-1,fr=Ut(eo.length-er,0),Pr=Array(fr);++Bo1?Hr[Bo-1]:void 0,Pr=Bo>2?Hr[2]:void 0;for(fr=Je.length>3&&"function"==typeof fr?(Bo--,fr):void 0,Pr&&function Z(Je,er,Hr){if(!(0,kt.A)(Hr))return!1;var eo=typeof er;return!!("number"==eo?(0,dt.A)(Hr)&&(0,$.A)(er,Hr.length):"string"==eo&&er in Hr)&&(0,c.A)(Hr[er],Je)}(Hr[0],Hr[1],Pr)&&(fr=Bo<3?void 0:fr,Bo=1),er=Object(er);++eo{"use strict";r.d(a,{lo:()=>Xg,pC:()=>Gs,Bq:()=>xl,dq:()=>Hn,lG:()=>Ma,sh:()=>wh,Qe:()=>tp});var o={};r.r(o),r.d(o,{OG:()=>Z,My:()=>ie,Ph:()=>Pe,lX:()=>We,Id:()=>be,fg:()=>It,qj:()=>Lt,aT:()=>Me,lq:()=>Or,z:()=>ko,Q5:()=>ir});var s=r(467);function c(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function k(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}function I(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}const L="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,Y=v=>v instanceof Uint8Array,ct=v=>new DataView(v.buffer,v.byteOffset,v.byteLength),dt=(v,_)=>v<<32-_|v>>>_;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function rt(v){if("string"==typeof v&&(v=function at(v){if("string"!=typeof v)throw new Error("utf8ToBytes expected string, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v)),!Y(v))throw new Error("expected Uint8Array, got "+typeof v);return v}class Ct{clone(){return this._cloneInto()}}function oe(v){const _=j=>v().update(rt(j)).digest(),S=v();return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=()=>v(),_}function gr(v=32){if(L&&"function"==typeof L.getRandomValues)return L.getRandomValues(new Uint8Array(v));throw new Error("crypto.getRandomValues must be defined")}class Wr extends Ct{constructor(_,S,j,Q){super(),this.blockLen=_,this.outputLen=S,this.padOffset=j,this.isLE=Q,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(_),this.view=ct(this.buffer)}update(_){I(this);const{view:S,buffer:j,blockLen:Q}=this,lt=(_=rt(_)).length;for(let At=0;AtQ-At&&(this.process(j,0),At=0);for(let Be=At;Be>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)})(j,Q-8,BigInt(8*this.length),lt),this.process(j,0);const Bt=ct(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Be=0;Bev&_^~v&S,Le=(v,_,S)=>v&_^v&S^_&S,gt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Nt=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Se=new Uint32Array(64);class Rt extends Wr{constructor(){super(64,32,8,!1),this.A=0|Nt[0],this.B=0|Nt[1],this.C=0|Nt[2],this.D=0|Nt[3],this.E=0|Nt[4],this.F=0|Nt[5],this.G=0|Nt[6],this.H=0|Nt[7]}get(){const{A:_,B:S,C:j,D:Q,E:lt,F:At,G:Bt,H:Zt}=this;return[_,S,j,Q,lt,At,Bt,Zt]}set(_,S,j,Q,lt,At,Bt,Zt){this.A=0|_,this.B=0|S,this.C=0|j,this.D=0|Q,this.E=0|lt,this.F=0|At,this.G=0|Bt,this.H=0|Zt}process(_,S){for(let Be=0;Be<16;Be++,S+=4)Se[Be]=_.getUint32(S,!1);for(let Be=16;Be<64;Be++){const dr=Se[Be-15],vr=Se[Be-2],cr=dt(dr,7)^dt(dr,18)^dr>>>3,Qe=dt(vr,17)^dt(vr,19)^vr>>>10;Se[Be]=Qe+Se[Be-7]+cr+Se[Be-16]|0}let{A:j,B:Q,C:lt,D:At,E:Bt,F:Zt,G:ve,H:Ne}=this;for(let Be=0;Be<64;Be++){const vr=Ne+(dt(Bt,6)^dt(Bt,11)^dt(Bt,25))+xe(Bt,Zt,ve)+gt[Be]+Se[Be]|0,Qe=(dt(j,2)^dt(j,13)^dt(j,22))+Le(j,Q,lt)|0;Ne=ve,ve=Zt,Zt=Bt,Bt=At+vr|0,At=lt,lt=Q,Q=j,j=vr+Qe|0}j=j+this.A|0,Q=Q+this.B|0,lt=lt+this.C|0,At=At+this.D|0,Bt=Bt+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Q,lt,At,Bt,Zt,ve,Ne)}roundClean(){Se.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const jt=oe(()=>new Rt),ft=(BigInt(0),BigInt(1)),pe=BigInt(2),Ut=v=>v instanceof Uint8Array,Ee=Array.from({length:256},(v,_)=>_.toString(16).padStart(2,"0"));function ie(v){if(!Ut(v))throw new Error("Uint8Array expected");let _="";for(let S=0;Sj+Q.length,0));let S=0;return v.forEach(j=>{if(!Ut(j))throw new Error("Uint8Array expected");_.set(j,S),S+=j.length}),_}const Z=v=>(pe<new Uint8Array(v),Tt=v=>Uint8Array.from(v);function It(v,_,S){if("number"!=typeof v||v<2)throw new Error("hashLen must be a number");if("number"!=typeof _||_<2)throw new Error("qByteLen must be a number");if("function"!=typeof S)throw new Error("hmacFn must be a function");let j=it(v),Q=it(v),lt=0;const At=()=>{j.fill(1),Q.fill(0),lt=0},Bt=(...Be)=>S(Q,j,...Be),Zt=(Be=it())=>{Q=Bt(Tt([0]),Be),j=Bt(),0!==Be.length&&(Q=Bt(Tt([1]),Be),j=Bt())},ve=()=>{if(lt++>=1e3)throw new Error("drbg: tried 1000 values");let Be=0;const dr=[];for(;Be<_;){j=Bt();const vr=j.slice();dr.push(vr),Be+=j.length}return be(...dr)};return(Be,dr)=>{let vr;for(At(),Zt(Be);!(vr=dr(ve()));)Zt();return At(),vr}}const ye={bigint:v=>"bigint"==typeof v,function:v=>"function"==typeof v,boolean:v=>"boolean"==typeof v,string:v=>"string"==typeof v,stringOrUint8Array:v=>"string"==typeof v||v instanceof Uint8Array,isSafeInteger:v=>Number.isSafeInteger(v),array:v=>Array.isArray(v),field:(v,_)=>_.Fp.isValid(v),hash:v=>"function"==typeof v&&Number.isSafeInteger(v.outputLen)};function ir(v,_,S={}){const j=(Q,lt,At)=>{const Bt=ye[lt];if("function"!=typeof Bt)throw new Error(`Invalid validator "${lt}", expected function`);const Zt=v[Q];if(!(At&&void 0===Zt||Bt(Zt,v)))throw new Error(`Invalid param ${String(Q)}=${Zt} (${typeof Zt}), expected ${lt}`)};for(const[Q,lt]of Object.entries(_))j(Q,lt,!1);for(const[Q,lt]of Object.entries(S))j(Q,lt,!0);return v}const Je=BigInt(0),er=BigInt(1),Hr=BigInt(2),eo=BigInt(3),Bo=BigInt(4),fr=BigInt(5),Pr=BigInt(8);function Pt(v,_){const S=v%_;return S>=Je?S:_+S}function ue(v,_,S){if(S<=Je||_ 0");if(S===er)return Je;let j=er;for(;_>Je;)_&er&&(j=j*v%S),v=v*v%S,_>>=er;return j}function mr(v,_,S){let j=v;for(;_-- >Je;)j*=j,j%=S;return j}function Qr(v,_){if(v===Je||_<=Je)throw new Error(`invert: expected positive integers, got n=${v} mod=${_}`);let S=Pt(v,_),j=_,Q=Je,lt=er,At=er,Bt=Je;for(;S!==Je;){const ve=j/S,Ne=j%S,Be=Q-At*ve,dr=lt-Bt*ve;j=S,S=Ne,Q=At,lt=Bt,At=Be,Bt=dr}if(j!==er)throw new Error("invert: does not exist");return Pt(Q,_)}BigInt(9),BigInt(16);const $e=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Ae(v,_){const S=void 0!==_?_:v.toString(2).length;return{nBitLength:S,nByteLength:Math.ceil(S/8)}}function Xn(v){if("bigint"!=typeof v)throw new Error("field order must be bigint");const _=v.toString(2).length;return Math.ceil(_/8)}function Yo(v){const _=Xn(v);return _+Math.ceil(_/2)}class Fo extends Ct{constructor(_,S){super(),this.finished=!1,this.destroyed=!1,function A(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");c(v.outputLen),c(v.blockLen)}(_);const j=rt(S);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Q=this.blockLen,lt=new Uint8Array(Q);lt.set(j.length>Q?_.create().update(j).digest():j);for(let At=0;Atnew Fo(v,_).update(S).digest();pi.create=(v,_)=>new Fo(v,_);const ei=BigInt(0),Oe=BigInt(1);function Dr(v){return function _e(v){ir(v,$e.reduce((j,Q)=>(j[Q]="function",j),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}(v.Fp),ir(v,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Ae(v.n,v.nBitLength),...v,p:v.Fp.ORDER})}const{Ph:Ur,aT:ao}=o,no={Err:class extends Error{constructor(_=""){super(_)}},_parseInt(v){const{Err:_}=no;if(v.length<2||2!==v[0])throw new _("Invalid signature integer tag");const S=v[1],j=v.subarray(2,S+2);if(!S||j.length!==S)throw new _("Invalid signature integer: wrong length");if(128&j[0])throw new _("Invalid signature integer: negative");if(0===j[0]&&!(128&j[1]))throw new _("Invalid signature integer: unnecessary leading zero");return{d:Ur(j),l:v.subarray(S+2)}},toSig(v){const{Err:_}=no,S="string"==typeof v?ao(v):v;if(!(S instanceof Uint8Array))throw new Error("ui8a expected");let j=S.length;if(j<2||48!=S[0])throw new _("Invalid signature tag");if(S[1]!==j-2)throw new _("Invalid signature: incorrect length");const{d:Q,l:lt}=no._parseInt(S.subarray(2)),{d:At,l:Bt}=no._parseInt(lt);if(Bt.length)throw new _("Invalid signature: left bytes after parsing");return{r:Q,s:At}},hexFromSig(v){const _=ve=>8&Number.parseInt(ve[0],16)?"00"+ve:ve,S=ve=>{const Ne=ve.toString(16);return 1&Ne.length?`0${Ne}`:Ne},j=_(S(v.s)),Q=_(S(v.r)),lt=j.length/2,At=Q.length/2,Bt=S(lt),Zt=S(At);return`30${S(At+lt+4)}02${Zt}${Q}02${Bt}${j}`}},vo=BigInt(0),Co=BigInt(1),zt=(BigInt(2),BigInt(3));function Gt(v){const _=function pt(v){const _=Dr(v);return ir(_,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,..._})}(v),{Fp:S,n:j}=_,Q=S.BYTES+1,lt=2*S.BYTES+1;function Bt(co){return Pt(co,j)}function Zt(co){return Qr(co,j)}const{ProjectivePoint:ve,normPrivateKeyToScalar:Ne,weierstrassEquation:Be,isWithinCurveOrder:dr}=function ce(v){const _=function Lr(v){const _=Dr(v);ir(_,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:S,Fp:j,a:Q}=_;if(S){if(!j.eql(Q,j.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof S||"bigint"!=typeof S.beta||"function"!=typeof S.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({..._})}(v),{Fp:S}=_,j=_.toBytes||((cr,Qe,rr)=>{const Sr=Qe.toAffine();return be(Uint8Array.from([4]),S.toBytes(Sr.x),S.toBytes(Sr.y))}),Q=_.fromBytes||(cr=>{const Qe=cr.subarray(1);return{x:S.fromBytes(Qe.subarray(0,S.BYTES)),y:S.fromBytes(Qe.subarray(S.BYTES,2*S.BYTES))}});function lt(cr){const{a:Qe,b:rr}=_,Sr=S.sqr(cr),Tr=S.mul(Sr,cr);return S.add(S.add(Tr,S.mul(cr,Qe)),rr)}if(!S.eql(S.sqr(_.Gy),lt(_.Gx)))throw new Error("bad generator point: equation left != right");function At(cr){return"bigint"==typeof cr&&voS.eql(oo,S.ZERO);return Tr(rr)&&Tr(Sr)?Be.ZERO:new Be(rr,Sr,S.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(Qe){const rr=S.invertBatch(Qe.map(Sr=>Sr.pz));return Qe.map((Sr,Tr)=>Sr.toAffine(rr[Tr])).map(Be.fromAffine)}static fromHex(Qe){const rr=Be.fromAffine(Q(Lt("pointHex",Qe)));return rr.assertValidity(),rr}static fromPrivateKey(Qe){return Be.BASE.multiply(Zt(Qe))}_setWindowSize(Qe){this._WINDOW_SIZE=Qe,ve.delete(this)}assertValidity(){if(this.is0()){if(_.allowInfinityPoint&&!S.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:Qe,y:rr}=this.toAffine();if(!S.isValid(Qe)||!S.isValid(rr))throw new Error("bad point: x or y not FE");const Sr=S.sqr(rr),Tr=lt(Qe);if(!S.eql(Sr,Tr))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:Qe}=this.toAffine();if(S.isOdd)return!S.isOdd(Qe);throw new Error("Field doesn't support isOdd")}equals(Qe){Ne(Qe);const{px:rr,py:Sr,pz:Tr}=this,{px:oo,py:lo,pz:Ho}=Qe,_o=S.eql(S.mul(rr,Ho),S.mul(oo,Tr)),jo=S.eql(S.mul(Sr,Ho),S.mul(lo,Tr));return _o&&jo}negate(){return new Be(this.px,S.neg(this.py),this.pz)}double(){const{a:Qe,b:rr}=_,Sr=S.mul(rr,zt),{px:Tr,py:oo,pz:lo}=this;let Ho=S.ZERO,_o=S.ZERO,jo=S.ZERO,Go=S.mul(Tr,Tr),Dn=S.mul(oo,oo),dn=S.mul(lo,lo),sn=S.mul(Tr,oo);return sn=S.add(sn,sn),jo=S.mul(Tr,lo),jo=S.add(jo,jo),Ho=S.mul(Qe,jo),_o=S.mul(Sr,dn),_o=S.add(Ho,_o),Ho=S.sub(Dn,_o),_o=S.add(Dn,_o),_o=S.mul(Ho,_o),Ho=S.mul(sn,Ho),jo=S.mul(Sr,jo),dn=S.mul(Qe,dn),sn=S.sub(Go,dn),sn=S.mul(Qe,sn),sn=S.add(sn,jo),jo=S.add(Go,Go),Go=S.add(jo,Go),Go=S.add(Go,dn),Go=S.mul(Go,sn),_o=S.add(_o,Go),dn=S.mul(oo,lo),dn=S.add(dn,dn),Go=S.mul(dn,sn),Ho=S.sub(Ho,Go),jo=S.mul(dn,Dn),jo=S.add(jo,jo),jo=S.add(jo,jo),new Be(Ho,_o,jo)}add(Qe){Ne(Qe);const{px:rr,py:Sr,pz:Tr}=this,{px:oo,py:lo,pz:Ho}=Qe;let _o=S.ZERO,jo=S.ZERO,Go=S.ZERO;const Dn=_.a,dn=S.mul(_.b,zt);let sn=S.mul(rr,oo),Kn=S.mul(Sr,lo),Gn=S.mul(Tr,Ho),ti=S.add(rr,Sr),co=S.add(oo,lo);ti=S.mul(ti,co),co=S.add(sn,Kn),ti=S.sub(ti,co),co=S.add(rr,Tr);let wo=S.add(oo,Ho);return co=S.mul(co,wo),wo=S.add(sn,Gn),co=S.sub(co,wo),wo=S.add(Sr,Tr),_o=S.add(lo,Ho),wo=S.mul(wo,_o),_o=S.add(Kn,Gn),wo=S.sub(wo,_o),Go=S.mul(Dn,co),_o=S.mul(dn,Gn),Go=S.add(_o,Go),_o=S.sub(Kn,Go),Go=S.add(Kn,Go),jo=S.mul(_o,Go),Kn=S.add(sn,sn),Kn=S.add(Kn,sn),Gn=S.mul(Dn,Gn),co=S.mul(dn,co),Kn=S.add(Kn,Gn),Gn=S.sub(sn,Gn),Gn=S.mul(Dn,Gn),co=S.add(co,Gn),sn=S.mul(Kn,co),jo=S.add(jo,sn),sn=S.mul(wo,co),_o=S.mul(ti,_o),_o=S.sub(_o,sn),sn=S.mul(ti,Kn),Go=S.mul(wo,Go),Go=S.add(Go,sn),new Be(_o,jo,Go)}subtract(Qe){return this.add(Qe.negate())}is0(){return this.equals(Be.ZERO)}wNAF(Qe){return vr.wNAFCached(this,ve,Qe,rr=>{const Sr=S.invertBatch(rr.map(Tr=>Tr.pz));return rr.map((Tr,oo)=>Tr.toAffine(Sr[oo])).map(Be.fromAffine)})}multiplyUnsafe(Qe){const rr=Be.ZERO;if(Qe===vo)return rr;if(Bt(Qe),Qe===Co)return this;const{endo:Sr}=_;if(!Sr)return vr.unsafeLadder(this,Qe);let{k1neg:Tr,k1:oo,k2neg:lo,k2:Ho}=Sr.splitScalar(Qe),_o=rr,jo=rr,Go=this;for(;oo>vo||Ho>vo;)oo&Co&&(_o=_o.add(Go)),Ho&Co&&(jo=jo.add(Go)),Go=Go.double(),oo>>=Co,Ho>>=Co;return Tr&&(_o=_o.negate()),lo&&(jo=jo.negate()),jo=new Be(S.mul(jo.px,Sr.beta),jo.py,jo.pz),_o.add(jo)}multiply(Qe){Bt(Qe);let Sr,Tr,rr=Qe;const{endo:oo}=_;if(oo){const{k1neg:lo,k1:Ho,k2neg:_o,k2:jo}=oo.splitScalar(rr);let{p:Go,f:Dn}=this.wNAF(Ho),{p:dn,f:sn}=this.wNAF(jo);Go=vr.constTimeNegate(lo,Go),dn=vr.constTimeNegate(_o,dn),dn=new Be(S.mul(dn.px,oo.beta),dn.py,dn.pz),Sr=Go.add(dn),Tr=Dn.add(sn)}else{const{p:lo,f:Ho}=this.wNAF(rr);Sr=lo,Tr=Ho}return Be.normalizeZ([Sr,Tr])[0]}multiplyAndAddUnsafe(Qe,rr,Sr){const Tr=Be.BASE,oo=(Ho,_o)=>_o!==vo&&_o!==Co&&Ho.equals(Tr)?Ho.multiply(_o):Ho.multiplyUnsafe(_o),lo=oo(this,rr).add(oo(Qe,Sr));return lo.is0()?void 0:lo}toAffine(Qe){const{px:rr,py:Sr,pz:Tr}=this,oo=this.is0();null==Qe&&(Qe=oo?S.ONE:S.inv(Tr));const lo=S.mul(rr,Qe),Ho=S.mul(Sr,Qe),_o=S.mul(Tr,Qe);if(oo)return{x:S.ZERO,y:S.ZERO};if(!S.eql(_o,S.ONE))throw new Error("invZ was invalid");return{x:lo,y:Ho}}isTorsionFree(){const{h:Qe,isTorsionFree:rr}=_;if(Qe===Co)return!0;if(rr)return rr(Be,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:Qe,clearCofactor:rr}=_;return Qe===Co?this:rr?rr(Be,this):this.multiplyUnsafe(_.h)}toRawBytes(Qe=!0){return this.assertValidity(),j(Be,this,Qe)}toHex(Qe=!0){return ie(this.toRawBytes(Qe))}}Be.BASE=new Be(_.Gx,_.Gy,S.ONE),Be.ZERO=new Be(S.ZERO,S.ONE,S.ZERO);const dr=_.nBitLength,vr=function Ke(v,_){const S=(Q,lt)=>{const At=lt.negate();return Q?At:lt},j=Q=>({windows:Math.ceil(_/Q)+1,windowSize:2**(Q-1)});return{constTimeNegate:S,unsafeLadder(Q,lt){let At=v.ZERO,Bt=Q;for(;lt>ei;)lt&Oe&&(At=At.add(Bt)),Bt=Bt.double(),lt>>=Oe;return At},precomputeWindow(Q,lt){const{windows:At,windowSize:Bt}=j(lt),Zt=[];let ve=Q,Ne=ve;for(let Be=0;Be>=vr,rr>Zt&&(rr-=dr,At+=Oe);const Sr=Qe,Tr=Qe+Math.abs(rr)-1,lo=rr<0;0===rr?Ne=Ne.add(S(cr%2!=0,lt[Sr])):ve=ve.add(S(lo,lt[Tr]))}return{p:ve,f:Ne}},wNAFCached(Q,lt,At,Bt){const Zt=Q._WINDOW_SIZE||1;let ve=lt.get(Q);return ve||(ve=this.precomputeWindow(Q,Zt),1!==Zt&<.set(Q,Bt(ve))),this.wNAF(Zt,ve,At)}}}(Be,_.endo?Math.ceil(dr/2):dr);return{CURVE:_,ProjectivePoint:Be,normPrivateKeyToScalar:Zt,weierstrassEquation:lt,isWithinCurveOrder:At}}({..._,toBytes(co,wo,Zo){const an=wo.toAffine(),Ao=S.toBytes(an.x),Sn=be;return Zo?Sn(Uint8Array.from([wo.hasEvenY()?2:3]),Ao):Sn(Uint8Array.from([4]),Ao,S.toBytes(an.y))},fromBytes(co){const wo=co.length,Zo=co[0],an=co.subarray(1);if(wo!==Q||2!==Zo&&3!==Zo){if(wo===lt&&4===Zo)return{x:S.fromBytes(an.subarray(0,S.BYTES)),y:S.fromBytes(an.subarray(S.BYTES,2*S.BYTES))};throw new Error(`Point of length ${wo} was invalid. Expected ${Q} compressed bytes or ${lt} uncompressed bytes`)}{const Ao=Pe(an);if(!function At(co){return voie(Or(co,_.nByteLength));function cr(co){return co>j>>Co}const rr=(co,wo,Zo)=>Pe(co.slice(wo,Zo));class Sr{constructor(wo,Zo,an){this.r=wo,this.s=Zo,this.recovery=an,this.assertValidity()}static fromCompact(wo){const Zo=_.nByteLength;return wo=Lt("compactSignature",wo,2*Zo),new Sr(rr(wo,0,Zo),rr(wo,Zo,2*Zo))}static fromDER(wo){const{r:Zo,s:an}=no.toSig(Lt("DER",wo));return new Sr(Zo,an)}assertValidity(){if(!dr(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!dr(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(wo){return new Sr(this.r,this.s,wo)}recoverPublicKey(wo){const{r:Zo,s:an,recovery:Ao}=this,Sn=jo(Lt("msgHash",wo));if(null==Ao||![0,1,2,3].includes(Ao))throw new Error("recovery id invalid");const Un=2===Ao||3===Ao?Zo+_.n:Zo;if(Un>=S.ORDER)throw new Error("recovery id 2 or 3 invalid");const Yi=ve.fromHex((1&Ao?"03":"02")+vr(Un)),Ja=Zt(Un),as=Bt(-Sn*Ja),ss=Bt(an*Ja),Ra=ve.BASE.multiplyAndAddUnsafe(Yi,as,ss);if(!Ra)throw new Error("point at infinify");return Ra.assertValidity(),Ra}hasHighS(){return cr(this.s)}normalizeS(){return this.hasHighS()?new Sr(this.r,Bt(-this.s),this.recovery):this}toDERRawBytes(){return Me(this.toDERHex())}toDERHex(){return no.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return Me(this.toCompactHex())}toCompactHex(){return vr(this.r)+vr(this.s)}}const Tr={isValidPrivateKey(co){try{return Ne(co),!0}catch{return!1}},normPrivateKeyToScalar:Ne,randomPrivateKey:()=>{const co=Yo(_.n);return function ni(v,_,S=!1){const j=v.length,Q=Xn(_),lt=Yo(_);if(j<16||j1024)throw new Error(`expected ${lt}-1024 bytes of input, got ${j}`);const Bt=Pt(S?Pe(v):We(v),_-er)+er;return S?ko(Bt,Q):Or(Bt,Q)}(_.randomBytes(co),_.n)},precompute:(co=8,wo=ve.BASE)=>(wo._setWindowSize(co),wo.multiply(BigInt(3)),wo)};function lo(co){const wo=co instanceof Uint8Array,Zo="string"==typeof co,an=(wo||Zo)&&co.length;return wo?an===Q||an===lt:Zo?an===2*Q||an===2*lt:co instanceof ve}const _o=_.bits2int||function(co){const wo=Pe(co),Zo=8*co.length-_.nBitLength;return Zo>0?wo>>BigInt(Zo):wo},jo=_.bits2int_modN||function(co){return Bt(_o(co))},Go=Z(_.nBitLength);function Dn(co){if("bigint"!=typeof co)throw new Error("bigint expected");if(!(vo<=co&&coxa in Zo))throw new Error("sign() legacy options not supported");const{hash:an,randomBytes:Ao}=_;let{lowS:Sn,prehash:Un,extraEntropy:Pn}=Zo;null==Sn&&(Sn=!0),co=Lt("msgHash",co),Un&&(co=Lt("prehashed msgHash",an(co)));const Yi=jo(co),Ja=Ne(wo),as=[Dn(Ja),Dn(Yi)];if(null!=Pn){const xa=!0===Pn?Ao(S.BYTES):Pn;as.push(Lt("extraEntropy",xa))}const ss=be(...as),Ra=Yi;return{seed:ss,k2sig:function Ic(xa){const hc=_o(xa);if(!dr(hc))return;const $h=Zt(hc),Js=ve.BASE.multiply(hc).toAffine(),Xc=Bt(Js.x);if(Xc===vo)return;const Na=Bt($h*Bt(Ra+Xc*Ja));if(Na===vo)return;let vu=(Js.x===Xc?0:2)|Number(Js.y&Co),xu=Na;return Sn&&cr(Na)&&(xu=function Qe(co){return cr(co)?Bt(-co):co}(Na),vu^=1),new Sr(Xc,xu,vu)}}}(co,wo,Zo);return It(_.hash.outputLen,_.nByteLength,_.hmac)(an,Ao)},verify:function ti(co,wo,Zo,an=Kn){const Ao=co;if(wo=Lt("msgHash",wo),Zo=Lt("publicKey",Zo),"strict"in an)throw new Error("options.strict was renamed to lowS");const{lowS:Sn,prehash:Un}=an;let Pn,Yi;try{if("string"==typeof Ao||Ao instanceof Uint8Array)try{Pn=Sr.fromDER(Ao)}catch(Js){if(!(Js instanceof no.Err))throw Js;Pn=Sr.fromCompact(Ao)}else{if("object"!=typeof Ao||"bigint"!=typeof Ao.r||"bigint"!=typeof Ao.s)throw new Error("PARSE");{const{r:Js,s:Xc}=Ao;Pn=new Sr(Js,Xc)}}Yi=ve.fromHex(Zo)}catch(Js){if("PARSE"===Js.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(Sn&&Pn.hasHighS())return!1;Un&&(wo=_.hash(wo));const{r:Ja,s:as}=Pn,ss=jo(wo),Ra=Zt(as),Ic=Bt(ss*Ra),xa=Bt(Ja*Ra),hc=ve.BASE.multiplyAndAddUnsafe(Yi,Ic,xa)?.toAffine();return!!hc&&Bt(hc.x)===Ja},ProjectivePoint:ve,Signature:Sr,utils:Tr}}function Re(v){return{hash:v,hmac:(_,...S)=>pi(v,_,function yt(...v){const _=new Uint8Array(v.reduce((j,Q)=>j+Q.length,0));let S=0;return v.forEach(j=>{if(!Y(j))throw new Error("Uint8Array expected");_.set(j,S),S+=j.length}),_}(...S)),randomBytes:gr}}BigInt(4);const or=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Cr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Er=BigInt(1),Nr=BigInt(2),Fr=(v,_)=>(v+_/Nr)/_;function qr(v){const _=or,S=BigInt(3),j=BigInt(6),Q=BigInt(11),lt=BigInt(22),At=BigInt(23),Bt=BigInt(44),Zt=BigInt(88),ve=v*v*v%_,Ne=ve*ve*v%_,Be=mr(Ne,S,_)*Ne%_,dr=mr(Be,S,_)*Ne%_,vr=mr(dr,Nr,_)*ve%_,cr=mr(vr,Q,_)*vr%_,Qe=mr(cr,lt,_)*cr%_,rr=mr(Qe,Bt,_)*Qe%_,Sr=mr(rr,Zt,_)*rr%_,Tr=mr(Sr,Bt,_)*Qe%_,oo=mr(Tr,S,_)*Ne%_,lo=mr(oo,At,_)*cr%_,Ho=mr(lo,j,_)*ve%_,_o=mr(Ho,Nr,_);if(!to.eql(to.sqr(_o),v))throw new Error("Cannot find square root");return _o}const to=function ar(v,_,S=!1,j={}){if(v<=Je)throw new Error(`Expected Field ORDER > 0, got ${v}`);const{nBitLength:Q,nByteLength:lt}=Ae(v,_);if(lt>2048)throw new Error("Field lengths over 2048 bytes are not supported");const At=function Wo(v){if(v%Bo===eo){const _=(v+er)/Bo;return function(j,Q){const lt=j.pow(Q,_);if(!j.eql(j.sqr(lt),Q))throw new Error("Cannot find square root");return lt}}if(v%Pr===fr){const _=(v-fr)/Pr;return function(j,Q){const lt=j.mul(Q,Hr),At=j.pow(lt,_),Bt=j.mul(Q,At),Zt=j.mul(j.mul(Bt,Hr),At),ve=j.mul(Bt,j.sub(Zt,j.ONE));if(!j.eql(j.sqr(ve),Q))throw new Error("Cannot find square root");return ve}}return function Ro(v){const _=(v-er)/Hr;let S,j,Q;for(S=v-er,j=0;S%Hr===Je;S/=Hr,j++);for(Q=Hr;QPt(Zt,v),isValid:Zt=>{if("bigint"!=typeof Zt)throw new Error("Invalid field element: expected bigint, got "+typeof Zt);return Je<=Zt&&ZtZt===Je,isOdd:Zt=>(Zt&er)===er,neg:Zt=>Pt(-Zt,v),eql:(Zt,ve)=>Zt===ve,sqr:Zt=>Pt(Zt*Zt,v),add:(Zt,ve)=>Pt(Zt+ve,v),sub:(Zt,ve)=>Pt(Zt-ve,v),mul:(Zt,ve)=>Pt(Zt*ve,v),pow:(Zt,ve)=>function qe(v,_,S){if(S 0");if(S===Je)return v.ONE;if(S===er)return _;let j=v.ONE,Q=_;for(;S>Je;)S&er&&(j=v.mul(j,Q)),Q=v.sqr(Q),S>>=er;return j}(Bt,Zt,ve),div:(Zt,ve)=>Pt(Zt*Qr(ve,v),v),sqrN:Zt=>Zt*Zt,addN:(Zt,ve)=>Zt+ve,subN:(Zt,ve)=>Zt-ve,mulN:(Zt,ve)=>Zt*ve,inv:Zt=>Qr(Zt,v),sqrt:j.sqrt||(Zt=>At(Bt,Zt)),invertBatch:Zt=>function ke(v,_){const S=new Array(_.length),j=_.reduce((lt,At,Bt)=>v.is0(At)?lt:(S[Bt]=lt,v.mul(lt,At)),v.ONE),Q=v.inv(j);return _.reduceRight((lt,At,Bt)=>v.is0(At)?lt:(S[Bt]=v.mul(lt,S[Bt]),v.mul(lt,At)),Q),S}(Bt,Zt),cmov:(Zt,ve,Ne)=>Ne?ve:Zt,toBytes:Zt=>S?ko(Zt,lt):Or(Zt,lt),fromBytes:Zt=>{if(Zt.length!==lt)throw new Error(`Fp.fromBytes: expected ${lt}, got ${Zt.length}`);return S?We(Zt):Pe(Zt)}});return Object.freeze(Bt)}(or,void 0,void 0,{sqrt:qr}),xo=function Ce(v,_){const S=j=>Gt({...v,...Re(j)});return Object.freeze({...S(_),create:S})}({a:BigInt(0),b:BigInt(7),Fp:to,n:Cr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:v=>{const _=Cr,S=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),j=-Er*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),Q=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),lt=S,At=BigInt("0x100000000000000000000000000000000"),Bt=Fr(lt*v,_),Zt=Fr(-j*v,_);let ve=Pt(v-Bt*S-Zt*Q,_),Ne=Pt(-Bt*j-Zt*lt,_);const Be=ve>At,dr=Ne>At;if(Be&&(ve=_-ve),dr&&(Ne=_-Ne),ve>At||Ne>At)throw new Error("splitScalar: Endomorphism failed, k="+v);return{k1neg:Be,k1:ve,k2neg:dr,k2:Ne}}}},jt),So=BigInt(0),po=v=>"bigint"==typeof v&&SoQ.charCodeAt(0)));S=be(j,j),Yn[v]=S}return jt(be(S,..._))}const jn=v=>v.toRawBytes(!0).slice(1),Uo=v=>Or(v,32),Fn=v=>Pt(v,or),zi=v=>Pt(v,Cr),nn=xo.ProjectivePoint;function Tn(v){let _=xo.utils.normPrivateKeyToScalar(v),S=nn.fromPrivateKey(_);return{scalar:S.hasEvenY()?_:zi(-_),bytes:jn(S)}}function vi(v){if(!po(v))throw new Error("bad x: need 0 < x < p");const _=Fn(v*v);let j=qr(Fn(_*v+BigInt(7)));j%Nr!==So&&(j=Fn(-j));const Q=new nn(v,j,Er);return Q.assertValidity(),Q}function us(...v){return zi(Pe(Di("BIP0340/challenge",...v)))}function Ai(v,_,S){const j=Lt("signature",v,64),Q=Lt("message",_),lt=Lt("publicKey",S,32);try{const At=vi(Pe(lt)),Bt=Pe(j.subarray(0,32));if(!po(Bt))return!1;const Zt=Pe(j.subarray(32,64));if(!(v=>"bigint"==typeof v&&Sonn.BASE.multiplyAndAddUnsafe(v,_,S))(At,Zt,zi(-ve));return!(!Ne||!Ne.hasEvenY()||Ne.toAffine().x!==Bt)}catch{return!1}}const Zi={getPublicKey:function da(v){return Tn(v).bytes},sign:function ka(v,_,S=gr(32)){const j=Lt("message",v),{bytes:Q,scalar:lt}=Tn(_),At=Lt("auxRand",S,32),Bt=Uo(lt^Pe(Di("BIP0340/aux",At))),Zt=Di("BIP0340/nonce",Bt,Q,j),ve=zi(Pe(Zt));if(ve===So)throw new Error("sign failed: k is zero");const{bytes:Ne,scalar:Be}=Tn(ve),dr=us(Ne,Q,j),vr=new Uint8Array(64);if(vr.set(Ne,0),vr.set(Uo(zi(Be+dr*lt)),32),!Ai(vr,j,Q))throw new Error("sign: Invalid signature produced");return vr},verify:Ai,utils:{randomPrivateKey:xo.utils.randomPrivateKey,lift_x:vi,pointToBytes:jn,numberToBytesBE:Or,bytesToNumberBE:Pe,taggedHash:Di,mod:Pt}};var Ko=r(6391);function pa(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`Wrong positive integer: ${v}`)}function qn(v,..._){if(!(v instanceof Uint8Array))throw new Error("Expected Uint8Array");if(_.length>0&&!_.includes(v.length))throw new Error(`Expected Uint8Array of length ${_}, not of length=${v.length}`)}const ii={number:pa,bool:function Qn(v){if("boolean"!=typeof v)throw new Error(`Expected boolean, not ${v}`)},bytes:qn,hash:function Nn(v){if("function"!=typeof v||"function"!=typeof v.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");pa(v.outputLen),pa(v.blockLen)},exists:function ma(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")},output:function Vo(v,_){qn(v);const S=_.outputLen;if(v.lengthQ-At&&(this.process(j,0),At=0);for(let Be=At;Be>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)})(j,Q-8,BigInt(8*this.length),lt),this.process(j,0);const Bt=(0,Ko.O8)(_),Zt=this.outputLen;if(Zt%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ve=Zt/4,Ne=this.get();if(ve>Ne.length)throw new Error("_sha2: outputLen bigger than state");for(let Be=0;Bev&_^~v&S,ba=(v,_,S)=>v&_^v&S^_&S,za=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),hi=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Jo=new Uint32Array(64);class On extends Qi{constructor(){super(64,32,8,!1),this.A=0|hi[0],this.B=0|hi[1],this.C=0|hi[2],this.D=0|hi[3],this.E=0|hi[4],this.F=0|hi[5],this.G=0|hi[6],this.H=0|hi[7]}get(){const{A:_,B:S,C:j,D:Q,E:lt,F:At,G:Bt,H:Zt}=this;return[_,S,j,Q,lt,At,Bt,Zt]}set(_,S,j,Q,lt,At,Bt,Zt){this.A=0|_,this.B=0|S,this.C=0|j,this.D=0|Q,this.E=0|lt,this.F=0|At,this.G=0|Bt,this.H=0|Zt}process(_,S){for(let Be=0;Be<16;Be++,S+=4)Jo[Be]=_.getUint32(S,!1);for(let Be=16;Be<64;Be++){const dr=Jo[Be-15],vr=Jo[Be-2],cr=(0,Ko.Ow)(dr,7)^(0,Ko.Ow)(dr,18)^dr>>>3,Qe=(0,Ko.Ow)(vr,17)^(0,Ko.Ow)(vr,19)^vr>>>10;Jo[Be]=Qe+Jo[Be-7]+cr+Jo[Be-16]|0}let{A:j,B:Q,C:lt,D:At,E:Bt,F:Zt,G:ve,H:Ne}=this;for(let Be=0;Be<64;Be++){const vr=Ne+((0,Ko.Ow)(Bt,6)^(0,Ko.Ow)(Bt,11)^(0,Ko.Ow)(Bt,25))+ps(Bt,Zt,ve)+za[Be]+Jo[Be]|0,Qe=((0,Ko.Ow)(j,2)^(0,Ko.Ow)(j,13)^(0,Ko.Ow)(j,22))+ba(j,Q,lt)|0;Ne=ve,ve=Zt,Zt=Bt,Bt=At+vr|0,At=lt,lt=Q,Q=j,j=vr+Qe|0}j=j+this.A|0,Q=Q+this.B|0,lt=lt+this.C|0,At=At+this.D|0,Bt=Bt+this.E|0,Zt=Zt+this.F|0,ve=ve+this.G|0,Ne=Ne+this.H|0,this.set(j,Q,lt,At,Bt,Zt,ve,Ne)}roundClean(){Jo.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class ia extends On{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const bi=(0,Ko.ld)(()=>new On);function Vn(v){if(!Number.isSafeInteger(v))throw new Error(`Wrong integer: ${v}`)}function xi(...v){const _=(Q,lt)=>At=>Q(lt(At));return{encode:Array.from(v).reverse().reduce((Q,lt)=>Q?_(Q,lt.encode):lt.encode,void 0),decode:v.reduce((Q,lt)=>Q?_(Q,lt.decode):lt.decode,void 0)}}function ci(v){return{encode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("alphabet.encode input should be an array of numbers");return _.map(S=>{if(Vn(S),S<0||S>=v.length)throw new Error(`Digit index outside alphabet: ${S} (alphabet: ${v.length})`);return v[S]})},decode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("alphabet.decode input should be array of strings");return _.map(S=>{if("string"!=typeof S)throw new Error(`alphabet.decode: not string element=${S}`);const j=v.indexOf(S);if(-1===j)throw new Error(`Unknown letter: "${S}". Allowed: ${v}`);return j})}}}function Ui(v=""){if("string"!=typeof v)throw new Error("join separator should be string");return{encode:_=>{if(!Array.isArray(_)||_.length&&"string"!=typeof _[0])throw new Error("join.encode input should be array of strings");for(let S of _)if("string"!=typeof S)throw new Error(`join.encode: non-string input=${S}`);return _.join(v)},decode:_=>{if("string"!=typeof _)throw new Error("join.decode input should be string");return _.split(v)}}}function Jn(v,_="="){if(Vn(v),"string"!=typeof _)throw new Error("padding chr should be string");return{encode(S){if(!Array.isArray(S)||S.length&&"string"!=typeof S[0])throw new Error("padding.encode input should be array of strings");for(let j of S)if("string"!=typeof j)throw new Error(`padding.encode: non-string input=${j}`);for(;S.length*v%8;)S.push(_);return S},decode(S){if(!Array.isArray(S)||S.length&&"string"!=typeof S[0])throw new Error("padding.encode input should be array of strings");for(let Q of S)if("string"!=typeof Q)throw new Error(`padding.decode: non-string input=${Q}`);let j=S.length;if(j*v%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;j>0&&S[j-1]===_;j--)if(!((j-1)*v%8))throw new Error("Invalid padding: string has too much padding");return S.slice(0,j)}}}function aa(v){if("function"!=typeof v)throw new Error("normalize fn should be function");return{encode:_=>_,decode:_=>v(_)}}function Ni(v,_,S){if(_<2)throw new Error(`convertRadix: wrong from=${_}, base cannot be less than 2`);if(S<2)throw new Error(`convertRadix: wrong to=${S}, base cannot be less than 2`);if(!Array.isArray(v))throw new Error("convertRadix: data should be array");if(!v.length)return[];let j=0;const Q=[],lt=Array.from(v);for(lt.forEach(At=>{if(Vn(At),At<0||At>=_)throw new Error(`Wrong integer: ${At}`)});;){let At=0,Bt=!0;for(let Zt=j;Ztnew ia);const wa=(v,_)=>_?wa(_,v%_):v,rs=(v,_)=>v+(_-wa(v,_));function _i(v,_,S,j){if(!Array.isArray(v))throw new Error("convertRadix2: data should be array");if(_<=0||_>32)throw new Error(`convertRadix2: wrong from=${_}`);if(S<=0||S>32)throw new Error(`convertRadix2: wrong to=${S}`);if(rs(_,S)>32)throw new Error(`convertRadix2: carry overflow from=${_} to=${S} carryBits=${rs(_,S)}`);let Q=0,lt=0;const At=2**S-1,Bt=[];for(const Zt of v){if(Vn(Zt),Zt>=2**_)throw new Error(`convertRadix2: invalid data word=${Zt} from=${_}`);if(Q=Q<<_|Zt,lt+_>32)throw new Error(`convertRadix2: carry overflow pos=${lt} from=${_}`);for(lt+=_;lt>=S;lt-=S)Bt.push((Q>>lt-S&At)>>>0);Q&=2**lt-1}if(Q=Q<=_)throw new Error("Excess padding");if(!j&&Q)throw new Error(`Non-zero padding: ${Q}`);return j&<>0&&Bt.push(Q>>>0),Bt}function G(v,_=!1){if(Vn(v),v<=0||v>32)throw new Error("radix2: bits should be in (0..32]");if(rs(8,v)>32||rs(v,8)>32)throw new Error("radix2: carry overflow");return{encode:S=>{if(!(S instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return _i(Array.from(S),8,v,!_)},decode:S=>{if(!Array.isArray(S)||S.length&&"number"!=typeof S[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(_i(S,v,8,_))}}}function Qt(v){if("function"!=typeof v)throw new Error("unsafeWrapper fn should be function");return function(..._){try{return v.apply(null,_)}catch{}}}xi(G(4),ci("0123456789ABCDEF"),Ui("")),xi(G(5),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Jn(5),Ui(""));const so=(xi(G(5),ci("0123456789ABCDEFGHIJKLMNOPQRSTUV"),Jn(5),Ui("")),xi(G(5),ci("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),Ui(""),aa(v=>v.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Jn(6),Ui(""))),bn=(xi(G(6),ci("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),Jn(6),Ui("")),v=>xi(function os(v){return Vn(v),{encode:_=>{if(!(_ instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return Ni(Array.from(_),256,v)},decode:_=>{if(!Array.isArray(_)||_.length&&"number"!=typeof _[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(Ni(_,v,256))}}}(58),ci(v),Ui(""))),qi=(bn("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),bn("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),bn("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),xi(ci("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),Ui(""))),ri=[996825010,642813549,513874426,1027748829,705979059];function Ki(v){const _=v>>25;let S=(33554431&v)<<5;for(let j=0;j>j&1)&&(S^=ri[j]);return S}function zn(v,_,S=1){const j=v.length;let Q=1;for(let lt=0;lt126)throw new Error(`Invalid prefix (${v})`);Q=Ki(Q)^At>>5}Q=Ki(Q);for(let lt=0;ltBe)throw new TypeError(`Wrong string length: ${Ne.length} (${Ne}). Expected (8..${Be})`);const dr=Ne.toLowerCase();if(Ne!==dr&&Ne!==Ne.toUpperCase())throw new Error("String must be lowercase or uppercase");const vr=(Ne=dr).lastIndexOf("1");if(0===vr||-1===vr)throw new Error('Letter "1" must be present between prefix and data only');const cr=Ne.slice(0,vr),Qe=Ne.slice(vr+1);if(Qe.length<6)throw new Error("Data must be at least 6 characters long");const rr=qi.decode(Qe).slice(0,-6),Sr=zn(cr,rr,_);if(!Qe.endsWith(Sr))throw new Error(`Invalid checksum in ${Ne}: expected "${Sr}"`);return{prefix:cr,words:rr}}return{encode:function At(Ne,Be,dr=90){if("string"!=typeof Ne)throw new Error("bech32.encode prefix should be string, not "+typeof Ne);if(!Array.isArray(Be)||Be.length&&"number"!=typeof Be[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof Be);const vr=Ne.length+7+Be.length;if(!1!==dr&&vr>dr)throw new TypeError(`Length ${vr} exceeds limit ${dr}`);return`${Ne=Ne.toLowerCase()}1${qi.encode(Be)}${zn(Ne,Be,_)}`},decode:Bt,decodeToBytes:function ve(Ne){const{prefix:Be,words:dr}=Bt(Ne,!1);return{prefix:Be,words:dr,bytes:j(dr)}},decodeUnsafe:Qt(Bt),fromWords:j,fromWordsUnsafe:lt,toWords:Q}}const st=Gi("bech32");function Ls(v){if(!Number.isSafeInteger(v)||v<0)throw new Error(`positive integer expected, not ${v}`)}function Ps(v){if("boolean"!=typeof v)throw new Error(`boolean expected, not ${v}`)}function Wa(v){return v instanceof Uint8Array||null!=v&&"object"==typeof v&&"Uint8Array"===v.constructor.name}function yn(v,..._){if(!Wa(v))throw new Error("Uint8Array expected");if(_.length>0&&!_.includes(v.length))throw new Error(`Uint8Array expected of length ${_}, not of length=${v.length}`)}function Ea(v,_=!0){if(v.destroyed)throw new Error("Hash instance has been destroyed");if(_&&v.finished)throw new Error("Hash#digest() has already been called")}function hs(v,_){yn(v);const S=_.outputLen;if(v.length{if("string"!=typeof v||v.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof v} with length ${v.length}`);return v.toLowerCase()}));const on=v=>new Uint32Array(v.buffer,v.byteOffset,Math.floor(v.byteLength/4)),Ji=v=>new DataView(v.buffer,v.byteOffset,v.byteLength);if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function Ka(v){if("string"==typeof v)v=function kc(v){if("string"!=typeof v)throw new Error("string expected, got "+typeof v);return new Uint8Array((new TextEncoder).encode(v))}(v);else{if(!Wa(v))throw new Error("Uint8Array expected, got "+typeof v);v=v.slice()}return v}function Ca(v,_){if(v.length!==_.length)return!1;let S=0;for(let j=0;j(Object.assign(_,v),_);function ta(v,_,S,j){if("function"==typeof v.setBigUint64)return v.setBigUint64(_,S,j);const Q=BigInt(32),lt=BigInt(4294967295),At=Number(S>>Q<),Bt=Number(S<),ve=j?0:4;v.setUint32(_+(j?4:0),At,j),v.setUint32(_+ve,Bt,j)}const Ts=new Uint8Array(16),ai=on(Ts),Ms=(v,_,S,j)=>({s3:S<<31|j>>>1,s2:_<<31|S>>>1,s1:v<<31|_>>>1,s0:v>>>1^225<<24&-(1&j)}),Da=v=>(v>>>0&255)<<24|(v>>>8&255)<<16|(v>>>16&255)<<8|v>>>24&255;class gs{constructor(_,S){this.blockLen=16,this.outputLen=16,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,yn(_=Ka(_),16);const j=Ji(_);let Q=j.getUint32(0,!1),lt=j.getUint32(4,!1),At=j.getUint32(8,!1),Bt=j.getUint32(12,!1);const Zt=[];for(let cr=0;cr<128;cr++)Zt.push({s0:Da(Q),s1:Da(lt),s2:Da(At),s3:Da(Bt)}),({s0:Q,s1:lt,s2:At,s3:Bt}=Ms(Q,lt,At,Bt));const ve=(v=S||1024)>65536?8:v>1024?4:2;var v;if(![1,2,4,8].includes(ve))throw new Error(`ghash: wrong window size=${ve}, should be 2, 4 or 8`);this.W=ve;const Be=128/ve,dr=this.windowSize=2**ve,vr=[];for(let cr=0;cr>>ve-lo-1&1))continue;const{s0:_o,s1:jo,s2:Go,s3:Dn}=Zt[ve*cr+lo];rr^=_o,Sr^=jo,Tr^=Go,oo^=Dn}vr.push({s0:rr,s1:Sr,s2:Tr,s3:oo})}this.t=vr}_updateBlock(_,S,j,Q){_^=this.s0,S^=this.s1,j^=this.s2,Q^=this.s3;const{W:lt,t:At,windowSize:Bt}=this;let Zt=0,ve=0,Ne=0,Be=0;const dr=(1<>>8*Qe&255;for(let Sr=8/lt-1;Sr>=0;Sr--){const Tr=rr>>>lt*Sr&dr,{s0:oo,s1:lo,s2:Ho,s3:_o}=At[vr*Bt+Tr];Zt^=oo,ve^=lo,Ne^=Ho,Be^=_o,vr+=1}}this.s0=Zt,this.s1=ve,this.s2=Ne,this.s3=Be}update(_){_=Ka(_),Ea(this);const S=on(_),j=Math.floor(_.length/16),Q=_.length%16;for(let lt=0;lt>>1|S,S=(1&Q)<<7}return v[0]^=225&-_,v}((_=Ka(_)).slice());super(j,S),j.fill(0)}update(_){_=Ka(_),Ea(this);const S=on(_),j=_.length%16,Q=Math.floor(_.length/16);for(let lt=0;ltv(Q,j.length).update(Ka(j)).digest(),S=v(new Uint8Array(16),0);return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=(j,Q)=>v(j,Q),_}fs((v,_)=>new gs(v,_)),fs((v,_)=>new gi(v,_)),new Uint8Array(16);const ac=283;function Ec(v){return v<<1^ac&-(v>>7)}function B(v,_){let S=0;for(;_>0;_>>=1)S^=v&-(1&_),v=Ec(v);return S}const Et=(()=>{let v=new Uint8Array(256);for(let S=0,j=1;S<256;S++,j^=Ec(j))v[S]=j;const _=new Uint8Array(256);_[0]=99;for(let S=0;S<255;S++){let j=v[255-S];j|=j<<8,_[v[S]]=255&(j^j>>4^j>>5^j>>6^j>>7^99)}return _})(),x=Et.map((v,_)=>Et.indexOf(_)),C=v=>v<<24|v>>>8,F=v=>v<<8|v>>>24;function ht(v,_){if(256!==v.length)throw new Error("Wrong sbox length");const S=new Uint32Array(256).map((ve,Ne)=>_(v[Ne])),j=S.map(F),Q=j.map(F),lt=Q.map(F),At=new Uint32Array(65536),Bt=new Uint32Array(65536),Zt=new Uint16Array(65536);for(let ve=0;ve<256;ve++)for(let Ne=0;Ne<256;Ne++){const Be=256*ve+Ne;At[Be]=S[ve]^j[Ne],Bt[Be]=Q[ve]^lt[Ne],Zt[Be]=v[ve]<<8|v[Ne]}return{sbox:v,sbox2:Zt,T0:S,T1:j,T2:Q,T3:lt,T01:At,T23:Bt}}const Ot=ht(Et,v=>B(v,3)<<24|v<<16|v<<8|B(v,2)),ae=ht(x,v=>B(v,11)<<24|B(v,13)<<16|B(v,9)<<8|B(v,14)),Ue=(()=>{const v=new Uint8Array(16);for(let _=0,S=1;_<16;_++,S=Ec(S))v[_]=S;return v})();function Ve(v){yn(v);const _=v.length;if(![16,24,32].includes(_))throw new Error(`aes: wrong key size: should be 16, 24 or 32, got: ${_}`);const{sbox2:S}=Ot,j=on(v),Q=j.length,lt=Bt=>Ir(S,Bt,Bt,Bt,Bt),At=new Uint32Array(_+28);At.set(j);for(let Bt=Q;Bt6&&Bt%Q==4&&(Zt=lt(Zt)),At[Bt]=At[Bt-Q]^Zt}return At}function sr(v,_,S,j,Q,lt){return v[S<<8&65280|j>>>8&255]^_[Q>>>8&65280|lt>>>24&255]}function Ir(v,_,S,j,Q){return v[255&_|65280&S]|v[j>>>16&255|Q>>>16&65280]<<16}function ze(v,_,S,j,Q){const{sbox2:lt,T01:At,T23:Bt}=Ot;let Zt=0;_^=v[Zt++],S^=v[Zt++],j^=v[Zt++],Q^=v[Zt++];const ve=v.length/4-2;for(let cr=0;cr{const Bt=Ve(_),{b:Zt,o:ve,out:Ne}=function go(v,_,S){let j=v.length;const Q=j%16;if(!_&&0!==Q)throw new Error("aec/(cbc-ecb): unpadded plaintext with disabled padding");const lt=on(v);if(_){let Zt=16-Q;Zt||(Zt=16),j+=Zt}const At=_r(j,S);return{b:lt,o:on(At),out:At}}(lt,Q,At),Be=on(S);let dr=Be[0],vr=Be[1],cr=Be[2],Qe=Be[3],rr=0;for(;rr+4<=Zt.length;)dr^=Zt[rr+0],vr^=Zt[rr+1],cr^=Zt[rr+2],Qe^=Zt[rr+3],({s0:dr,s1:vr,s2:cr,s3:Qe}=ze(Bt,dr,vr,cr,Qe)),ve[rr++]=dr,ve[rr++]=vr,ve[rr++]=cr,ve[rr++]=Qe;if(Q){const Sr=function Do(v){const _=new Uint8Array(16),S=on(_);_.set(v);const j=16-v.length;for(let Q=16-j;Q<16;Q++)_[Q]=j;return S}(lt.subarray(4*rr));dr^=Sr[0],vr^=Sr[1],cr^=Sr[2],Qe^=Sr[3],({s0:dr,s1:vr,s2:cr,s3:Qe}=ze(Bt,dr,vr,cr,Qe)),ve[rr++]=dr,ve[rr++]=vr,ve[rr++]=cr,ve[rr++]=Qe}return Bt.fill(0),Ne},decrypt:(lt,At)=>{!function Jr(v){if(yn(v),v.length%16!=0)throw new Error("aes/(cbc-ecb).decrypt ciphertext should consist of blocks with size 16")}(lt);const Bt=function Ze(v){const _=Ve(v),S=_.slice(),j=_.length,{sbox2:Q}=Ot,{T0:lt,T1:At,T2:Bt,T3:Zt}=ae;for(let ve=0;ve>>8&255]^Bt[Be>>>16&255]^Zt[Be>>>24]}return S}(_),Zt=on(S),ve=_r(lt.length,At),Ne=on(lt),Be=on(ve);let dr=Zt[0],vr=Zt[1],cr=Zt[2],Qe=Zt[3];for(let rr=0;rr+4<=Ne.length;){const Sr=dr,Tr=vr,oo=cr,lo=Qe;dr=Ne[rr+0],vr=Ne[rr+1],cr=Ne[rr+2],Qe=Ne[rr+3];const{s0:Ho,s1:_o,s2:jo,s3:Go}=nr(Bt,dr,vr,cr,Qe);Be[rr++]=Ho^Sr,Be[rr++]=_o^Tr,Be[rr++]=jo^oo,Be[rr++]=Go^lo}return Bt.fill(0),function Vr(v,_){if(!_)return v;const S=v.length;if(!S)throw new Error("aes/pcks5: empty ciphertext not allowed");const j=v[S-1];if(j<=0||j>16)throw new Error(`aes/pcks5: wrong padding byte: ${j}`);const Q=v.subarray(0,-j);for(let lt=0;lt255&v[_++]|(255&v[_++])<<8;class vn{constructor(_){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,yn(_=Ka(_),32);const S=uo(_,0),j=uo(_,2),Q=uo(_,4),lt=uo(_,6),At=uo(_,8),Bt=uo(_,10),Zt=uo(_,12),ve=uo(_,14);this.r[0]=8191&S,this.r[1]=8191&(S>>>13|j<<3),this.r[2]=7939&(j>>>10|Q<<6),this.r[3]=8191&(Q>>>7|lt<<9),this.r[4]=255&(lt>>>4|At<<12),this.r[5]=At>>>1&8190,this.r[6]=8191&(At>>>14|Bt<<2),this.r[7]=8065&(Bt>>>11|Zt<<5),this.r[8]=8191&(Zt>>>8|ve<<8),this.r[9]=ve>>>5&127;for(let Ne=0;Ne<8;Ne++)this.pad[Ne]=uo(_,16+2*Ne)}process(_,S,j=!1){const Q=j?0:2048,{h:lt,r:At}=this,Bt=At[0],Zt=At[1],ve=At[2],Ne=At[3],Be=At[4],dr=At[5],vr=At[6],cr=At[7],Qe=At[8],rr=At[9],Sr=uo(_,S+0),Tr=uo(_,S+2),oo=uo(_,S+4),lo=uo(_,S+6),Ho=uo(_,S+8),_o=uo(_,S+10),jo=uo(_,S+12),Go=uo(_,S+14);let Dn=lt[0]+(8191&Sr),dn=lt[1]+(8191&(Sr>>>13|Tr<<3)),sn=lt[2]+(8191&(Tr>>>10|oo<<6)),Kn=lt[3]+(8191&(oo>>>7|lo<<9)),Gn=lt[4]+(8191&(lo>>>4|Ho<<12)),ti=lt[5]+(Ho>>>1&8191),co=lt[6]+(8191&(Ho>>>14|_o<<2)),wo=lt[7]+(8191&(_o>>>11|jo<<5)),Zo=lt[8]+(8191&(jo>>>8|Go<<8)),an=lt[9]+(Go>>>5|Q),Ao=0,Sn=Ao+Dn*Bt+dn*(5*rr)+sn*(5*Qe)+Kn*(5*cr)+Gn*(5*vr);Ao=Sn>>>13,Sn&=8191,Sn+=ti*(5*dr)+co*(5*Be)+wo*(5*Ne)+Zo*(5*ve)+an*(5*Zt),Ao+=Sn>>>13,Sn&=8191;let Un=Ao+Dn*Zt+dn*Bt+sn*(5*rr)+Kn*(5*Qe)+Gn*(5*cr);Ao=Un>>>13,Un&=8191,Un+=ti*(5*vr)+co*(5*dr)+wo*(5*Be)+Zo*(5*Ne)+an*(5*ve),Ao+=Un>>>13,Un&=8191;let Pn=Ao+Dn*ve+dn*Zt+sn*Bt+Kn*(5*rr)+Gn*(5*Qe);Ao=Pn>>>13,Pn&=8191,Pn+=ti*(5*cr)+co*(5*vr)+wo*(5*dr)+Zo*(5*Be)+an*(5*Ne),Ao+=Pn>>>13,Pn&=8191;let Yi=Ao+Dn*Ne+dn*ve+sn*Zt+Kn*Bt+Gn*(5*rr);Ao=Yi>>>13,Yi&=8191,Yi+=ti*(5*Qe)+co*(5*cr)+wo*(5*vr)+Zo*(5*dr)+an*(5*Be),Ao+=Yi>>>13,Yi&=8191;let Ja=Ao+Dn*Be+dn*Ne+sn*ve+Kn*Zt+Gn*Bt;Ao=Ja>>>13,Ja&=8191,Ja+=ti*(5*rr)+co*(5*Qe)+wo*(5*cr)+Zo*(5*vr)+an*(5*dr),Ao+=Ja>>>13,Ja&=8191;let as=Ao+Dn*dr+dn*Be+sn*Ne+Kn*ve+Gn*Zt;Ao=as>>>13,as&=8191,as+=ti*Bt+co*(5*rr)+wo*(5*Qe)+Zo*(5*cr)+an*(5*vr),Ao+=as>>>13,as&=8191;let ss=Ao+Dn*vr+dn*dr+sn*Be+Kn*Ne+Gn*ve;Ao=ss>>>13,ss&=8191,ss+=ti*Zt+co*Bt+wo*(5*rr)+Zo*(5*Qe)+an*(5*cr),Ao+=ss>>>13,ss&=8191;let Ra=Ao+Dn*cr+dn*vr+sn*dr+Kn*Be+Gn*Ne;Ao=Ra>>>13,Ra&=8191,Ra+=ti*ve+co*Zt+wo*Bt+Zo*(5*rr)+an*(5*Qe),Ao+=Ra>>>13,Ra&=8191;let Ic=Ao+Dn*Qe+dn*cr+sn*vr+Kn*dr+Gn*Be;Ao=Ic>>>13,Ic&=8191,Ic+=ti*Ne+co*ve+wo*Zt+Zo*Bt+an*(5*rr),Ao+=Ic>>>13,Ic&=8191;let xa=Ao+Dn*rr+dn*Qe+sn*cr+Kn*vr+Gn*dr;Ao=xa>>>13,xa&=8191,xa+=ti*Be+co*Ne+wo*ve+Zo*Zt+an*Bt,Ao+=xa>>>13,xa&=8191,Ao=(Ao<<2)+Ao|0,Ao=Ao+Sn|0,Sn=8191&Ao,Ao>>>=13,Un+=Ao,lt[0]=Sn,lt[1]=Un,lt[2]=Pn,lt[3]=Yi,lt[4]=Ja,lt[5]=as,lt[6]=ss,lt[7]=Ra,lt[8]=Ic,lt[9]=xa}finalize(){const{h:_,pad:S}=this,j=new Uint16Array(10);let Q=_[1]>>>13;_[1]&=8191;for(let Bt=2;Bt<10;Bt++)_[Bt]+=Q,Q=_[Bt]>>>13,_[Bt]&=8191;_[0]+=5*Q,Q=_[0]>>>13,_[0]&=8191,_[1]+=Q,Q=_[1]>>>13,_[1]&=8191,_[2]+=Q,j[0]=_[0]+5,Q=j[0]>>>13,j[0]&=8191;for(let Bt=1;Bt<10;Bt++)j[Bt]=_[Bt]+Q,Q=j[Bt]>>>13,j[Bt]&=8191;j[9]-=8192;let lt=(1^Q)-1;for(let Bt=0;Bt<10;Bt++)j[Bt]&=lt;lt=~lt;for(let Bt=0;Bt<10;Bt++)_[Bt]=_[Bt]<|j[Bt];_[0]=65535&(_[0]|_[1]<<13),_[1]=65535&(_[1]>>>3|_[2]<<10),_[2]=65535&(_[2]>>>6|_[3]<<7),_[3]=65535&(_[3]>>>9|_[4]<<4),_[4]=65535&(_[4]>>>12|_[5]<<1|_[6]<<14),_[5]=65535&(_[6]>>>2|_[7]<<11),_[6]=65535&(_[7]>>>5|_[8]<<8),_[7]=65535&(_[8]>>>8|_[9]<<5);let At=_[0]+S[0];_[0]=65535&At;for(let Bt=1;Bt<8;Bt++)At=(_[Bt]+S[Bt]|0)+(At>>>16)|0,_[Bt]=65535&At}update(_){Ea(this);const{buffer:S,blockLen:j}=this,Q=(_=Ka(_)).length;for(let lt=0;lt>>0,_[lt++]=j[At]>>>8;return _}digest(){const{buffer:_,outputLen:S}=this;this.digestInto(_);const j=_.slice(0,S);return this.destroy(),j}}const fo=function Rn(v){const _=(j,Q)=>v(Q).update(Ka(j)).digest(),S=v(new Uint8Array(32));return _.outputLen=S.outputLen,_.blockLen=S.blockLen,_.create=j=>v(j),_}(v=>new vn(v)),Mi=v=>Uint8Array.from(v.split("").map(_=>_.charCodeAt(0))),ea=Mi("expand 16-byte k"),Fi=Mi("expand 32-byte k"),ws=on(ea),ya=on(Fi);function Po(v,_){return v<<_|v>>>32-_}function li(v){return v.byteOffset%4==0}ya.slice();const la=2**32-1,$o=new Uint32Array;function Aa(v,_){const{allowShortKeys:S,extendNonceFn:j,counterLength:Q,counterRight:lt,rounds:At}=function Us(v,_){if(null==_||"object"!=typeof _)throw new Error("options must be defined");return Object.assign(v,_)}({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},_);if("function"!=typeof v)throw new Error("core must be a function");return Ls(Q),Ls(At),Ps(lt),Ps(S),(Bt,Zt,ve,Ne,Be=0)=>{yn(Bt),yn(Zt),yn(ve);const dr=ve.length;if(Ne||(Ne=new Uint8Array(dr)),yn(Ne),Ls(Be),Be<0||Be>=la)throw new Error("arx: counter overflow");if(Ne.length=la)throw new Error("arx: counter overflow");const Qe=Math.min(64,Zt-cr);if(Be&&64===Qe){const rr=cr/4;if(cr%4!=0)throw new Error("arx: invalid block position");for(let Tr,Sr=0;Sr<16;Sr++)Tr=rr+Sr,vr[Tr]=dr[Tr]^Ne[Sr];cr+=64}else{for(let Sr,rr=0;rr0;)vr.pop().fill(0);return Ne}}function ys(v,_,S,j,Q,lt=20){let At=v[0],Bt=v[1],Zt=v[2],ve=v[3],Ne=_[0],Be=_[1],dr=_[2],vr=_[3],cr=_[4],Qe=_[5],rr=_[6],Sr=_[7],Tr=Q,oo=S[0],lo=S[1],Ho=S[2],_o=At,jo=Bt,Go=Zt,Dn=ve,dn=Ne,sn=Be,Kn=dr,Gn=vr,ti=cr,co=Qe,wo=rr,Zo=Sr,an=Tr,Ao=oo,Sn=lo,Un=Ho;for(let Yi=0;Yi{v.update(_);const S=_.length%16;S&&v.update(km.subarray(S))},Em=new Uint8Array(32);function N(v,_,S,j,Q){const lt=v(_,S,Em),At=fo.create(lt);Q&&zo(At,Q),zo(At,j);const Bt=new Uint8Array(16),Zt=Ji(Bt);ta(Zt,0,BigInt(Q?Q.length:0),!0),ta(Zt,8,BigInt(j.length),!0),At.update(Bt);const ve=At.digest();return lt.fill(0),ve}const W=v=>(_,S,j)=>(yn(_,32),yn(S),{encrypt:(lt,At)=>{const Bt=lt.length,Zt=Bt+16;At?yn(At,Zt):At=new Uint8Array(Zt),v(_,S,lt,At,1);const ve=N(v,_,S,At.subarray(0,-16),j);return At.set(ve,Bt),At},decrypt:(lt,At)=>{const Bt=lt.length,Zt=Bt-16;if(Bt<16)throw new Error("encrypted data must be at least 16 bytes");At?yn(At,Zt):At=new Uint8Array(Zt);const ve=lt.subarray(0,-16);if(!Ca(lt.subarray(-16),N(v,_,S,ve,j)))throw new Error("invalid tag");return v(_,S,ve,At,1),At}});W(rl),W(zp);class wt extends Ko.Vw{constructor(_,S){super(),this.finished=!1,this.destroyed=!1,ii.hash(_);const j=(0,Ko.ZJ)(S);if(this.iHash=_.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const Q=this.blockLen,lt=new Uint8Array(Q);lt.set(j.length>Q?_.create().update(j).digest():j);for(let At=0;Atnew wt(v,_).update(S).digest();Kt.create=(v,_)=>new wt(v,_);const Ar=new Uint8Array([0]),pr=new Uint8Array;var _n=Object.defineProperty,wn=(v,_)=>{for(var S in _)_n(v,S,{get:_[S],enumerable:!0})},Sa=Symbol("verified"),Ta=v=>v instanceof Object;function Os(v){if(!Ta(v)||"number"!=typeof v.kind||"string"!=typeof v.content||"number"!=typeof v.created_at||"string"!=typeof v.pubkey||!v.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(v.tags))return!1;for(let _=0;_Ks,QueueNode:()=>Kp,binarySearch:()=>td,insertEventIntoAscendingList:()=>$g,insertEventIntoDescendingList:()=>Wp,normalizeURL:()=>ol,utf8Decoder:()=>Ws,utf8Encoder:()=>Ya});var Ws=new TextDecoder("utf-8"),Ya=new TextEncoder;function ol(v){-1===v.indexOf("://")&&(v="wss://"+v);let _=new URL(v);return _.pathname=_.pathname.replace(/\/+/g,"/"),_.pathname.endsWith("/")&&(_.pathname=_.pathname.slice(0,-1)),("80"===_.port&&"ws:"===_.protocol||"443"===_.port&&"wss:"===_.protocol)&&(_.port=""),_.searchParams.sort(),_.hash="",_.toString()}function Wp(v,_){const[S,j]=td(v,Q=>_.id===Q.id?0:_.created_at===Q.created_at?-1:Q.created_at-_.created_at);return j||v.splice(S,0,_),v}function $g(v,_){const[S,j]=td(v,Q=>_.id===Q.id?0:_.created_at===Q.created_at?-1:_.created_at-Q.created_at);return j||v.splice(S,0,_),v}function td(v,_){let S=0,j=v.length-1;for(;S<=j;){const Q=Math.floor((S+j)/2),lt=_(v[Q]);if(0===lt)return[Q,!0];lt<0?j=Q-1:S=Q+1}return[S,!1]}var Kp=class{value;next=null;prev=null;constructor(v){this.value=v}},Ks=class{first;last;constructor(){this.first=null,this.last=null}enqueue(v){const _=new Kp(v);return this.last?this.last===this.first?(this.last=_,this.last.prev=this.first,this.first.next=_):(_.prev=this.last,this.last.next=_,this.last=_):(this.first=_,this.last=_),!0}dequeue(){if(!this.first)return null;if(this.first===this.last){const _=this.first;return this.first=null,this.last=null,_.value}const v=this.first;return this.first=v.next,v.value}};function Hn(v){let _=bi(Ya.encode(function Xp(v){if(!Os(v))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content])}(v)));return(0,Ko.My)(_)}var vl=new class{generateSecretKey(){return Zi.utils.randomPrivateKey()}getPublicKey(v){return(0,Ko.My)(Zi.getPublicKey(v))}finalizeEvent(v,_){const S=v;return S.pubkey=(0,Ko.My)(Zi.getPublicKey(_)),S.id=Hn(S),S.sig=(0,Ko.My)(Zi.sign(Hn(S),_)),S[Sa]=!0,S}verifyEvent(v){if("boolean"==typeof v[Sa])return v[Sa];const _=Hn(v);if(_!==v.id)return v[Sa]=!1,!1;try{const S=Zi.verify(v.sig,_,v.pubkey);return v[Sa]=S,S}catch{return v[Sa]=!1,!1}}},xl=vl.generateSecretKey,Ma=vl.getPublicKey,Gs=vl.finalizeEvent,Cc=vl.verifyEvent;function xs(v){return 1e3<=v&&v<1e4||[1,2,4,5,6,7,8,16,40,41,42,43,44].includes(v)}function zu(v){return[0,3].includes(v)||1e4<=v&&v<2e4}function Xs(v){return 2e4<=v&&v<3e4}function Nd(v){return 3e4<=v&&v<4e4}function _s(v){return xs(v)?"regular":zu(v)?"replaceable":Xs(v)?"ephemeral":Nd(v)?"parameterized":"unknown"}function Ld(v,_){const S=_ instanceof Array?_:[_];return Os(v)&&S.includes(v.kind)||!1}wn({},{Application:()=>ah,BadgeAward:()=>mn,BadgeDefinition:()=>ih,BlockedRelaysList:()=>ga,BookmarkList:()=>qp,Bookmarksets:()=>id,Calendar:()=>il,CalendarEventRSVP:()=>Dl,ChannelCreation:()=>Yp,ChannelHideMessage:()=>$d,ChannelMessage:()=>Ud,ChannelMetadata:()=>jg,ChannelMuteUser:()=>rd,ClassifiedListing:()=>ch,ClientAuth:()=>Jp,CommunitiesList:()=>Kd,CommunityDefinition:()=>qu,CommunityPostApproval:()=>Xu,Contacts:()=>Hu,CreateOrUpdateProduct:()=>va,CreateOrUpdateStall:()=>Xd,Curationsets:()=>oh,Date:()=>ad,DirectMessageRelaysList:()=>Ac,DraftClassifiedListing:()=>lh,DraftLong:()=>Ri,Emojisets:()=>Yd,EncryptedDirectMessage:()=>kl,EventDeletion:()=>Fd,FileMetadata:()=>Qp,FileServerPreference:()=>zg,Followsets:()=>Cm,GenericRepost:()=>Ku,Genericlists:()=>Hg,GiftWrap:()=>Zp,HTTPAuth:()=>nd,Handlerinformation:()=>al,Handlerrecommendation:()=>Al,Highlights:()=>Hd,InterestsList:()=>Gd,Interestsets:()=>Cl,JobFeedback:()=>zd,JobRequest:()=>Vd,JobResult:()=>Wn,Label:()=>Cn,LightningPubRPC:()=>Qu,LiveChatMessage:()=>Vg,LiveEvent:()=>sh,LongFormArticle:()=>Uc,Metadata:()=>Pd,Mutelist:()=>Qs,NWCWalletInfo:()=>Es,NWCWalletRequest:()=>od,NWCWalletResponse:()=>th,NostrConnect:()=>eh,OpenTimestamps:()=>nl,Pinlist:()=>El,PrivateDirectMessage:()=>Wu,ProblemTracker:()=>Gu,ProfileBadges:()=>nh,PublicChatsList:()=>Zu,Reaction:()=>$s,RecommendRelay:()=>ed,RelayList:()=>Wd,Relaysets:()=>rh,Report:()=>jd,Reporting:()=>Rr,Repost:()=>Ys,Seal:()=>Bd,SearchRelaysList:()=>Dc,ShortTextNote:()=>ks,Time:()=>cc,UserEmojiList:()=>sc,UserStatuses:()=>Wg,Zap:()=>Yu,ZapGoal:()=>Bc,ZapRequest:()=>Zs,classifyKind:()=>_s,isEphemeralKind:()=>Xs,isKind:()=>Ld,isParameterizedReplaceableKind:()=>Nd,isRegularKind:()=>xs,isReplaceableKind:()=>zu});var Pd=0,ks=1,ed=2,Hu=3,kl=4,Fd=5,Ys=6,$s=7,mn=8,Bd=13,Wu=14,Ku=16,Yp=40,jg=41,Ud=42,$d=43,rd=44,nl=1040,Zp=1059,Qp=1063,Vg=1311,Gu=1971,jd=1984,Rr=1984,Cn=1985,Xu=4550,Vd=5999,Wn=6999,zd=7e3,Bc=9041,Zs=9734,Yu=9735,Hd=9802,Qs=1e4,El=10001,Wd=10002,qp=10003,Kd=10004,Zu=10005,ga=10006,Dc=10007,Gd=10015,sc=10030,Ac=10050,zg=10096,Es=13194,Qu=21e3,Jp=22242,od=23194,th=23195,eh=24133,nd=27235,Cm=3e4,Hg=30001,rh=30002,id=30003,oh=30004,nh=30008,ih=30009,Cl=30015,Xd=30017,va=30018,Uc=30023,Ri=30024,Yd=30030,ah=30078,sh=30311,Wg=30315,ch=30402,lh=30403,ad=31922,cc=31923,il=31924,Dl=31925,Al=31989,al=31990,qu=34550;function dh(v,_){if(v.ids&&-1===v.ids.indexOf(_.id)||v.kinds&&-1===v.kinds.indexOf(_.kind)||v.authors&&-1===v.authors.indexOf(_.pubkey))return!1;for(let S in v)if("#"===S[0]){let Q=v[`#${S.slice(1)}`];if(Q&&!_.tags.find(([lt,At])=>lt===S.slice(1)&&-1!==Q.indexOf(At)))return!1}return!(v.since&&_.created_atv.until)}function Zd(v,_){let S=_.length+3,j=v.indexOf(`"${_}":`)+S,Q=v.slice(j).indexOf('"')+j+1;return v.slice(Q,Q+64)}function cl(v,_){let S=_.length,j=v.indexOf(`"${_}":`)+S+3,Q=v.slice(j),lt=Math.min(Q.indexOf(","),Q.indexOf("}"));return parseInt(Q.slice(0,lt),10)}function cd(v){let _=v.slice(0,22).indexOf('"EVENT"');if(-1===_)return null;let S=v.slice(_+7+1).indexOf('"');if(-1===S)return null;let j=_+7+1+S,Q=v.slice(j+1,80).indexOf('"');return-1===Q?null:v.slice(j+1,j+1+Q)}function Qd(v,_){return _===Zd(v,"id")}function Kg(v,_){return _===Zd(v,"pubkey")}function ph(v,_){return _===cl(v,"kind")}function hh(v,_){return{kind:Jp,created_at:Math.floor(Date.now()/1e3),tags:[["relay",v],["challenge",_]],content:""}}function ld(){return lc.apply(this,arguments)}function lc(){return(lc=(0,s.A)(function*(){return new Promise(v=>{const _=new MessageChannel,S=()=>{_.port1.removeEventListener("message",S),v()};_.port1.addEventListener("message",S),_.port2.postMessage(0),_.port1.start()})})).apply(this,arguments)}wn({},{getHex64:()=>Zd,getInt:()=>cl,getSubscriptionId:()=>cd,matchEventId:()=>Qd,matchEventKind:()=>ph,matchEventPubkey:()=>Kg}),wn({},{makeAuthEvent:()=>hh});var gh=v=>(v[Sa]=!0,!0),ll=class{url;_connected=!1;onclose=null;onnotice=v=>console.debug(`NOTICE from ${this.url}: ${v}`);_onauth=null;baseEoseTimeout=4400;connectionTimeout=4400;publishTimeout=4400;openSubs=new Map;connectionTimeoutHandle;connectionPromise;openCountRequests=new Map;openEventPublishes=new Map;ws;incomingMessageQueue=new Ks;queueRunning=!1;challenge;serial=0;verifyEvent;_WebSocket;constructor(v,_){this.url=ol(v),this.verifyEvent=_.verifyEvent,this._WebSocket=_.websocketImplementation||WebSocket}static connect(v,_){return(0,s.A)(function*(){const S=new ll(v,_);return yield S.connect(),S})()}closeAllSubscriptions(v){for(let[_,S]of this.openSubs)S.close(v);this.openSubs.clear();for(let[_,S]of this.openEventPublishes)S.reject(new Error(v));this.openEventPublishes.clear();for(let[_,S]of this.openCountRequests)S.reject(new Error(v));this.openCountRequests.clear()}get connected(){return this._connected}connect(){var v=this;return(0,s.A)(function*(){return v.connectionPromise||(v.challenge=void 0,v.connectionPromise=new Promise((_,S)=>{v.connectionTimeoutHandle=setTimeout(()=>{S("connection timed out"),v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection timed out")},v.connectionTimeout);try{v.ws=new v._WebSocket(v.url)}catch(j){return void S(j)}v.ws.onopen=()=>{clearTimeout(v.connectionTimeoutHandle),v._connected=!0,_()},v.ws.onerror=j=>{S(j.message||"websocket error"),v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection errored"))},v.ws.onclose=(0,s.A)(function*(){v._connected&&(v._connected=!1,v.connectionPromise=void 0,v.onclose?.(),v.closeAllSubscriptions("relay connection closed"))}),v.ws.onmessage=v._onmessage.bind(v)})),v.connectionPromise})()}runQueue(){var v=this;return(0,s.A)(function*(){for(v.queueRunning=!0;!1!==v.handleNext();)yield ld();v.queueRunning=!1})()}handleNext(){const v=this.incomingMessageQueue.dequeue();if(!v)return!1;const _=cd(v);if(_){const S=this.openSubs.get(_);if(!S)return;const j=Zd(v,"id"),Q=S.alreadyHaveEvent?.(j);if(S.receivedEvent?.(this,j),Q)return}try{let S=JSON.parse(v);switch(S[0]){case"EVENT":{const j=this.openSubs.get(S[1]),Q=S[2];return void(this.verifyEvent(Q)&&function uh(v,_){for(let S=0;S{_.ws?.send(v)})})()}auth(v){var _=this;return(0,s.A)(function*(){if(!_.challenge)throw new Error("can't perform auth, no challenge was received");const S=yield v(hh(_.url,_.challenge)),j=new Promise((Q,lt)=>{_.openEventPublishes.set(S.id,{resolve:Q,reject:lt})});return _.send('["AUTH",'+JSON.stringify(S)+"]"),j})()}publish(v){var _=this;return(0,s.A)(function*(){const S=new Promise((j,Q)=>{_.openEventPublishes.set(v.id,{resolve:j,reject:Q})});return _.send('["EVENT",'+JSON.stringify(v)+"]"),setTimeout(()=>{const j=_.openEventPublishes.get(v.id);j&&(j.reject(new Error("publish timed out")),_.openEventPublishes.delete(v.id))},_.publishTimeout),S})()}count(v,_){var S=this;return(0,s.A)(function*(){S.serial++;const j=_?.id||"count:"+S.serial,Q=new Promise((lt,At)=>{S.openCountRequests.set(j,{resolve:lt,reject:At})});return S.send('["COUNT","'+j+'",'+JSON.stringify(v).substring(1)),Q})()}subscribe(v,_){const S=this.prepareSubscription(v,_);return S.fire(),S}prepareSubscription(v,_){this.serial++;const S=_.id||"sub:"+this.serial,j=new fh(this,S,v,_);return this.openSubs.set(S,j),j}close(){this.closeAllSubscriptions("relay connection closed by us"),this._connected=!1,this.ws?.close()}_onmessage(v){this.incomingMessageQueue.enqueue(v.data),this.queueRunning||this.runQueue()}},fh=class{relay;id;closed=!1;eosed=!1;filters;alreadyHaveEvent;receivedEvent;onevent;oneose;onclose;eoseTimeout;eoseTimeoutHandle;constructor(v,_,S,j){this.relay=v,this.filters=S,this.id=_,this.alreadyHaveEvent=j.alreadyHaveEvent,this.receivedEvent=j.receivedEvent,this.eoseTimeout=j.eoseTimeout||v.baseEoseTimeout,this.oneose=j.oneose,this.onclose=j.onclose,this.onevent=j.onevent||(Q=>{console.warn(`onevent() callback not defined for subscription '${this.id}' in relay ${this.relay.url}. event received:`,Q)})}fire(){this.relay.send('["REQ","'+this.id+'",'+JSON.stringify(this.filters).substring(1)),this.eoseTimeoutHandle=setTimeout(this.receivedEose.bind(this),this.eoseTimeout)}receivedEose(){this.eosed||(clearTimeout(this.eoseTimeoutHandle),this.eosed=!0,this.oneose?.())}close(v="closed by caller"){!this.closed&&this.relay.connected&&(this.relay.send('["CLOSE",'+JSON.stringify(this.id)+"]"),this.closed=!0),this.relay.openSubs.delete(this.id),this.onclose?.(v)}};try{WebSocket}catch{}var dd,Ju=class{relays=new Map;seenOn=new Map;trackRelays=!1;verifyEvent;trustedRelayURLs=new Set;_WebSocket;constructor(v){this.verifyEvent=v.verifyEvent,this._WebSocket=v.websocketImplementation}ensureRelay(v,_){var S=this;return(0,s.A)(function*(){v=ol(v);let j=S.relays.get(v);return j||(j=new ll(v,{verifyEvent:S.trustedRelayURLs.has(v)?gh:S.verifyEvent,websocketImplementation:S._WebSocket}),_?.connectionTimeout&&(j.connectionTimeout=_.connectionTimeout),S.relays.set(v,j)),yield j.connect(),j})()}close(v){v.map(ol).forEach(_=>{this.relays.get(_)?.close()})}subscribeMany(v,_,S){return this.subscribeManyMap(Object.fromEntries(v.map(j=>[j,_])),S)}subscribeManyMap(v,_){var S=this;this.trackRelays&&(_.receivedEvent=(dr,vr)=>{let cr=this.seenOn.get(vr);cr||(cr=new Set,this.seenOn.set(vr,cr)),cr.add(dr)});const j=new Set,Q=[],lt=Object.keys(v).length,At=[];let Bt=dr=>{At[dr]=!0,At.filter(vr=>vr).length===lt&&(_.oneose?.(),Bt=()=>{})};const Zt=[];let ve=(dr,vr)=>{Bt(dr),Zt[dr]=vr,Zt.filter(cr=>cr).length===lt&&(_.onclose?.(Zt),ve=()=>{})};const Ne=dr=>{if(_.alreadyHaveEvent?.(dr))return!0;const vr=j.has(dr);return j.add(dr),vr},Be=Promise.all(Object.entries(v).map(function(){var dr=(0,s.A)(function*(vr,cr,Qe){if(Qe.indexOf(vr)!==cr)return void ve(cr,"duplicate url");let Tr,[rr,Sr]=vr;rr=ol(rr);try{Tr=yield S.ensureRelay(rr,{connectionTimeout:_.maxWait?Math.max(.8*_.maxWait,_.maxWait-1e3):void 0})}catch(lo){return void ve(cr,lo?.message||String(lo))}let oo=Tr.subscribe(Sr,{..._,oneose:()=>Bt(cr),onclose:lo=>ve(cr,lo),alreadyHaveEvent:Ne,eoseTimeout:_.maxWait});Q.push(oo)});return function(vr,cr,Qe){return dr.apply(this,arguments)}}()));return{close:()=>(0,s.A)(function*(){yield Be,Q.forEach(dr=>{dr.close()})})()}}subscribeManyEose(v,_,S){const j=this.subscribeMany(v,_,{...S,oneose(){j.close()}});return j}querySync(v,_,S){var j=this;return(0,s.A)(function*(){return new Promise(function(){var Q=(0,s.A)(function*(lt){const At=[];j.subscribeManyEose(v,[_],{...S,onevent(Bt){At.push(Bt)},onclose(Bt){lt(At)}})});return function(lt){return Q.apply(this,arguments)}}())})()}get(v,_,S){var j=this;return(0,s.A)(function*(){_.limit=1;const Q=yield j.querySync(v,_,S);return Q.sort((lt,At)=>At.created_at-lt.created_at),Q[0]||null})()}publish(v,_){var S=this;return v.map(ol).map(function(){var j=(0,s.A)(function*(Q,lt,At){if(At.indexOf(Q)!==lt)return Promise.reject("duplicate url");let Bt=yield S.ensureRelay(Q);return Bt.publish(_).then(Zt=>{if(S.trackRelays){let ve=S.seenOn.get(_.id);ve||(ve=new Set,S.seenOn.set(_.id,ve)),ve.add(Bt)}return Zt})});return function(Q,lt,At){return j.apply(this,arguments)}}())}listConnectionStatus(){const v=new Map;return this.relays.forEach((_,S)=>v.set(S,_.connected)),v}destroy(){this.relays.forEach(v=>v.close()),this.relays=new Map}};try{dd=WebSocket}catch{}var Xg=class extends Ju{constructor(){super({verifyEvent:Cc,websocketImplementation:dd})}},tp={};wn(tp,{BECH32_REGEX:()=>qs,Bech32MaxSize:()=>qd,NostrTypeGuard:()=>mh,decode:()=>$c,encodeBytes:()=>ns,naddrEncode:()=>ou,neventEncode:()=>Tl,noteEncode:()=>tu,nprofileEncode:()=>ru,npubEncode:()=>Jd,nsecEncode:()=>bh});var mh={isNProfile:v=>/^nprofile1[a-z\d]+$/.test(v||""),isNEvent:v=>/^nevent1[a-z\d]+$/.test(v||""),isNAddr:v=>/^naddr1[a-z\d]+$/.test(v||""),isNSec:v=>/^nsec1[a-z\d]{58}$/.test(v||""),isNPub:v=>/^npub1[a-z\d]{58}$/.test(v||""),isNote:v=>/^note1[a-z\d]+$/.test(v||""),isNcryptsec:v=>/^ncryptsec1[a-z\d]+$/.test(v||"")},qd=5e3,qs=/[\x21-\x7E]{1,83}1[023456789acdefghjklmnpqrstuvwxyz]{6,}/;function $c(v){let{prefix:_,words:S}=st.decode(v,qd),j=new Uint8Array(st.fromWords(S));switch(_){case"nprofile":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==Q[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:(0,Ko.My)(Q[0][0]),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[]}}}case"nevent":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==Q[0][0].length)throw new Error("TLV 0 should be 32 bytes");if(Q[2]&&32!==Q[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(Q[3]&&4!==Q[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"nevent",data:{id:(0,Ko.My)(Q[0][0]),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[],author:Q[2]?.[0]?(0,Ko.My)(Q[2][0]):void 0,kind:Q[3]?.[0]?parseInt((0,Ko.My)(Q[3][0]),16):void 0}}}case"naddr":{let Q=ud(j);if(!Q[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!Q[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==Q[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!Q[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==Q[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Ws.decode(Q[0][0]),pubkey:(0,Ko.My)(Q[2][0]),kind:parseInt((0,Ko.My)(Q[3][0]),16),relays:Q[1]?Q[1].map(lt=>Ws.decode(lt)):[]}}}case"nsec":return{type:_,data:j};case"npub":case"note":return{type:_,data:(0,Ko.My)(j)};default:throw new Error(`unknown prefix ${_}`)}}function ud(v){let _={},S=v;for(;S.length>0;){let j=S[0],Q=S[1],lt=S.slice(2,2+Q);if(S=S.slice(2+Q),lt.lengthYa.encode(S))}))}function Tl(v){let _;return void 0!==v.kind&&(_=function ep(v){const _=new Uint8Array(4);return _[0]=v>>24&255,_[1]=v>>16&255,_[2]=v>>8&255,_[3]=255&v,_}(v.kind)),eu("nevent",rp({0:[(0,Ko.aT)(v.id)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:v.author?[(0,Ko.aT)(v.author)]:[],3:_?[new Uint8Array(_)]:[]}))}function ou(v){let _=new ArrayBuffer(4);return new DataView(_).setUint32(0,v.kind,!1),eu("naddr",rp({0:[Ya.encode(v.identifier)],1:(v.relays||[]).map(j=>Ya.encode(j)),2:[(0,Ko.aT)(v.pubkey)],3:[new Uint8Array(_)]}))}function rp(v){let _=[];return Object.entries(v).reverse().forEach(([S,j])=>{j.forEach(Q=>{let lt=new Uint8Array(Q.length+2);lt.set([parseInt(S)],0),lt.set([Q.length],1),lt.set(Q,2),_.push(lt)})}),(0,Ko.Id)(..._)}var wh={};function op(v,_,S){return dl.apply(this,arguments)}function dl(){return(dl=(0,s.A)(function*(v,_,S){const j=v instanceof Uint8Array?(0,Ko.My)(v):v,lt=ra(xo.getSharedSecret(j,"02"+_));let At=Uint8Array.from((0,Ko.po)(16)),Bt=Ya.encode(S),Zt=Xr(lt,At).encrypt(Bt);return`${so.encode(new Uint8Array(Zt))}?iv=${so.encode(new Uint8Array(At.buffer))}`})).apply(this,arguments)}function Ml(v,_,S){return Sc.apply(this,arguments)}function Sc(){return(Sc=(0,s.A)(function*(v,_,S){const j=v instanceof Uint8Array?(0,Ko.My)(v):v;let[Q,lt]=S.split("?iv="),Bt=ra(xo.getSharedSecret(j,"02"+_)),Zt=so.decode(lt),ve=so.decode(Q),Ne=Xr(Bt,Zt).decrypt(ve);return Ws.decode(Ne)})).apply(this,arguments)}function ra(v){return v.slice(1,33)}wn(wh,{decrypt:()=>Ml,encrypt:()=>op}),wn({},{NIP05_REGEX:()=>is,isNip05:()=>Vc,isValid:()=>su,queryProfile:()=>au,searchDomain:()=>pd,useFetchImplementation:()=>vh});var iu,is=/^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$/,Vc=v=>is.test(v||"");try{iu=fetch}catch{}function vh(v){iu=v}function pd(v){return np.apply(this,arguments)}function np(){return(np=(0,s.A)(function*(v,_=""){try{const S=`https://${v}/.well-known/nostr.json?name=${_}`,j=yield iu(S,{redirect:"manual"});if(200!==j.status)throw Error("Wrong response code");return(yield j.json()).names}catch{return{}}})).apply(this,arguments)}function au(v){return Tc.apply(this,arguments)}function Tc(){return(Tc=(0,s.A)(function*(v){const _=v.match(is);if(!_)return null;const[,S="_",j]=_;try{const Q=`https://${j}/.well-known/nostr.json?name=${S}`,lt=yield iu(Q,{redirect:"manual"});if(200!==lt.status)throw Error("Wrong response code");const At=yield lt.json(),Bt=At.names[S];return Bt?{pubkey:Bt,relays:At.relays?.[Bt]}:null}catch{return null}})).apply(this,arguments)}function su(v,_){return zc.apply(this,arguments)}function zc(){return(zc=(0,s.A)(function*(v,_){const S=yield au(_);return!!S&&S.pubkey===v})).apply(this,arguments)}function Yg(v){const _={reply:void 0,root:void 0,mentions:[],profiles:[]},S=[];for(const j of v.tags)"e"===j[0]&&j[1]&&S.push(j),"p"===j[0]&&j[1]&&_.profiles.push({pubkey:j[1],relays:j[2]?[j[2]]:[]});for(let j=0;jYg}),wn({},{fetchRelayInformation:()=>Zg,useFetchImplementation:()=>Sm});try{fetch}catch{}function Sm(v){}function Zg(v){return Il.apply(this,arguments)}function Il(){return(Il=(0,s.A)(function*(v){return yield(yield fetch(v.replace("ws://","http://").replace("wss://","https://"),{headers:{Accept:"application/nostr+json"}})).json()})).apply(this,arguments)}function kh(v){let _=0;for(let S=0;S<64;S+=8){const j=parseInt(v.substring(S,S+8),16);if(0!==j){_+=Math.clz32(j);break}_+=32}return _}function Eh(v,_){let S=0;const j=v,Q=["nonce",S.toString(),_.toString()];for(j.tags.push(Q);;){const lt=Math.floor((new Date).getTime()/1e3);if(lt!==j.created_at&&(S=0,j.created_at=lt),Q[1]=(++S).toString(),j.id=ap(j),kh(j.id)>=_)break}return j}function ap(v){return(0,Ko.My)(bi(Ya.encode(JSON.stringify([0,v.pubkey,v.created_at,v.kind,v.tags,v.content]))))}function Tm(v,_,S,j){return Gs({kind:Ys,tags:[...v.tags??[],["e",_.id,S],["p",_.pubkey]],content:""===v.content?"":JSON.stringify(_),created_at:v.created_at},j)}function Ch(v){if(v.kind!==Ys)return;let _,S;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===S);j--){const Q=v.tags[j];Q.length>=2&&("e"===Q[0]&&void 0===_?_=Q:"p"===Q[0]&&void 0===S&&(S=Q))}return void 0!==_?{id:_[1],relays:[_[2],S?.[2]].filter(j=>"string"==typeof j),author:S?.[1]}:void 0}function Mm(v,{skipVerification:_}={}){const S=Ch(v);if(void 0===S||""===v.content)return;let j;try{j=JSON.parse(v.content)}catch{return}return j.id===S.id&&(_||Cc(j))?j:void 0}wn({},{fastEventHash:()=>ap,getPow:()=>kh,minePow:()=>Eh}),wn({},{finishRepostEvent:()=>Tm,getRepostedEvent:()=>Mm,getRepostedEventPointer:()=>Ch}),wn({},{NOSTR_URI_REGEX:()=>lu,parse:()=>Ah,test:()=>sp});var lu=new RegExp(`nostr:(${qs.source})`);function sp(v){return"string"==typeof v&&new RegExp(`^${lu.source}$`).test(v)}function Ah(v){const _=v.match(new RegExp(`^${lu.source}$`));if(!_)throw new Error(`Invalid Nostr URI: ${v}`);return{uri:_[0],value:_[1],decoded:$c(_[1])}}function Qg(v,_,S){const j=_.tags.filter(Q=>Q.length>=2&&("e"===Q[0]||"p"===Q[0]));return Gs({...v,kind:$s,tags:[...v.tags??[],...j,["e",_.id],["p",_.pubkey]],content:v.content??"+"},S)}function Im(v){if(v.kind!==$s)return;let _,S;for(let j=v.tags.length-1;j>=0&&(void 0===_||void 0===S);j--){const Q=v.tags[j];Q.length>=2&&("e"===Q[0]&&void 0===_?_=Q:"p"===Q[0]&&void 0===S&&(S=Q))}return void 0!==_&&void 0!==S?{id:_[1],relays:[_[2],S[2]].filter(j=>void 0!==j),author:S[1]}:void 0}wn({},{finishReactionEvent:()=>Qg,getReactedEventPointer:()=>Im}),wn({},{matchAll:()=>hd,regex:()=>uu,replaceAll:()=>dc});var uu=()=>new RegExp(`\\b${lu.source}\\b`,"g");function*hd(v){const _=v.matchAll(uu());for(const S of _)try{const[j,Q]=S;yield{uri:j,value:Q,decoded:$c(Q),start:S.index,end:S.index+j.length}}catch{}}function dc(v,_){return v.replaceAll(uu(),(S,j)=>_({uri:S,value:j,decoded:$c(j)}))}wn({},{channelCreateEvent:()=>Sh,channelHideMessageEvent:()=>Hc,channelMessageEvent:()=>jw,channelMetadataEvent:()=>ul,channelMuteUserEvent:()=>Rl});var Sh=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:Yp,tags:[...v.tags??[]],content:S,created_at:v.created_at},_)},ul=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:jg,tags:[["e",v.channel_create_event_id],...v.tags??[]],content:S,created_at:v.created_at},_)},jw=(v,_)=>{const S=[["e",v.channel_create_event_id,v.relay_url,"root"]];return v.reply_to_channel_message_event_id&&S.push(["e",v.reply_to_channel_message_event_id,v.relay_url,"reply"]),Gs({kind:Ud,tags:[...S,...v.tags??[]],content:v.content,created_at:v.created_at},_)},Hc=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:$d,tags:[["e",v.channel_message_event_id],...v.tags??[]],content:S,created_at:v.created_at},_)},Rl=(v,_)=>{let S;if("object"==typeof v.content)S=JSON.stringify(v.content);else{if("string"!=typeof v.content)return;S=v.content}return Gs({kind:rd,tags:[["p",v.pubkey_to_mute],...v.tags??[]],content:S,created_at:v.created_at},_)};wn({},{EMOJI_SHORTCODE_REGEX:()=>Bi,matchAll:()=>cp,regex:()=>pu,replaceAll:()=>qg});var gd,Bi=/:(\w+):/,pu=()=>new RegExp(`\\B${Bi.source}\\B`,"g");function*cp(v){const _=v.matchAll(pu());for(const S of _)try{const[j,Q]=S;yield{shortcode:j,name:Q,start:S.index,end:S.index+j.length}}catch{}}function qg(v,_){return v.replaceAll(pu(),(S,j)=>_({shortcode:S,name:j}))}wn({},{useFetchImplementation:()=>lp,validateGithub:()=>Th});try{gd=fetch}catch{}function lp(v){gd=v}function Th(v,_,S){return fd.apply(this,arguments)}function fd(){return(fd=(0,s.A)(function*(v,_,S){try{return(yield(yield gd(`https://gist.github.com/${_}/${S}/raw`)).text())===`Verifying that I control the following Nostr public key: ${v}`}catch{return!1}})).apply(this,arguments)}wn({},{decrypt:()=>Oh,encrypt:()=>Ih,getConversationKey:()=>Ll,v2:()=>Mc});var Nl=1,dp=65535;function Ll(v,_){const S=xo.getSharedSecret(v,"02"+_).subarray(1,33);return function Te(v,_,S){return ii.hash(v),void 0===S&&(S=new Uint8Array(v.outputLen)),Kt(v,(0,Ko.ZJ)(S),(0,Ko.ZJ)(_))}(bi,S,"nip44-v2")}function uc(v,_){const S=function bo(v,_,S,j=32){if(ii.hash(v),ii.number(j),j>255*v.outputLen)throw new Error("Length should be <= 255*HashLen");const Q=Math.ceil(j/v.outputLen);void 0===S&&(S=pr);const lt=new Uint8Array(Q*v.outputLen),At=Kt.create(v,_),Bt=At._cloneInto(),Zt=new Uint8Array(At.outputLen);for(let ve=0;vedp)throw new Error("invalid plaintext size: must be between 1 and 65535 bytes");const _=new Uint8Array(2);return new DataView(_.buffer).setUint16(0,v,!1),_}(S),Q=new Uint8Array(hu(S)-S);return(0,Ko.Id)(j,_,Q)}(v),Bt=rl(j,Q,At),Zt=ef(lt,Bt,S);return so.encode((0,Ko.Id)(new Uint8Array([2]),S,Bt,Zt))}function Oh(v,_){const{nonce:S,ciphertext:j,mac:Q}=function Mh(v){if("string"!=typeof v)throw new Error("payload must be a valid string");const _=v.length;if(_<132||_>87472)throw new Error("invalid payload length: "+_);if("#"===v[0])throw new Error("unknown encryption version");let S;try{S=so.decode(v)}catch(lt){throw new Error("invalid base64: "+lt.message)}const j=S.length;if(j<99||j>65603)throw new Error("invalid data length: "+j);const Q=S[0];if(2!==Q)throw new Error("unknown encryption version "+Q);return{nonce:S.subarray(1,33),ciphertext:S.subarray(33,-32),mac:S.subarray(-32)}}(v),{chacha_key:lt,chacha_nonce:At,hmac_key:Bt}=uc(_,S);if(!Ca(ef(Bt,j,S),Q))throw new Error("invalid MAC");return function tf(v){const _=new DataView(v.buffer).getUint16(0),S=v.subarray(2,2+_);if(_dp||S.length!==_||v.length!==2+hu(_))throw new Error("invalid padding");return Ws.decode(S)}(rl(lt,At,j))}var gu,Mc={utils:{getConversationKey:Ll,calcPaddedLen:hu},encrypt:Ih,decrypt:Oh};function pp(v){const{pathname:_,searchParams:S}=new URL(v),j=_,Q=S.get("relay"),lt=S.get("secret");if(!j||!Q||!lt)throw new Error("invalid connection string");return{pubkey:j,relay:Q,secret:lt}}function rf(v,_,S){return pl.apply(this,arguments)}function pl(){return(pl=(0,s.A)(function*(v,_,S){const Q=yield op(_,v,JSON.stringify({method:"pay_invoice",params:{invoice:S}})),lt={kind:od,created_at:Math.round(Date.now()/1e3),content:Q,tags:[["p",v]]};return Gs(lt,_)})).apply(this,arguments)}wn({},{makeNwcRequestEvent:()=>rf,parseConnectionString:()=>pp}),wn({},{getZapEndpoint:()=>hp,makeZapReceipt:()=>mu,makeZapRequest:()=>yd,useFetchImplementation:()=>fu,validateZapRequest:()=>gp});try{gu=fetch}catch{}function fu(v){gu=v}function hp(v){return Wc.apply(this,arguments)}function Wc(){return(Wc=(0,s.A)(function*(v){try{let _="",{lud06:S,lud16:j}=JSON.parse(v.content);if(S){let{words:At}=st.decode(S,1e3),Bt=st.fromWords(At);_=Ws.decode(Bt)}else{if(!j)return null;{let[At,Bt]=j.split("@");_=new URL(`/.well-known/lnurlp/${At}`,`https://${Bt}`).toString()}}let lt=yield(yield gu(_)).json();if(lt.allowsNostr&<.nostrPubkey)return lt.callback}catch{}return null})).apply(this,arguments)}function yd({profile:v,event:_,amount:S,relays:j,comment:Q=""}){if(!S)throw new Error("amount not given");if(!v)throw new Error("profile not given");let lt={kind:9734,created_at:Math.round(Date.now()/1e3),content:Q,tags:[["p",v],["amount",S.toString()],["relays",...j]]};return _&<.tags.push(["e",_]),lt}function gp(v){let _;try{_=JSON.parse(v)}catch{return"Invalid zap request JSON."}if(!Os(_))return"Zap request is not a valid Nostr event.";if(!Cc(_))return"Invalid signature on zap request.";let S=_.tags.find(([lt,At])=>"p"===lt&&At);if(!S)return"Zap request doesn't have a 'p' tag.";if(!S[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let j=_.tags.find(([lt,At])=>"e"===lt&&At);return j&&!j[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":_.tags.find(([lt,At])=>"relays"===lt&&At)?null:"Zap request doesn't have a 'relays' tag."}function mu({zapRequest:v,preimage:_,bolt11:S,paidAt:j}){let Q=JSON.parse(v),lt=Q.tags.filter(([Bt])=>"e"===Bt||"p"===Bt||"a"===Bt),At={kind:9735,created_at:Math.round(j.getTime()/1e3),content:"",tags:[...lt,["P",Q.pubkey],["bolt11",S],["description",v]]};return _&&At.tags.push(["preimage",_]),At}wn({},{createRumor:()=>mp,createSeal:()=>bu,createWrap:()=>Pl,unwrapEvent:()=>qa,unwrapManyEvents:()=>Kc,wrapEvent:()=>wu,wrapManyEvents:()=>af});var Nh=()=>Math.round(Date.now()/1e3),fp=()=>Math.round(Nh()-172800*Math.random()),pc=(v,_)=>Ll(v,_),Lh=(v,_,S)=>Ih(JSON.stringify(v),pc(_,S)),Oa=(v,_)=>JSON.parse(Oh(v.content,pc(_,v.pubkey)));function mp(v,_){const S={created_at:Nh(),content:"",tags:[],...v,pubkey:Ma(_)};return S.id=Hn(S),S}function bu(v,_,S){return Gs({kind:Bd,content:Lh(v,_,S),created_at:fp(),tags:[]},_)}function Pl(v,_){const S=xl();return Gs({kind:Zp,content:Lh(v,S,_),created_at:fp(),tags:[["p",_]]},S)}function wu(v,_,S){return Pl(bu(mp(v,_),_,S),S)}function af(v,_,S){if(!S||0===S.length)throw new Error("At least one recipient is required.");const j=Ma(_),Q=[wu(v,_,j)];return S.forEach(lt=>{Q.push(wu(v,_,lt))}),Q}function qa(v,_){const S=Oa(v,_);return Oa(S,_)}function Kc(v,_){let S=[];return v.forEach(j=>{S.push(qa(j,_))}),S.sort((j,Q)=>j.created_at-Q.created_at),S}wn({},{getToken:()=>sf,hashPayload:()=>_d,unpackEventFromToken:()=>Fh,validateEvent:()=>yu,validateEventKind:()=>Uh,validateEventMethodTag:()=>lf,validateEventPayloadTag:()=>wp,validateEventTimestamp:()=>Bh,validateEventUrlTag:()=>cf,validateToken:()=>Fl});var bp="Nostr ";function sf(v,_,S){return vd.apply(this,arguments)}function vd(){return(vd=(0,s.A)(function*(v,_,S,j=!1,Q){const lt={kind:nd,tags:[["u",v],["method",_]],created_at:Math.round((new Date).getTime()/1e3),content:""};Q&<.tags.push(["payload",_d(Q)]);const At=yield S(lt);return(j?bp:"")+so.encode(Ya.encode(JSON.stringify(At)))})).apply(this,arguments)}function Fl(v,_,S){return Gc.apply(this,arguments)}function Gc(){return(Gc=(0,s.A)(function*(v,_,S){const j=yield Fh(v).catch(lt=>{throw lt});return yield yu(j,_,S).catch(lt=>{throw lt})})).apply(this,arguments)}function Fh(v){return xd.apply(this,arguments)}function xd(){return(xd=(0,s.A)(function*(v){if(!v)throw new Error("Missing token");v=v.replace(bp,"");const _=Ws.decode(so.decode(v));if(!_||0===_.length||!_.startsWith("{"))throw new Error("Invalid token");return JSON.parse(_)})).apply(this,arguments)}function Bh(v){return!!v.created_at&&Math.round((new Date).getTime()/1e3)-v.created_at<60}function Uh(v){return v.kind===nd}function cf(v,_){const S=v.tags.find(j=>"u"===j[0]);return!!S&&S.length>0&&S[1]===_}function lf(v,_){const S=v.tags.find(j=>"method"===j[0]);return!!S&&S.length>0&&S[1].toLowerCase()===_.toLowerCase()}function _d(v){const _=bi(Ya.encode(JSON.stringify(v)));return(0,Ko.My)(_)}function wp(v,_){const S=v.tags.find(Q=>"payload"===Q[0]);if(!S)return!1;const j=_d(_);return S.length>0&&S[1]===j}function yu(v,_,S,j){return Bl.apply(this,arguments)}function Bl(){return(Bl=(0,s.A)(function*(v,_,S,j){if(!Cc(v))throw new Error("Invalid nostr event, signature invalid");if(!Uh(v))throw new Error("Invalid nostr event, kind invalid");if(!Bh(v))throw new Error("Invalid nostr event, created_at timestamp invalid");if(!cf(v,_))throw new Error("Invalid nostr event, url tag invalid");if(!lf(v,S))throw new Error("Invalid nostr event, method tag invalid");if(j&&"object"==typeof j&&Object.keys(j).length>0&&!wp(v,j))throw new Error("Invalid nostr event, payload tag does not match request body hash");return!0})).apply(this,arguments)}},8418:(i,a,r)=>{"use strict";r.d(a,{In:()=>z,OS:()=>O,rV:()=>q}),Symbol("verified");var O=0,z=3,q=4},6391:(i,a,r)=>{"use strict";r.d(a,{Vw:()=>tt,My:()=>T,Id:()=>dt,O8:()=>k,aT:()=>O,po:()=>nt,Ow:()=>A,ZJ:()=>ct,ld:()=>$t});const o="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,s=at=>at instanceof Uint8Array,k=at=>new DataView(at.buffer,at.byteOffset,at.byteLength),A=(at,rt)=>at<<32-rt|at>>>rt;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const M=Array.from({length:256},(at,rt)=>rt.toString(16).padStart(2,"0"));function T(at){if(!s(at))throw new Error("Uint8Array expected");let rt="";for(let yt=0;ytCt+Vt.length,0));let yt=0;return at.forEach(Ct=>{if(!s(Ct))throw new Error("Uint8Array expected");rt.set(Ct,yt),yt+=Ct.length}),rt}class tt{clone(){return this._cloneInto()}}function $t(at){const rt=Ct=>at().update(ct(Ct)).digest(),yt=at();return rt.outputLen=yt.outputLen,rt.blockLen=yt.blockLen,rt.create=()=>at(),rt}function nt(at=32){if(o&&"function"==typeof o.getRandomValues)return o.getRandomValues(new Uint8Array(at));throw new Error("crypto.getRandomValues must be defined")}},7106:(i,a,r)=>{"use strict";function o(s,c){this.v=s,this.k=c}r.d(a,{A:()=>o})},467:(i,a,r)=>{"use strict";function o(c,y,k,A,I,M,T){try{var O=c[M](T),L=O.value}catch(Y){return void k(Y)}O.done?y(L):Promise.resolve(L).then(A,I)}function s(c){return function(){var y=this,k=arguments;return new Promise(function(A,I){var M=c.apply(y,k);function T(L){o(M,A,I,T,O,"next",L)}function O(L){o(M,A,I,T,O,"throw",L)}T(void 0)})}}r.d(a,{A:()=>s})},6218:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(c){return new o.A(c,0)}},600:(i,a,r)=>{"use strict";r.d(a,{A:()=>s});var o=r(7106);function s(y){return function(){return new c(y.apply(this,arguments))}}function c(y){var k,A;function I(T,O){try{var L=y[T](O),Y=L.value,z=Y instanceof o.A;Promise.resolve(z?Y.v:Y).then(function(q){if(z){var ct="return"===T?"return":"next";if(!Y.k||q.done)return I(ct,q);q=y[ct](q).value}M(L.done?"return":"normal",q)},function(q){I("throw",q)})}catch(q){M("throw",q)}}function M(T,O){switch(T){case"return":k.resolve({value:O,done:!0});break;case"throw":k.reject(O);break;default:k.resolve({value:O,done:!1})}(k=k.next)?I(k.key,k.arg):A=null}this._invoke=function(T,O){return new Promise(function(L,Y){var z={key:T,arg:O,resolve:L,reject:Y,next:null};A?A=A.next=z:(k=A=z,I(T,O))})},"function"!=typeof y.return&&(this.return=void 0)}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(y){return this._invoke("next",y)},c.prototype.throw=function(y){return this._invoke("throw",y)},c.prototype.return=function(y){return this._invoke("return",y)}},1635:(i,a,r)=>{"use strict";function Y(gt,Nt,Se,Rt){return new(Se||(Se=Promise))(function(jt,De){function Ye(Ut){try{pe(Rt.next(Ut))}catch(Ee){De(Ee)}}function ft(Ut){try{pe(Rt.throw(Ut))}catch(Ee){De(Ee)}}function pe(Ut){Ut.done?jt(Ut.value):function de(jt){return jt instanceof Se?jt:new Se(function(De){De(jt)})}(Ut.value).then(Ye,ft)}pe((Rt=Rt.apply(gt,Nt||[])).next())})}function St(gt){return this instanceof St?(this.v=gt,this):new St(gt)}function kt(gt,Nt,Se){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var de,Rt=Se.apply(gt,Nt||[]),jt=[];return de=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Ye("next"),Ye("throw"),Ye("return",function De(He){return function(Ht){return Promise.resolve(Ht).then(He,Ee)}}),de[Symbol.asyncIterator]=function(){return this},de;function Ye(He,Ht){Rt[He]&&(de[He]=function(Me){return new Promise(function(Pe,We){jt.push([He,Me,Pe,We])>1||ft(He,Me)})},Ht&&(de[He]=Ht(de[He])))}function ft(He,Ht){try{!function pe(He){He.value instanceof St?Promise.resolve(He.value.v).then(Ut,Ee):ie(jt[0][2],He)}(Rt[He](Ht))}catch(Me){ie(jt[0][3],Me)}}function Ut(He){ft("next",He)}function Ee(He){ft("throw",He)}function ie(He,Ht){He(Ht),jt.shift(),jt.length&&ft(jt[0][0],jt[0][1])}}function at(gt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Se,Nt=gt[Symbol.asyncIterator];return Nt?Nt.call(gt):(gt=function dt(gt){var Nt="function"==typeof Symbol&&Symbol.iterator,Se=Nt&>[Nt],Rt=0;if(Se)return Se.call(gt);if(gt&&"number"==typeof gt.length)return{next:function(){return gt&&Rt>=gt.length&&(gt=void 0),{value:gt&>[Rt++],done:!gt}}};throw new TypeError(Nt?"Object is not iterable.":"Symbol.iterator is not defined.")}(gt),Se={},Rt("next"),Rt("throw"),Rt("return"),Se[Symbol.asyncIterator]=function(){return this},Se);function Rt(jt){Se[jt]=gt[jt]&&function(De){return new Promise(function(Ye,ft){!function de(jt,De,Ye,ft){Promise.resolve(ft).then(function(pe){jt({value:pe,done:Ye})},De)}(Ye,ft,(De=gt[jt](De)).done,De.value)})}}}r.d(a,{AQ:()=>kt,N3:()=>St,sH:()=>Y,xN:()=>at}),"function"==typeof SuppressedError&&SuppressedError}},i=>{i(i.s=4312)}]); \ No newline at end of file diff --git a/ngsw-worker.js b/ngsw-worker.js index 03f1c4d..ef4b796 100644 --- a/ngsw-worker.js +++ b/ngsw-worker.js @@ -19,7 +19,7 @@ }; var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/named-cache-storage.mjs var NamedCacheStorage = class { constructor(original, cacheNamePrefix) { this.original = original; @@ -46,7 +46,7 @@ } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/adapter.mjs var Adapter = class { constructor(scopeUrl, caches) { this.scopeUrl = scopeUrl; @@ -84,7 +84,7 @@ } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/database.mjs var NotFound = class { constructor(table, key) { this.table = table; @@ -92,7 +92,7 @@ } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/db-cache.mjs var CacheDatabase = class { constructor(adapter2) { this.adapter = adapter2; @@ -150,7 +150,7 @@ } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/api.mjs var UpdateCacheStatus; (function(UpdateCacheStatus2) { UpdateCacheStatus2[UpdateCacheStatus2["NOT_CACHED"] = 0] = "NOT_CACHED"; @@ -158,7 +158,7 @@ UpdateCacheStatus2[UpdateCacheStatus2["CACHED"] = 2] = "CACHED"; })(UpdateCacheStatus || (UpdateCacheStatus = {})); - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/error.mjs var SwCriticalError = class extends Error { constructor() { super(...arguments); @@ -180,7 +180,7 @@ ${error.stack}`; } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/sha1.mjs function sha1(str) { const utf8 = str; const words32 = stringToWords32(utf8, Endian.Big); @@ -295,7 +295,7 @@ ${error.stack}`; return hex.toLowerCase(); } - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/assets.mjs var AssetGroup = class { constructor(scope2, adapter2, idle, config, hashes, db, cacheNamePrefix) { this.scope = scope2; @@ -583,7 +583,7 @@ ${error.stack}`; } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/data.mjs var LruList = class { constructor(state) { if (state === void 0) { @@ -877,7 +877,7 @@ ${error.stack}`; } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/app-version.mjs var BACKWARDS_COMPATIBILITY_NAVIGATION_URLS = [ { positive: true, regex: "^/.*$" }, { positive: false, regex: "^/.*\\.[^/]*$" }, @@ -1028,8 +1028,8 @@ ${error.stack}`; } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs - var SW_VERSION = "18.2.10"; + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs + var SW_VERSION = "18.2.11"; var DEBUG_LOG_BUFFER_SIZE = 100; var DebugHandler = class { constructor(driver, adapter2) { @@ -1102,7 +1102,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/idle.mjs var IdleScheduler = class { constructor(adapter2, delay, maxDelay, debug) { this.adapter = adapter2; @@ -1180,12 +1180,12 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/manifest.mjs function hashManifest(manifest) { return sha1(JSON.stringify(manifest)); } - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/msg.mjs function isMsgCheckForUpdates(msg) { return msg.action === "CHECK_FOR_UPDATES"; } @@ -1193,7 +1193,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } return msg.action === "ACTIVATE_UPDATE"; } - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/driver.mjs var IDLE_DELAY = 5e3; var MAX_IDLE_DELAY = 3e4; var SUPPORTED_CONFIG_VERSION = 1; @@ -1849,7 +1849,7 @@ ${msgIdle}`, { headers: this.adapter.newHeaders({ "Content-Type": "text/plain" } } }; - // bazel-out/darwin_arm64-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs + // bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/main.mjs var scope = self; var adapter = new Adapter(scope.registration.scope, self.caches); new Driver(scope, adapter, new CacheDatabase(adapter)); diff --git a/ngsw.json b/ngsw.json index abf7e44..610455f 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1730861941197, + "timestamp": 1731047930790, "index": "/index.html", "assetGroups": [], "dataGroups": [],